/* ============================================================
   Espérance's Hope – style du site (proposition B « immersive »)
   Vert profond + blanc, grandes photos, cartes arrondies.
   Tout se règle dans :root ci-dessous.
   ============================================================ */
:root {
  --green: #0b6b4f;        /* vert principal : boutons, liens (contraste > 6:1 sur blanc) */
  --green-bright: #2e8b57; /* vert d'accent : barres, chiffres */
  --deep: #0f3d2e;         /* vert profond : en-tête, accueil, Présidente */
  --night: #0a2d22;        /* vert très foncé : pied de page */
  --mint: #bff0d4;         /* vert menthe : boutons sur fond foncé */
  --green-soft: #e3f0e9;   /* fond vert très pâle (pastilles) */
  --bg: #f6faf8;           /* fond de page */
  --white: #ffffff;
  --slate: #12372b;        /* titres */
  --ink: #1e2b26;          /* texte courant */
  --muted: #3a4a43;        /* texte secondaire (contraste AA) */
  --rule: #d5e6dd;         /* filets et bordures */
  --radius: 18px;
  --shadow: 0 10px 30px rgba(18, 55, 43, .08);
  --font-title: "Figtree", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-body: "Noto Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1875rem;     /* 19 px : texte confortable */
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; margin: 0 0 .6em; color: var(--slate); }
p { margin: 0 0 1em; }
a { color: var(--green); }

/* Contour bien visible quand on navigue au clavier */
a:focus-visible, button:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 6px; }
.top a:focus-visible, .top button:focus-visible, .hero a:focus-visible,
.dark a:focus-visible, footer a:focus-visible { outline-color: var(--mint); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Lien « aller au contenu » (visible seulement au clavier) */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--deep); color: var(--white);
  padding: 12px 18px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- En-tête fixe (vert profond) ---------- */
header.top {
  background: rgba(15, 61, 46, .97);
  border-bottom: 3px solid var(--green-bright);
  position: sticky; top: 0; z-index: 50;
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.brand {
  font-family: var(--font-title); font-weight: 700; font-size: 1.3rem;
  color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
}
/* Le logo est posé sur une pastille blanche pour rester lisible */
.brand img.logo { height: 44px; width: auto; flex: none; background: var(--white); border-radius: 50%; padding: 6px; box-sizing: content-box; }
.brand-name span { color: var(--mint); }

nav { display: flex; align-items: center; gap: 4px; }
nav a {
  text-decoration: none; color: var(--white); font-family: var(--font-title); font-weight: 600; font-size: 1rem;
  padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center;
  border-bottom: 2px solid transparent;
}
nav a:hover { border-bottom-color: var(--mint); }
nav a.lang { border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; margin-left: 12px; font-weight: 700; }
nav a.lang:hover { background: var(--white); color: var(--deep); border-color: var(--white); }

.burger {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, .7);
  color: var(--white); border-radius: 10px; width: 46px; height: 46px;
  cursor: pointer; align-items: center; justify-content: center;
}
.burger svg { width: 24px; height: 24px; }

@media (max-width: 800px) {
  .burger { display: inline-flex; }
  nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--deep); border-bottom: 3px solid var(--green-bright);
    padding: 4px 24px 20px;
  }
  nav.open { display: flex; }
  nav a { padding: 0 2px; min-height: 52px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 1.05rem; }
  nav a.lang { margin: 16px 0 0; justify-content: center; }
}

