/* =========================================================
   BIECE-AE — Design system & page d'accueil (maquette)
   Palette dérivée du logo et du site actuel :
   verts de la carte d'Afrique, bleu + étoiles de l'Europe.
   ========================================================= */

:root {
  /* Verts (identité principale) */
  --forest-950: #0a5c32;   /* pied de page, barres latérales */
  --forest-900: #0e8545;   /* fonds des sections vertes (mélange du vert du logo) */
  --forest-800: #0b733d;
  --forest-700: #0a6236;
  --forest-ink: #0a3d24;   /* texte vert foncé sur fond clair / citron */
  --logo-green: #00c000;   /* vert de l'Afrique de l'Ouest dans le logo */
  --green-600: #13904a;
  --green-500: #1fae5a;
  --green-400: #3dd174;   /* proche du #4cd964 du site actuel */
  --green-200: #b5efc9;
  --green-100: #dcf7e6;
  --green-50:  #f0fbf4;
  --lime:      #c9f264;

  /* Europe */
  --blue-800: #14286b;
  --blue-700: #1d3a8a;
  --blue-500: #3159d6;
  --blue-100: #e4eafb;
  --gold:     #f5c542;
  --red:      #e2231a;

  /* Neutres (reprend le #36404c du site actuel) */
  --ink:       #121a21;
  --slate-700: #36404c;
  --slate-500: #5d6773;
  --slate-400: #8a929d;
  --line:      #e7e3d8;
  --sand:      #f7f5ef;
  --sand-2:    #efebe0;
  --white:     #ffffff;

  /* Typo */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  /* Rayons, ombres, layout */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(6, 43, 33, .06), 0 2px 8px rgba(6, 43, 33, .05);
  --shadow-md: 0 8px 24px -8px rgba(6, 43, 33, .18);
  --shadow-lg: 0 30px 60px -20px rgba(3, 32, 26, .35);
  --container: 1400px;
  --gutter: clamp(20px, 3vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }
em.serif, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 120px 0; }

/* ---------- Composants ---------- */
.btn {
  --bg: var(--green-500); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { box-shadow: 0 10px 24px -10px rgba(31, 174, 90, .8); }
.btn-primary:hover { --bg: var(--green-600); }
.btn-lime { --bg: var(--lime); --fg: var(--forest-ink); }
.btn-lime:hover { --bg: #d8f78a; }
.btn-ghost-light { --bg: rgba(255,255,255,.06); --fg: var(--white); border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { --bg: rgba(255,255,255,.14); }
.btn-dark { --bg: var(--forest-900); --fg: var(--white); }
.btn-dark:hover { --bg: var(--forest-800); }
.btn-outline { --bg: transparent; --fg: var(--forest-ink); border-color: var(--line); }
.btn-outline:hover { --bg: var(--white); border-color: var(--forest-900); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
}
.tag-pmife { background: var(--green-100); color: var(--forest-700); }
.tag-pspijf { background: var(--blue-100); color: var(--blue-700); }
.tag-neutral { background: var(--sand-2); color: var(--slate-700); }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--green-600); }
.status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(61, 209, 116, .6); animation: pulse 2s infinite;
}
.status-warn { color: #b26b00; }
.status-warn::before { background: #f5a524; box-shadow: 0 0 0 0 rgba(245, 165, 36, .6); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 209, 116, .55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 209, 116, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 209, 116, 0); }
}

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; margin-top: 18px; max-width: 760px; }
.section-head h2 .serif { color: var(--green-600); }
.section-head p { max-width: 420px; color: var(--slate-500); font-size: 17px; }

/* ---------- Sélecteur de langue ---------- */
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 3px; color: rgba(255,255,255,.88); }
.lang-switch button { background: none; border: 0; color: inherit; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.lang-switch button[aria-pressed="true"] { background: var(--white); color: var(--forest-ink); }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 92, 50, .88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled { background: rgba(9, 84, 46, .96); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; height: 84px; gap: 24px; width: 100%; padding: 0 var(--gutter); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); white-space: nowrap; flex: none; }
.brand-logo {
  width: 48px; height: 48px; border-radius: 14px; background: var(--white);
  display: grid; place-items: center; padding: 3px; flex: none;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-text strong { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -.01em; line-height: 1; }
.brand-text span { display: block; font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .04em; margin-top: 5px; }

.nav { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; white-space: nowrap; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 12px; border-radius: 999px;
  color: rgba(255,255,255,.82); font-size: 15px; font-weight: 600;
  background: none; border: 0; transition: background .2s, color .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav > a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--green-400); border-radius: 999px 999px 999px 999px; }
.nav-drop { position: relative; }
.nav-drop .icon { width: 16px; height: 16px; transition: transform .25s; }
.nav-drop:hover .icon, .nav-drop:focus-within .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 8px;
  width: 520px; padding: 12px; border-radius: var(--r-lg);
  background: var(--white); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity .25s, translate .25s var(--ease), visibility .25s;
  white-space: normal; text-align: left;
}
.dropdown::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav-drop:hover .dropdown, .nav-drop:focus-within .dropdown { opacity: 1; visibility: visible; translate: -50% 0; }
.dropdown a { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-md); transition: background .2s; }
.dropdown a:hover { background: var(--sand); }
.dropdown .dd-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.dropdown .dd-icon.green { background: var(--green-100); color: var(--green-600); }
.dropdown .dd-icon.blue { background: var(--blue-100); color: var(--blue-700); }
.dropdown .dd-icon.gold { background: #fff4d6; color: #b07d00; }
.dropdown-sm { width: 360px; grid-template-columns: 1fr; }

/* Méga-menu Programmes */
.dropdown.mega {
  width: 900px; left: -24px; translate: 0 8px;
  grid-template-columns: 1.55fr 1fr; gap: 0; padding: 0; overflow: hidden;
}
.nav-drop:hover .dropdown.mega, .nav-drop:focus-within .dropdown.mega { translate: 0 0; }
.mega-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-400); margin: 0 0 14px 4px; }
.mega-main { padding: 24px; }
.mega-programs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dropdown a.mega-prog {
  display: flex; flex-direction: column; gap: 0; padding: 20px; border-radius: var(--r-md);
  border: 1px solid transparent; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.dropdown a.mega-prog:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mega-prog.pmife { background: var(--green-50); }
.mega-prog.pmife:hover { background: var(--green-50); border-color: var(--green-200); }
.mega-prog.pspijf { background: #f2f5fd; }
.mega-prog.pspijf:hover { background: #f2f5fd; border-color: #c9d5f7; }
.mega-prog-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mega-acr { font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .14em; padding: 5px 10px; border-radius: 999px; }
.pmife .mega-acr { background: var(--forest-900); color: var(--lime); }
.pspijf .mega-acr { background: var(--blue-700); color: var(--white); }
.mega-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--white); }
.pmife .mega-ico { color: var(--green-600); }
.pspijf .mega-ico { color: var(--blue-700); }
.dropdown .mega-prog strong { font-size: 18px; line-height: 1.2; }
.dropdown .mega-prog small { margin: 8px 0 18px; font-size: 13px; line-height: 1.5; }
.mega-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(0,0,0,.06); }
.mega-meta .status { font-size: 12px; white-space: nowrap; }
.mega-go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--forest-ink); }
.mega-go .icon { width: 15px; height: 15px; transition: transform .25s; }
.mega-prog:hover .mega-go .icon, .mega-promo:hover .mega-go .icon { transform: translateX(3px); }
.mega-side { padding: 24px; background: var(--sand); display: flex; flex-direction: column; gap: 4px; }
.dropdown a.mega-link { padding: 12px; }
.dropdown a.mega-link:hover { background: var(--white); }
.dropdown a.mega-promo {
  display: block; margin-top: auto; padding: 18px; border-radius: var(--r-md);
  background: var(--forest-900); color: rgba(255,255,255,.8); position: relative; overflow: hidden;
}
.dropdown a.mega-promo:hover { background: var(--forest-800); }
.mega-promo::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(201,242,100,.35), transparent 70%); }
.mega-promo-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.dropdown .mega-promo strong { color: var(--white); font-size: 16px; margin: 6px 0 12px; }
.mega-promo .mega-go { color: var(--lime); }

/* Bouton don (mis en avant dans l'en-tête) */
.btn-donate {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 14px;
  border-radius: 999px; border: 1px solid rgba(245,197,66,.55); background: rgba(245,197,66,.1);
  color: var(--white); font-size: 14px; font-weight: 700; transition: background .2s, border-color .2s, transform .25s var(--ease);
}
.btn-donate:hover { background: rgba(245,197,66,.2); border-color: var(--gold); transform: translateY(-2px); }
.btn-donate .heart { width: 18px; height: 18px; color: #ff6b6b; animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%, 40%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 28% { transform: scale(.95); } }
.dropdown .dd-donate { background: linear-gradient(120deg, #fffaf0, #fff4d6); }
.dropdown .dd-donate:hover { background: #ffefc4; }
.dropdown strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 17px; }
.dropdown small { display: block; color: var(--slate-500); font-size: 13px; line-height: 1.45; margin-top: 2px; }

.header-cta { display: flex; align-items: center; gap: 14px; white-space: nowrap; flex: none; }
.link-login { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-weight: 600; font-size: 15px; padding: 0 6px; }
.link-login .icon { width: 18px; height: 18px; }
.link-login:hover { color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: none; color: var(--white); place-items: center; }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--forest-950);
  padding: 24px var(--gutter) 40px; display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .45s var(--ease); overflow-y: auto;
}
.mobile-menu.is-open { transform: none; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--white); font-family: var(--font-display); font-size: 26px; font-weight: 600;
}
.mobile-menu nav a small { font-family: var(--font-body); font-size: 12px; font-weight: 700; color: var(--lime); letter-spacing: .08em; }
.mobile-menu .btn { width: 100%; margin-top: 12px; }
.mobile-menu-actions { margin-top: auto; padding-top: 32px; }
.mobile-engage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.mobile-engage a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,255,255,.06); color: var(--white); font-weight: 600; font-size: 15px; }
.mobile-engage a.donate { background: rgba(201,242,100,.12); color: var(--lime); }
.mobile-contact { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.7); font-size: 14px; }
.mobile-contact a { display: inline-flex; align-items: center; gap: 10px; }
.mobile-contact .icon { width: 16px; height: 16px; color: var(--green-400); }
.mobile-contact .lang-switch { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--forest-900); color: var(--white);
  padding: 72px 0 200px;
}
.hero::before { /* halos */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px 420px at 85% 20%, rgba(0, 192, 0, .30), transparent 70%),
    radial-gradient(520px 420px at 70% 95%, rgba(29, 58, 138, .30), transparent 70%),
    radial-gradient(700px 500px at 0% 0%, rgba(201, 242, 100, .08), transparent 70%);
}
.hero::after { /* grille */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.hero-stripes { position: absolute; left: -120px; bottom: -60px; width: 520px; z-index: -1; opacity: .5; pointer-events: none; }
.hero .container { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 8px 6px 6px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: 14px; color: rgba(255,255,255,.88); transition: background .2s;
}
.hero-pill:hover { background: rgba(255,255,255,.12); }
.hero-pill b { background: var(--lime); color: var(--forest-ink); padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .02em; }
.hero-pill .icon { width: 16px; height: 16px; }

.hero h1 {
  color: var(--white);
  font-size: clamp(44px, 6.4vw, 86px);
  font-weight: 700; letter-spacing: -.035em; line-height: .98;
  margin: 28px 0 26px;
}
.hero h1 .serif { color: var(--lime); font-size: 1.08em; letter-spacing: -.02em; }
.hero h1 .underline { position: relative; white-space: nowrap; }
.hero h1 .underline svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .3em; }
.hero h1 .underline path { stroke: var(--green-400); stroke-width: 6; fill: none; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lead { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.92); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); max-width: 560px; }
.avatars { display: flex; }
.avatars span {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--forest-900);
  margin-left: -10px; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: var(--forest-ink);
}
.avatars span:first-child { margin-left: 0; }
.hero-proof p { font-size: 14px; color: rgba(255,255,255,.88); line-height: 1.45; }
.hero-proof strong { color: var(--white); font-size: 15px; }