/* ---------- Accueil : grande photo + voile vert foncé ---------- */
.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 45, 34, .94) 0%, rgba(10, 45, 34, .78) 50%, rgba(10, 45, 34, .38) 100%),
    var(--deep) url("images/conference.jpg") center / cover no-repeat;
  padding: 104px 0 168px;
}
.hero-text { max-width: 640px; }
.eyebrow { font-family: var(--font-title); font-weight: 700; color: var(--mint); letter-spacing: .08em; font-size: .85rem; text-transform: uppercase; margin: 0 0 18px; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); font-weight: 800; letter-spacing: -.02em; color: var(--white); margin-bottom: .45em; }
.hero p.lead { font-size: 1.3rem; max-width: 560px; margin: 0 0 1.8em; color: #e6f4ec; }
@media (max-width: 800px) {
  .hero { padding: 56px 0 120px; background:
    linear-gradient(180deg, rgba(10, 45, 34, .9) 0%, rgba(10, 45, 34, .8) 100%),
    var(--deep) url("images/conference.jpg") center / cover no-repeat; }
}

.btn {
  display: inline-flex; align-items: center; min-height: 52px;
  background: var(--green); color: var(--white);
  font-family: var(--font-title); font-weight: 700; font-size: 1.1rem;
  padding: 0 30px; border-radius: 999px; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px rgba(11, 107, 79, .28);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--deep); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(11, 107, 79, .3); }
.hero .btn { background: var(--mint); color: var(--deep); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.hero .btn:hover { background: var(--white); }

/* ---------- Carte de repères qui chevauche l'accueil ---------- */
.facts { position: relative; z-index: 2; margin-top: -84px; padding: 0 24px; }
.facts ul {
  list-style: none; margin: 0 auto; padding: 32px 36px; max-width: 1072px;
  background: var(--white); border-radius: 24px; box-shadow: 0 24px 60px rgba(18, 55, 43, .18);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.facts li { display: flex; flex-direction: column; gap: 4px; font-size: 1rem; line-height: 1.45; color: var(--muted); }
.facts strong { font-family: var(--font-title); font-weight: 800; font-size: 2.1rem; line-height: 1.1; color: var(--green); }
@media (max-width: 800px) {
  .facts { margin-top: -72px; padding: 0 16px; }
  .facts ul { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; }
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.alt { background: var(--white); }
section h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: .7em; }
/* Petite barre verte au-dessus des titres */
section h2::before { content: ""; display: block; width: 48px; height: 4px; border-radius: 4px; background: var(--green-bright); margin-bottom: 16px; }
.intro { max-width: 66ch; color: var(--muted); font-size: 1.1875rem; }
@media (max-width: 800px) { section { padding: 56px 0; } }

.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.prose .intro:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Icônes dans une pastille ronde */
.icon { display: inline-flex; color: var(--green); background: var(--green-soft); border-radius: 50%; width: 56px; height: 56px; align-items: center; justify-content: center; }
.icon svg { width: 28px; height: 28px; }

.notice { background: var(--white); border-radius: var(--radius); padding: 28px 28px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--green-bright); }
.notice .icon { margin-bottom: 14px; }
.notice h3 { font-size: 1.2rem; margin-bottom: .4em; }
.notice p { margin: 0; }

/* Missions : trois cartes numérotées */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); }
section:not(.alt) .step { background: var(--white); }
.step .num { display: block; font-family: var(--font-title); font-size: 2.1rem; font-weight: 800; line-height: 1; color: var(--green-bright); margin-bottom: 18px; }
.step .icon { margin-bottom: 16px; }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; margin-top: 28px; } }

.soon { display: flex; align-items: center; gap: 16px; max-width: 680px; margin-top: 28px; border: 1px dashed var(--rule); border-radius: var(--radius); padding: 22px 26px; color: var(--muted); }
.soon p { margin: 0; }
.support { display: flex; gap: 20px; align-items: flex-start; max-width: 760px; }
.support .intro { margin: 0; }
.support .icon { margin-top: 2px; flex: none; }
@media (max-width: 800px) { .support { flex-direction: column; gap: 12px; } }