/* Visuel du hero */
.hero-visual { position: relative; height: 600px; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.16); left: 50%; top: 50%; translate: -50% -50%; }
.orbit-1 { width: 560px; height: 560px; animation: spin 80s linear infinite; }
.orbit-2 { width: 420px; height: 420px; border-style: solid; border-color: rgba(255,255,255,.07); }
@keyframes spin { to { rotate: 360deg; } }
.orbit-1 .city {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(3, 32, 26, .78); border: 1px solid rgba(255,255,255,.14);
  font-size: 12px; font-weight: 700; color: var(--white); white-space: nowrap;
  animation: spin 80s linear infinite reverse;
}
.city i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(61,209,116,.18); }
.city.eu i { background: var(--gold); box-shadow: 0 0 0 4px rgba(245,197,66,.2); }
.city.na i { background: #ff6b5e; box-shadow: 0 0 0 4px rgba(255,107,94,.2); }
.city-1 { top: -14px; left: 50%; translate: -50% 0; }
.city-2 { top: 26%; right: -44px; }
.city-3 { bottom: 12%; right: 0; }
.city-4 { bottom: -14px; left: 38%; }
.city-5 { top: 52%; left: -60px; }
.city-6 { top: 10%; left: 4%; }

.hero-photo {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 340px; height: 450px; overflow: hidden;
  border-radius: 999px 999px 40px 40px;
  border: 6px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.02); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(3,32,26,.55)); }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px; border-radius: 18px;
  background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.35);
  animation: float 6s ease-in-out infinite;
}
.float-card .fc-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; }
.float-card small { display: block; font-size: 12px; color: var(--slate-500); margin-top: 2px; }
.fc-1 { top: 70px; left: -20px; }
.fc-1 .fc-icon { background: var(--green-100); color: var(--green-600); }
.fc-2 { bottom: 120px; right: -26px; animation-delay: -2s; flex-direction: column; align-items: stretch; width: 230px; }
.fc-2 .row { display: flex; align-items: center; gap: 12px; }
.fc-2 .fc-icon { background: #fff4d6; color: #b07d00; }
.fc-2 .bar { height: 8px; border-radius: 99px; background: var(--sand-2); overflow: hidden; margin-top: 4px; }
.fc-2 .bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green-400), var(--lime)); transform-origin: left; animation: grow 1.6s 1s var(--ease) both; }
.fc-2 .bar-meta { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--slate-500); }
@keyframes grow { from { transform: scaleX(0); } }
.fc-3 { bottom: 26px; left: 10px; animation-delay: -4s; background: var(--blue-700); color: var(--white); }
.fc-3 .fc-icon { background: rgba(255,255,255,.14); color: var(--gold); }
.fc-3 small { color: rgba(255,255,255,.7); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Bandeau chiffres ---------- */
.stats-wrap { position: relative; z-index: 3; margin-top: -120px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 38px 36px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 1px; background: var(--line); }
.stat-num { font-family: var(--font-display); font-size: 52px; font-weight: 700; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.stat-num sup { font-size: .5em; color: var(--green-500); vertical-align: top; position: relative; top: .2em; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 15px; color: var(--slate-500); line-height: 1.4; }
.stat-icon { position: absolute; top: 30px; right: 30px; color: var(--green-200); }
.stat-icon .icon { width: 28px; height: 28px; }

/* ---------- Présence (défilant) ---------- */
.presence { padding: 72px 0 0; }
.presence-label { text-align: center; font-size: 14px; font-weight: 600; color: var(--slate-500); margin-bottom: 24px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.country {
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 24px 0 10px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--ink); white-space: nowrap;
}
.country .flag { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: flex; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.country .flag i { flex: 1; }
.flag.v { flex-direction: row; }
.flag.h { flex-direction: column; }
.country small { font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--green-600); background: var(--green-50); padding: 3px 8px; border-radius: 99px; letter-spacing: .03em; }

/* ---------- Programmes ---------- */
.programs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.program {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); padding: 48px;
  display: flex; flex-direction: column; min-height: 640px;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.program-pmife { background: var(--green-100); }
.program-pspijf { background: var(--forest-900); color: rgba(255,255,255,.88); }
.program-pspijf h3 { color: var(--white); }
.program-top { display: flex; justify-content: space-between; align-items: flex-start; }
.program-acronym { font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .14em; padding: 8px 14px; border-radius: 999px; }
.program-pmife .program-acronym { background: var(--forest-900); color: var(--lime); }
.program-pspijf .program-acronym { background: var(--lime); color: var(--forest-ink); }
.program-icon { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; }
.program-icon .icon { width: 36px; height: 36px; stroke-width: 1.6; }
.program-pmife .program-icon { background: var(--white); color: var(--green-600); }
.program-pspijf .program-icon { background: rgba(255,255,255,.08); color: var(--lime); }
.program h3 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; margin: 40px 0 16px; }
.program h3 .serif { font-weight: 400; }
.program-pmife h3 .serif { color: var(--green-600); }
.program-pspijf h3 .serif { color: var(--lime); }
.program > p { font-size: 17px; max-width: 480px; }
.program ul { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.program li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 600; line-height: 1.4; }
.program li .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; margin-top: 1px; }
.program-pmife li { color: var(--forest-800); }
.program-pmife li .icon { background: var(--green-500); color: var(--white); stroke-width: 3; }
.program-pspijf li { color: rgba(255,255,255,.9); }
.program-pspijf li .icon { background: var(--lime); color: var(--forest-ink); stroke-width: 3; }
.program-foot { margin-top: auto; padding-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.program-for { font-size: 13px; font-weight: 600; }
.program-for b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-bottom: 4px; }
.program-deco { position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; z-index: -1; }
.program-pmife .program-deco { background: radial-gradient(circle, rgba(61,209,116,.35), transparent 70%); }
.program-pspijf .program-deco { background: radial-gradient(circle, rgba(49,89,214,.5), transparent 70%); }

/* ---------- Parcours ---------- */
.steps-section { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--green-200) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: left; }
.step-num {
  position: relative; width: 68px; height: 68px; border-radius: 22px;
  display: grid; place-items: center; margin-bottom: 28px;
  background: var(--forest-900); color: var(--lime);
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  box-shadow: 0 0 0 10px var(--white);
}
.step:nth-child(2) .step-num { background: var(--green-600); color: var(--white); }
.step:nth-child(3) .step-num { background: var(--blue-700); color: var(--gold); }
.step:nth-child(4) .step-num { background: var(--lime); color: var(--forest-ink); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--slate-500); }
.step .step-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--green-600); }
.step .step-meta .icon { width: 16px; height: 16px; }

/* ---------- Appels à candidatures ---------- */
.calls-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.call {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.call:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.call-head { display: flex; justify-content: space-between; align-items: center; }
.call h3 { font-size: 23px; margin: 22px 0 12px; line-height: 1.15; }
.call > p { font-size: 15px; color: var(--slate-500); }
.call-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 24px; font-size: 13px; font-weight: 600; color: var(--slate-700); }
.call-meta span { display: inline-flex; align-items: center; gap: 6px; }
.call-meta .icon { width: 16px; height: 16px; color: var(--slate-400); }
.call-deadline { margin-top: auto; padding: 18px; border-radius: var(--r-md); background: var(--sand); }
.call-deadline-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--slate-500); }
.call-deadline-top b { font-family: var(--font-display); font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.call-deadline-top b.urgent { color: #c2410c; }
.progress { height: 6px; border-radius: 99px; background: var(--sand-2); margin-top: 12px; overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: var(--green-500); }
.progress.urgent span { background: #f97316; }
.call-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.call-foot .seats { font-size: 13px; color: var(--slate-500); }
.call-foot .seats b { color: var(--ink); }

/* ---------- Pour qui / aperçu plateforme ---------- */
.audience-section { background: var(--sand-2); position: relative; overflow: hidden; }
.audience { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; }
.aud-tabs { display: flex; flex-direction: column; gap: 10px; }
.aud-tab {
  display: flex; align-items: center; gap: 16px; text-align: left;
  width: 100%; padding: 18px 20px; border-radius: var(--r-md);
  background: transparent; border: 1px solid transparent; color: var(--slate-700);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.aud-tab:hover { background: rgba(255,255,255,.6); }
.aud-tab[aria-selected="true"] { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-md); }
.aud-tab .t-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--white); display: grid; place-items: center; color: var(--forest-700); flex: none; transition: background .25s, color .25s; }
.aud-tab[aria-selected="true"] .t-icon { background: var(--forest-900); color: var(--lime); }
.aud-tab strong { display: block; font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.aud-tab small { display: block; font-size: 13px; color: var(--slate-500); }
.aud-tab .chev { margin-left: auto; opacity: 0; transition: opacity .25s, transform .25s; }
.aud-tab[aria-selected="true"] .chev { opacity: 1; transform: translateX(4px); color: var(--green-600); }

.aud-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.aud-copy h3 { font-size: 32px; margin-bottom: 12px; }
.aud-copy p { font-size: 17px; color: var(--slate-500); max-width: 620px; }
.aud-copy .btn { margin-top: 22px; }

.browser {
  border-radius: 20px; background: var(--white); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,.05);
  animation: panelIn .5s var(--ease);
}
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.browser-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 16px; background: #f3f1ea; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.url { flex: 1; max-width: 360px; margin: 0 auto; height: 26px; border-radius: 8px; background: var(--white); font-size: 12px; color: var(--slate-500); display: flex; align-items: center; justify-content: center; gap: 6px; }
.url .icon { width: 12px; height: 12px; color: var(--green-600); }
.app { display: grid; grid-template-columns: 180px minmax(0, 1fr); min-height: 360px; }
.app-side { background: var(--forest-900); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.app-side .app-brand { display: flex; align-items: center; gap: 8px; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 0 8px 16px; }
.app-side .app-brand img { width: 26px; height: 26px; border-radius: 7px; background: var(--white); padding: 2px; }
.app-side span { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.88); }
.app-side span .icon { width: 16px; height: 16px; }
.app-side span.on { background: rgba(255,255,255,.08); color: var(--white); }
.app-side span.on .icon { color: var(--lime); }
.app-main { padding: 22px 24px; background: #fbfaf7; min-width: 0; }
.app-hello { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.app-hello h4 { font-size: 19px; }
.app-hello small { display: block; color: var(--slate-500); font-size: 12px; }
.app-bell { position: relative; width: 36px; height: 36px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--slate-700); }
.app-bell .icon { width: 16px; height: 16px; }
.app-bell::after { content: ""; position: absolute; top: 7px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); border: 2px solid var(--white); }
.app-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi small { font-size: 11px; color: var(--slate-500); font-weight: 600; }
.kpi b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--green-600); }
.app-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.app-card h5 { margin: 0 0 10px; font-family: var(--font-display); font-size: 14px; color: var(--ink); display: flex; justify-content: space-between; }
.app-card h5 span { font-family: var(--font-body); font-size: 12px; color: var(--green-600); }
.app-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--sand-2); font-size: 13px; }
.app-row:first-of-type { border-top: 0; }
.app-row .av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; }
.app-row .grow { flex: 1; min-width: 0; }
.app-row .grow b { display: block; color: var(--ink); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row .grow small { color: var(--slate-500); font-size: 11px; }
.pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.pill.ok { background: var(--green-100); color: var(--forest-700); }
.pill.wait { background: #fff1d6; color: #9a5b00; }
.pill.info { background: var(--blue-100); color: var(--blue-700); }
.pill.no { background: #fde4e2; color: #b42318; }
.ring { --p: 75; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green-500) calc(var(--p) * 1%), var(--sand-2) 0); flex: none; }
.ring::before { content: attr(data-label); width: 60px; height: 60px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.app-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 5px 0; }
.check-row i { width: 16px; height: 16px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.check-row i.done { background: var(--green-500); }
.check-row i.done::after { content: ""; width: 6px; height: 3px; border: 2px solid #fff; border-top: 0; border-right: 0; rotate: -45deg; translate: 0 -1px; }
.check-row i.todo { border: 2px solid var(--line); }
.check-row.todo { color: var(--slate-500); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding-top: 6px; }
.bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--green-200); position: relative; }
.bars span.hi { background: var(--green-500); }
.bars-x { display: flex; gap: 8px; font-size: 10px; color: var(--slate-400); margin-top: 6px; }
.bars-x span { flex: 1; text-align: center; }
.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kanban > div { background: var(--sand); border-radius: 10px; padding: 10px; }
.kanban h6 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-500); display: flex; justify-content: space-between; }
.kb-card { background: var(--white); border-radius: 8px; padding: 8px 10px; font-size: 12px; margin-top: 6px; box-shadow: var(--shadow-sm); }
.kb-card b { display: block; color: var(--ink); }
.kb-card small { color: var(--slate-500); font-size: 11px; }

/* ---------- Mission ---------- */
.mission { background: var(--forest-900); color: rgba(255,255,255,.88); position: relative; overflow: hidden; isolation: isolate; }
.mission::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 500px at 100% 0%, rgba(49,89,214,.3), transparent 70%), radial-gradient(600px 500px at 0% 100%, rgba(61,209,116,.2), transparent 70%); }
.mission .eyebrow { color: var(--lime); }
.mission-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.mission-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.mission-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(3,32,26,.9)); }
.mission-quote { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 1; color: var(--white); }
.mission-quote p { font-family: var(--font-serif); font-style: italic; font-size: 28px; line-height: 1.2; }
.mission-quote span { display: block; margin-top: 14px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }
.mission h2 { color: var(--white); font-size: clamp(34px, 4.4vw, 54px); margin: 18px 0 24px; }
.mission h2 .serif { color: var(--lime); }
.mission-lead { font-size: 18px; max-width: 600px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.value { padding: 24px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s var(--ease); }
.value:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.value .v-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lime); color: var(--forest-ink); margin-bottom: 18px; }
.value:nth-child(2) .v-icon { background: var(--green-400); }
.value:nth-child(3) .v-icon { background: var(--gold); }
.value h3 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.value p { font-size: 14px; line-height: 1.55; }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-img { aspect-ratio: 16/10; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--slate-500); }
.news-body h3 { font-size: 21px; line-height: 1.22; margin: 14px 0 0; }
.news-card.big h3 { font-size: 26px; }
.news-more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--green-600); }
.news-more .icon { width: 16px; height: 16px; transition: transform .25s; }
.news-card:hover .news-more .icon { transform: translateX(4px); }

/* ---------- CTA ---------- */
.cta-section { padding: 0 0 120px; }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); padding: 80px 72px;
  background: linear-gradient(120deg, var(--green-500) 0%, var(--forest-700) 55%, var(--blue-700) 120%);
  color: var(--white); display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); }