/* ---------- Mot de la Présidente (section vert profond) ---------- */
section.dark { background: var(--deep); color: #d6ebe0; }
section.dark h2 { color: var(--white); }
section.dark h2::before { background: var(--mint); }
.president { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.portrait { margin: 0; position: sticky; top: 100px; }
/* Portrait en rectangle aux coins arrondis */
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 30%; border-radius: 24px; display: block; }
.message p { max-width: 66ch; }
.message .signature { margin-top: 1.6em; color: #bfe0cf; }
.message .signature strong { color: var(--white); font-family: var(--font-title); }
@media (max-width: 800px) {
  .president { grid-template-columns: 1fr; gap: 28px; }
  .portrait { position: static; max-width: 340px; }
}

/* ---------- Rendez-vous récents + galerie ---------- */
.events { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.events li { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--green-bright); }
.events time { display: inline-block; font-family: var(--font-title); font-weight: 700; font-size: .95rem; color: var(--deep); background: var(--green-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.events h3 { font-size: 1.25rem; }
.events p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .events { grid-template-columns: 1fr; } }
.gallery-title { margin-top: 56px; font-size: 1.4rem; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow); transition: transform .25s ease; }
.gallery figure:hover img { transform: scale(1.015); }
.gallery figcaption { color: var(--muted); font-size: .95rem; margin-top: 8px; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Vidéo de témoignages ---------- */
.video { margin: 28px auto 0; max-width: 848px; }
.video video { width: 100%; height: auto; aspect-ratio: 848 / 480; background: var(--slate); border-radius: var(--radius); display: block; box-shadow: var(--shadow); }
.video figcaption { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* ---------- Pied de page : compact, 3 colonnes ---------- */
footer { background: var(--night); color: #d6ebe0; padding: 40px 0 22px; font-size: .95rem; border-top: 4px solid var(--green-bright); }
footer p { margin: 0 0 .5em; }
footer a { color: #d6ebe0; }
footer a:hover { color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.6fr .8fr 1.2fr; gap: 32px; align-items: start; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; color: var(--white); margin-bottom: 12px; }
.foot-logo img { height: 40px; width: 40px; object-fit: contain; background: var(--white); border-radius: 50%; padding: 6px; box-sizing: content-box; }
.foot-logo span { white-space: nowrap; }
.foot-logo b { color: var(--mint); font-weight: 700; }
footer .motto { font-family: var(--font-title); font-style: italic; color: var(--mint); margin: 0; }
.foot-col h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin: 0 0 10px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 .35em; }
footer nav.foot-col { display: block; position: static; padding: 0; background: none; border: 0; }
footer nav.foot-col a { display: inline; padding: 0; min-height: 0; border: 0; font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: #d6ebe0; text-decoration: underline; }
footer nav.foot-col a:hover { color: var(--white); border: 0; }
footer .domain { font-weight: 700; letter-spacing: .02em; color: var(--white); margin: 0; }
footer .copyright { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid rgba(214, 235, 224, .25); font-size: .85rem; color: #bfe0cf; }
@media (max-width: 800px) {
  footer { padding: 32px 0 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .foot-col ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
}

/* ---------- Apparition douce au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Pour les personnes qui ont demandé moins d'animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .gallery figure:hover img { transform: none; }
}

/* ---------- Témoignages : titre, texte et vidéo centrés ---------- */
#temoignages .wrap { text-align: center; }
#temoignages h2::before { margin-left: auto; margin-right: auto; }
#temoignages .intro { margin-left: auto; margin-right: auto; }
#temoignages .video { margin-left: auto; margin-right: auto; max-width: 960px; }

/* Mobile : zones à toucher assez grandes (44 px mini) */
@media (max-width:800px){
  nav a{display:block;min-height:44px;padding-top:11px;padding-bottom:11px;box-sizing:border-box}
  footer nav.foot-col a,footer .foot-col a{display:inline-block;min-height:44px;line-height:44px;padding-top:0;padding-bottom:0}
}
/* Grands écrans et paysage : le contenu reste lisible */
img,video{max-width:100%;height:auto}
@media (max-height:500px) and (orientation:landscape){.hero{min-height:0}}
@media (max-width:800px){nav a.lang{text-align:center}}

/* ============================================================
   Rendu plus naturel : moins de cartes, de cercles, d'ombres et d'animations
   ============================================================ */
:root { --radius: 10px; --shadow: 0 1px 3px rgba(18, 55, 43, .10); }
section h2::before { display: none; }
.hero { padding: 104px 0 96px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
@media (max-width: 800px) { .hero { padding: 56px 0 64px; } }
.btn, nav a.lang { border-radius: 8px; }
.btn, .hero .btn { box-shadow: none; }
.btn:hover { transform: none; box-shadow: none; }
.js .reveal { opacity: 1; transform: none; transition: none; }

/* Missions : trois cartes, sans numéros ni icônes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: none; margin-top: 32px; }
.step, section:not(.alt) .step { background: var(--bg); border: 1px solid var(--rule); border-top: 4px solid var(--green-bright); border-radius: 12px; box-shadow: 0 1px 3px rgba(18, 55, 43, .10); padding: 26px 28px; }
.step h3 { margin-bottom: .4em; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; margin-top: 24px; } }

/* Actions : quatre cartes, deux par ligne */
.events { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: none; }
.events li { display: block; background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--green-bright); border-radius: 12px; box-shadow: 0 1px 3px rgba(18, 55, 43, .10); padding: 26px 28px; }
.events time { display: inline-block; grid-row: auto; background: var(--green-soft); padding: 4px 12px; border-radius: 999px; margin: 0 0 12px; color: var(--deep); }
.events h3 { margin: 0 0 .4em; }
@media (max-width: 800px) { .events { grid-template-columns: 1fr; } }

.gallery img, .video video { box-shadow: none; }
.portrait img { border-radius: 12px; }
.support { max-width: 760px; }

/* Visionneuse de photos */
.zoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); }
.zoom:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 3px; }
body.lb-lock { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(8, 28, 21, .94); }
.lightbox.open { display: flex; }
.lb-img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb-btn { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .3); }
.lb-btn:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; margin: 0; text-align: center; color: #d6ebe0; font-size: .95rem; }
@media (max-width: 800px) {
  /* Sur téléphone : flèches en bas, la photo prend toute la largeur */
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }
}

/* ============================================================
   Contact, donateurs et partenaires (pages secondaires)
   ============================================================ */
/* Bouton « Contact » du menu */
nav a.nav-cta { background: var(--mint); color: var(--deep); border-radius: 999px; padding: 0 22px; margin-left: 8px; font-weight: 700; }
nav a.nav-cta:hover, nav a.nav-cta[aria-current="page"] { background: var(--white); color: var(--deep); }
@media (max-width: 800px) {
  nav a.nav-cta { margin: 16px 0 0; justify-content: center; border-bottom: 0; }
}

/* Bandeau de titre des pages secondaires */
.page-head { background: var(--deep); color: var(--white); padding: 56px 0 52px; }
.page-head h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .4em; }
.page-head .lead { font-size: 1.25rem; max-width: 640px; color: #e6f4ec; margin: 0; }
.more { margin: 32px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.more a.btn { text-decoration: none; }

/* Formulaire de contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.form legend { font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: var(--slate); margin-bottom: 12px; padding: 0; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--rule); border-radius: 14px; padding: 14px 16px; cursor: pointer; background: var(--bg); min-height: 44px; }
.choice input { margin-top: 6px; width: 20px; height: 20px; accent-color: var(--green); flex: none; }
.choice span { display: block; }
.choice strong { display: block; font-family: var(--font-title); color: var(--slate); }
.choice small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; margin-top: 2px; }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.choice:has(input:focus-visible) { outline: 3px solid var(--green-bright); outline-offset: 2px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--slate); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; box-sizing: border-box; font: inherit; color: var(--ink);
  padding: 12px 14px; min-height: 48px; border: 2px solid var(--rule); border-radius: 12px; background: var(--white);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--green-bright); outline-offset: 1px; border-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { background: var(--green-soft); border-left: 4px solid var(--green-bright); border-radius: 8px; padding: 12px 16px; font-size: .95rem; color: var(--slate); margin: 0 0 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; font-size: .95rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); flex: none; }
.form button.btn { border: 0; font-family: var(--font-title); }
.form button.btn[disabled] { opacity: .6; cursor: wait; }
.statut { margin: 16px 0 0; font-weight: 600; }
.statut.ok { color: var(--green); }
.statut.erreur { color: #9b1c1c; }
.contact-side { background: var(--green-soft); border-radius: var(--radius); padding: 28px; overflow-wrap: anywhere; }
.contact-side h2 { font-size: 1.3rem; margin: 0 0 .6em; }
.contact-side h2::before { display: none; }
.contact-side .small { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .form { padding: 22px 18px; }
  .choices { grid-template-columns: 1fr; }
  .page-head { padding: 40px 0 36px; }
}

/* Donateurs et partenaires */
.donors { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.donor { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--green-bright); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.donor-logo { height: 96px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 12px; background: var(--bg); }
.donor-logo img { max-height: 80px; max-width: 80%; width: auto; height: auto; object-fit: contain; }
.donor h3 { font-size: 1.25rem; margin: 0 0 6px; }
.donor-campaign { color: var(--deep); font-weight: 600; margin: 0 0 10px; }
.donor p { color: var(--muted); }
.donor p:last-child { margin-bottom: 0; }
.donor.placeholder { border-style: dashed; }
@media (max-width: 960px) { .donors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .donors { grid-template-columns: 1fr; } }
@media (max-width: 800px) {
  nav a.nav-cta { text-align: center; min-height: 48px; padding: 13px 22px; box-sizing: border-box; }
}

/* Mot de la Présidente : carte claire (remplace l'ancien fond vert foncé) */
section.pres .president { background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--green-bright); border-radius: 12px; box-shadow: 0 1px 3px rgba(18, 55, 43, .10); padding: 40px; gap: 48px; }
section.pres .message p { color: var(--ink); line-height: 1.75; }
section.pres .message .signature { margin-top: 1.6em; padding-top: 1.2em; border-top: 1px solid var(--rule); color: var(--muted); }
section.pres .message .signature strong { color: var(--deep); }
@media (max-width: 800px) {
  section.pres .president { padding: 24px 20px; gap: 24px; }
}

/* Présidente : réglage de la mise en page (titre visible, texte moins grand, portrait plus petit) */
html { scroll-padding-top: 120px; }
section.pres .president { grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
section.pres .portrait { top: 120px; }
section.pres .portrait img { aspect-ratio: 4 / 5; }
section.pres .message p { font-size: 1.05rem; line-height: 1.7; max-width: 62ch; }
@media (max-width: 800px) {
  section.pres .president { grid-template-columns: 1fr; }
  section.pres .portrait { max-width: 260px; }
}

/* Très petits écrans : une longue adresse e-mail passe à la ligne au lieu de déborder */
main a, footer a { overflow-wrap: anywhere; }

/* Nos actions : cartes reliées par une ligne verte (un point par rendez-vous) — idée de frise inspirée de 21st.dev */
.events { display: block; position: relative; max-width: 820px; margin: 32px 0 0; padding: 0 0 0 44px; }
.events::before { content: ""; position: absolute; left: 11px; top: 30px; bottom: 30px; width: 2px; background: var(--rule); }
.events li { position: relative; display: block; background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--green-bright); border-radius: 12px; box-shadow: 0 1px 3px rgba(18, 55, 43, .10); padding: 26px 28px; margin: 0 0 24px; }
.events li:last-child { margin-bottom: 0; }
.events li::before { content: ""; position: absolute; left: -44px; top: 30px; width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%; background: var(--white); border: 4px solid var(--green-bright); }
.events li:first-child::before { background: var(--green-bright); box-shadow: 0 0 0 4px var(--green-soft); }
.events time { margin: 0 0 12px; }
.events h3 { font-size: 1.25rem; margin: 0 0 .4em; }
@media (max-width: 800px) { .events { padding-left: 34px; } .events li { padding: 22px 20px; } .events li::before { left: -34px; width: 20px; height: 20px; top: 28px; } .events::before { left: 9px; } }

/* Logo : pastille blanche parfaitement ronde (l'ancienne devenait ovale), logo entier à l'intérieur, sans déformation */
.brand img.logo { width: 58px; height: 58px; padding: 6px; background: var(--white); border-radius: 50%; object-fit: contain; box-sizing: border-box; flex: none; }
.foot-logo img { width: 52px; height: 52px; padding: 5px; background: var(--white); border-radius: 50%; object-fit: contain; box-sizing: border-box; flex: none; }
@media (max-width: 800px) { .brand img.logo { width: 52px; height: 52px; } }