.cta h2 { color: var(--white); font-size: clamp(34px, 4.4vw, 56px); }
.cta h2 .serif { color: var(--lime); }
.cta p { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 540px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r-md); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); transition: background .25s, transform .25s var(--ease); }
.cta-card:hover { background: rgba(255,255,255,.18); transform: translateX(6px); }
.cta-card .c-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--white); color: var(--forest-800); flex: none; }
.cta-card strong { display: block; font-family: var(--font-display); font-size: 19px; }
.cta-card small { font-size: 13px; color: rgba(255,255,255,.88); }
.cta-card > .icon { margin-left: auto; }
.cta-donate { background: rgba(245,197,66,.16); border-color: rgba(245,197,66,.45); }
.cta-donate .c-icon { background: var(--gold); color: #b4231a; }

/* ---------- Pied de page ---------- */
.footer { background: var(--forest-950); color: rgba(255,255,255,.8); padding: 88px 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.4fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand { margin-bottom: 20px; }
.footer-about p { max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--white); transition: background .2s, color .2s; }
.socials a:hover { background: var(--lime); color: var(--forest-ink); }
.socials .icon { width: 18px; height: 18px; }
.footer h4 { color: var(--white); font-size: 15px; font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact a:hover { color: var(--white); }
.footer-contact .icon { width: 17px; height: 17px; margin-top: 4px; color: var(--green-400); }
.newsletter { margin-top: 24px; }
.newsletter p { font-size: 13px; margin-bottom: 10px; }
.newsletter form { display: flex; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; color: var(--white); padding: 0 14px; font: inherit; font-size: 14px; }
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter input:focus { outline: none; }
.newsletter button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--lime); color: var(--forest-ink); display: grid; place-items: center; flex: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; font-size: 13px; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom .lang-switch { margin-left: 8px; }
.footer-bottom a:hover { color: var(--white); }
.eu-stars { display: inline-flex; gap: 3px; color: var(--gold); vertical-align: middle; margin: 0 4px; }

/* ---------- Toast de démo ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; translate: -50% 120px;
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px;
  background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg); transition: translate .4s var(--ease); max-width: calc(100% - 32px);
}
.toast.show { translate: -50% 0; }
.toast .icon { color: var(--lime); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) { .brand-text span { display: none; } }
@media (max-width: 1640px) {
  .header-cta > .lang-switch { display: none; }
  .link-login span { display: none; }
  .link-login { width: 42px; height: 42px; justify-content: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
  .link-login:hover { background: rgba(255,255,255,.08); }
}
@media (max-width: 1420px) {
  .header-inner { gap: 16px; }
  .header-cta { gap: 10px; }
  .brand-text { display: none; }
  .nav > a, .nav-drop > button { padding: 0 10px; font-size: 14.5px; }
}
@media (max-width: 1180px) {
  .brand-text { display: block; }
  .nav, .link-login, .header-cta > .lang-switch { display: none; }
  .menu-toggle { display: grid; }
  .header-cta { margin-left: auto; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; max-width: 600px; width: 100%; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about, .footer-news { grid-column: span 3; }
  .audience { grid-template-columns: 1fr; }
  .aud-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .aud-tab { width: auto; flex: none; }
  .aud-tab small, .aud-tab .chev { display: none; }
  .mission-grid { grid-template-columns: 1fr; gap: 48px; }
  .mission-photo { aspect-ratio: 16/10; }
}
@media (max-width: 960px) {
  .section { padding: 88px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .programs-grid, .calls-grid { grid-template-columns: 1fr; }
  .program { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.big { grid-column: span 2; }
  .cta { grid-template-columns: 1fr; padding: 56px 40px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 72px 0; }
  .mission-photo { aspect-ratio: 4/5; }
  .mission-quote p { font-size: 22px; }
  .fc-2 { width: 180px; padding: 12px; right: -4px; bottom: 110px; }
  .fc-2 small { display: none; }
  .header-inner { height: 68px; }
  .btn-donate { width: 42px; padding: 0; justify-content: center; }
  .btn-donate span { display: none; }
  .brand-text { display: block; }
  .cta-actions { gap: 10px; }
  .header-cta .btn { display: none; }
  .brand-text span { display: none; }
  .hero { padding: 48px 0 160px; }
  .hero h1 { margin: 22px 0 18px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { height: 470px; }
  .orbit-1 { width: 380px; height: 380px; }
  .orbit-2 { width: 300px; height: 300px; }
  .hero-photo { width: 240px; height: 320px; }
  .city-2 { right: -10px; } .city-5 { left: -10px; } .city-6 { display: none; }
  .fc-1 { top: 30px; left: 0; }
  .fc-2 { right: 0; bottom: 96px; width: 200px; }
  .fc-3 { left: 0; bottom: 10px; }
  .stats-wrap { margin-top: -100px; }
  .stat { padding: 26px 20px; }
  .stat-num { font-size: 38px; }
  .stat-icon { display: none; }
  .stat-label { font-size: 13px; }
  .program { padding: 32px 24px; border-radius: var(--r-lg); }
  .program ul { grid-template-columns: 1fr; }
  .program-icon { width: 60px; height: 60px; }
  .steps { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-kpis { grid-template-columns: 1fr 1fr; }
  .app-kpis .kpi:nth-child(3) { display: none; }
  .app-split, .kanban { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.big { grid-column: auto; }
  .cta { padding: 44px 24px; border-radius: var(--r-lg); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about, .footer-news { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   PAGES INTÉRIEURES — composants communs
   ========================================================= */

/* ---------- En-tête de page ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--forest-900); color: rgba(255,255,255,.9);
  padding: 64px 0 96px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(560px 400px at 90% 10%, rgba(0,192,0,.28), transparent 70%),
    radial-gradient(500px 380px at 65% 100%, rgba(29,58,138,.28), transparent 70%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 15%, transparent 70%);
}
.page-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .icon { width: 14px; height: 14px; }
.breadcrumb [aria-current] { color: var(--lime); font-weight: 600; }
.page-hero .eyebrow { color: var(--lime); }
.page-hero h1 { color: var(--white); font-size: clamp(40px, 5.4vw, 72px); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin: 20px 0 24px; }
.page-hero h1 .serif { color: var(--lime); }
.page-hero .lead { font-size: 19px; max-width: 580px; }
.page-hero-facts { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.page-hero-facts div b { display: block; font-family: var(--font-display); font-size: 36px; color: var(--white); letter-spacing: -.03em; line-height: 1; }
.page-hero-facts div span { font-size: 14px; }

.collage { position: relative; height: 480px; }
.collage-main, .collage-sub { position: absolute; overflow: hidden; box-shadow: var(--shadow-lg); }
.collage-main { right: 0; top: 0; width: 82%; height: 78%; border-radius: var(--r-xl); }
.collage-sub { left: 0; bottom: 0; width: 52%; height: 50%; border-radius: var(--r-lg); border: 6px solid var(--forest-900); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .float-card { animation-duration: 7s; }
.collage .fc-a { top: 24px; left: -10px; }
.collage .fc-a .fc-icon { background: var(--green-100); color: var(--green-600); }
.collage .fc-b { right: -12px; bottom: 40px; animation-delay: -3s; }
.collage .fc-b .fc-icon { background: var(--blue-100); color: var(--blue-700); }

/* ---------- Sous-navigation de page ---------- */
.subnav { position: sticky; top: 84px; z-index: 40; background: rgba(247,245,239,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 12px; padding-bottom: 12px; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--slate-500); transition: background .2s, color .2s; }
.subnav a:hover { color: var(--ink); background: var(--white); }
.subnav a.active { background: var(--forest-900); color: var(--white); }
section[id] { scroll-margin-top: 150px; }

/* ---------- Histoire ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.story h2 { font-size: clamp(34px, 4.4vw, 54px); margin: 18px 0 24px; }
.story h2 .serif { color: var(--green-600); }
.story-text p { font-size: 17px; color: var(--slate-500); }
.story-text p + p { margin-top: 16px; }
.story-text p.intro { font-size: 20px; color: var(--slate-700); font-weight: 500; }
.story-visual { position: relative; }
.story-visual img { border-radius: var(--r-xl); aspect-ratio: 5/6; width: 100%; object-fit: cover; object-position: 70% 50%; }
.story-quote {
  position: absolute; left: -40px; bottom: 40px; max-width: 340px; padding: 26px 28px;
  border-radius: var(--r-lg); background: var(--forest-900); color: var(--white); box-shadow: var(--shadow-lg);
}
.story-quote p { font-family: var(--font-serif); font-style: italic; font-size: 24px; line-height: 1.25; }
.story-quote span { display: block; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.6); }
.story-quote .q { font-family: var(--font-serif); font-size: 64px; line-height: .5; color: var(--lime); display: block; height: 28px; }

/* ---------- Mission & vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.mv-card { border-radius: var(--r-xl); padding: 48px; position: relative; overflow: hidden; isolation: isolate; }
.mv-card h3 { font-size: 34px; margin: 20px 0 16px; }
.mv-card p { font-size: 17px; }
.mv-card p + p { margin-top: 14px; }
.mv-mission { background: var(--white); border: 1px solid var(--line); }
.mv-vision { background: var(--forest-900); color: rgba(255,255,255,.88); }
.mv-vision h3 { color: var(--white); }
.mv-vision .eyebrow { color: var(--lime); }
.mv-big { font-family: var(--font-display); font-size: 120px; font-weight: 800; line-height: .9; letter-spacing: -.05em; color: var(--lime); margin-top: 32px; }
.mv-big small { font-size: 28px; letter-spacing: -.01em; color: rgba(255,255,255,.7); font-weight: 600; margin-left: 8px; }
.mv-vision::after { content: ""; position: absolute; right: -100px; bottom: -100px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(49,89,214,.5), transparent 70%); z-index: -1; }
.axes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.axe { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--sand); font-weight: 700; color: var(--ink); font-size: 15px; }
.axe .icon { color: var(--green-600); }

/* ---------- Valeurs (détaillées) ---------- */
.values-section { background: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { position: relative; padding: 40px 36px 44px; border-radius: var(--r-xl); background: var(--sand); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .num { position: absolute; top: 18px; right: 28px; font-family: var(--font-display); font-size: 96px; font-weight: 800; color: rgba(6,43,33,.06); line-height: 1; }
.value-card .v-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 28px; }
.value-card .v-icon .icon { width: 28px; height: 28px; }
.value-card:nth-child(1) .v-icon { background: var(--lime); color: var(--forest-ink); }
.value-card:nth-child(2) .v-icon { background: var(--green-500); color: var(--white); }
.value-card:nth-child(3) .v-icon { background: var(--gold); color: var(--forest-ink); }
.value-card h3 { font-size: 30px; margin-bottom: 14px; }
.value-card p { font-size: 16px; color: var(--slate-500); }

/* ---------- Domaines d'action ---------- */
.domains { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.domain { grid-column: span 2; display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; min-height: 280px; }
.domain:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.domain.wide { grid-column: span 3; }
.domain .d-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); }
.domain .d-icon .icon { width: 26px; height: 26px; }
.domain.blue .d-icon { background: var(--blue-100); color: var(--blue-700); }
.domain.gold .d-icon { background: #fff4d6; color: #b07d00; }
.domain h3 { font-size: 24px; margin: 24px 0 10px; }
.domain p { font-size: 15px; color: var(--slate-500); }
.domain .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.domain.featured { background: var(--forest-900); border-color: var(--forest-900); }
.domain.featured h3 { color: var(--white); }
.domain.featured p { color: rgba(255,255,255,.88); }
.domain.featured .d-icon { background: var(--lime); color: var(--forest-ink); }
.domain.featured .tag { background: rgba(255,255,255,.1); color: var(--white); }

/* ---------- ODD ---------- */
.odd { margin-top: 56px; padding: 40px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.odd h3 { font-size: 28px; margin-bottom: 10px; }
.odd p { color: var(--slate-500); font-size: 15px; }
.odd-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.odd-item { aspect-ratio: 1; border-radius: var(--r-md); padding: 14px; color: var(--white); display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s var(--ease); }
.odd-item:hover { transform: translateY(-4px) rotate(-1deg); }
.odd-item b { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.odd-item span { font-size: 11px; font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em; }

/* ---------- Présence internationale ---------- */
.presence-section { background: var(--forest-900); color: rgba(255,255,255,.88); position: relative; overflow: hidden; isolation: isolate; }
.presence-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.2px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%); }
.presence-section .section-head h2 { color: var(--white); }
.presence-section .section-head h2 .serif { color: var(--lime); }
.presence-section .section-head p { color: rgba(255,255,255,.88); }
.presence-section .eyebrow { color: var(--lime); }
.offices { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 20px; }
.office { padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s var(--ease); }
.office:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.office.hq { background: var(--lime); color: var(--forest-800); border-color: var(--lime); }
.office .flag { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: flex; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.office .flag i, .country-chip .flag i { flex: 1; }
.office .flag.h, .country-chip .flag.h { flex-direction: column; }
.office-role { display: inline-block; margin-top: 22px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.office.hq .office-role { color: var(--forest-700); }
.office h3 { color: var(--white); font-size: 26px; margin: 6px 0 4px; }
.office.hq h3 { color: var(--forest-ink); }
.office .city { font-size: 15px; font-weight: 600; }
.office ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 14px; }
.office li { display: flex; gap: 8px; align-items: flex-start; }
.office li .icon { width: 16px; height: 16px; margin-top: 3px; flex: none; }
.countries { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.countries > span:first-child { font-size: 14px; font-weight: 600; margin-right: 8px; }
.country-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 8px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: var(--white); font-size: 14px; font-weight: 600; }
.country-chip .flag { width: 22px; height: 22px; border-radius: 50%; overflow: hidden; display: flex; }

/* ---------- Gouvernance ---------- */
.leader { display: grid; grid-template-columns: 420px 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.leader-photo { position: relative; min-height: 460px; background: linear-gradient(160deg, var(--green-500), var(--forest-800) 60%, var(--blue-700)); display: grid; place-items: center; overflow: hidden; }
.leader-photo::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.2) 1px, transparent 1px); background-size: 20px 20px; }
.leader-initials { position: relative; width: 200px; height: 200px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.3); font-family: var(--font-display); font-size: 72px; font-weight: 700; color: var(--white); letter-spacing: -.03em; }
.leader-photo small { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.6); }
.leader-body { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.leader-body h3 { font-size: 40px; margin: 18px 0 6px; }
.leader-role { font-size: 16px; font-weight: 700; color: var(--green-600); }
.leader-body > p { margin-top: 22px; font-size: 17px; color: var(--slate-500); max-width: 640px; }
.leader-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.leader-facts div { padding: 18px; border-radius: var(--r-md); background: var(--sand); }
.leader-facts b { display: block; font-family: var(--font-display); font-size: 28px; color: var(--ink); letter-spacing: -.02em; }
.leader-facts span { font-size: 13px; color: var(--slate-500); }

/* ---------- Frise chronologique ---------- */
.timeline-section { background: var(--white); }
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -50% 0; background: linear-gradient(var(--green-200), var(--green-400), var(--blue-500)); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-bottom: 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 22px; width: 18px; height: 18px; translate: -50% 0; border-radius: 50%; background: var(--white); border: 4px solid var(--green-500); box-shadow: 0 0 0 6px var(--white); }
.tl-item.future::before { border-color: var(--lime); background: var(--forest-900); }
.tl-date { text-align: right; padding-top: 12px; font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.tl-date small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--slate-400); letter-spacing: 0; }
.tl-card { padding: 24px 26px; border-radius: var(--r-lg); background: var(--sand); }
.tl-card h3 { font-size: 20px; margin: 10px 0 8px; }
.tl-card p { font-size: 15px; color: var(--slate-500); }
.tl-item:nth-child(even) .tl-date { order: 2; text-align: left; }
.tl-item:nth-child(even) .tl-card { order: 1; }
.tl-item.future .tl-card { background: var(--forest-900); }
.tl-item.future .tl-card h3 { color: var(--white); }
.tl-item.future .tl-card p { color: rgba(255,255,255,.7); }

/* ---------- Responsive pages intérieures ---------- */
@media (max-width: 1180px) {
  .page-hero .container { grid-template-columns: 1fr; }
  .collage { height: 420px; max-width: 640px; width: 100%; }
  .story, .mv-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-quote { left: 20px; }
  .offices { grid-template-columns: 1fr 1fr; }
  .leader { grid-template-columns: 1fr; }
  .leader-photo { min-height: 320px; }
  .odd { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .values-grid { grid-template-columns: 1fr; }
  .domains { grid-template-columns: 1fr 1fr; }
  .domain, .domain.wide { grid-column: span 1; min-height: 0; }
  .axes { grid-template-columns: 1fr 1fr; }
  .odd-list { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { left: 9px; translate: 0 0; }
  .tl-item { grid-template-columns: 1fr; gap: 12px; padding-left: 44px; }
  .tl-item::before { left: 9px; top: 4px; }
  .tl-date, .tl-item:nth-child(even) .tl-date { order: 0; text-align: left; padding-top: 0; }
  .tl-item:nth-child(even) .tl-card { order: 1; }
}
@media (max-width: 640px) {
  .page-hero { padding: 40px 0 72px; }
  .page-hero .lead { font-size: 17px; }
  .page-hero-facts { gap: 24px; }
  .collage { height: 340px; }
  .collage .fc-a { left: 0; }
  .collage .fc-b { right: 0; }
  .subnav { top: 68px; }
  .story-visual img { aspect-ratio: 4/5; }
  .story-quote { position: relative; left: 0; bottom: 0; margin: -60px 16px 0; max-width: none; }
  .mv-card { padding: 32px 24px; }
  .mv-big { font-size: 88px; }
  .domains { grid-template-columns: 1fr; }
  .odd { padding: 28px 20px; }
  .odd-list { grid-template-columns: repeat(2, 1fr); }
  .offices { grid-template-columns: 1fr; }
  .leader-body { padding: 32px 24px; }
  .leader-body h3 { font-size: 30px; }
  .leader-facts { gap: 8px; }
  .leader-facts div { padding: 12px; }
  .leader-facts b { font-size: 24px; }
  .leader-facts span { font-size: 12px; line-height: 1.3; display: block; }
}

/* Drapeaux SVG */
.flag svg { width: 100%; height: 100%; display: block; }

/* =========================================================
   PAGES PROGRAMMES — composants
   ========================================================= */

.acr-chip { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.acr-chip b { font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .14em; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--forest-ink); }
.acr-chip.blue b { background: var(--blue-500); color: var(--white); }
.page-hero .hero-actions { margin-top: 32px; }
.page-hero .breadcrumb + .acr-chip { margin-bottom: 4px; }

/* Carte « produit » dans l'en-tête de page */
.hero-mock { position: relative; padding: 28px 0 28px 28px; }
.mock-card { position: relative; z-index: 1; background: var(--white); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lg); color: var(--slate-700); }
.mock-card h4 { font-size: 18px; }
.mock-card .mock-sub { font-size: 13px; color: var(--slate-500); }
.mock-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.mock-steps { display: grid; gap: 4px; }
.mock-step { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.mock-step i { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; }
.mock-step.done i { background: var(--green-500); color: var(--white); }
.mock-step.now { background: var(--green-50); }
.mock-step.now i { background: var(--forest-900); color: var(--lime); }
.mock-step.todo { color: var(--slate-400); }
.mock-step.todo i { border: 2px dashed var(--line); color: var(--slate-400); }
.mock-step small { margin-left: auto; font-size: 12px; font-weight: 700; }
.mock-step.done small { color: var(--green-600); }
.mock-step.now small { color: var(--forest-700); }
.mock-back { position: absolute; inset: 0 28px 56px 0; border-radius: var(--r-lg); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); transform: rotate(-4deg); }
.hero-mock .float-card { animation-duration: 7s; }
.hero-mock .fc-x { right: -18px; top: -8px; }
.hero-mock .fc-x .fc-icon { background: #fff4d6; color: #b07d00; }
.hero-mock .fc-y { left: -6px; bottom: -6px; animation-delay: -3s; }
.hero-mock .fc-y .fc-icon { background: var(--blue-100); color: var(--blue-700); }

/* Présentation : texte + tuiles */
.intro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.intro-grid h2 { font-size: clamp(34px, 4.4vw, 54px); margin: 18px 0 22px; }
.intro-grid h2 .serif { color: var(--green-600); }
.intro-grid .lead-dark { font-size: 19px; color: var(--slate-700); font-weight: 500; }
.intro-grid p + p { margin-top: 14px; color: var(--slate-500); font-size: 16px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { padding: 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile .t-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); margin-bottom: 18px; }
.tile.blue .t-ic { background: var(--blue-100); color: var(--blue-700); }
.tile.gold .t-ic { background: #fff4d6; color: #b07d00; }
.tile.dark { background: var(--forest-900); border-color: var(--forest-900); }
.tile.dark h3 { color: var(--white); }
.tile.dark p { color: rgba(255,255,255,.7); }
.tile.dark .t-ic { background: var(--lime); color: var(--forest-ink); }
.tile h3 { font-size: 20px; margin-bottom: 6px; }
.tile p { font-size: 14px; color: var(--slate-500); }

/* Publics */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 36px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; }
.who .w-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--forest-900); color: var(--lime); margin-bottom: 24px; }
.who .w-ic .icon { width: 28px; height: 28px; }
.who h3 { font-size: 26px; margin-bottom: 10px; }
.who > p { font-size: 15px; color: var(--slate-500); }
.who ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.who li { display: flex; gap: 10px; font-size: 14px; font-weight: 600; color: var(--slate-700); }
.who li .icon { width: 18px; height: 18px; color: var(--green-500); flex: none; margin-top: 2px; }
.who .btn { margin-top: auto; align-self: flex-start; }
.who ul + .btn { margin-top: 28px; }

.notice { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 20px 24px; border-radius: var(--r-md); background: var(--blue-100); color: var(--blue-800); font-size: 15px; }
.notice .icon { flex: none; margin-top: 2px; }
.notice b { color: var(--blue-800); }

/* Services (cartes) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 32px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature .f-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); margin-bottom: 22px; }
.feature .f-ic .icon { width: 26px; height: 26px; }
.feature:nth-child(3n+2) .f-ic { background: var(--blue-100); color: var(--blue-700); }
.feature:nth-child(3n) .f-ic { background: #fff4d6; color: #b07d00; }
.feature h3 { font-size: 21px; margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--slate-500); }
.on-dark .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.on-dark .feature:hover { background: rgba(255,255,255,.09); }
.on-dark .feature h3 { color: var(--white); }
.on-dark .feature p { color: rgba(255,255,255,.88); }
.on-dark .feature .f-ic, .on-dark .feature:nth-child(n) .f-ic { background: rgba(201,242,100,.14); color: var(--lime); }

/* Processus numéroté */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: proc; }
.proc { position: relative; padding: 32px 28px 30px; border-radius: var(--r-lg); background: var(--sand); counter-increment: proc; }
.proc::before { content: counter(proc, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--green-500); margin-bottom: 18px; }
.proc h3 { font-size: 20px; margin-bottom: 8px; }
.proc p { font-size: 15px; color: var(--slate-500); }
.proc .who-does { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12px; font-weight: 700; color: var(--slate-500); background: var(--white); padding: 5px 10px; border-radius: 999px; }
.proc .who-does .icon { width: 14px; height: 14px; }
.proc.last { background: var(--forest-900); }
.proc.last::before { color: var(--lime); }
.proc.last h3 { color: var(--white); }
.proc.last p { color: rgba(255,255,255,.7); }

/* Offres / formules (bourses, tarifs) */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); }
.plan.featured { background: var(--forest-900); border-color: var(--forest-900); color: rgba(255,255,255,.88); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--lime); color: var(--forest-ink); }
.plan h3 { font-size: 24px; }
.plan.featured h3 { color: var(--white); }
.plan .plan-desc { font-size: 15px; margin-top: 8px; color: var(--slate-500); }
.plan.featured .plan-desc { color: rgba(255,255,255,.7); }
.plan-amount { margin: 26px 0 4px; font-family: var(--font-display); font-size: 48px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.plan-amount small { font-size: 16px; font-weight: 600; color: var(--slate-500); letter-spacing: 0; }
.plan.featured .plan-amount { color: var(--lime); }
.plan.featured .plan-amount small { color: rgba(255,255,255,.88); }
.plan-note { font-size: 13px; color: var(--slate-400); }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.plan.featured ul { border-color: rgba(255,255,255,.12); }
.plan li { display: flex; gap: 10px; font-size: 15px; }
.plan li .icon { width: 18px; height: 18px; color: var(--green-500); flex: none; margin-top: 3px; }
.plan.featured li .icon { color: var(--lime); }
.plan .btn { margin-top: auto; }

.pay-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.pay-methods > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); margin-right: 8px; font-size: 15px; }
.pay-methods > span:first-child .icon { color: var(--green-600); }
.pay { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 10px; background: var(--sand); font-size: 13px; font-weight: 700; color: var(--slate-700); }
.pay.om { background: #fff1e6; color: #c45500; }
.pay.mtn { background: #fff8d6; color: #7a6000; }
.pay.wave { background: #e6f4ff; color: #0a6cc2; }
.pay.moov { background: #e8efff; color: #1b4fb3; }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dest { position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.dest .flag { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.dest h3 { font-size: 22px; margin: 18px 0 4px; }
.dest p { font-size: 14px; color: var(--slate-500); }
.dest .tag { margin-top: 16px; }
.dest.africa { background: var(--green-50); border-color: var(--green-200); }
.dest .af-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green-500); color: var(--white); }

/* Documents */
.docs { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.docs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.doc .d-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--slate-700); flex: none; }
.doc b { display: block; font-size: 14px; color: var(--ink); line-height: 1.3; }
.doc small { font-size: 12px; color: var(--slate-400); }
.doc .req { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--green-100); color: var(--forest-700); white-space: nowrap; }
.doc .req.opt { background: var(--sand-2); color: var(--slate-500); }
.docs-aside { padding: 32px; border-radius: var(--r-xl); background: var(--forest-900); color: rgba(255,255,255,.88); position: sticky; top: 160px; }
.docs-aside h3 { color: var(--white); font-size: 26px; margin: 16px 0 12px; }
.docs-aside ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; font-size: 15px; }
.docs-aside li { display: flex; gap: 10px; }
.docs-aside li .icon { color: var(--lime); width: 18px; height: 18px; flex: none; margin-top: 3px; }
.docs-aside .eyebrow { color: var(--lime); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-wrap .section-head { flex-direction: column; align-items: flex-start; margin: 0; }
.faq-wrap .section-head p { margin-top: 18px; }
.faq-wrap .section-head .btn { margin-top: 28px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); flex: none; transition: transform .3s var(--ease), background .3s; }
.faq summary .pm .icon { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--lime); }
.faq details p { padding: 0 24px 22px; font-size: 15px; color: var(--slate-500); }

/* Sections alternées texte / maquette */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: 120px; }
.split.rev .split-copy { order: 2; }
.split h3 { font-size: clamp(30px, 3.4vw, 42px); margin: 16px 0 16px; }
.split h3 .serif { color: var(--green-600); }
.split-copy > p { font-size: 17px; color: var(--slate-500); }
.split-copy ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.split-copy li { display: flex; gap: 10px; font-size: 15px; font-weight: 600; color: var(--slate-700); }
.split-copy li .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-500); color: var(--white); stroke-width: 3; flex: none; }
.split-visual { position: relative; padding: 36px; border-radius: var(--r-xl); background: var(--sand-2); }
.split-visual.green { background: var(--green-100); }
.split-visual.blue { background: var(--blue-100); }
.split-visual.dark { background: var(--forest-900); }

/* Offres d'emploi / stage */
.offer-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip-btn { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--slate-700); font-size: 14px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.chip-btn:hover { border-color: var(--forest-900); }
.chip-btn[aria-pressed="true"] { background: var(--forest-900); border-color: var(--forest-900); color: var(--white); }
.chip-btn .count { opacity: .6; margin-left: 4px; }
.offers { display: grid; gap: 12px; }
.offer { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 20px; padding: 20px 24px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.offer:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: transparent; }
.offer[hidden] { display: none; }
.offer .logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.offer h3 { font-size: 18px; }
.offer .o-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 13px; color: var(--slate-500); }
.offer .o-meta span { display: inline-flex; align-items: center; gap: 6px; }
.offer .o-meta .icon { width: 14px; height: 14px; }
.offer .fav { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--slate-500); transition: color .2s, background .2s; }
.offer .fav[aria-pressed="true"] { color: #e5484d; background: #fdecec; border-color: #fbd0d0; }
.offer .fav[aria-pressed="true"] .icon { fill: currentColor; }

/* Projet phare */
.highlight { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--forest-900); color: rgba(255,255,255,.88); }
.highlight-img { position: relative; min-height: 520px; }
.highlight-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.highlight-img .tag { position: absolute; top: 24px; left: 24px; background: var(--lime); color: var(--forest-ink); }
.highlight-body { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.highlight-body h3 { color: var(--white); font-size: clamp(30px, 3.4vw, 44px); margin: 16px 0 18px; }
.highlight-body h3 .serif { color: var(--lime); }
.highlight-body .eyebrow { color: var(--lime); }
.highlight-body > p { font-size: 17px; }
.highlight-points { display: grid; gap: 14px; margin: 28px 0 32px; }
.highlight-points div { display: flex; gap: 14px; align-items: flex-start; }
.highlight-points .h-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--lime); flex: none; }
.highlight-points b { display: block; color: var(--white); font-size: 15px; }
.highlight-points span { font-size: 14px; }

/* Secteurs (chips) */
.sectors { display: flex; flex-wrap: wrap; gap: 12px; }
.sector { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); transition: transform .25s var(--ease), border-color .25s; }
.sector:hover { transform: translateY(-3px); border-color: var(--green-400); }
.sector .s-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); }
.sector .s-ic .icon { width: 18px; height: 18px; }

/* Piliers (environnement) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.pillar { padding: 44px 36px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar .p-num { font-family: var(--font-serif); font-style: italic; font-size: 56px; line-height: 1; color: var(--green-500); }
.pillar h3 { font-size: 26px; margin: 18px 0 10px; }
.pillar p { font-size: 15px; color: var(--slate-500); }

/* Responsive programmes */
@media (max-width: 1180px) {
  .intro-grid, .docs, .faq-wrap, .split, .highlight { grid-template-columns: 1fr; gap: 48px; }
  .split.rev .split-copy { order: 0; }
  .split + .split { margin-top: 88px; }
  .docs-aside { position: static; }
  .highlight-img { min-height: 360px; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .hero-mock { max-width: 560px; }
}
@media (max-width: 960px) {
  .who-grid, .feature-grid, .plans, .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; }
  .docs-list { grid-template-columns: 1fr; }
  .offer { grid-template-columns: auto 1fr auto; }
  .offer .btn { display: none; }
}
@media (max-width: 640px) {
  .tiles, .process, .dest-grid { grid-template-columns: 1fr; }
  .split-copy ul { grid-template-columns: 1fr; }
  .split-visual { padding: 16px; }
  .who, .plan { padding: 28px 22px; }
  .highlight-body { padding: 32px 24px; }
  .hero-mock { padding: 16px 0 24px 8px; }
  .hero-mock .fc-x { right: -4px; top: -16px; }
  .offer { gap: 14px; padding: 16px; }
  .offer .logo { width: 44px; height: 44px; }
  .faq summary { font-size: 16px; padding: 18px; }
  .faq details p { padding: 0 18px 18px; }
}

/* Grille de 4 cartes + menu actif sur un bouton */
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) { .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid.cols-4 { grid-template-columns: 1fr; } }
.nav-drop > button[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.08); box-shadow: inset 0 -2px 0 var(--green-400); }

/* =========================================================
   PAGES DE RECHERCHE (appels, offres, formations)
   ========================================================= */
.page-hero.compact { padding: 56px 0 120px; }
.page-hero.compact .container { display: block; }
.page-hero.compact h1 { max-width: 900px; }
.page-hero.compact .lead { max-width: 720px; }

.search-bar {
  display: flex; align-items: center; gap: 8px; margin-top: 36px; max-width: 980px;
  padding: 8px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-lg);
}
.search-field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 18px; min-width: 0; height: 52px; }
.search-field + .search-field { border-left: 1px solid var(--line); }
.search-field .icon { color: var(--slate-400); }
.search-field input, .search-field select { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.search-field select { cursor: pointer; appearance: none; -webkit-appearance: none; }
.search-field input::placeholder { color: var(--slate-400); }
.search-bar .btn { height: 52px; }
.quick-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; }
.quick-tags > span { color: rgba(255,255,255,.55); margin-right: 4px; }
.quick-tags button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: var(--white); font-size: 13px; font-weight: 600; transition: background .2s; }
.quick-tags button:hover { background: rgba(255,255,255,.14); }

.listing { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: -64px; position: relative; z-index: 2; padding-bottom: 120px; }
.filters { position: sticky; top: 108px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 0; max-height: calc(100vh - 128px); overflow-y: auto; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 12px; }
.filters-head h2 { font-size: 18px; }
.filters-head button { background: none; border: 0; color: var(--green-600); font-weight: 700; font-size: 13px; }
.filters-close { display: none; }
.f-group { border-top: 1px solid var(--line); }
.f-group summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; font-weight: 700; color: var(--ink); font-size: 15px; }
.f-group summary::-webkit-details-marker { display: none; }
.f-group summary .icon { width: 16px; height: 16px; transition: transform .25s; }
.f-group[open] summary .icon { transform: rotate(180deg); }
.f-options { display: grid; gap: 2px; padding: 0 14px 14px; }
.f-opt { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; font-size: 14px; color: var(--slate-700); cursor: pointer; transition: background .15s; }
.f-opt:hover { background: var(--sand); }
.f-opt input { position: absolute; opacity: 0; pointer-events: none; }
.f-box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; flex: none; transition: background .15s, border-color .15s; }
.f-box .icon { width: 12px; height: 12px; stroke-width: 3.5; color: var(--white); opacity: 0; }
.f-opt input:checked + .f-box { background: var(--green-500); border-color: var(--green-500); }
.f-opt input:checked + .f-box .icon { opacity: 1; }
.f-opt input:focus-visible + .f-box { outline: 3px solid var(--green-400); outline-offset: 2px; }
.f-opt .n { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--slate-400); background: var(--sand); padding: 2px 8px; border-radius: 99px; }
.filters-promo { margin: 8px 14px 6px; padding: 20px; border-radius: var(--r-md); background: var(--forest-900); color: rgba(255,255,255,.88); font-size: 14px; }
.filters-promo b { display: block; color: var(--white); font-family: var(--font-display); font-size: 17px; margin-bottom: 6px; }
.filters-promo .btn { margin-top: 14px; width: 100%; }

.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 22px; margin-bottom: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.results-count { font-size: 15px; color: var(--slate-500); }
.results-count b { font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-right: 4px; }
.results-tools { display: flex; align-items: center; gap: 10px; }
.sort { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--slate-500); }
.sort select { border: 0; background: none; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; outline: none; }
.filters-toggle { display: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-chips:empty { display: none; }
.a-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 14px; border-radius: 999px; border: 0; background: var(--forest-900); color: var(--white); font-size: 13px; font-weight: 600; }
.a-chip .icon { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: rgba(255,255,255,.15); }
.a-chip.clear { background: none; color: var(--green-600); padding: 0 8px; font-weight: 700; }

.results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.results-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.results-grid .call { animation: panelIn .4s var(--ease) both; }
.results-list { display: grid; gap: 12px; }
.results-list .offer { animation: panelIn .4s var(--ease) both; }
.call.closed { opacity: .7; }
.call.closed .status { color: var(--slate-500); }
.call.closed .status::before { background: var(--slate-400); animation: none; box-shadow: none; }
.offer .o-new { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--green-600); background: var(--green-50); padding: 3px 8px; border-radius: 99px; }

.empty { text-align: center; padding: 64px 24px; border-radius: var(--r-lg); background: var(--white); border: 1px dashed var(--line); }
.empty .e-ic { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--slate-400); }
.empty .e-ic .icon { width: 32px; height: 32px; }
.empty h3 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: var(--slate-500); margin-bottom: 20px; }

/* Carte formation */
.course { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; animation: panelIn .4s var(--ease) both; }
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.course-top { position: relative; height: 112px; padding: 18px; display: flex; justify-content: space-between; align-items: flex-start; overflow: hidden; }
.course-top::after { content: ""; position: absolute; right: -30px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.18); }
.course-top .lvl { position: relative; z-index: 1; font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); }
.course-top .c-ic { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.2); color: var(--white); }
.course-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.course-school { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--slate-500); }
.course-school .flag { width: 20px; height: 20px; border-radius: 50%; overflow: hidden; display: block; flex: none; }
.course h3 { font-size: 20px; margin: 10px 0 14px; line-height: 1.2; }
.course-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13px; color: var(--slate-700); }
.course-meta span { display: flex; align-items: center; gap: 6px; }
.course-meta .icon { width: 15px; height: 15px; color: var(--slate-400); }
.course-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.course-foot .places { font-size: 13px; color: var(--slate-500); }
.course-foot .places b { color: var(--ink); }
.course .badge-bourse { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; font-weight: 700; color: #9a5b00; background: #fff4d6; padding: 5px 10px; border-radius: 99px; align-self: flex-start; }
.course .badge-bourse .icon { width: 14px; height: 14px; }

@media (max-width: 1180px) {
  .results-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .listing { grid-template-columns: 1fr; margin-top: -56px; z-index: auto; }
  .filters-toggle { display: inline-flex; }
  .filters {
    position: fixed; z-index: 70; inset: 0 auto 0 0; width: min(360px, 88vw); max-height: none; top: 0;
    border-radius: 0 var(--r-lg) var(--r-lg) 0; transform: translateX(-105%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
  }
  .filters.is-open { transform: none; }
  .filters-close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); }
  .filters-backdrop { position: fixed; inset: 0; z-index: 65; background: rgba(3,32,26,.5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .filters-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (max-width: 760px) {
  .search-bar { flex-direction: column; align-items: stretch; border-radius: var(--r-lg); padding: 10px; }
  .search-field { height: 50px; }
  .search-field + .search-field { border-left: 0; border-top: 1px solid var(--line); }
  .results-grid, .results-grid.cols-3 { grid-template-columns: 1fr; }
  .results-head { padding: 14px 16px; }
  .sort span { display: none; }
}
.fav[aria-pressed="true"] { color: #e5484d !important; background: #fdecec !important; border-color: #fbd0d0 !important; }
.fav[aria-pressed="true"] .icon { fill: currentColor; }

/* =========================================================
   PARTENAIRES — annuaire & formulaire en étapes
   ========================================================= */

/* Mur de logos (en-tête) */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logo-tile {
  aspect-ratio: 1; border-radius: var(--r-md); display: grid; place-items: center; text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em;
  transition: background .3s, transform .3s var(--ease);
  animation: tileIn .6s var(--ease) both;
}
.logo-tile small { display: block; font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0; color: rgba(255,255,255,.55); margin-top: 4px; }
.logo-tile:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.logo-tile.hl { background: var(--lime); color: var(--forest-ink); border-color: var(--lime); }
.logo-tile.hl small { color: var(--forest-700); }
.logo-tile.plus { border-style: dashed; color: var(--lime); font-size: 30px; }
@keyframes tileIn { from { opacity: 0; transform: scale(.9); } }
.logo-wall .logo-tile:nth-child(2) { animation-delay: .05s; } .logo-wall .logo-tile:nth-child(3) { animation-delay: .1s; }
.logo-wall .logo-tile:nth-child(4) { animation-delay: .15s; } .logo-wall .logo-tile:nth-child(5) { animation-delay: .2s; }
.logo-wall .logo-tile:nth-child(6) { animation-delay: .25s; } .logo-wall .logo-tile:nth-child(7) { animation-delay: .3s; }
.logo-wall .logo-tile:nth-child(8) { animation-delay: .35s; } .logo-wall .logo-tile:nth-child(n+9) { animation-delay: .4s; }

/* Annuaire */
.partners-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.partner { display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; animation: panelIn .4s var(--ease) both; }
.partner[hidden] { display: none; }
.partner:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.partner-top { display: flex; align-items: center; gap: 14px; }
.partner .mono { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 19px; flex: none; }
.partner h3 { font-size: 18px; line-height: 1.2; }
.partner .p-where { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; color: var(--slate-500); }
.partner .p-where .flag { width: 16px; height: 16px; border-radius: 50%; overflow: hidden; display: block; }
.partner > p { font-size: 14px; color: var(--slate-500); margin: 16px 0 18px; }
.partner-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.partner-foot .since { margin-left: auto; font-size: 12px; color: var(--slate-400); }

/* Avantages par type */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 36px 32px; border-radius: var(--r-xl); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.benefit .b-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--lime); color: var(--forest-ink); margin-bottom: 22px; }
.benefit:nth-child(2) .b-ic { background: var(--green-400); }
.benefit:nth-child(3) .b-ic { background: var(--gold); }
.benefit h3 { color: var(--white); font-size: 24px; margin-bottom: 16px; }
.benefit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.benefit li { display: flex; gap: 10px; font-size: 15px; color: rgba(255,255,255,.88); }
.benefit li .icon { width: 18px; height: 18px; color: var(--lime); flex: none; margin-top: 3px; }

/* Formulaire en étapes */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.form-aside h2 { font-size: clamp(34px, 4.2vw, 52px); margin: 18px 0 18px; }
.form-aside h2 .serif { color: var(--green-600); }
.form-aside > p { font-size: 17px; color: var(--slate-500); }
.form-aside .contact-line { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 18px 20px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); font-size: 14px; }
.form-aside .contact-line .icon { color: var(--green-600); }
.form-aside .contact-line b { display: block; color: var(--ink); }

.form-card { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--sand); border-bottom: 1px solid var(--line); }
.stepper li { list-style: none; display: flex; align-items: center; gap: 12px; padding: 20px 24px; font-size: 14px; font-weight: 700; color: var(--slate-400); position: relative; }
.stepper li + li { border-left: 1px solid var(--line); }
.stepper .s-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); font-size: 13px; flex: none; transition: background .3s, color .3s, border-color .3s; }
.stepper li.current { color: var(--ink); background: var(--white); }
.stepper li.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--green-500); }
.stepper li.current .s-n { background: var(--forest-900); border-color: var(--forest-900); color: var(--lime); }
.stepper li.done { color: var(--green-600); }
.stepper li.done .s-n { background: var(--green-500); border-color: var(--green-500); color: var(--white); }
.stepper ol { display: contents; }
.form-body { padding: 36px; }
.form-step[hidden] { display: none; }
.form-step { animation: panelIn .4s var(--ease); }
.form-step h3 { font-size: 24px; margin-bottom: 6px; }
.form-step > p { color: var(--slate-500); font-size: 15px; margin-bottom: 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field label .req-star { color: #e5484d; }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(31,174,90,.15); }
.field .hint { font-size: 12px; color: var(--slate-400); }
.field .err { display: none; font-size: 12px; font-weight: 600; color: #d93036; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.field.invalid .err { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.choice input { position: absolute; opacity: 0; }
.choice b { font-size: 14px; color: var(--ink); }
.choice small { font-size: 12px; color: var(--slate-500); }
.choice .icon { color: var(--green-600); margin-bottom: 6px; }
.choice:has(input:checked) { border-color: var(--green-500); background: var(--green-50); box-shadow: 0 0 0 3px rgba(31,174,90,.12); }
.choice:has(input:focus-visible) { outline: 3px solid var(--green-400); outline-offset: 2px; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px; border-radius: 16px; border: 2px dashed var(--line); background: var(--sand); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--green-500); background: var(--green-50); }
.dropzone .icon { width: 30px; height: 30px; color: var(--green-600); }
.dropzone b { color: var(--ink); }
.dropzone small { color: var(--slate-400); font-size: 12px; }
.dropzone input { display: none; }
.file-list { display: grid; gap: 8px; margin-top: 12px; }
.file-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 14px; animation: panelIn .3s var(--ease); }
.file-item .icon { color: var(--green-600); width: 18px; height: 18px; }
.file-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; }
.file-item small { color: var(--slate-400); }
.file-item button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--sand); display: grid; place-items: center; }
.file-item button .icon { color: var(--slate-500); width: 14px; height: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--slate-500); cursor: pointer; }
.consent input { width: 20px; height: 20px; accent-color: var(--green-500); flex: none; margin-top: 2px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-actions .step-info { font-size: 13px; color: var(--slate-400); }
.form-success { text-align: center; padding: 20px 0 8px; animation: panelIn .5s var(--ease); }
.form-success .ok-ic { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); animation: pop .6s var(--ease); }
.form-success .ok-ic .icon { width: 40px; height: 40px; stroke-width: 2.5; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
.form-success h3 { font-size: 28px; margin-bottom: 10px; }
.form-success p { color: var(--slate-500); max-width: 460px; margin: 0 auto; }
.dossier-no { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0; padding: 12px 20px; border-radius: 999px; background: var(--forest-900); color: var(--white); font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; }
.dossier-no small { font-family: var(--font-body); font-weight: 600; color: rgba(255,255,255,.6); letter-spacing: 0; }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 28px; text-align: left; }
.track div { padding: 12px; border-radius: 12px; background: var(--sand); font-size: 12px; color: var(--slate-500); border-top: 3px solid var(--line); }
.track div b { display: block; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.track div.on { border-top-color: var(--green-500); background: var(--green-50); }

@media (max-width: 1180px) {
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall { max-width: 520px; }
}
@media (max-width: 960px) {
  .benefits { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .partners-grid, .fields, .choice-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .logo-wall .logo-tile:nth-child(n+10) { display: none; }
  .form-body { padding: 24px 20px; }
  .stepper li { padding: 14px 10px; justify-content: center; }
  .stepper li .s-t { display: none; }
  .track { grid-template-columns: 1fr 1fr; }
  .form-actions .step-info { display: none; }
}
.field.invalid .choice { border-color: #f3b4b6; }
.field.invalid .choice:has(input:focus-visible) { outline-color: #e5484d; }

/* =========================================================
   ACTUALITÉS · ARTICLE · MEMBRE · DON · CONTACT · AUTH
   ========================================================= */

/* ---------- Liste des actualités ---------- */
.news-featured { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--white); border: 1px solid var(--line); margin-bottom: 40px; transition: box-shadow .35s; }
.news-featured:hover { box-shadow: var(--shadow-lg); }
.news-featured .nf-img { position: relative; min-height: 420px; overflow: hidden; }
.news-featured .nf-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-featured:hover .nf-img img { transform: scale(1.04); }
.news-featured .nf-img .tag { position: absolute; top: 20px; left: 20px; background: var(--lime); color: var(--forest-ink); }
.news-featured .nf-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.news-featured h2 { font-size: clamp(28px, 3vw, 38px); margin: 16px 0 14px; line-height: 1.12; }
.news-featured p { color: var(--slate-500); font-size: 16px; }
.news-featured .news-more { margin-top: 26px; padding-top: 0; }
.news-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card[hidden] { display: none; }
.news-card .excerpt { font-size: 14px; color: var(--slate-500); margin-top: 10px; }
.news-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--slate-400); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination button { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); font-weight: 700; color: var(--slate-700); }
.pagination button[aria-current] { background: var(--forest-900); color: var(--white); border-color: var(--forest-900); }
.pagination button:hover:not([aria-current]) { border-color: var(--forest-900); }
.newsletter-band { margin-top: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: var(--r-xl); background: var(--forest-900); color: rgba(255,255,255,.88); }
.newsletter-band h2 { color: var(--white); font-size: clamp(28px, 3vw, 38px); }
.newsletter-band h2 .serif { color: var(--lime); }
.newsletter-band form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--white); }
.newsletter-band input { flex: 1; min-width: 0; border: 0; padding: 0 18px; font: inherit; outline: none; }

/* ---------- Article ---------- */
.article-hero { background: var(--white); padding: 56px 0 0; border-bottom: 1px solid var(--line); }
.article-hero .breadcrumb { color: var(--slate-500); }
.article-hero .breadcrumb a:hover { color: var(--ink); }
.article-hero .breadcrumb [aria-current] { color: var(--green-600); }
.article-head { max-width: 900px; }
.article-head h1 { font-size: clamp(34px, 4.6vw, 58px); letter-spacing: -.03em; margin: 18px 0 22px; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font-size: 14px; color: var(--slate-500); padding-bottom: 36px; }
.article-byline .au { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.article-byline .au span { width: 40px; height: 40px; border-radius: 50%; background: var(--forest-900); color: var(--lime); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.article-byline > span { display: inline-flex; align-items: center; gap: 6px; }
.article-byline .icon { width: 16px; height: 16px; }
.article-cover { border-radius: var(--r-xl) var(--r-xl) 0 0; overflow: hidden; aspect-ratio: 21/9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.article-layout { display: grid; grid-template-columns: 80px minmax(0, 720px) 1fr; gap: 48px; padding: 64px 0 100px; }
.share { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 10px; align-self: start; }
.share small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 4px; }
.share a, .share button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--slate-700); transition: background .2s, color .2s, border-color .2s; }
.share a:hover, .share button:hover { background: var(--forest-900); color: var(--white); border-color: var(--forest-900); }
.share .icon { width: 18px; height: 18px; }
.prose { font-size: 19px; line-height: 1.75; color: var(--slate-700); }
.prose > * + * { margin-top: 1.1em; }
.prose .lede { font-size: 23px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.prose h2 { font-size: 30px; margin-top: 1.8em; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 8px 0 8px 28px; border-left: 4px solid var(--lime); font-family: var(--font-serif); font-style: italic; font-size: 28px; line-height: 1.3; color: var(--ink); }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--r-lg); }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--slate-400); }
.callout { display: flex; gap: 16px; padding: 24px 26px; border-radius: var(--r-lg); background: var(--green-50); border: 1px solid var(--green-200); font-size: 16px; }
.callout .icon { color: var(--green-600); flex: none; margin-top: 4px; }
.callout ul { margin: 8px 0 0; padding-left: 18px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-side { display: grid; gap: 20px; align-self: start; position: sticky; top: 120px; }
.side-card { padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.side-card h3 { font-size: 17px; margin-bottom: 14px; }
.side-card .mini { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--sand-2); }
.side-card .mini:first-of-type { border-top: 0; padding-top: 0; }
.side-card .mini img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.side-card .mini b { display: block; font-size: 14px; line-height: 1.3; color: var(--ink); }
.side-card .mini small { font-size: 12px; color: var(--slate-400); }
.side-card.dark { background: var(--forest-900); border-color: var(--forest-900); color: rgba(255,255,255,.88); font-size: 14px; }
.side-card.dark h3 { color: var(--white); }
.side-card.dark .btn { margin-top: 16px; width: 100%; }

/* ---------- Devenir membre ---------- */
.member-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---------- Don ---------- */
.donate-layout { display: grid; grid-template-columns: 1fr 520px; gap: 64px; align-items: start; }
.donate-card { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; position: sticky; top: 108px; }
.donate-card .dc-head { padding: 26px 30px; background: var(--forest-900); color: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.donate-card .dc-head h3 { color: var(--white); font-size: 22px; }
.donate-card .dc-head small { color: rgba(255,255,255,.6); font-size: 13px; }
.donate-card .dc-body { padding: 28px 30px 30px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sand); gap: 2px; }
.seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font-weight: 700; font-size: 13px; color: var(--slate-500); }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.dc-head .seg { background: rgba(255,255,255,.08); }
.dc-head .seg button { color: rgba(255,255,255,.7); }
.dc-head .seg button[aria-pressed="true"] { background: var(--lime); color: var(--forest-ink); }
.dc-label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-400); margin: 22px 0 10px; }
.dc-label:first-child { margin-top: 0; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amt { height: 56px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--ink); transition: border-color .2s, background .2s, transform .2s; }
.amt:hover { border-color: var(--forest-900); }
.amt[aria-pressed="true"] { background: var(--forest-900); border-color: var(--forest-900); color: var(--lime); transform: scale(1.03); }
.amt-custom { position: relative; margin-top: 10px; }
.amt-custom input { width: 100%; height: 56px; border-radius: 14px; border: 1.5px solid var(--line); padding: 0 80px 0 18px; font: inherit; font-size: 17px; font-weight: 600; }
.amt-custom input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(31,174,90,.15); }
.amt-custom span { position: absolute; right: 18px; top: 50%; translate: 0 -50%; font-weight: 700; color: var(--slate-400); }
.impact { display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--green-50); border: 1px solid var(--green-200); font-size: 14px; color: var(--forest-800); transition: background .3s; }
.impact .i-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-500); color: var(--white); display: grid; place-items: center; flex: none; }
.impact b { color: var(--forest-ink); }
.alloc { display: grid; gap: 8px; }
.alloc .choice { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
.alloc .choice .icon { margin: 0; }
.alloc .choice span { display: flex; flex-direction: column; }
.pay-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-pick .choice { align-items: center; text-align: center; padding: 12px 8px; }
.pay-pick .choice b { font-size: 13px; }
.dc-total { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.dc-total span { font-size: 14px; color: var(--slate-500); }
.dc-total b { font-family: var(--font-display); font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
.donate-card .btn-block { width: 100%; height: 58px; font-size: 16px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 12px; color: var(--slate-400); }
.secure-note .icon { width: 14px; height: 14px; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.impact-tile { padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.impact-tile b { display: block; font-family: var(--font-display); font-size: 32px; color: var(--green-600); letter-spacing: -.03em; line-height: 1; }
.impact-tile span { display: block; margin-top: 10px; font-size: 15px; color: var(--slate-500); }
.transparency { margin-top: 40px; padding: 28px; border-radius: var(--r-lg); background: var(--forest-900); color: rgba(255,255,255,.88); }
.transparency h3 { color: var(--white); font-size: 22px; margin-bottom: 16px; }
.alloc-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; margin: 6px 0 16px; }
.alloc-bar span { height: 100%; }
.alloc-legend { display: grid; gap: 8px; font-size: 14px; }
.alloc-legend div { display: flex; align-items: center; gap: 10px; }
.alloc-legend i { width: 12px; height: 12px; border-radius: 4px; }
.alloc-legend b { margin-left: auto; color: var(--white); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -70px; position: relative; z-index: 2; }
.c-card { display: flex; gap: 16px; align-items: flex-start; padding: 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-md); transition: transform .3s var(--ease); }
.c-card:hover { transform: translateY(-4px); }
.c-card .c-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--green-100); color: var(--green-600); flex: none; }
.c-card:nth-child(2) .c-ic { background: var(--blue-100); color: var(--blue-700); }
.c-card:nth-child(3) .c-ic { background: #fff4d6; color: #b07d00; }
.c-card small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-400); }
.c-card b { display: block; font-family: var(--font-display); font-size: 19px; color: var(--ink); margin: 4px 0 2px; word-break: break-word; }
.c-card span { font-size: 14px; color: var(--slate-500); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.contact-side { display: grid; gap: 20px; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--sand-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hours { padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.hours h3 { font-size: 18px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.hours div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--sand-2); font-size: 14px; }
.hours div b { color: var(--ink); }
.offices-mini { display: grid; gap: 8px; }
.office-mini { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); font-size: 14px; }
.office-mini .flag { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: block; flex: none; }
.office-mini b { display: block; color: var(--ink); }
.office-mini small { color: var(--slate-500); }
.office-mini .tag { margin-left: auto; }

/* ---------- Authentification ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.auth-visual { position: relative; overflow: hidden; isolation: isolate; background: var(--forest-900); color: rgba(255,255,255,.88); padding: 40px 56px; display: flex; flex-direction: column; }
.auth-visual::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(500px 400px at 90% 10%, rgba(61,209,116,.3), transparent 70%), radial-gradient(500px 400px at 10% 100%, rgba(49,89,214,.35), transparent 70%); }
.auth-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%); }
.auth-visual .brand { color: var(--white); }
.auth-visual-main { margin: auto 0; padding: 48px 0; }
.auth-visual h2 { color: var(--white); font-size: clamp(36px, 3.8vw, 54px); letter-spacing: -.03em; }
.auth-visual h2 .serif { color: var(--lime); }
.auth-visual p { margin-top: 18px; font-size: 17px; max-width: 460px; }
.auth-points { display: grid; gap: 14px; margin-top: 36px; }
.auth-points div { display: flex; gap: 14px; align-items: center; font-size: 15px; color: rgba(255,255,255,.85); }
.auth-points .a-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--lime); flex: none; }
.auth-quote { padding: 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.auth-quote p { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 21px; color: var(--white); max-width: none; }
.auth-quote span { display: block; margin-top: 10px; font-size: 13px; }
.auth-panel { display: flex; flex-direction: column; padding: 40px 56px; }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--slate-500); }
.auth-top a.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--slate-700); }
.auth-top a.back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.auth-top b a { color: var(--green-600); }
.auth-form { width: 100%; max-width: 480px; margin: auto; padding: 40px 0; }
.auth-form.wide { max-width: 640px; }
.auth-form h1 { font-size: clamp(32px, 3.2vw, 42px); letter-spacing: -.03em; }
.auth-form > p, .auth-form .form-step > p { color: var(--slate-500); margin: 10px 0 28px; }
.auth-form .fields { gap: 16px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border-radius: 10px; border: 0; background: none; color: var(--slate-400); display: grid; place-items: center; }
.pw-toggle:hover { color: var(--ink); background: var(--sand); }
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; }
.pw-meter i { height: 4px; border-radius: 99px; background: var(--line); transition: background .3s; }
.pw-meter[data-level="1"] i:nth-child(-n+1) { background: #e5484d; }
.pw-meter[data-level="2"] i:nth-child(-n+2) { background: #f5a524; }
.pw-meter[data-level="3"] i:nth-child(-n+3) { background: var(--green-400); }
.pw-meter[data-level="4"] i { background: var(--green-600); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; margin: 4px 0 24px; }
.row-between label { display: flex; align-items: center; gap: 8px; color: var(--slate-700); cursor: pointer; }
.row-between input { width: 18px; height: 18px; accent-color: var(--green-500); }
.row-between a { color: var(--green-600); font-weight: 700; }
.btn-block { width: 100%; }
.divider { display: flex; align-items: center; gap: 14px; margin: 28px 0 18px; font-size: 13px; color: var(--slate-400); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.demo-logins { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-login { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); text-align: left; transition: border-color .2s, background .2s; }
.demo-login:hover { border-color: var(--green-500); background: var(--green-50); }
.demo-login .d-av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.demo-login b { display: block; font-size: 13px; color: var(--ink); }
.demo-login small { font-size: 11px; color: var(--slate-400); }
.auth-form .stepper { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); margin: 0 0 28px; }
.auth-form .form-body { padding: 0; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.profile-grid .choice { padding: 18px 14px; }
.profile-grid .choice .icon { width: 26px; height: 26px; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; max-width: 420px; }
.otp input { height: 62px; text-align: center; font-family: var(--font-display); font-size: 26px; font-weight: 700; padding: 0; }
.minor-note { display: none; grid-column: 1 / -1; }
.minor-note.show { display: flex; }
.auth-legal { font-size: 12px; color: var(--slate-400); text-align: center; margin-top: 18px; }
.auth-legal a { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .news-featured, .donate-layout, .contact-grid { grid-template-columns: 1fr; }
  .news-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .share { position: static; flex-direction: row; align-items: center; order: 2; }
  .share small { margin: 0 6px 0 0; }
  .article-side { position: static; grid-template-columns: 1fr 1fr; }
  .donate-card { position: static; }
  .member-perks { grid-template-columns: 1fr 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .newsletter-band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .news-list-grid, .contact-cards, .impact-grid, .article-side, .member-perks { grid-template-columns: 1fr; }
  .news-featured .nf-img { min-height: 260px; }
  .news-featured .nf-body, .newsletter-band { padding: 28px 22px; }
  .newsletter-band form { flex-direction: column; border-radius: var(--r-md); }
  .newsletter-band input { height: 48px; }
  .prose { font-size: 17px; }
  .prose .lede { font-size: 19px; }
  .prose blockquote { font-size: 22px; }
  .article-cover { aspect-ratio: 4/3; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .contact-cards { margin-top: -56px; }
  .donate-card .dc-head, .donate-card .dc-body { padding-left: 20px; padding-right: 20px; }
  .donate-card .dc-head { flex-direction: column; align-items: flex-start; }
  .auth-panel { padding: 24px 16px; }
  .profile-grid, .demo-logins { grid-template-columns: 1fr 1fr; }
  .otp { gap: 6px; }
  .otp input { height: 52px; font-size: 22px; }
}
.stepper { padding: 0; margin: 0; }
.auth-form .stepper { margin: 0 0 28px; }
.prose figure img { width: 100%; max-height: 560px; object-fit: cover; object-position: 50% 20%; }

/* ---------- Pages de détail (appel, offre, formation) ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding-top: 64px; padding-bottom: 100px; }
.detail-main > section + section { margin-top: 56px; }
.detail-main h2 { font-size: 28px; margin-bottom: 16px; letter-spacing: -.02em; }
.detail-main > section > p { font-size: 17px; color: var(--slate-500); }
.detail-main > section > p + p { margin-top: 12px; }
.apply-card { position: sticky; top: 108px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.apply-card .ac-top { padding: 24px 26px; background: var(--forest-900); color: rgba(255,255,255,.88); }
.apply-card .ac-top b { display: block; font-family: var(--font-display); font-size: 40px; color: var(--lime); letter-spacing: -.03em; line-height: 1; }
.apply-card .ac-top small { font-size: 13px; }
.apply-card .ac-body { padding: 22px 26px 26px; }
.apply-card .ac-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--sand-2); font-size: 14px; }
.apply-card .ac-row:first-child { border-top: 0; padding-top: 0; }
.apply-card .ac-row span { color: var(--slate-500); }
.apply-card .ac-row b { color: var(--ink); text-align: right; }
.apply-card .btn { width: 100%; margin-top: 10px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-size: 16px; color: var(--slate-700); }
.check-list li .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-500); color: var(--white); stroke-width: 3; flex: none; }
.weights { display: grid; gap: 12px; }
.weight { display: grid; grid-template-columns: 180px 1fr 60px; gap: 14px; align-items: center; font-size: 15px; }
.weight .track { height: 12px; border-radius: 99px; background: var(--sand-2); overflow: hidden; }
.weight .track i { display: block; height: 100%; background: var(--green-500); border-radius: 0 4px 4px 0; }
.weight b { text-align: right; color: var(--ink); }
.modules details { border-top: 1px solid var(--line); }
.modules summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 700; color: var(--ink); font-size: 17px; }
.modules summary::-webkit-details-marker { display: none; }
.modules summary small { font-weight: 600; color: var(--slate-400); font-size: 13px; margin-left: 8px; }
.modules summary .icon { transition: transform .25s; }
.modules details[open] summary .icon { transform: rotate(180deg); }
.modules ul { margin: 0 0 18px; padding-left: 20px; color: var(--slate-500); display: grid; gap: 6px; }
@media (max-width: 1080px) {
  .detail-layout { grid-template-columns: 1fr; }
  .apply-card { position: static; order: -1; }
}
@media (max-width: 640px) {
  .detail-layout { padding-top: 40px; padding-bottom: 72px; gap: 32px; }
  .weight { grid-template-columns: 110px 1fr 46px; font-size: 13px; }
}
/* Inscription : blocs conditionnels selon le profil */
.fields.full-span { grid-column: 1 / -1; }
[data-show][hidden], .field[hidden], .fields[hidden] { display: none !important; }
.form-sub { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-sub b { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.form-sub small { display: block; font-size: 13px; color: var(--slate-500); margin-top: 2px; }
.fields.full-span > .form-sub:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
#s2Title { font-size: 22px; margin-bottom: 4px; }
