/* ============================================
   ALLIANCE CÔTE D'IVOIRE — Main Stylesheet
   Design: The Hope Project + Brightaid inspired
   Fonts: Sora / DM Sans / Space Mono
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Space+Mono:wght@400;700&family=Caveat:wght@500;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --accent: #099138;
  --accent-bright: #00E676;
  --accent-dark: #07722C;
  --accent-light: #84B732;
  --accent-orange: #D4600A;
  --accent-gold: #C8962E;
  --accent-blue: #2563A0;
  --accent-red: #E2331D;
  --accent-glow: rgba(9, 145, 56, 0.15);
  --obsidian: #0A0A0A;
  --chalk: #F5F5F0;
  --chalk-dark: #EAEAE3;
  --white: #FFFFFF;
  --warm-sand: #58584F;
  --ocre: #A0522D;
  --deep-green: #1B5E20;
  --deep-red: #C62828;
  --deep-orange: #E65100;
  --separator: #D5D5CF;

  --hero-dark: #0D2818;
  --hero-mid: #1B4332;

  --font-title: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-hand: 'Caveat', cursive;
  --font-heading: var(--font-title);

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.14);
  --shadow-xl: 0 25px 60px rgba(0,0,0,0.2);

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-full: 0;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1320px;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--obsidian);
  background-color: var(--chalk);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
::selection { background-color: var(--accent); color: var(--white); }

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-title);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { color: var(--warm-sand); line-height: 1.75; }
.font-mono { font-family: var(--font-mono); }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }

/* --- Motif Bogolan / Mudcloth — très subtil --- */
.section--chalk {
  background: var(--chalk);
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='22' y1='22' x2='38' y2='38' stroke='%23E8E8E2' stroke-width='0.4'/%3E%3Cline x1='38' y1='22' x2='22' y2='38' stroke='%23E8E8E2' stroke-width='0.4'/%3E%3Cline x1='82' y1='82' x2='98' y2='98' stroke='%23E8E8E2' stroke-width='0.4'/%3E%3Cline x1='98' y1='82' x2='82' y2='98' stroke='%23E8E8E2' stroke-width='0.4'/%3E%3Ccircle cx='90' cy='30' r='1' fill='%23E8E8E2'/%3E%3Ccircle cx='30' cy='90' r='1' fill='%23E8E8E2'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.section--white { background: var(--white); }
.section--dark { background: var(--obsidian); color: var(--white); }

/* --- Motif Kente (Ghana/Afrique de l'Ouest) — zigzags tissés --- */
.section--green {
  background: var(--hero-dark);
  color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='36' viewBox='0 0 60 36' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='0,18 10,4 20,18 30,4 40,18 50,4 60,18' fill='none' stroke='rgba(132,183,50,0.12)' stroke-width='1.2'/%3E%3Cpolyline points='0,22 10,36 20,22 30,36 40,22 50,36 60,22' fill='none' stroke='rgba(132,183,50,0.12)' stroke-width='1.2'/%3E%3Crect x='8' y='16' width='4' height='4' fill='none' stroke='rgba(132,183,50,0.08)' stroke-width='0.8'/%3E%3Crect x='28' y='16' width='4' height='4' fill='none' stroke='rgba(132,183,50,0.08)' stroke-width='0.8'/%3E%3Crect x='48' y='16' width='4' height='4' fill='none' stroke='rgba(132,183,50,0.08)' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 60px 36px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(9, 145, 56, 0.35);
}

.btn--dark {
  background: var(--obsidian);
  color: var(--white);
  border-color: var(--obsidian);
}
.btn--dark:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn--secondary {
  background: transparent;
  color: var(--obsidian);
  border-color: var(--obsidian);
}
.btn--secondary:hover {
  background: var(--obsidian);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--obsidian);
  border-color: var(--white);
}
.btn--white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--obsidian);
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 22px; font-size: 0.85rem; }
.btn--lg { padding: 18px 40px; font-size: 1.05rem; }

.btn svg { width: 18px; height: 18px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

/* --- Tag / Badge --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: var(--accent-glow);
  color: var(--accent-dark);
  border: 1px solid rgba(9, 145, 56, 0.2);
}
.tag--white {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.tag--colored {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* --- Section Tag (Caveat handwritten) --- */
.section-tag {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 16px;
}
.section-tag--white {
  color: var(--accent-light);
}
.section-tag--gold {
  color: var(--accent-gold);
}

/* --- Theme Badge (pastille colorée + texte) --- */
.theme-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--obsidian);
}
.theme-badge__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Section Header --- */
.section-header { margin-bottom: 56px; }
.section-header--center { text-align: center; }
.section-header .tag { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; color: var(--obsidian); }
.section-header p { font-size: 1.1rem; max-width: 560px; }
.section-header--center p { margin: 0 auto; }
.section--dark .section-header h2,
.section--green .section-header h2,
.section--obsidian .section-header h2 { color: var(--white); }
.section--dark .section-header p,
.section--green .section-header p,
.section--obsidian .section-header p { color: rgba(255,255,255,0.55); }
.section--dark .section-tag,
.section--obsidian .section-tag { color: var(--accent-bright); }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition);
}
.header--scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
/* Glassmorphism when over dark sections */
.header--dark-glass {
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 4px 20px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0;
}
.header--dark-glass .header__logo { color: var(--white); }
.header--dark-glass .header__nav a { color: rgba(255,255,255,0.9); }
.header--dark-glass .header__nav a:hover { color: var(--accent); }
.header--dark-glass .header__burger span { background: var(--white); }
/* Header over dark section, NOT scrolled — transparent bg, white text */
.header--dark-transparent {
  background: transparent;
  padding: 12px 0;
}
.header--dark-transparent .header__logo { color: var(--white); }
.header--dark-transparent .header__nav a { color: rgba(255,255,255,0.85); }
.header--dark-transparent .header__nav a:hover { color: var(--accent); }
.header--dark-transparent .header__burger span { background: var(--white); }
/* Header over light section (not scrolled) — e.g. page-hero--light */
.header--light-hero {
  padding: 12px 0;
}
.header--light-hero .header__logo { color: var(--obsidian); }
.header--light-hero .header__nav a { color: rgba(10, 10, 10, 0.7); }
.header--light-hero .header__nav a:hover { color: var(--accent); }
.header--light-hero .header__burger span { background: var(--obsidian); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.header--scrolled .header__logo { color: var(--obsidian); }
.header__logo-img {
  height: 50px;
  width: auto;
  transition: filter var(--transition);
}
.header__logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--white); font-weight: 800;
  font-family: var(--font-title);
}
.header__nav { display: flex; align-items: center; gap: 30px; }
.header__nav a {
  font-size: 0.97rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  white-space: nowrap;
}
.header--scrolled .header__nav a { color: var(--warm-sand); }
.header__nav a:hover { color: var(--accent); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__cta .btn--primary { padding: 11px 24px; font-size: 0.94rem; border-radius: var(--radius-sm); }

/* ===== NAVBAR — Menus déroulants (Lot 0) ===== */
/* --- Desktop : groupe déroulant --- */
.nav-group { position: relative; display: inline-flex; align-items: center; }
.header__nav .nav-group__toggle {
  font-family: inherit; font-size: 0.97rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  background: none; border: none; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  transition: color var(--transition);
}
/* Le toggle suit la couleur des liens du header dans TOUS les états */
.header--scrolled .nav-group__toggle { color: var(--warm-sand); }
.header--dark-glass .nav-group__toggle { color: rgba(255,255,255,0.9); }
.header--dark-transparent .nav-group__toggle { color: rgba(255,255,255,0.85); }
.header--light-hero .nav-group__toggle { color: rgba(10,10,10,0.7); }
.nav-group__toggle:hover,
.nav-group:hover .nav-group__toggle,
.nav-group:focus-within .nav-group__toggle,
.nav-group.is-active .nav-group__toggle { color: var(--accent); }
.nav-group__chevron { font-size: 0.68em; transition: transform 0.2s ease; }
.nav-group:hover .nav-group__chevron,
.nav-group:focus-within .nav-group__chevron,
.nav-group.open .nav-group__chevron { transform: rotate(180deg); }
/* Le menu déroulant (fond blanc) */
.nav-group__menu {
  position: absolute; top: 100%; left: 0; margin-top: 8px; min-width: 232px;
  /* Verre VERT SOMBRE translucide — même rendu que les cartes « Événements à venir »
     (.hero-ecard : vert du héros #1B4332). Assez opaque + fort flou pour rester lisible
     sur n'importe quel fond (photos claires incluses). Bords carrés. */
  background: rgba(27, 67, 50, 0.82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0; z-index: 1001;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transition-delay: 0.3s; /* fermeture différée de 300ms */
}
.nav-group:hover .nav-group__menu,
.nav-group:focus-within .nav-group__menu,
.nav-group.open .nav-group__menu {
  opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; /* ouverture immédiate (fondu 200ms) */
}
/* Liens du menu : toujours foncés (fond blanc), quel que soit l'état du header */
/* Items du sous-menu : style « bouton CTA » — remplissage vert qui balaie depuis la
   gauche au survol, texte blanc, flèche → qui apparaît (cohérent avec « Faire un Don »). */
.header__nav .nav-group__menu a {
  position: relative; overflow: hidden; z-index: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 20px; font-size: 0.92rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.9) !important; white-space: nowrap;
  transition: color 0.25s ease;
}
.header__nav .nav-group__menu a::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--accent); transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.header__nav .nav-group__menu a::after {
  content: '→'; font-weight: 700; opacity: 0; transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.header__nav .nav-group__menu a:hover { color: var(--white) !important; }
.header__nav .nav-group__menu a:hover::before { transform: translateX(0); }
.header__nav .nav-group__menu a:hover::after { opacity: 1; transform: translateX(0); }
/* Item actif : texte IDENTIQUE aux autres (même vert, même graisse) — seul un petit carré
   plein vert à gauche le distingue. Le carré est porté par ::after (au-dessus du balayage vert),
   donc sur l'actif on remplace la flèche → par ce carré marqueur. */
.header__nav .nav-group__menu a.active { padding-left: 36px; }
/* Couleur du texte : IDENTIQUE aux autres items (blanc), y compris dans les états
   sombres du header (dark-glass / dark-transparent) qui, en legacy, forçaient --accent-bright. */
.header__nav .nav-group__menu a.active,
.header--dark-glass .header__nav .nav-group__menu a.active,
.header--dark-transparent .header__nav .nav-group__menu a.active {
  color: rgba(255, 255, 255, 0.9) !important;
}
/* Au survol : texte BLANC (comme tous les autres items). */
.header__nav .nav-group__menu a.active:hover,
.header--dark-glass .header__nav .nav-group__menu a.active:hover,
.header--dark-transparent .header__nav .nav-group__menu a.active:hover {
  color: var(--white) !important;
}
/* Carré marqueur (::after), au-dessus du balayage vert. bottom:auto annule le soulignement legacy. */
.header__nav .nav-group__menu a.active::after,
.header--dark-glass .header__nav .nav-group__menu a.active::after,
.header--dark-transparent .header__nav .nav-group__menu a.active::after {
  content: ''; position: absolute; left: 20px; top: 50%; bottom: auto;
  width: 7px; height: 7px; opacity: 1;
  transform: translateY(-50%); background: var(--accent);
  transition: background-color 0.25s ease;
}
/* Au survol : le carré passe en BLANC, bien visible sur le balayage vert. */
.header__nav .nav-group__menu a.active:hover::after,
.header--dark-glass .header__nav .nav-group__menu a.active:hover::after,
.header--dark-transparent .header__nav .nav-group__menu a.active:hover::after {
  background: var(--white); transform: translateY(-50%);
}

/* --- Mobile : accordéons --- */
.mobile-menu__group { display: flex; flex-direction: column; }
.mobile-menu__group-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: none; padding: 6px 0;
  font-family: var(--font-title); font-size: 1.35rem; font-weight: 800;
  color: rgba(255,255,255,0.55); transition: color 0.2s ease;
}
.mobile-menu__group-toggle:hover { color: var(--accent); }
.mobile-menu__group.open .mobile-menu__group-toggle { color: rgba(255,255,255,0.9); }
.mobile-menu__group-chevron { font-size: 0.7em; transition: transform 0.3s ease; }
.mobile-menu__group.open .mobile-menu__group-chevron { transform: rotate(180deg); }
.mobile-menu__group-panel {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  padding-left: 16px; border-left: 2px solid rgba(255,255,255,0.12); margin-left: 2px;
}
.mobile-menu__group.open .mobile-menu__group-panel { max-height: 520px; }
/* Les sous-liens dans un panneau : plus petits, toujours visibles quand le panneau est ouvert */
.mobile-menu__group-panel .mobile-menu__link {
  font-size: 1.02rem; font-weight: 600; opacity: 1; transform: none; padding: 7px 0;
}

.header__burger {
  display: none;
  position: relative;
  width: 26px; height: 18px;
  cursor: pointer;
  padding: 0; background: none; border: none;
}
/* Nav desktop resserrée sous 1280px pour qu'elle respire toujours.
   (Pas de min-width : on évite tout "trou" de breakpoint aux largeurs sous-pixel ex. 1024.5px.) */
@media (max-width: 1280px) {
  .header__nav { gap: 18px; }
  .header__nav a { font-size: 0.9rem; }
  .header__cta .btn--primary { padding: 9px 18px; font-size: 0.9rem; }
}
/* Sous ~1100px la nav (7 entrées + CTA) ne tient plus proprement → on bascule sur le menu burger
   (au lieu de 768px), pour éviter qu'elle soit tassée et n'écrase le logo. */
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
}
.header__burger span {
  position: absolute; left: 0;
  width: 26px; height: 2px;
  background: var(--white);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  border-radius: 0;
}
.header__burger span:nth-child(1) { top: 0; }
.header__burger span:nth-child(2) { top: 8px; width: 18px; left: 50%; transform: translateX(-50%); }
.header__burger span:nth-child(3) { top: 16px; }
.header--scrolled .header__burger span { background: var(--obsidian); }

/* Mobile menu — Push + Typo Minimal */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 78%;
  max-width: 340px;
  z-index: 1001;
  background: var(--obsidian);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }

/* Bouton de fermeture (✕) interne — injecté par main.js, toujours accessible */
.mobile-menu__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.3s ease;
}
.mobile-menu__close:hover { background: rgba(255, 255, 255, 0.18); transform: rotate(90deg); }

/* Dim overlay behind menu */
.mobile-menu::before {
  content: '';
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100vw;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.mobile-menu.open::before { opacity: 1; pointer-events: all; }

/* Push effect on page content (not header — burger stays accessible) */
body.menu-open > *:not(.mobile-menu):not(.header):not(script) {
  transform: translateX(min(78%, 340px));
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

/* Top panel — main nav links */
.mobile-menu__top {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 80px 32px 24px;
  gap: 2px;
}

/* Bottom panel — CTA + secondary */
.mobile-menu__bottom {
  padding: 20px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Nav links — Typo Minimal style, left-aligned */
.mobile-menu__link {
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 800;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  padding: 5px 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease, color 0.3s ease;
}
.mobile-menu__link:active,
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__link.active { color: var(--accent-bright); }
.mobile-menu__link.active::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  margin-left: 10px;
  vertical-align: middle;
}
.mobile-menu__secondary a.active { color: var(--accent-bright); }
.mobile-menu.open .mobile-menu__link {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: 0.20s; }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: 0.30s; }
.mobile-menu.open .mobile-menu__link:nth-child(5) { transition-delay: 0.35s; }
.mobile-menu.open .mobile-menu__link:nth-child(6) { transition-delay: 0.40s; }
.mobile-menu.open .mobile-menu__link:nth-child(7) { transition-delay: 0.45s; }

/* CTA — bottom */
.mobile-menu__cta {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--obsidian);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-align: left;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease 0.50s;
  align-self: flex-start;
}
.mobile-menu.open .mobile-menu__cta { opacity: 1; transform: translateX(0); }

/* Secondary links — bottom */
.mobile-menu__secondary {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  opacity: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: opacity 0.4s ease 0.55s;
}
.mobile-menu__secondary a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-menu__secondary a:hover { color: var(--white); text-decoration: underline; }
.mobile-menu.open .mobile-menu__secondary { opacity: 1; }

/* Burger morph — Stack Flip (design 10) */
.header__burger.active span {
  background: var(--accent) !important;
}
.header__burger.active span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}
.header__burger.active span:nth-child(2) {
  opacity: 0; transform: translateX(-50%) scale(0);
}
.header__burger.active span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

/* ============================================
   HERO — Slider fondu + Ken Burns
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Slider container */
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Individual slides — stacked, crossfade */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero__slide--active {
  opacity: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
}
/* Stagger Ken Burns direction per slide */
.hero__slide:nth-child(1) img { animation-name: heroKenBurns1; }
.hero__slide:nth-child(2) img { animation-name: heroKenBurns2; }
.hero__slide:nth-child(3) img { animation-name: heroKenBurns3; }
/* Autoplay désactivé : on fige le zoom (Ken Burns) pour éviter un rendu instable */
.hero__slider.is-paused .hero__slide img { animation: none; transform: none; }

@keyframes heroKenBurns1 {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
@keyframes heroKenBurns2 {
  0%   { transform: scale(1.05) translate(1%, 0); }
  100% { transform: scale(1.15) translate(-1%, -1.5%); }
}
@keyframes heroKenBurns3 {
  0%   { transform: scale(1.08) translate(-0.5%, 1%); }
  100% { transform: scale(1) translate(1%, -0.5%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.3) 25%,
    rgba(0, 0, 0, 0.4) 45%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.65) 72%,
    rgba(0, 0, 0, 0.7) 78%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__content h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 800;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero__content h1 .accent {
  color: var(--accent);
}

.hero__content p {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__buttons .btn--primary {
  border-radius: var(--radius-sm);
}

.hero__buttons .btn--dark {
  border-radius: var(--radius-sm);
}

/* Hero — Events Calendar Cards */
.hero-events {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 56px auto 0;
  width: 100%;
}
.hero-events__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-left: 4px;
}
.hero-events__tag {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}
.hero-events__link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-left: auto;
  transition: color 0.2s;
}
.hero-events__link:hover { color: var(--accent); }
.hero-events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-ecard {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-align: left;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background 0.25s, border-color 0.25s;
  cursor: pointer;
  text-decoration: none;
}
.hero-ecard:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.2);
}
.hero-ecard__date {
  flex-shrink: 0;
  width: 52px;
  text-align: center;
}
.hero-ecard__day {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-ecard__month {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.hero-ecard__info { flex: 1; min-width: 0; }
.hero-ecard__title {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 6px;
}
.hero-ecard__meta {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  gap: 12px;
}

/* Formation card variant */
.hero-ecard--formation {
  border-color: rgba(0,230,118,0.25);
  background: rgba(0,230,118,0.06);
}
.hero-ecard--formation:hover {
  background: rgba(0,230,118,0.12);
  border-color: rgba(0,230,118,0.4);
}
.hero-ecard__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-ecard__icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.hero-ecard__badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 6px;
}

/* ============================================
   PARTNERS MARQUEE
   ============================================ */
.partners-bar {
  padding: 56px 0;
  background: var(--white);
  border-bottom: 1px solid var(--separator);
  overflow: hidden;
}
.partners-bar__track {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: marquee 18s linear infinite;
}
.partners-bar:hover .partners-bar__track {
  animation-play-state: paused;
}
.partners-bar__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0;
  height: 64px;
  position: relative;
  cursor: pointer;
  transition: gap 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.partners-bar__item img {
  height: 64px;
  width: auto;
  min-width: 144px;
  object-fit: contain;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.partners-bar__item:hover img {
  transform: scale(0.9);
}
/* Partner info — V10 Inline Expand */
.partners-bar__tooltip {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 0 solid var(--accent);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.partners-bar__tooltip-inner {
  padding: 0;
  transition: padding 0.4s ease;
}
.partners-bar__item:hover .partners-bar__tooltip {
  max-width: 300px;
  opacity: 1;
  border-left: 3px solid var(--accent);
}
.partners-bar__item:hover .partners-bar__tooltip-inner {
  padding: 8px 20px;
}
.partners-bar__tooltip-name {
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--obsidian);
}
.partners-bar__tooltip-row {
  padding: 2px 0;
  font-size: 0.72rem;
  font-family: var(--font-body);
  color: var(--warm-sand);
}
.partners-bar__tooltip-row strong {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-preview--video {
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-preview__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.about-preview__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* --- Video Player --- */
.about-video {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}
.about-video__thumbnail {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.about-video__thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.about-video__thumbnail:hover img {
  transform: scale(1.04);
}
.about-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.45) 100%);
  transition: background var(--transition);
}
.about-video__thumbnail:hover .about-video__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}
.about-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 30px rgba(9, 145, 56, 0.4);
  transition: all var(--transition);
}
.about-video__play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}
.about-video__thumbnail:hover .about-video__play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 40px rgba(9, 145, 56, 0.5);
}
.about-video__duration {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  padding: 4px 10px;
  font-size: 0.72rem;
  border-radius: var(--radius-sm);
}
.about-video__iframe {
  position: absolute;
  inset: 0;
  background: var(--obsidian);
}
.about-video__iframe iframe {
  width: 100%;
  height: 100%;
}
.about-preview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.about-preview__right .tag { margin-bottom: 16px; }
.about-preview__right h2 { margin-bottom: 20px; }
.about-preview__right .lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--obsidian);
  line-height: 1.65;
  margin-bottom: 16px;
}
.about-preview__right p { margin-bottom: 20px; }
.about-preview__links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}
.about-preview__links .text-link {
  font-weight: 600;
  color: var(--obsidian);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}
.about-preview__links .text-link:hover { color: var(--accent-dark); }

/* Button: Glow Pulse */
.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s ease;
}
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--accent);
  filter: blur(16px);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(9,145,56,0.5);
}
.btn-glow:hover::before { opacity: 0.6; }
.btn-glow span {
  transition: transform 0.3s ease;
}
.btn-glow:hover span { transform: translateX(4px); }

/* Link: Arrow with underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--obsidian);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.link-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.link-arrow:hover::after { width: 100%; }
.link-arrow:hover { color: var(--accent-dark); }

/* ============================================
   IMPACT — Mix D Blocs Alternés
   ============================================ */
.impact {
  background: var(--white);
  padding: 100px 0 0;
}
.impact__header {
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: center;
  padding: 0 40px;
}
.impact__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--obsidian);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.impact__intro {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--warm-sand);
  line-height: 1.7;
}
.impact__rows { max-width: 100%; }
.impact__row {
  display: flex;
  align-items: stretch;
}
.impact__row--reverse { flex-direction: row-reverse; }
.impact__num-side {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 60px;
  background: var(--chalk);
  position: relative;
  overflow: hidden;
}
.impact__row--reverse .impact__num-side { background: var(--chalk-dark); }
.impact__number {
  font-family: var(--font-title);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 0.85;
  letter-spacing: -0.05em;
}
.impact__numtag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-top: 14px;
}
.impact__text-side {
  flex: 1;
  padding: 56px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.impact__label {
  font-family: var(--font-title);
  font-weight: 700;
  color: #222;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.impact__desc {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.75;
}
.impact__bar {
  width: 0;
  height: 3px;
  background: var(--accent);
  margin-top: 20px;
  transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

/* --- Impact row reveal animations --- */
.impact-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.impact-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.impact-reveal.visible .impact__bar {
  width: 40px;
}
.impact-reveal .impact__number {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.impact-reveal.visible .impact__number {
  opacity: 1;
  transform: translateY(0);
}
.impact-reveal .impact__numtag {
  opacity: 0;
  transition: opacity 0.5s ease 0.5s;
}
.impact-reveal.visible .impact__numtag {
  opacity: 1;
}
.impact-reveal .impact__label {
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}
.impact-reveal.visible .impact__label {
  opacity: 1;
  transform: translateX(0);
}
.impact-reveal .impact__desc {
  opacity: 0;
  transition: opacity 0.6s ease 0.45s;
}
.impact-reveal.visible .impact__desc {
  opacity: 1;
}

/* --- Impact row hover --- */
.impact__row {
  transition: background 0.3s ease;
}
.impact__row:hover .impact__num-side {
  background: #EEEEE8;
  transition: background 0.3s ease;
}
.impact__row--reverse:hover .impact__num-side {
  background: #E5E5E0;
}
.impact__row:hover .impact__bar {
  width: 60px;
  background: var(--accent-dark);
}
.impact__row:hover .impact__number {
  color: var(--accent-dark);
  transition: color 0.3s ease;
}

/* "Lire plus" hidden on desktop */
.impact__more { display: none; }

/* ============================================
   PROGRAMS — Image cards (The Hope Project style)
   ============================================ */
/* --- P4: Stacked Expanding Cards --- */
.programs-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.program-card {
  position: relative;
  height: 160px;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.9s cubic-bezier(0.2, 0, 0.2, 1);
  text-decoration: none;
  display: block;
}
.program-card:hover {
  height: 400px;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.program-card__bg {
  position: absolute;
  inset: 0;
}
.program-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.program-card:hover .program-card__bg img {
  transform: scale(1.05);
  transition: transform 0.8s ease;
}
.program-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%);
  transition: background 0.8s ease;
}
.program-card:hover .program-card__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%);
}
/* Full-height flex column: header at top, expanded at bottom */
.program-card__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 56px;
  color: var(--white);
}
/* Header row — always visible, pinned to top */
.program-card__collapsed {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: 160px;
  flex-shrink: 0;
}
.program-card__tag {
  padding: 6px 18px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.program-card__title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  flex: 1;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.program-card__mini-stats {
  display: flex;
  gap: 28px;
}
.program-card__mini-stats .ms {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.program-card__arrow {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  flex-shrink: 0;
}
.program-card:hover .program-card__arrow {
  border-color: var(--accent);
  background: var(--accent);
}
.program-card__arrow svg {
  color: white;
  width: 20px;
  height: 20px;
}
/* Expanded area — positioned below header, fades in */
.program-card__expanded {
  position: absolute;
  top: 160px;
  left: 0;
  right: 0;
  padding: 0 56px 44px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: var(--white);
  z-index: 2;
}
.program-card:hover .program-card__expanded {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}
.program-card__expanded p {
  font-family: var(--font-body);
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  max-width: 520px;
  font-size: 0.95rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.program-card__expanded-stats {
  display: flex;
  gap: 48px;
}
.program-card__expanded-stats .stat .value {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.program-card__expanded-stats .stat .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
  font-family: var(--font-body);
}
/* "Tous nos programmes" link style */
.programs-stack-cta {
  text-align: center;
  margin-top: 40px;
}
.programs-stack-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  padding: 12px 0;
}
.programs-stack-cta a:hover {
  color: var(--accent);
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  position: relative;
  padding: 120px 0;
  background: var(--obsidian);
  overflow: hidden;
}
.testimonial__bg-image {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}
.testimonial__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.95), rgba(13,40,24,0.9));
}
.testimonial__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
}
.testimonial__photo-side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.testimonial__photo-wrap {
  position: relative;
  width: 130px;
  height: 130px;
}
.testimonial__photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  display: block;
  border: 3px solid rgba(0,230,118,0.25);
  filter: grayscale(20%);
}
.testimonial__photo-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(0,230,118,0.12);
}
.testimonial__badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.7;
  line-height: 1.4;
}
.testimonial__content {
  flex: 1;
}
.testimonial__icon {
  font-size: 2.6rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 18px;
  font-family: serif;
}
.testimonial__quote {
  font-family: var(--font-title);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-style: italic;
  color: rgba(255,255,255,0.92);
  line-height: 1.65;
  margin-bottom: 32px;
  font-weight: 400;
}
.testimonial__quote .accent { color: var(--accent); }
.testimonial__divider {
  width: 36px; height: 2px;
  background: var(--accent);
  margin-bottom: 18px;
}
.testimonial__name { font-family: var(--font-title); font-weight: 700; color: var(--white); font-size: 0.92rem; margin-bottom: 4px; }
.testimonial__title { color: var(--accent); font-size: 0.78rem; font-weight: 500; opacity: 0.8; }
.testimonial__org { color: rgba(255,255,255,0.3); font-size: 0.7rem; margin-top: 2px; }

/* ============================================
   FEATURED ARTICLE — À la une (Magazine éditorial)
   ============================================ */
.featured-article__wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.featured-article__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
.featured-article__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 44px 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
}
.featured-article__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.featured-article__tag {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--accent);
}
.featured-article__badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  padding: 4px 12px;
}
.featured-article__title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  max-width: 650px;
  margin-bottom: 12px;
}
.featured-article__meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.featured-article__excerpt {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 24px;
}
.featured-article__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.featured-article__cta:hover { background: var(--accent-light); }

/* ============================================
   EVENTS — Modal cards (Agenda)
   ============================================ */
.evt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.evt-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--separator);
  padding: 36px 28px 28px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s ease;
  overflow: hidden;
}
.evt-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.evt-card__ribbon {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1);
}
.evt-card:hover .evt-card__ribbon { transform: scaleX(1); }
.evt-card__date { margin-bottom: 20px; }
.evt-card__day {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.evt-card__month {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.evt-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.evt-card:hover .evt-card__title { color: var(--accent); }
.evt-card__loc {
  font-size: 0.82rem;
  color: var(--warm-sand);
  margin-bottom: 12px;
}
.evt-card__loc::before { content: '\1F4CD '; }
.evt-card__excerpt {
  font-size: 0.85rem;
  color: var(--obsidian);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.evt-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  cursor: pointer;
  transition: gap 0.3s;
}
.evt-card__btn::after { content: '\2197'; transition: transform 0.3s; }
.evt-card:hover .evt-card__btn::after { transform: translate(3px, -3px); }

/* Event pagination */
.evt-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.evt-pagination__link {
  padding: 8px 14px;
  border: 1px solid var(--separator);
  color: var(--obsidian);
  text-decoration: none;
  transition: all var(--transition);
}
.evt-pagination__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.evt-pagination__link--active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}
.evt-pagination__link--disabled {
  color: var(--warm-sand);
  pointer-events: none;
  opacity: 0.5;
}

/* Event modal */
.evt-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.evt-modal-backdrop.active {
  display: flex;
  background: rgba(0,0,0,0.55);
}
.evt-modal {
  background: var(--white);
  max-width: 620px;
  width: 92%;
  padding: 0;
  position: relative;
  max-height: 82vh;
  overflow-y: auto;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  animation: evtModalIn 0.4s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes evtModalIn {
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.evt-modal__accent-bar {
  height: 5px;
  background: var(--accent);
  width: 100%;
}
.evt-modal__close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--warm-sand);
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, transform 0.2s;
}
.evt-modal__close:hover { color: var(--obsidian); transform: rotate(90deg); }
.evt-modal__date {
  padding: 32px 40px 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.evt-modal__title {
  padding: 12px 40px 0;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}
.evt-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 40px 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--warm-sand);
}
.evt-modal__tag {
  background: var(--accent);
  color: #000;
  padding: 3px 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.evt-modal__body {
  padding: 24px 40px 40px;
}
.evt-modal__body p {
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 14px;
  color: var(--obsidian);
}
.evt-modal__body p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .evt-grid { grid-template-columns: 1fr; }
  .evt-modal { width: 96%; }
  .evt-modal__date,
  .evt-modal__title,
  .evt-modal__meta,
  .evt-modal__body { padding-left: 24px; padding-right: 24px; }
}

/* ============================================
   NEWS
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--separator);
  transition: all var(--transition);
}
.news-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: transparent;
}
.news-card__image {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.news-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card__image img { transform: scale(1.06); }
.news-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.news-card__body { padding: 24px; }
.news-card__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--warm-sand);
  margin-bottom: 8px;
}
.news-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.35;
}
.news-card:hover h3 { color: var(--accent-dark); }
.news-card p {
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__link {
  font-weight: 600; font-size: 0.85rem;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-card__link:hover { color: var(--accent); }

/* Filter bar */
.actu-filter-section {
  padding: 24px 0 32px;
}
.actu-filter-section .container {
  position: relative;
}
.actu-filter-section .container::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  background: linear-gradient(to left, var(--chalk) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}
.actu-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.actu-filters::-webkit-scrollbar { display: none; }
.actu-filter {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid var(--separator);
  background: transparent;
  color: var(--obsidian);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.actu-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.actu-filter.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Search in filter bar */
.actu-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--separator);
  background: var(--white);
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.actu-search:focus-within {
  border-color: var(--accent);
}
.actu-search svg {
  color: var(--warm-sand);
  flex-shrink: 0;
}
.actu-search__input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--obsidian);
  width: 140px;
  transition: width var(--transition);
}
.actu-search__input::placeholder {
  color: var(--warm-sand);
  font-size: 0.78rem;
}
.actu-search__input:focus {
  width: 200px;
}
.actu-search__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.actu-search__btn svg { display: block; color: #fff; stroke: #fff; }
.actu-search__btn:hover {
  background: #00c966;
}

/* Articles pagination */
.actu-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.actu-pagination__link {
  padding: 8px 14px;
  border: 1px solid var(--separator);
  background: none;
  color: var(--obsidian);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: all var(--transition);
}
.actu-pagination__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.actu-pagination__link--active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}
.actu-pagination__link--disabled {
  color: var(--warm-sand);
  pointer-events: none;
  opacity: 0.5;
}
.actu-pagination__ellipsis {
  border: none;
  padding: 8px 6px;
  color: var(--warm-sand);
  pointer-events: none;
}
.actu-pagination__nav {
  font-weight: 600;
}

/* "Voir plus" pattern — mobile uniquement */
/* Desktop : grilles cachées toujours visibles */
.news-grid--hidden {
  display: grid;
}
.evt-grid--hidden {
  display: grid;
}
/* Desktop : masquer le bouton "Voir plus" */
.load-more-wrap {
  display: none;
}
.load-more-btn {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.load-more-btn.is-open svg {
  transform: rotate(180deg);
}
@keyframes revealMore {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Events pagination (mirror actu-pagination) */
.evt-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.evt-pagination__link {
  padding: 8px 14px;
  border: 1px solid var(--separator);
  background: none;
  color: var(--obsidian);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: all var(--transition);
}
.evt-pagination__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.evt-pagination__link--active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}
.evt-pagination__link--disabled {
  color: var(--warm-sand);
  pointer-events: none;
  opacity: 0.5;
}
.evt-pagination__ellipsis {
  border: none;
  padding: 8px 6px;
  color: var(--warm-sand);
  pointer-events: none;
}
.evt-pagination__nav {
  font-weight: 600;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
}
.cta__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,40,24,0.92), rgba(27,67,50,0.88));
}
.cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.cta__content h2 { color: var(--white); margin-bottom: 16px; }
.cta__content p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 36px;
}
.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
/* --- Motif Adinkra (Akan/Ghana) — symboles sacrés --- */
/* ============================================
   FOOTER V3 — "Immersif & Impact" (High Contrast)
   Stats banner + asymmetric brand + 3 cols
   ============================================ */
.footer {
  background: var(--obsidian);
  background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='32' cy='32' r='8' fill='none' stroke='%23222222' stroke-width='1.2'/%3E%3Ccircle cx='32' cy='32' r='3' fill='none' stroke='%23222222' stroke-width='1'/%3E%3Cline x1='32' y1='10' x2='32' y2='24' stroke='%23222222' stroke-width='1'/%3E%3Cline x1='32' y1='40' x2='32' y2='54' stroke='%23222222' stroke-width='1'/%3E%3Cline x1='10' y1='32' x2='24' y2='32' stroke='%23222222' stroke-width='1'/%3E%3Cline x1='40' y1='32' x2='54' y2='32' stroke='%23222222' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 64px 64px;
  color: rgba(255,255,255,0.7);
  padding: 0;
}

/* --- Stats Banner --- */
.footer__stats {
  background: var(--accent);
  padding: 0;
  overflow: hidden;
}
.footer__stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.footer__stat {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s ease;
}
.footer__stat:last-child { border-right: none; }
.footer__stat:hover { background: rgba(0,0,0,0.12); }
.footer__stat-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.footer__stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
}

/* --- Main Content --- */
.footer__main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 24px 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* --- Brand column (large) --- */
.footer__brand {
  padding-right: 40px;
}
.footer__brand .header__logo { margin-bottom: 0; }
.footer__brand-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 28px;
  max-width: 360px;
}
.footer__brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--accent);
  padding: 14px 28px;
  transition: all var(--transition);
}
.footer__brand-cta:hover {
  background: var(--accent);
  color: var(--white);
}
.footer__brand-cta span {
  transition: transform 0.3s ease;
}
.footer__brand-cta:hover span {
  transform: translateX(4px);
}
/* Colonne Contact : le bouton CTA est épinglé en bas et à l'extrémité droite du footer
   (équilibre visuel avec le bloc marque à gauche). */
.footer__col--cta { display: flex; flex-direction: column; }
/* Le bouton est un <a> dans .footer__col → on ré-affirme son style, sinon « .footer__col a »
   (plus spécifique) l'écrase : padding 7px 0 (texte collé), gris, et padding-left:8px au survol
   (= bouton qui saute). Spécificité (0,2,0)/(0,3,0) pour reprendre la main. */
.footer__col--cta .footer__brand-cta {
  margin-top: auto; align-self: flex-end; white-space: nowrap;
  display: inline-flex; padding: 14px 34px; color: var(--accent);
}
.footer__col--cta .footer__brand-cta:hover {
  background: var(--accent); color: var(--white); padding: 14px 34px;
}
/* Espace entre la description de l'ONG et les coordonnées (email) dans le bloc marque. */
.footer__brand-desc + .footer__contact-line { margin-top: 10px; }
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.footer__social a {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: all var(--transition);
  font-size: 0.88rem;
  font-weight: 600;
}
.footer__social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.footer__social a svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}
.footer__social a:hover svg {
  color: var(--white);
}
.footer__social a img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity var(--transition);
}
.footer__social a:hover img {
  opacity: 1;
}
.footer__social-disabled {
  opacity: 0.75;
  cursor: default;
  pointer-events: none;
}

/* --- Columns --- */
.footer__col h4 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--white);
  font-size: 0.88rem;
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
}
.footer__col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--accent);
}
.footer__col a {
  display: block;
  padding: 7px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--transition);
}
.footer__col a:hover {
  color: var(--accent);
  padding-left: 8px;
}
.footer__contact-line {
  display: flex; align-items: flex-start;
  gap: 12px; padding: 8px 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
}
.footer__contact-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
  opacity: 0.8;
}
/* Legacy img fallback */
img.footer__contact-icon {
  filter: invert(1);
  opacity: 0.65;
}

/* --- Bottom Bar --- */
.footer__bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer__bottom-links {
  display: flex; gap: 24px;
}
.footer__bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer__bottom-links a:hover { color: var(--accent); }
.footer__bottom-credit {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.25);
}

/* --- Footer Responsive --- */
@media (max-width: 960px) {
  .footer__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer__stat { border-bottom: 1px solid rgba(255,255,255,0.2); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer__brand { padding-right: 0; }
}
@media (max-width: 600px) {
  .footer__stats-inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================
   ABOUT — Magazine Editorial (Mission + Valeurs)
   ============================================ */

/* --- Keyframes --- */
@keyframes me-line-grow {
  from { width: 0; }
  to   { width: 80px; }
}
@keyframes me-slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes me-slide-right {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes me-border-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes me-vision-reveal {
  from { opacity: 0; transform: translateY(20px) scaleY(0.96); }
  to   { opacity: 1; transform: translateY(0) scaleY(1); }
}

/* --- Header --- */
.mission-ed__header {
  display: flex; align-items: flex-end; gap: 24px;
  margin-bottom: 48px;
  border-bottom: none;
  padding-bottom: 24px;
  position: relative;
}
.mission-ed__header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--obsidian);
  transform: scaleX(0); transform-origin: left;
}
.mission-ed__header.visible::after {
  animation: me-border-draw 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}
.mission-ed__header h2 {
  font-size: 2.6rem; line-height: 1.05;
  opacity: 0;
}
.mission-ed__header.visible h2 {
  animation: me-slide-up 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s forwards;
}
.mission-ed__header .accent-line {
  width: 0; height: 4px; background: var(--accent); flex-shrink: 0;
  margin-bottom: 8px;
}
.mission-ed__header.visible .accent-line {
  animation: me-line-grow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.mission-ed__header .section-tag {
  opacity: 0;
}
.mission-ed__header.visible .section-tag {
  animation: me-slide-up 0.5s ease 0.05s forwards;
}

/* --- Grid layout --- */
.mission-ed__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
}

/* --- Text column --- */
.mission-ed__text .lead {
  font-size: 1.15rem; line-height: 1.75; color: var(--warm-sand);
  margin-bottom: 20px;
}
.mission-ed__text p { line-height: 1.75; color: #555; margin-bottom: 16px; }
.mission-ed__text strong { color: var(--obsidian); }

/* --- Numbered list with staggered entry --- */
.mission-ed__list { list-style: none; padding: 0; margin: 0; }
.mission-ed__list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  opacity: 0; transform: translateX(-24px);
}
.mission-ed__list li:last-child { border: none; }
.mission-ed__list.visible li {
  animation: me-slide-right 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.mission-ed__list.visible li:nth-child(1) { animation-delay: 0s; }
.mission-ed__list.visible li:nth-child(2) { animation-delay: 0.08s; }
.mission-ed__list.visible li:nth-child(3) { animation-delay: 0.16s; }
.mission-ed__list.visible li:nth-child(4) { animation-delay: 0.24s; }
.mission-ed__list.visible li:nth-child(5) { animation-delay: 0.32s; }
.mission-ed__list.visible li:nth-child(6) { animation-delay: 0.40s; }
.mission-ed__num {
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 700;
  color: var(--accent-dark);
  background: rgba(9,145,56,0.1);
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.mission-ed__list li:hover .mission-ed__num {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}
.mission-ed__list span { line-height: 1.55; font-size: 0.95rem; }

/* --- Vision block --- */
.mission-ed__vision {
  background: var(--hero-dark);
  padding: 40px;
  margin-top: 32px;
  position: relative;
  overflow: hidden;
  opacity: 0;
}
.mission-ed__vision.visible {
  animation: me-vision-reveal 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s forwards;
}
.mission-ed__vision::before {
  content: '\201C';
  font-size: 6rem; font-weight: 800;
  color: var(--accent);
  position: absolute; top: -10px; left: 24px;
  opacity: 0.3; line-height: 1;
}
.mission-ed__vision p {
  font-size: 1.1rem; color: var(--white);
  line-height: 1.7; font-weight: 600;
  position: relative;
}
.mission-ed__vision .vision-label {
  font-family: var(--font-mono);
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--accent);
  margin-bottom: 12px; display: block;
}

/* --- Valeurs — Magazine Editorial --- */
.valeurs-ed__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
.valeur-ed-card {
  padding: 32px 20px;
  border-right: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  transition: all 0.35s ease;
  opacity: 0; transform: translateY(20px);
}
.valeur-ed-card:last-child { border-right: none; }
.valeurs-ed__grid.visible .valeur-ed-card {
  animation: me-slide-up 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.valeurs-ed__grid.visible .valeur-ed-card:nth-child(1) { animation-delay: 0s; }
.valeurs-ed__grid.visible .valeur-ed-card:nth-child(2) { animation-delay: 0.08s; }
.valeurs-ed__grid.visible .valeur-ed-card:nth-child(3) { animation-delay: 0.16s; }
.valeurs-ed__grid.visible .valeur-ed-card:nth-child(4) { animation-delay: 0.24s; }
.valeurs-ed__grid.visible .valeur-ed-card:nth-child(5) { animation-delay: 0.32s; }
.valeur-ed-card:hover { background: var(--hero-dark); }
.valeur-ed-card:hover h3,
.valeur-ed-card:hover p { color: var(--white); }
.valeur-ed-card:hover .valeur-ed-num { color: var(--accent); }
.valeur-ed-num {
  font-family: var(--font-mono);
  font-size: 2.6rem; font-weight: 700;
  color: rgba(0,0,0,0.06);
  line-height: 1; margin-bottom: 16px;
  transition: color 0.35s;
}
.valeur-ed-card h3 {
  font-size: 1rem; font-weight: 700;
  margin-bottom: 10px; transition: color 0.35s;
}
.valeur-ed-card p {
  font-size: 0.9rem; line-height: 1.6; color: #777;
  transition: color 0.35s;
}

/* Mobile */
@media (max-width: 768px) {
  .mission-ed__header h2 { font-size: 1.8rem; }
  .mission-ed__grid { grid-template-columns: 1fr; gap: 32px; }
  .valeurs-ed__grid { grid-template-columns: 1fr; }
  .valeur-ed-card {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 24px 20px;
  }
  .valeur-ed-card:last-child { border: none; }
}

/* ============================================
   ABOUT — Portrait Éditorial (PCA + Directrice)
   ============================================ */

/* -- PCA: photo left, text right, dark bg -- */
.pca-ed {
  position: relative;
  overflow: hidden;
}
.pca-ed__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.pca-ed__photo {
  position: relative;
  overflow: hidden;
}
.pca-ed__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pca-ed__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--obsidian) 100%);
  pointer-events: none;
}
.pca-ed__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}
.pca-ed__content .section-tag {
  color: var(--accent);
  margin-bottom: 16px;
}
.pca-ed__content h2 {
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 8px;
}
.pca-ed__role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 32px;
}
.pca-ed__content p {
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.pca-ed__quote-mark {
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  font-weight: 800;
  margin-bottom: -20px;
}

/* -- Directrice: text left, photo right, chalk bg -- */
.dir-ed__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.dir-ed__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
}
.dir-ed__content h2 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 8px;
}
.dir-ed__role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 32px;
}
.dir-ed__content p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.dir-ed__photo {
  position: relative;
  overflow: hidden;
}
.dir-ed__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dir-ed__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, transparent 60%, var(--chalk) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .pca-ed__inner,
  .dir-ed__inner { grid-template-columns: 1fr; min-height: auto; }
  .pca-ed__photo,
  .dir-ed__photo { height: 400px; }
  .pca-ed__photo::after { background: linear-gradient(180deg, transparent 50%, var(--obsidian) 100%); }
  .dir-ed__photo::after { background: linear-gradient(180deg, transparent 50%, var(--chalk) 100%); }
  .pca-ed__content,
  .dir-ed__content { padding: 40px 24px; }
  .pca-ed__content h2,
  .dir-ed__content h2 { font-size: 1.6rem; }
}

/* ============================================
   ABOUT — Team Carrousel Éditorial
   ============================================ */
.team-carousel { position: relative; overflow: hidden; }
.team-carousel__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.team-carousel__track::-webkit-scrollbar { display: none; }
.team-carousel__card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.team-carousel__card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  /* Alignement des visages : zoom (--sc) + décalage vertical (--ty, en %) propres à chaque
     photo (définis en inline), pour aligner le haut de la tête et le menton sur toutes les cartes. */
  transform-origin: 50% 0;
  transform: translateY(var(--ty, 0)) scale(var(--sc, 1));
  transition: transform 0.6s ease;
}
.team-carousel__card:hover img { transform: translateY(var(--ty, 0)) scale(calc(var(--sc, 1) * 1.04)); }
.team-carousel__placeholder {
  width: 100%;
  height: 460px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.team-carousel__placeholder span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.team-carousel__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 80px 28px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  pointer-events: none;
}
.team-carousel__overlay h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.team-carousel__overlay span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  display: block;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.team-carousel__overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.team-carousel__card:hover .team-carousel__overlay p {
  max-height: 120px;
  opacity: 1;
}
.team-carousel__num {
  position: absolute;
  top: 20px; left: 24px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}
.team-carousel__arrows {
  display: flex;
  gap: 12px;
}
.team-carousel__arrow {
  width: 48px; height: 48px;
  border: 1px solid rgba(0,0,0,0.15);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--obsidian);
  transition: all 0.3s ease;
}
.team-carousel__arrow:hover {
  background: var(--obsidian);
  color: var(--white);
  border-color: var(--obsidian);
}
.team-carousel__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #999;
}
.team-carousel__hint-line {
  width: 40px;
  height: 1px;
  background: #ccc;
}
.team-carousel__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .team-carousel__card { flex: 0 0 280px; }
  .team-carousel__card img { height: 380px; }
  .team-carousel__overlay p { max-height: 120px; opacity: 1; }
  .team-carousel__bottom { padding: 0 20px; margin-top: 24px; }
}

/* ============================================
   ABOUT — Partners Reveal Horizontal
   ============================================ */
.partners-reveal { padding: 80px 0; }
.partners-reveal__list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}
.partners-reveal__row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  cursor: default;
}
.partners-reveal__row:nth-child(-n+2) {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.partners-reveal__row:hover {
  padding-left: 12px;
}
.partners-reveal__row:hover .partners-reveal__dot {
  background: var(--accent);
  transform: scale(1.5);
}
.partners-reveal__row:hover .partners-reveal__name {
  color: var(--white);
}
.partners-reveal__dot {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.partners-reveal__logo {
  flex-shrink: 0; width: 100px;
  display: flex; align-items: center;
}
.partners-reveal__logo img {
  height: 36px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.partners-reveal__row:hover .partners-reveal__logo img {
  opacity: 1;
}
.partners-reveal__name {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s ease;
  flex: 1;
}
.partners-reveal__index {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .partners-reveal__list { grid-template-columns: 1fr; gap: 0; }
  .partners-reveal__row:nth-child(2) { border-top: none; }
  .partners-reveal__name { font-size: 16px; }
  .partners-reveal__logo { width: 70px; }
  .partners-reveal__logo img { height: 28px; }
}

/* -- Light variant -- */
.partners-reveal--light .partners-reveal__row {
  border-bottom-color: rgba(0,0,0,0.1);
}
.partners-reveal--light .partners-reveal__row:nth-child(-n+2) {
  border-top-color: rgba(0,0,0,0.1);
}
.partners-reveal--light .partners-reveal__row:hover .partners-reveal__name {
  color: var(--obsidian);
}
.partners-reveal--light .partners-reveal__dot {
  background: rgba(0,0,0,0.12);
}
.partners-reveal--light .partners-reveal__logo img {
  filter: none;
  opacity: 0.8;
}
.partners-reveal--light .partners-reveal__name {
  color: rgba(0,0,0,0.25);
}
.partners-reveal--light .partners-reveal__index {
  color: rgba(0,0,0,0.18);
}

/* ============================================
   ABOUT — Timeline Éditoriale Horizontale
   ============================================ */
.htl { background: var(--obsidian); position: relative; overflow: hidden; }
.htl__header { text-align: center; padding: 80px 40px 20px; }
.htl__header-label {
  font-family: var(--font-hand); font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent); margin-bottom: 16px;
}
.htl__header-title {
  font-family: var(--font-heading); font-size: 3rem;
  font-weight: 700; color: var(--white); margin: 0;
}
.htl__header-sub {
  font-family: var(--font-body); font-size: 1rem;
  color: rgba(255,255,255,0.5); margin-top: 12px;
}
.htl__scroll-hint {
  text-align: center; padding: 16px 0 0;
  font-family: var(--font-mono); font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.3);
}
.htl__scroll-hint span { display: inline-block; animation: htl-hint-bounce 1.5s ease-in-out infinite; }
@keyframes htl-hint-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
.htl__container { position: relative; padding: 40px 0 80px; }
.htl__line {
  position: absolute; top: 50%; left: 0; right: 0;
  height: 2px; background: var(--accent); opacity: 0.3;
  transform: translateY(-1px); pointer-events: none;
}
.htl__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  gap: 0; padding: 0 60px;
}
.htl__track::-webkit-scrollbar { display: none; }
.htl__item {
  flex: 0 0 420px; scroll-snap-align: center; padding: 0 30px;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.htl__item:nth-child(odd) { flex-direction: column; }
.htl__item:nth-child(even) { flex-direction: column-reverse; }
.htl__year {
  font-family: var(--font-heading); font-size: 5.5rem;
  font-weight: 800; color: var(--white); line-height: 1;
  margin: 0; position: relative; z-index: 2;
  transition: color 0.4s ease;
}
.htl__item:hover .htl__year { color: var(--accent); }
.htl__dot {
  width: 16px; height: 16px; background: var(--accent);
  position: relative; z-index: 3; margin: 20px 0;
  flex-shrink: 0; transition: transform 0.3s ease;
}
.htl__item:hover .htl__dot { transform: scale(1.4); }
.htl__dot::before {
  content: ''; position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 2px solid var(--accent); opacity: 0.4;
}
.htl__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px 24px; max-width: 320px; transition: all 0.4s ease;
}
.htl__item:hover .htl__card {
  background: rgba(0,230,118,0.06);
  border-color: rgba(0,230,118,0.2);
}
.htl__card-title {
  font-family: var(--font-heading); font-size: 1.1rem;
  font-weight: 700; color: var(--white); margin: 0 0 10px;
}
.htl__card-desc {
  font-family: var(--font-body); font-size: 0.88rem;
  color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0;
}
.htl__nav { display: flex; justify-content: center; gap: 16px; padding: 0 0 60px; }
.htl__arrow {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent; color: var(--white);
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.htl__arrow:hover {
  background: var(--accent); border-color: var(--accent);
  color: var(--obsidian);
}
.htl__progress {
  width: 200px; height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 60px; position: relative;
}
.htl__progress-bar { height: 100%; width: 12.5%; background: var(--accent); transition: width 0.3s ease; }
.htl__counter {
  text-align: center; font-family: var(--font-mono);
  font-size: 0.7rem; color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em; padding-bottom: 20px;
}
.htl__counter-current { color: var(--accent); font-weight: 700; }
@media (max-width: 768px) {
  .htl__item { flex: 0 0 300px; padding: 0 16px; }
  .htl__year { font-size: 3.5rem; }
  .htl__header-title { font-size: 2rem; }
  .htl__track { padding: 0 20px; }
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
  background: var(--hero-dark);
}
.page-hero__bg { display: none; }
.page-hero__overlay { display: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__breadcrumb {
  display: none;
}
.page-hero__breadcrumb a:hover { color: var(--accent); }
.page-hero__breadcrumb .sep { opacity: 0.3; }
.page-hero__breadcrumb span:last-child { color: var(--accent); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.1rem; max-width: 560px; }

/* -- Light Hero (legacy) -- */
.page-hero--light {
  background: var(--white);
  border-bottom: 1px solid rgba(9, 145, 56, 0.12);
}

/* -- Impact Hero — Obsidian + Bogolan grid -- */
.page-hero--impact {
  background: var(--obsidian);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 60px;
}
.page-hero--impact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0,230,118,0.04) 39px, rgba(0,230,118,0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(0,230,118,0.04) 39px, rgba(0,230,118,0.04) 40px);
}
.page-hero--impact::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0,230,118,0.08) 0%, transparent 100%);
}
.page-hero--impact .container { z-index: 2; width: 100%; }
.page-hero--impact .page-hero__big-number {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  font-family: var(--font-mono);
  font-size: clamp(8rem, 18vw, 16rem);
  font-weight: 700;
  color: rgba(0,230,118,0.06);
  line-height: 1;
  pointer-events: none;
}
.page-hero--impact .page-hero__tag {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-hero--impact h1 { color: var(--white); }
.page-hero--impact h1 .accent { color: var(--accent); }
.page-hero--impact p { color: rgba(255,255,255,0.55); }
.page-hero--impact .page-hero__breadcrumb { display: flex; }
.page-hero--impact .page-hero__breadcrumb a { color: rgba(255,255,255,0.4); }
.page-hero--impact .page-hero__breadcrumb a:hover { color: var(--accent); }
.page-hero--impact .page-hero__breadcrumb .sep { color: rgba(255,255,255,0.2); }
.page-hero--impact .page-hero__breadcrumb span:last-child { color: var(--accent); }
.page-hero--impact .page-hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 36px;
}
.page-hero--impact .page-hero__stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.page-hero--impact .page-hero__stat-label {
  font-size: 0.78rem;
  margin-top: 4px;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 768px) {
  .page-hero--impact { min-height: 320px; padding: 90px 0 50px; }
  .page-hero--impact .page-hero__big-number { display: none; }
  .page-hero--impact .page-hero__stats { gap: 28px; flex-wrap: wrap; }
  .page-hero--impact .page-hero__stat-num { font-size: 1.6rem; }
}

/* ── À Propos Hero — Émeraude + Cercles concentriques ── */
/* ── À Propos Hero — Style Formation avec photo ── */
.page-hero--apropos {
  background: var(--obsidian);
  display: flex;
  align-items: flex-end;
  padding: 100px 0 60px;
  min-height: 420px;
}
.page-hero--apropos .page-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.page-hero--apropos .page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--apropos .page-hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--obsidian) 30%, rgba(10,10,10,0.3) 60%, transparent 100%);
  z-index: 1;
}
.page-hero--apropos .page-hero__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, var(--obsidian) 0%, transparent 100%);
  z-index: 1;
}
.page-hero--apropos .container { position: relative; z-index: 2; width: 100%; }
.page-hero--apropos .page-hero__pill {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.page-hero--apropos h1 { color: var(--white); max-width: 600px; }
.page-hero--apropos h1 .accent { font-style: normal; color: var(--accent); }
.page-hero--apropos p { color: rgba(255,255,255,0.6); max-width: 750px; line-height: 1.6; }
@media (max-width: 768px) {
  .page-hero--apropos { min-height: 320px; padding: 90px 0 50px; }
  .page-hero--apropos .page-hero__photo { width: 100%; opacity: 0.25; }
}

/* ── Programmes Hero — 5 Colonnes verticales ── */
.page-hero--programmes {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--obsidian);
  padding: 100px 0 60px;
}
.page-hero--programmes .hero__columns {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
}
.page-hero--programmes .hero__col {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
  transition: flex 0.4s ease;
}
.page-hero--programmes .hero__col:hover { flex: 1.8; }
.page-hero--programmes .hero__col::before {
  content: '';
  position: absolute;
  inset: 0;
}
.page-hero--programmes .hero__col::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.page-hero--programmes .hero__col--vih::before { background: rgba(198,40,40,0.12); }
.page-hero--programmes .hero__col--vih::after { background: #C62828; }
.page-hero--programmes .hero__col--tb::before { background: rgba(230,81,0,0.12); }
.page-hero--programmes .hero__col--tb::after { background: #E65100; }
.page-hero--programmes .hero__col--genre::before { background: rgba(46,125,50,0.12); }
.page-hero--programmes .hero__col--genre::after { background: #2E7D32; }
.page-hero--programmes .hero__col--dh::before { background: rgba(21,101,192,0.12); }
.page-hero--programmes .hero__col--dh::after { background: #1565C0; }
.page-hero--programmes .hero__col--vbg::before { background: rgba(160,82,45,0.12); }
.page-hero--programmes .hero__col--vbg::after { background: #A0522D; }
.page-hero--programmes .hero__col-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}
.page-hero--programmes .hero__col-separator {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,0.04);
}
.page-hero--programmes .container { position: relative; z-index: 2; width: 100%; }
.page-hero--programmes h1 { color: var(--white); margin-bottom: 16px; }
.page-hero--programmes h1 .accent { color: var(--accent); }
.page-hero--programmes p { color: rgba(255,255,255,0.55); max-width: 560px; font-size: 1.05rem; line-height: 1.6; }
.page-hero--programmes .page-hero__breadcrumb a { color: rgba(255,255,255,0.4); }
.page-hero--programmes .page-hero__breadcrumb a:hover { color: var(--accent); }
.page-hero--programmes .page-hero__breadcrumb .sep { color: rgba(255,255,255,0.2); }
.page-hero--programmes .page-hero__breadcrumb span:last-child { color: var(--accent); }
.page-hero--programmes .page-hero__since {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 28px;
}
.page-hero--programmes .page-hero__since::before,
.page-hero--programmes .page-hero__since::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
@media (max-width: 768px) {
  .page-hero--programmes { min-height: 320px; padding: 90px 0 50px; }
  .page-hero--programmes .hero__col-label { font-size: 0.45rem; }
}

/* ── Centre de Formation Hero — Diagonal photo + CTA ── */
.page-hero--formation {
  background: var(--obsidian);
  display: flex;
  align-items: flex-end;
  padding: 100px 0 60px;
  min-height: 420px;
}
.page-hero--formation .page-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.page-hero--formation .page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--formation .page-hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--obsidian) 30%, rgba(10,10,10,0.3) 60%, transparent 100%);
  z-index: 1;
}
.page-hero--formation .page-hero__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, var(--obsidian) 0%, transparent 100%);
  z-index: 1;
}
.page-hero--formation .container { position: relative; z-index: 2; width: 100%; }
.page-hero--formation .page-hero__pill {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.page-hero--formation h1 { color: var(--white); max-width: 600px; }
.page-hero--formation h1 .accent { color: var(--accent); }
.page-hero--formation p { color: rgba(255,255,255,0.6); }
.page-hero--formation .page-hero__cta-row {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  align-items: center;
}
.page-hero--formation .page-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.page-hero--formation .page-hero__cta:hover { background: #00ff85; }
.page-hero--formation .page-hero__cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.page-hero--formation .page-hero__cta-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
@media (max-width: 768px) {
  .page-hero--formation { min-height: 320px; padding: 90px 0 50px; }
  .page-hero--formation .page-hero__photo { width: 100%; opacity: 0.25; }
  .page-hero--formation .page-hero__cta-row { flex-wrap: wrap; }
}

/* ── Hub Digital Hero — Circuit Board ── */
.page-hero--hub {
  background: linear-gradient(155deg, #041A0D 0%, #0A2818 30%, var(--obsidian) 80%);
  display: flex;
  align-items: flex-end;
  padding: 100px 0 60px;
  min-height: 420px;
}
.page-hero--hub::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0,230,118,0.04) 39px, rgba(0,230,118,0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(0,230,118,0.04) 39px, rgba(0,230,118,0.04) 40px);
}
.page-hero--hub .container { position: relative; z-index: 2; width: 100%; }
.page-hero--hub .hero__circuit {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
}
.page-hero--hub .hero__circuit-line {
  position: absolute;
  background: var(--accent);
}
.page-hero--hub .hero__circuit-line--h1 { width: 200px; height: 1px; top: 0; left: 0; }
.page-hero--hub .hero__circuit-line--v1 { width: 1px; height: 80px; top: 0; right: 0; }
.page-hero--hub .hero__circuit-line--h2 { width: 150px; height: 1px; top: 80px; right: 0; }
.page-hero--hub .hero__circuit-line--v2 { width: 1px; height: 60px; top: 80px; left: 50px; }
.page-hero--hub .hero__circuit-line--h3 { width: 120px; height: 1px; top: 140px; left: 50px; }
.page-hero--hub .hero__circuit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.page-hero--hub .hero__circuit-dot--1 { top: -4px; left: -4px; }
.page-hero--hub .hero__circuit-dot--2 { top: 76px; right: -4px; }
.page-hero--hub .hero__circuit-dot--3 { top: 136px; left: 166px; }
.page-hero--hub h1 { color: var(--white); }
.page-hero--hub h1 .accent { color: var(--accent); }
.page-hero--hub p { color: rgba(255,255,255,0.55); max-width: 750px; line-height: 1.6; }
.page-hero--hub .page-hero__pill {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.page-hero--hub .page-hero__apps {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.page-hero--hub .page-hero__app {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
}
.page-hero--hub .page-hero__app-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
@media (max-width: 768px) {
  .page-hero--hub { min-height: 320px; padding: 90px 0 50px; }
  .page-hero--hub .hero__circuit { display: none; }
  .page-hero--hub .page-hero__apps { gap: 8px; }
}

/* ── Actualités Hero — Style Formation avec photo ── */
.page-hero--actu {
  background: var(--obsidian);
  display: flex;
  align-items: flex-end;
  padding: 100px 0 60px;
  min-height: 420px;
}
.page-hero--actu .page-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.page-hero--actu .page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--actu .page-hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--obsidian) 30%, rgba(10,10,10,0.3) 60%, transparent 100%);
  z-index: 1;
}
.page-hero--actu .page-hero__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(0deg, var(--obsidian) 0%, transparent 100%);
  z-index: 1;
}
.page-hero--actu .container { position: relative; z-index: 2; width: 100%; }
.page-hero--actu h1 { color: var(--white); max-width: 600px; }
.page-hero--actu h1 .accent { color: var(--accent); }
.page-hero--actu p { color: rgba(255,255,255,0.6); max-width: 750px; line-height: 1.6; }
.page-hero--actu .page-hero__pill {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .page-hero--actu { min-height: 320px; padding: 90px 0 50px; }
  .page-hero--actu .page-hero__photo { width: 100%; opacity: 0.25; }
}

.page-hero--light h1 {
  color: var(--accent);
  margin-bottom: 16px;
}
.page-hero--light p {
  color: rgba(10, 10, 10, 0.6);
  font-size: 1.1rem;
  max-width: 560px;
}
.page-hero--light .page-hero__breadcrumb {
  display: flex;
}
.page-hero--light .page-hero__breadcrumb a {
  color: rgba(10, 10, 10, 0.5);
}
.page-hero--light .page-hero__breadcrumb a:hover {
  color: var(--accent);
}
.page-hero--light .page-hero__breadcrumb .sep {
  opacity: 0.3;
  color: rgba(10, 10, 10, 0.3);
}
.page-hero--light .page-hero__breadcrumb span:last-child {
  color: var(--accent);
}

/* -- Contact Hero (image-only, no text) -- */
.page-hero--contact {
  min-height: 420px;
  padding: 0;
}
.page-hero--contact .page-hero__bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero--contact .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--contact .page-hero__overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.1) 40%,
    transparent 100%);
}
/* -- Contact Intro (title between hero & form) -- */
.contact-intro { padding: 56px 0 40px; }
.contact-intro__title {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: var(--obsidian);
  margin-bottom: 12px;
}
.contact-intro__lead {
  font-size: 1.1rem;
  color: rgba(0,0,0,0.5);
  max-width: 560px;
}
@media (max-width: 768px) {
  .page-hero--contact { min-height: 260px; }
  .contact-intro { padding: 40px 0 28px; }
  .contact-intro__title { font-size: 2rem; }
}

/* ============================================
   PHOTOTHÈQUE — Polaroid Stacks + Description
   ============================================ */
/* Slider wrapper */
.photo-piles-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.photo-piles-track {
  overflow: hidden;
  flex: 1;
}
.photo-piles {
  display: flex;
  gap: 40px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.photo-pile {
  flex-shrink: 0;
}
.photo-piles-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(0,0,0,0.15);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 2;
}
.photo-piles-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.photo-piles-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.photo-piles-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.photo-piles-dot {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(0,0,0,0.2);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
  padding: 0;
}
.photo-piles-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}
.photo-pile { cursor: pointer; text-align: center; }
.photo-pile__stack { position: relative; height: 406px; perspective: 600px; margin-bottom: 24px; }
.photo-pile__polaroid {
  position: absolute; width: 304px; background: #fff;
  padding: 13px 13px 47px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), box-shadow 0.3s;
  top: 50%; left: 50%;
}
.photo-pile__polaroid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.photo-pile__polaroid::after {
  content: 'Alliance Côte d\'Ivoire';
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 11px;
  font-weight: 500;
  color: rgba(0,0,0,0.28);
  letter-spacing: 0.3px;
  pointer-events: none;
}
.photo-pile__polaroid:nth-child(1) { transform: translate(-50%,-50%) rotate(-5deg); z-index: 3; }
.photo-pile__polaroid:nth-child(2) { transform: translate(-50%,-50%) rotate(3deg) translate(14px,-7px); z-index: 2; }
.photo-pile__polaroid:nth-child(3) { transform: translate(-50%,-50%) rotate(-1deg) translate(-12px,12px); z-index: 1; }
.photo-pile:hover .photo-pile__polaroid:nth-child(1) { transform: translate(-50%,-50%) rotate(-8deg) translateY(-10px); box-shadow: 0 10px 35px rgba(0,0,0,0.2); }
.photo-pile:hover .photo-pile__polaroid:nth-child(2) { transform: translate(-50%,-50%) rotate(7deg) translate(20px,-14px); }
.photo-pile:hover .photo-pile__polaroid:nth-child(3) { transform: translate(-50%,-50%) rotate(-4deg) translate(-18px,16px); }

.photo-pile__info { padding: 0 12px; }
.photo-pile__name { font-family: var(--font-title); font-size: 1.15rem; font-weight: 700; color: var(--obsidian); margin-bottom: 6px; }
.photo-pile__desc { font-size: 0.85rem; color: rgba(0,0,0,0.45); line-height: 1.5; margin-bottom: 8px; }
.photo-pile__meta { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* Gallery reveal */
.photo-gallery { display: none; margin-top: 48px; }
.photo-gallery.active { display: block; animation: photoFadeIn 0.4s ease; }
.photo-gallery__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.photo-gallery__title { font-family: var(--font-title); font-size: 1.4rem; font-weight: 700; color: var(--obsidian); }
.photo-gallery__close { background: none; border: 1px solid rgba(0,0,0,0.15); font-family: var(--font-mono); font-size: 0.65rem; padding: 6px 16px; cursor: pointer; letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.2s; }
.photo-gallery__close:hover { border-color: var(--obsidian); }
.photo-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photo-gallery__grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #fff; padding: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); cursor: pointer; transition: transform 0.3s; }
.photo-gallery__grid img:hover { transform: scale(1.03); }
@keyframes photoFadeIn { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* Lightbox */
.photo-lb { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92); align-items: center; justify-content: center; }
.photo-lb.active { display: flex; }
.photo-lb img { max-width: 90vw; max-height: 85vh; object-fit: contain; }
.photo-lb__close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.photo-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 48px; height: 48px; font-size: 1.2rem; cursor: pointer; transition: border-color 0.3s; display: flex; align-items: center; justify-content: center; }
.photo-lb__nav:hover { border-color: var(--accent); }
.photo-lb__nav--prev { left: 16px; }
.photo-lb__nav--next { right: 16px; }
.photo-lb__counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.7rem; color: rgba(255,255,255,0.5); }

@media (max-width: 768px) {
  .photo-piles { gap: 24px; }
  .photo-pile__stack { height: 340px; }
  .photo-pile__polaroid { width: 260px; }
  .photo-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .photo-piles-arrow { width: 36px; height: 36px; }
}

/* ============================================
   VIDÉOTHÈQUE — V5 Split Screen
   ============================================ */
.videotheque { padding: 96px 0; background: var(--obsidian); }

.vt-split {
  display: flex; gap: 0; min-height: 540px; margin-top: 48px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

/* Hero (left 60%) */
.vt-hero {
  flex: 0 0 60%; position: relative; cursor: pointer;
  background: #1a1a1a;
}
.vt-hero__thumb {
  width: 100%; height: 100%; background: #2a2a2a;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.vt-hero__thumb::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.02) 50%, transparent 60%);
}
.vt-hero__play {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); transition: all 0.3s; z-index: 2;
}
.vt-hero:hover .vt-hero__play {
  background: var(--accent); border-color: var(--accent-bright);
  transform: scale(1.1);
}
.vt-hero__dur {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700;
  background: rgba(0,0,0,0.7); color: #fff; padding: 3px 10px;
  backdrop-filter: blur(4px);
}
.vt-hero__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, transparent 40%, var(--obsidian) 100%);
  z-index: 1;
}
.vt-hero__content {
  position: absolute; bottom: 40px; left: 40px; max-width: 55%; z-index: 2;
}
.vt-hero__badge {
  display: inline-block; font-family: var(--font-mono); font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 2px; color: var(--obsidian);
  background: var(--accent-bright); padding: 4px 14px; margin-bottom: 14px;
  font-weight: 700;
}
.vt-hero__title {
  font-family: var(--font-title); font-size: 1.5rem; font-weight: 800;
  color: #fff; margin-bottom: 8px; line-height: 1.2;
}
.vt-hero__sub {
  font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.5;
}

/* Playlist (right 40%) */
.vt-playlist {
  flex: 1; background: var(--obsidian); display: flex; flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.vt-playlist__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.vt-playlist__count {
  font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent-bright);
}
.vt-playlist__label {
  font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 2px; color: rgba(255,255,255,0.3);
}
.vt-playlist__list {
  flex: 1; overflow-y: auto; display: flex; flex-direction: column;
}
.vt-playlist__list::-webkit-scrollbar { width: 3px; }
.vt-playlist__list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); }

.vt-playlist__item {
  display: flex; gap: 14px; padding: 14px 24px; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.2s;
}
.vt-playlist__item:hover {
  background: rgba(255,255,255,0.03);
}
.vt-playlist__item.active {
  background: rgba(0,230,118,0.04);
  border-left: 3px solid var(--accent-bright);
  padding-left: 21px;
}

.vt-playlist__item-thumb {
  flex: 0 0 100px; height: 64px; background: #2a2a2a;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.vt-playlist__item-thumb::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
}
.vt-playlist__item-num {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700;
  color: rgba(255,255,255,0.3);
}
.vt-playlist__item.active .vt-playlist__item-num { color: var(--accent-bright); }

.vt-playlist__item-info {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
}
.vt-playlist__item-cat {
  font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 1.5px; color: rgba(255,255,255,0.3); margin-bottom: 4px;
}
.vt-playlist__item.active .vt-playlist__item-cat { color: var(--accent-bright); }

.vt-playlist__item-title {
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.8);
  margin-bottom: 4px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vt-playlist__item.active .vt-playlist__item-title { color: #fff; }

.vt-playlist__item-dur {
  font-family: var(--font-mono); font-size: 0.65rem; color: rgba(255,255,255,0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .vt-split { flex-direction: column; min-height: auto; }
  .vt-hero { flex: none; height: 300px; }
  .vt-hero__overlay { background: linear-gradient(to top, var(--obsidian) 0%, transparent 60%); }
  .vt-hero__content { bottom: 20px; left: 20px; max-width: 85%; }
  .vt-hero__title { font-size: 1.15rem; }
  .vt-hero__play { width: 56px; height: 56px; }
  .vt-playlist { max-height: 360px; }
  .vt-playlist__item-thumb { flex: 0 0 80px; height: 52px; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* Prefers reduced motion: instant visibility */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-up.visible { opacity: 1; transform: none; transition: none; }
}

/* Fallback: after JS timeout, any remaining fade-ups become visible */
.fade-up.fade-up--fallback { opacity: 1; transform: translateY(0); }

/* ============================================
   SKIP-TO-CONTENT (Accessibility)
   ============================================ */
.skip-to-content {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--accent);
  color: var(--obsidian);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 24px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 16px;
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
}

/* Focus visible outlines for keyboard navigation */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   TIMELINE / TEAM / FORMS / JOBS (reusable)
   ============================================ */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 100%;
  background: var(--separator);
}
.timeline__item { position: relative; width: 50%; padding: 20px 40px; }
.timeline__item:nth-child(odd) { left: 0; text-align: right; }
.timeline__item:nth-child(even) { left: 50%; }
.timeline__dot {
  position: absolute; top: 28px;
  width: 14px; height: 14px;
  background: var(--accent);
  border: 3px solid var(--chalk);
  border-radius: 50%;
}
.timeline__item:nth-child(odd) .timeline__dot { right: -7px; }
.timeline__item:nth-child(even) .timeline__dot { left: -7px; }
.timeline__year { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; color: var(--accent-dark); margin-bottom: 4px; }
.timeline__title { font-family: var(--font-title); font-weight: 700; color: var(--obsidian); margin-bottom: 4px; font-size: 1rem; }
.timeline__desc { font-size: 0.82rem; color: var(--warm-sand); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--separator);
  text-align: center;
  padding: 32px 24px;
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-glow), rgba(9,145,56,0.08));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-title);
  font-size: 1.4rem; font-weight: 700;
  color: var(--accent-dark);
  border: 2px solid rgba(9,145,56,0.15);
}
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card__title { font-size: 0.78rem; color: var(--accent-dark); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 0.82rem; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.82rem; margin-bottom: 6px; color: var(--obsidian); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--separator);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--obsidian);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* === Validation inline des formulaires (messages d'erreur — design system) === */
.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea,
.recruit-modal__field.is-invalid input,
.recruit-modal__field.is-invalid textarea,
input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-color: var(--accent-red) !important;
  box-shadow: 0 0 0 3px rgba(226, 51, 29, 0.12);
}
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 7px;
  color: var(--accent-red);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  animation: aciFieldErr 0.22s ease;
}
.field-error svg { flex-shrink: 0; margin-top: 1px; }
@keyframes aciFieldErr {
  from { opacity: 0; transform: translateY(-3px); }
  to   { opacity: 1; transform: none; }
}

.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--separator);
  transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-card); border-color: transparent; }
.feature-card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 1.2rem;
}
.feature-card h3 { margin-bottom: 6px; }
.feature-card p { font-size: 0.88rem; }

.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  border: 1px solid var(--separator);
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-card); border-color: transparent; }
.job-card__meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.job-card__meta .tag { font-size: 0.65rem; padding: 4px 10px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .partners-bar__track { animation-duration: 10s; }
  .about-preview, .about-preview--video { grid-template-columns: 1fr; gap: 40px; }
  .program-card__content { padding: 0 32px; }
  .program-card__collapsed { gap: 16px; }
  .program-card__mini-stats { display: none; }
  .program-card__expanded { padding: 0 32px 32px; }
  .impact__row, .impact__row--reverse { flex-direction: column; }
  .impact__num-side { flex: none; padding: 40px 40px; }
  .impact__text-side { padding: 32px 40px 40px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-events__grid { grid-template-columns: 1fr; gap: 12px; }
  .evt-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .partners-bar__track { animation-duration: 4.5s; }
  .partners-bar__item img { min-width: 100px; height: 52px; }
  .partners-bar__item.active img { transform: scale(0.9); }
  /* Disable desktop hover tooltip on mobile — use info panel instead */
  .partners-bar__item:hover .partners-bar__tooltip { max-width: 0; opacity: 0; border-left: 0; }
  .partners-bar__item:hover .partners-bar__tooltip-inner { padding: 0; }
  .partners-bar__item:hover img { transform: none; }
  .partners-bar:hover .partners-bar__track { animation-play-state: running; }
  .partners-bar__mobile-info {
    display: none;
    padding: 16px 24px;
    border-top: 3px solid var(--accent);
    background: var(--white);
    text-align: center;
  }
  .partners-bar__mobile-info.visible { display: block; animation: fadeSlideUp 0.4s ease forwards; }
  .partners-bar__mobile-info-name {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--obsidian);
    margin-bottom: 6px;
  }
  .partners-bar__mobile-info-row {
    font-size: 0.78rem;
    font-family: var(--font-body);
    color: var(--warm-sand);
    padding: 2px 0;
  }
  .partners-bar__mobile-info-row strong {
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.8rem;
  }
  @keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .section { padding: 64px 0; }
  .header__nav { display: none; }
  .header__cta .btn { display: none; }
  .header__burger { display: flex; }
  .header__logo-img { height: 60px; }
  .hero { min-height: 100vh; padding: 100px 20px 60px; }
  .hero__content h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-events { margin-top: 36px; }
  .hero-events__grid { grid-template-columns: 1fr; gap: 10px; }
  .program-card { height: 120px; }
  .program-card:hover { height: 320px; }
  .program-card__content { padding: 0 20px; }
  .program-card__collapsed { min-height: 120px; gap: 12px; }
  .program-card__tag { padding: 4px 12px; font-size: 0.65rem; }
  .program-card__title { font-size: 1.1rem; }
  .program-card__arrow { width: 36px; height: 36px; }
  .program-card__expanded { top: 120px; padding: 0 20px 24px; }
  .program-card__expanded p { font-size: 0.85rem; margin-bottom: 16px; }
  .program-card__expanded-stats { gap: 28px; }
  .program-card__expanded-stats .stat .value { font-size: 1.6rem; }

  /* Mobile scroll-triggered auto-expand */
  .program-card.expanded {
    height: 320px;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .program-card.expanded .program-card__expanded {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
  }
  .program-card.expanded .program-card__arrow {
    transform: rotate(90deg);
  }
  /* Testimonial mobile */
  .testimonial__inner { flex-direction: column; text-align: center; gap: 32px; }
  .testimonial__divider { margin: 0 auto 18px; }

  .impact { padding: 64px 0 0; }
  .impact__header { margin-bottom: 36px; padding: 0 20px; }
  .impact__num-side { padding: 32px 24px; }
  .impact__text-side { padding: 24px 24px 32px; }
  .impact__number { font-size: clamp(3rem, 12vw, 4.5rem); }

  /* Mobile: truncate desc to 2 lines + "Lire plus" tap */
  .impact__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .impact__row.is-expanded .impact__desc {
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .impact__more {
    display: inline-block;
    font-family: var(--font-title);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-top: 14px;
    padding: 6px 0;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
  }
  .impact__more:active { color: var(--accent); }
  .impact__row.is-expanded .impact__more {
    color: #999;
  }
  /* Actualités uniquement — Masquer hero en mobile */
  .page--actualites .page-hero { display: none; }

  /* Actualités — Filter section : extra top padding when hero hidden */
  .actu-filter-section {
    padding-top: 80px;
  }

  /* Actualités — Filtres mobile : taille réduite */
  .actu-filter {
    padding: 7px 14px;
    font-size: 0.68rem;
  }
  .actu-filters {
    gap: 8px;
  }

  /* Mobile : pagination visible, anciens éléments cachés */
  .news-grid--hidden { display: none; }
  .news-grid--hidden.is-visible { display: grid; animation: revealMore 0.5s ease-out; }
  .evt-grid--hidden { display: none; }
  .evt-grid--hidden.is-visible { display: grid; animation: revealMore 0.5s ease-out; }
  .load-more-wrap { display: block; text-align: center; margin-top: 40px; }
  .actu-pagination {
    margin-top: 32px;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .actu-pagination__link {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .actu-pagination__nav {
    padding: 8px 10px;
  }
  .evt-pagination {
    margin-top: 32px;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .evt-pagination__link {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .evt-pagination__nav {
    padding: 8px 10px;
  }

  /* Recherche mobile — même hauteur que filtres */
  .actu-search {
    padding: 7px 12px;
    min-width: 0;
  }
  .actu-search__input {
    width: 110px;
    font-size: 0.75rem;
  }
  .actu-search__input:focus {
    width: 140px;
  }
  .actu-search__btn {
    width: 26px;
    height: 26px;
  }
  .actu-search__btn svg { width: 13px; height: 13px; }

  /* Actualités — Tuile à la une : tablette */
  .featured-article__wrap { border-radius: 0; }
  .featured-article__img { height: 440px; }
  .featured-article__overlay {
    padding: 40px 24px 32px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.9) 70%);
  }
  .featured-article__title { font-size: 1.5rem; max-width: 100%; }
  .featured-article__meta { flex-wrap: wrap; gap: 8px 16px; margin-bottom: 14px; }
  .featured-article__excerpt {
    font-size: 0.85rem; max-width: 100%; margin-bottom: 20px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .featured-article__cta { padding: 10px 24px; font-size: 0.82rem; }

  /* Actualités — News cards */
  .news-grid { grid-template-columns: 1fr; }
  .news-card__image { height: 180px; }
  .news-card__body { padding: 20px; }
  .news-card h3 { font-size: 1rem; }
  .news-card p { font-size: 0.82rem; -webkit-line-clamp: 2; }

  /* Actualités — Pagination */
  .actu-pagination {
    flex-wrap: wrap;
    gap: 6px !important;
    font-size: 0.78rem !important;
  }
  .actu-pagination a {
    padding: 6px 10px !important;
    font-size: 0.75rem;
  }

  /* Actualités — Events */
  .evt-grid { grid-template-columns: 1fr; }
  .evt-card { padding: 28px 20px 24px; }
  .evt-card__day { font-size: 2.2rem; }
  .evt-card__title { font-size: 1rem; }
  .evt-card__excerpt { font-size: 0.8rem; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .evt-pagination {
    flex-wrap: wrap;
    gap: 6px !important;
    font-size: 0.78rem !important;
    margin-top: 36px;
  }
  .evt-pagination__link { padding: 6px 10px; font-size: 0.75rem; }

  /* Actualités — Event modals */
  .evt-modal__title { font-size: 1.2rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .timeline__item { width: 100%; left: 0 !important; text-align: left; padding-left: 40px; padding-right: 0; }
  .timeline::before { left: 10px; }
  .timeline__item .timeline__dot { left: 3px !important; right: auto !important; }
  .team-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .features-grid { grid-template-columns: 1fr; }
  .cta__buttons { flex-direction: column; align-items: center; }
  .about-preview__links { flex-direction: row; align-items: center; gap: 16px; flex-wrap: wrap; }
}


/* ============================================
   IMPACT — Stats Grid (Chiffres-Clés)
   ============================================ */
.impact-stats {
  background: var(--obsidian);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-grid__item {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: left;
  transition: background 0.3s;
}
.stats-grid__item:nth-child(4n) {
  border-right: none;
}
.stats-grid__item:nth-child(n+5) {
  /* bottom row no border */
}
.stats-grid__item:hover {
  background: rgba(0,230,118,0.04);
}
.stats-grid__value {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stats-grid__bar {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 16px 0;
  transition: width 0.4s;
}
.stats-grid__item:hover .stats-grid__bar {
  width: 60px;
}
.stats-grid__label {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.stats-grid__desc {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  margin-top: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid__item:nth-child(2n) { border-right: none; }
  .stats-grid__item:nth-child(4n) { border-right: 1px solid rgba(255,255,255,0.06); }
  .stats-grid__item { padding: 28px 20px; }
}

/* ============================================
   IMPACT — KPI Dashboard
   ============================================ */
.kpi-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kpi-card {
  background: var(--chalk);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.kpi-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.kpi-card__tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(9,145,56,0.08);
  padding: 4px 12px;
}
.kpi-card__target {
  font-size: 0.68rem;
  color: var(--warm-sand);
}
.kpi-card__value {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--obsidian);
  line-height: 1;
}
.kpi-card__unit {
  font-size: 0.5em;
  color: var(--accent-dark);
}
.kpi-card__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--obsidian);
  margin: 12px 0 20px;
}
.kpi-card__bar-track {
  height: 6px;
  background: rgba(0,0,0,0.06);
  overflow: hidden;
}
.kpi-card__bar-fill {
  height: 100%;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.kpi-card__footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
}
.kpi-card__trend {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}
.kpi-card__trend--up {
  color: var(--accent-dark);
}
.kpi-card__trend--up::before {
  content: '▲ ';
  font-size: 0.6rem;
}
@media (max-width: 768px) {
  .kpi-dashboard { grid-template-columns: 1fr; }
}


/* ============================================
   IMPACT — Magazine Cover (Rapports)
   ============================================ */
.rapports-section {
  padding-bottom: 80px;
}
/* Rapports & Publications : défilement HORIZONTAL (carrousel) */
.mag-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 18px;
  scroll-padding-left: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(0,0,0,0.08);
}
.mag-grid::-webkit-scrollbar { height: 8px; }
.mag-grid::-webkit-scrollbar-track { background: rgba(0,0,0,0.06); border-radius: 4px; }
.mag-grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
.mag-grid > .mag-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}
.mag-grid > .mag-card--featured {
  flex: 0 0 380px;
}
.mag-grid--equal {
  grid-template-columns: repeat(3, 1fr);
}

/* Rapports & Publications : slider centré, 3 par vue, avec boutons gauche/droite */
.rep-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
}
.rep-slider__viewport { overflow: hidden; flex: 1 1 auto; min-width: 0; }
.rep-slider__track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.rep-slider__track > .mag-card { flex: 0 0 calc((100% - 40px) / 3); }
.rep-slider__btn {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(9,145,56,0.3);
}
.rep-slider__btn:hover:not(:disabled) { transform: scale(1.08); }
.rep-slider__btn:disabled { opacity: 0.3; cursor: default; box-shadow: none; }
.rep-slider__btn svg { width: 22px; height: 22px; }
/* Tablette : 2 cartes par vue */
@media (max-width: 900px) { .rep-slider__track > .mag-card { flex: 0 0 calc((100% - 20px) / 2); } }
/* Mobile (≤600px → jusqu'à 280px) : 1 carte pleine largeur, boutons CENTRÉS sous le slider */
@media (max-width: 600px) {
  .rep-slider { flex-wrap: wrap; gap: 12px; }
  .rep-slider__viewport { order: 1; flex: 1 1 100%; }
  .rep-slider__track > .mag-card { flex: 0 0 100%; min-width: 0; }
  .rep-slider__btn { order: 2; width: 42px; height: 42px; }
  .rep-slider__btn--prev { margin-left: auto; }
  .rep-slider__btn--next { margin-right: auto; }
}

/* Publications slider */
.pub-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pub-slider-track {
  overflow: hidden;
  flex: 1;
}
.pub-slider-strip {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.pub-slider-strip .mag-card {
  flex-shrink: 0;
}
.mag-grid--hidden {
  display: none;
}
.mag-grid--hidden.is-visible {
  display: grid;
  animation: magReveal 0.5s ease-out;
}
@keyframes magReveal {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mag-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s;
}
.mag-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.18);
}
.mag-card__cover {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  filter: brightness(0.65);
  transition: filter 0.5s, transform 0.6s;
}
.mag-card:hover .mag-card__cover {
  filter: brightness(0.8);
  transform: scale(1.05);
}
.mag-card--featured .mag-card__cover {
  aspect-ratio: auto;
  height: 100%;
}
.mag-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.88) 100%);
  padding: 120px 28px 28px;
  color: var(--white);
}
.mag-card__badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 12px;
}
.mag-card__year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.mag-card__title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.mag-card--featured .mag-card__title {
  font-size: 1.35rem;
}
.mag-card__desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  line-height: 1.5;
}
.mag-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
}
.mag-card__meta span {
  position: relative;
}
.mag-card__meta span + span::before {
  content: '·';
  position: absolute;
  left: -10px;
  color: rgba(255,255,255,0.2);
}
.mag-card__dl {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mag-card:hover .mag-card__dl {
  opacity: 1;
  transform: translateY(0);
}
.mag-card__dl:hover {
  background: var(--accent-dark);
}

/* Actions rapports (boutons) */
.mag-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* Pagination rapports */
.mag-paginated { position: relative; }
.mag-page { display: none; }
.mag-page--active { display: block; animation: magReveal 0.4s ease-out; }
.mag-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.mag-pagination__btn {
  background: none;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--obsidian);
  cursor: pointer;
  transition: all 0.25s;
}
.mag-pagination__btn:hover:not(:disabled) {
  background: var(--obsidian);
  color: var(--white);
  border-color: var(--obsidian);
}
.mag-pagination__btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.mag-pagination__numbers {
  display: flex;
  gap: 4px;
}
.mag-pagination__num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(0,0,0,0.12);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--obsidian);
  cursor: pointer;
  transition: all 0.25s;
}
.mag-pagination__num:hover {
  background: var(--chalk);
}
.mag-pagination__num--active {
  background: var(--obsidian);
  color: var(--white);
  border-color: var(--obsidian);
}

/* ============================================
   MEDIA GRIDS (Médiathèque, Impact, S'engager)
   ============================================ */
.media-grid { display: grid; gap: 24px; }
.media-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.media-grid--3 { grid-template-columns: repeat(3, 1fr); }
.media-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 56px; }

.engage-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .media-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .media-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .engage-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .media-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .media-grid--3 { grid-template-columns: 1fr; }
  .media-grid--2 { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .engage-grid { grid-template-columns: 1fr; }
}

/* ============================================
   S'ENGAGER — PAGE REFONTE
   ============================================ */

/* --- Hero XL --- */
.engage-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.engage-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.engage-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
.engage-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}
.engage-hero__content .section-tag {
  color: var(--accent-bright);
  margin-bottom: 12px;
}
.engage-hero__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 12px;
}
.engage-hero__sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: 32px;
}
.engage-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.engage-hero__btn {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
}
.engage-hero__btn:hover {
  background: var(--white);
  color: var(--obsidian);
  border-color: var(--white);
}

/* --- Section Don (image + form grid) --- */
.engage-don__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  grid-template-rows: 1fr;
}
.engage-don__image {
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.engage-don__image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.engage-don__form {
  padding: 56px 48px;
}
.engage-don__form .section-tag {
  color: var(--accent-gold);
}
.engage-don__form h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}
.engage-don__lead {
  font-size: 0.95rem;
  color: var(--warm-sand);
  line-height: 1.7;
  margin-bottom: 28px;
}
.engage-don__form .donation-card {
  border: none;
  padding: 0;
  box-shadow: none;
  border-top: none;
}
.engage-don__impact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--chalk);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--warm-sand);
  text-align: center;
  flex-wrap: wrap;
}
.engage-don__impact-sep {
  color: var(--accent);
  font-weight: 700;
}

/* --- Section Bénévolat (50/50 grid) --- */
.engage-benevolat__grid {
  display: grid;
  grid-template-columns: 40% 60%;
}
.engage-benevolat__image {
  position: relative;
  overflow: hidden;
}
.engage-benevolat__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.engage-benevolat__form {
  padding: 56px 48px;
}
.engage-benevolat__form h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}
.engage-benevolat__form .lead {
  font-size: 0.95rem;
  color: var(--warm-sand);
  line-height: 1.7;
}

/* --- Section Partenariat (obsidian simplifié) --- */
.engage-partenaire {
  padding: 80px 0;
  background-color: var(--obsidian);
  color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
}
.engage-partenaire__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.engage-partenaire__logos img {
  height: 28px;
  width: auto;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.engage-partenaire__logos img:hover {
  opacity: 1;
}

/* --- S'engager Responsive (tablet) --- */
@media (max-width: 1024px) {
  .engage-hero { min-height: 50vh; }
  .engage-don__grid {
    grid-template-columns: 1fr;
  }
  .engage-don__image {
    height: 320px;
  }
  .engage-don__form {
    padding: 40px 32px;
  }
  .engage-benevolat__grid {
    grid-template-columns: 1fr;
  }
  .engage-benevolat__image {
    height: 320px;
  }
  .engage-benevolat__form {
    padding: 40px 32px;
  }
}
/* --- S'engager Responsive (mobile) --- */
@media (max-width: 768px) {
  .engage-hero { min-height: 45vh; }
  .engage-hero__title { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .engage-hero__sub { font-size: 0.95rem; margin-bottom: 24px; }
  .engage-hero__content { padding-bottom: 32px; }
  .engage-hero__actions { flex-direction: column; gap: 10px; }
  .engage-hero__btn { text-align: center; padding: 12px 20px; font-size: 0.85rem; }
  .engage-don__image { height: 240px; }
  .engage-don__form { padding: 28px 20px; }
  .engage-don__form h2 { font-size: 1.4rem; }
  .engage-don__lead { font-size: 0.88rem; margin-bottom: 20px; }
  .engage-don__impact { font-size: 0.65rem; padding: 12px 16px; flex-direction: column; gap: 4px; }
  .engage-benevolat__image { height: 240px; }
  .engage-benevolat__form { padding: 24px 12px; }
  .engage-benevolat__form h2 { font-size: 1.4rem; }
  .engage-benevolat__form .lead { font-size: 0.88rem; }
  .engage-partenaire { padding: 56px 0; }
  .engage-partenaire__logos { gap: 16px; margin-top: 36px; padding-top: 28px; }
  .engage-partenaire__logos img { height: 20px !important; }
}

/* Responsive rapports */
@media (max-width: 768px) {
  /* On garde le défilement horizontal : cartes plus étroites, une visible + aperçu de la suivante */
  .mag-grid > .mag-card,
  .mag-grid > .mag-card--featured {
    flex: 0 0 80vw;
  }
  .mag-card--featured .mag-card__cover {
    aspect-ratio: 3/4;
    height: auto;
  }
  .mag-actions {
    flex-direction: column;
  }
  .mag-pagination__btn span { display: none; }
}


/* ============================================================
   INTERACTIVE MAP — Carte des Interventions
   ============================================================ */
:root {
  --map-bg: #0D1F16;
  --map-fill: #22654A;
  --map-stroke: rgba(0, 230, 118, 0.22);
  --map-hover: #2E7D5A;
  --map-active: #00E676;
}

.map-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px 48px;
}

.map-section__header { margin-bottom: 40px; }

.map-section__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-section__eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.map-section__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--white);
}

.map-section__subtitle {
  font-size: 15px;
  color: rgba(245, 245, 240, 0.55);
  max-width: 520px;
  line-height: 1.6;
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  background: #111211;
  border: 1px solid rgba(0, 230, 118, 0.10);
  height: 720px;
  overflow: visible;
}

/* === MAP PANEL === */
.map-panel {
  position: relative;
  padding: 32px 40px;
  overflow: visible;
  background: var(--map-bg);
}

.map-panel svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Region paths — thick fill-colored stroke behind for gap-filling */
.region-path {
  fill: var(--map-fill);
  stroke: var(--map-fill);
  stroke-width: 10;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill 0.2s ease;
  paint-order: stroke fill markers;
}

.region-path:hover,
.region-path.hovered {
  fill: var(--map-hover);
  filter: brightness(1.15);
}

.region-path.active {
  fill: rgba(0, 230, 118, 0.2);
  filter: brightness(1.2);
}

/* Thin visible border layer on top — subtle green accent */
.region-border {
  fill: none;
  stroke: var(--map-stroke);
  stroke-width: 0.8;
  stroke-linejoin: round;
  pointer-events: none;
}

/* City dots */
.city-dot {
  fill: rgba(245, 245, 240, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-dot:hover,
.city-dot.active {
  fill: var(--accent);
  r: 4;
}

.city-dot.active {
  filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.4));
}

/* Map popup card */
.map-popup {
  position: absolute;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--obsidian);
  padding: 0;
  width: 320px;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.3s;
  z-index: 20;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), 0 6px 16px rgba(0,0,0,0.20),
              inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: visible;
}

.map-popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transform: translateY(0);
}

.map-popup__accent { height: 3px; background: var(--accent); }

.map-popup__body { padding: 24px 28px; }

.map-popup__close {
  position: absolute;
  top: 18px;
  right: 14px;
  width: 26px;
  height: 26px;
  border: none;
  background: none;
  cursor: pointer;
  color: rgba(10, 10, 10, 0.35);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.map-popup__close:hover { color: var(--obsidian); }

.map-popup__name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 4px;
  padding-right: 24px;
}

.map-popup__detail {
  font-size: 13px;
  color: rgba(10, 10, 10, 0.5);
  line-height: 1.6;
  margin-bottom: 18px;
}

.map-popup__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.map-popup__stat-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--obsidian);
}

.map-popup__stat-lbl {
  font-size: 10px;
  color: rgba(10, 10, 10, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1px;
}

/* Programme tags */
.map-popup__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.map-popup__tag {
  display: inline-block;
  padding: 3px 8px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 2px;
  line-height: 1.3;
}
.map-popup__tag--vih  { background: rgba(0, 230, 118, 0.15); color: #00C853; }
.map-popup__tag--tb   { background: rgba(37, 99, 160, 0.15); color: #2563A0; }
.map-popup__tag--genre { background: rgba(200, 150, 46, 0.15); color: #C8962E; }
.map-popup__tag--vbg  { background: rgba(212, 96, 10, 0.15); color: #D4600A; }
.map-popup__tag--dh   { background: rgba(156, 90, 200, 0.15); color: #9C5AC8; }

.map-popup__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #099138, #00E676, #099138);
  background-size: 200% 200%;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: popupBtnGradient 3s ease-in-out infinite, popupBtnPulse 2s ease-in-out infinite;
  box-shadow:
    0 0 15px rgba(0, 230, 118, 0.4),
    0 0 30px rgba(9, 145, 56, 0.2),
    0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
/* Animated gradient shift */
@keyframes popupBtnGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Subtle pulse/breathe */
@keyframes popupBtnPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 230, 118, 0.4), 0 0 30px rgba(9, 145, 56, 0.2), 0 4px 15px rgba(0,0,0,0.3); }
  50%      { box-shadow: 0 0 25px rgba(0, 230, 118, 0.6), 0 0 50px rgba(9, 145, 56, 0.35), 0 4px 20px rgba(0,0,0,0.3); }
}
/* Shine sweep effect */
.map-popup__btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: popupBtnShine 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes popupBtnShine {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}
.map-popup__btn:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 30px rgba(0, 230, 118, 0.7),
    0 0 60px rgba(9, 145, 56, 0.4),
    0 6px 25px rgba(0,0,0,0.3);
}
.map-popup__btn:active { transform: scale(0.97); }

/* === SIDEBAR === */
.map-sidebar {
  border-left: 1px solid rgba(0, 230, 118, 0.06);
  display: flex;
  flex-direction: column;
  background: #151716;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.sidebar__header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.sidebar__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.sidebar__desc {
  font-size: 13px;
  color: rgba(245, 245, 240, 0.50);
  line-height: 1.5;
}

/* Filter tabs */
.sidebar__filters {
  display: flex;
  gap: 6px;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.sidebar__filters::-webkit-scrollbar { height: 4px; }
.sidebar__filters::-webkit-scrollbar-thumb { background: rgba(128,128,128,0.4); border-radius: 4px; }

.filter-tab {
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(245, 245, 240, 0.72);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.filter-tab:active { transform: scale(0.95); }

.filter-tab:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--chalk);
}

.filter-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--obsidian);
  font-weight: 600;
}

/* Region list */
.sidebar__list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 0;
}

.sidebar__list::-webkit-scrollbar { width: 3px; }
.sidebar__list::-webkit-scrollbar-track { background: transparent; }
.sidebar__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); border-radius: 3px; }

.region-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 28px;
  cursor: pointer;
  transition: all 0.18s ease;
  border-left: 2px solid transparent;
}

.region-item:active {
  background: rgba(0, 230, 118, 0.06);
  transform: scale(0.99);
}

.region-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.region-item.active {
  background: rgba(0, 230, 118, 0.08);
  border-left-color: var(--accent);
}

.region-item__name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(245, 245, 240, 0.95);
}

.region-item:hover .region-item__name { color: var(--chalk); }

.region-item.active .region-item__name {
  color: var(--accent);
  font-weight: 600;
}

.region-item__chef {
  font-size: 11px;
  color: rgba(245, 245, 240, 0.50);
  font-weight: 400;
}

.region-item.active .region-item__chef { color: rgba(0, 230, 118, 0.45); }

/* Sidebar stats */
.sidebar__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0;
  background: rgba(0, 230, 118, 0.04);
  flex-shrink: 0;
}

.sidebar__stat {
  text-align: center;
  padding: 18px 8px;
}

.sidebar__stat:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.sidebar__stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 27px;
  color: var(--accent);
  line-height: 1.1;
}

.sidebar__stat-label {
  font-size: 10px;
  color: rgba(245, 245, 240, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* === SIDEBAR DETAIL VIEW — LIGHT THEME === */
.sidebar__view { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.sidebar__view--list { overflow: hidden; }
.sidebar__view--detail {
  overflow-y: auto;
  background: #FFFFFF;
  color: #1A1A1A;
}
.sidebar__view--detail::-webkit-scrollbar { width: 3px; }
.sidebar__view--detail::-webkit-scrollbar-track { background: transparent; }
.sidebar__view--detail::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 3px; }

.detail__banner {
  width: 100%;
  max-height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}
.detail__banner:empty,
.detail__banner[data-empty="true"] {
  display: none;
}
.detail__banner img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.detail__banner img[src=""],
.detail__banner img:not([src]) {
  display: none;
}

.detail__content {
  padding: 24px 28px;
  flex: 1;
}

.detail__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #00C853;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 0;
  margin-bottom: 16px;
  transition: opacity 0.2s, transform 0.15s;
}
.detail__back:hover { opacity: 0.7; }
.detail__back:active { transform: translateX(-3px); }

.detail__name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  color: #0A0A0A;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.detail__chef {
  font-size: 13px;
  color: rgba(10, 10, 10, 0.55);
  margin: 0 0 14px;
  line-height: 1.5;
}

.detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 18px;
}
.detail__tags .map-popup__tag {
  font-size: 10px;
  padding: 4px 10px;
}

.detail__stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.detail__stat {
  background: #F7F8F9;
  border: 1px solid rgba(10, 10, 10, 0.08);
  padding: 14px 16px;
  transition: background 0.2s;
}
.detail__stat:hover { background: #EEF0F2; }
.detail__stat-val {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: #00C853;
  margin-bottom: 2px;
}
.detail__stat-lbl {
  font-size: 10px;
  color: rgba(10, 10, 10, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail__programs-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}
.detail__program-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  margin-bottom: 2px;
  transition: background 0.2s;
}
.detail__program-item:hover { background: rgba(0, 200, 83, 0.04); }
.detail__program-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}
.detail__program-dot--vih { background: #00C853; }
.detail__program-dot--tb { background: #2563A0; }
.detail__program-dot--genre { background: #C8962E; }
.detail__program-dot--vbg { background: #D4600A; }
.detail__program-dot--dh { background: #9C5AC8; }
.detail__program-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 2px;
}
.detail__program-desc {
  font-size: 12px;
  color: rgba(10, 10, 10, 0.6);
  line-height: 1.5;
}

/* === SIDEBAR ANIMATIONS === */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sidebar__view--detail.animate-in {
  animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.sidebar__view--list.animate-in {
  animation: slideInLeft 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.detail__stat.animate-in {
  animation: fadeInUp 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Legend inline */
.map-legend-inline {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 16px;
  z-index: 5;
  background: rgba(13, 31, 22, 0.85);
  padding: 8px 14px;
  backdrop-filter: blur(8px);
}

.legend-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(245, 245, 240, 0.55);
  letter-spacing: 0.02em;
}

.legend-dot__circle { width: 7px; height: 7px; border-radius: 50%; }
.legend-dot__circle--active { background: var(--accent); }
.legend-dot__circle--default { background: rgba(245, 245, 240, 0.5); border: 1px solid rgba(245, 245, 240, 0.3); }

/* Heatmap legend */
.map-legend {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(14, 25, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 245, 240, 0.12);
  padding: 12px 16px;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.map-legend.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.map-legend__title {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(245, 245, 240, 0.6);
  margin-bottom: 8px;
}
.map-legend__bar {
  width: 140px;
  height: 8px;
  background: linear-gradient(90deg, #1A1210, #5C1A0A, #A03012, #D4600A, #E8A020, #F5C842);
  margin-bottom: 4px;
}
.map-legend__labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(245, 245, 240, 0.45);
}

/* Zoom controls */
.map-zoom-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 5;
}

.map-zoom-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(13, 31, 22, 0.85);
  backdrop-filter: blur(8px);
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.map-zoom-btn:hover {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent);
  border-color: rgba(0, 230, 118, 0.3);
}

.map-zoom-btn--reset {
  font-size: 14px;
  margin-top: 4px;
}

.map-zoom-btn--heatmap {
  margin-top: 10px;
  width: 36px;
  height: 36px;
  color: rgba(232, 160, 32, 0.7);
  border-color: rgba(232, 160, 32, 0.25);
  background: rgba(232, 160, 32, 0.06);
  transition: all 0.25s;
}
.map-zoom-btn--heatmap.active {
  background: rgba(232, 160, 32, 0.2);
  border-color: rgba(232, 160, 32, 0.5);
  color: #E8A020;
}
.map-zoom-btn--heatmap:hover {
  background: rgba(232, 160, 32, 0.15);
  color: #E8A020;
  border-color: rgba(232, 160, 32, 0.4);
}

/* Heatmap icon breathing animation */
@keyframes heatBreathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 1; }
}
.map-zoom-btn--heatmap svg {
  animation: heatBreathe 3s ease-in-out infinite;
}
.map-zoom-btn--heatmap.active svg,
.map-zoom-btn--heatmap:hover svg {
  animation: none;
  transform: scale(1);
  opacity: 1;
}

/* Floating compass — fixed position in map panel, unaffected by zoom */
.map-compass {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  pointer-events: none;
  opacity: 0.90;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: opacity 0.3s;
}
.map-panel:hover .map-compass { opacity: 1; }

/* Compass north arrow — subtle upward float */
@keyframes compassNorthFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.8px); }
}
.map-compass polygon:first-of-type,
.map-compass text:first-of-type {
  animation: compassNorthFloat 3.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center bottom;
}

/* Pan cursor when zoomed */
.map-panel--grab svg { cursor: grab; }
.map-panel--grabbing svg { cursor: grabbing; }

/* Sidebar stats accent colors from palette */
.sidebar__stat:nth-child(1) .sidebar__stat-num { color: var(--accent); }
.sidebar__stat:nth-child(2) .sidebar__stat-num { color: var(--accent-gold); }
.sidebar__stat:nth-child(3) .sidebar__stat-num { color: var(--accent-blue); }

/* Filter tabs zone accent colors on active */
.filter-tab[data-filter="nord"].active { background: var(--accent-gold); border-color: var(--accent-gold); }
.filter-tab[data-filter="centre"].active { background: var(--accent-blue); border-color: var(--accent-blue); }
.filter-tab[data-filter="sud"].active { background: var(--accent); border-color: var(--accent); }
.filter-tab[data-filter="ouest"].active { background: var(--accent-orange); border-color: var(--accent-orange); color: var(--white); }

/* Eyebrow line gradient */
.map-section__eyebrow::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-gold));
}

/* === MAP RESPONSIVE === */
@media (max-width: 960px) {
  .map-section { padding: 48px 24px 32px; }
  .map-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .map-panel { min-height: 480px; padding: 24px; }
  .map-sidebar {
    border-left: none;
    border-top: 1px solid rgba(0, 230, 118, 0.06);
  }
  .sidebar__list { max-height: 300px; }
}

@media (max-width: 500px) {
  .map-section { padding: 32px 16px 24px; }
  .map-section__title { font-size: 28px; }
  .map-panel { padding: 12px; min-height: 400px; }
  .sidebar__header { padding: 20px; }
  .sidebar__filters { padding: 12px 20px; gap: 4px; }
  .region-item { padding: 10px 20px; }
  .filter-tab { padding: 5px 10px; font-size: 10px; }
}

/* ============================================
   ARTICLE DETAIL PAGE
   ============================================ */

/* --- Article Hero (breadcrumb + meta + title) --- */
.article-hero {
  padding: 120px 0 36px;
  background: var(--chalk);
}
.article-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--warm-sand);
  margin-bottom: 20px;
}
.article-hero__breadcrumb a { color: var(--warm-sand); transition: color 0.2s; }
.article-hero__breadcrumb a:hover { color: var(--accent); }
.article-hero__breadcrumb .sep { opacity: 0.3; }
.article-hero__breadcrumb span:last-child { color: var(--obsidian); font-weight: 500; }

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-hero__badge {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  background: none;
  padding: 0;
}
.article-hero__date,
.article-hero__reading {
  font-size: 0.72rem;
  color: var(--warm-sand);
}
.article-hero__title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--obsidian);
  max-width: 760px;
}

/* --- Two-column layout --- */
.article-layout { padding: 0 0 60px; }
.article-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

/* --- Sidebar --- */
.article-sidebar {
  position: sticky;
  top: 100px;
  padding-top: 40px;
  padding-left: 28px;
}
.article-sidebar__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-title);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 40px;
}
.article-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: 2px solid var(--separator);
  padding-left: 20px;
}
.article-sidebar__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.2s;
}
.article-sidebar__item:hover { transform: translateX(4px); }
.article-sidebar__item img {
  width: 68px;
  height: 48px;
  object-fit: cover;
  flex-shrink: 0;
}
.article-sidebar__item-body { display: flex; flex-direction: column; gap: 3px; }
.article-sidebar__item-cat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.article-sidebar__item-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--warm-sand);
}
.article-sidebar__item-title {
  font-family: var(--font-title);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--obsidian);
}
.article-sidebar__item:hover .article-sidebar__item-title { color: var(--accent-dark); }
.article-sidebar__back {
  display: inline-block;
  margin-top: 28px;
  padding-left: 20px;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  transition: color 0.2s;
}
.article-sidebar__back:hover { color: var(--accent); }

/* --- Article Main --- */
.article-main {
  max-width: 740px;
  padding-top: 40px;
}
.article-main__hero { margin-bottom: 8px; }
.article-main__hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.article-main__caption {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--warm-sand);
  padding-top: 8px;
  border-top: 1px solid var(--separator);
  margin-top: 8px;
}

/* --- Share Bar --- */
.article-share {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--separator);
  margin-bottom: 36px;
}
.article-share__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-sand);
}
.article-share__icons { display: flex; gap: 8px; }
.article-share__btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--separator);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-sand);
  transition: all var(--transition);
}
.article-share__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.article-share__btn svg { width: 16px; height: 16px; }

/* --- Article Body — all OMACD content blocks --- */
.article-body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--warm-sand);
}
.article-body p { margin-bottom: 24px; }
.article-body h2 {
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--obsidian);
  margin-top: 48px;
  margin-bottom: 20px;
}
.article-body h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--obsidian);
  margin-top: 36px;
  margin-bottom: 16px;
}

/* BLOC: Introduction (drop cap) */
.article-body__dropcap {
  float: left;
  font-family: var(--font-title);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 0.82;
  color: var(--accent);
  padding-right: 12px;
  padding-top: 4px;
}
.article-body__intro {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--obsidian);
  margin-bottom: 28px;
}

/* BLOC: Liste */
.article-body ul,
.article-body ol {
  margin: 20px 0 28px 24px;
  color: var(--warm-sand);
}
.article-body ul { list-style: none; }
.article-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.article-body ol li {
  margin-bottom: 10px;
  padding-left: 4px;
}
.article-body ol li::marker {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
}

/* BLOC: Image pleine */
.article-body__figure {
  margin: 36px 0;
}
.article-body__figure img {
  width: 100%;
  height: auto;
}
.article-body__figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--warm-sand);
  padding-top: 8px;
  border-top: 1px solid var(--separator);
  margin-top: 8px;
}

/* BLOC: Image flottante */
.article-body__figure--float {
  float: right;
  max-width: 45%;
  margin: 4px 0 24px 28px;
}

/* BLOC: Galerie */
.article-body__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 36px 0;
}
.article-body__gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: opacity 0.2s;
  cursor: pointer;
}
.article-body__gallery img:hover { opacity: 0.85; }

/* BLOC: Vidéo */
.article-body__video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 36px 0;
  border: 2px solid var(--obsidian);
}
.article-body__video iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* BLOC: Audio / Podcast — Player */
.article-body__audio {
  display: flex;
  gap: 0;
  background: var(--obsidian);
  margin: 36px 0;
  overflow: hidden;
}
.article-body__audio-cover {
  width: 180px;
  flex-shrink: 0;
  position: relative;
}
.article-body__audio-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-body__audio-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.25s;
}
.article-body__audio-play:hover {
  background: rgba(0,0,0,0.55);
}
.article-body__audio-play svg {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.article-body__audio-content {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.article-body__audio-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-body__audio-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--accent-bright);
  padding: 2px 8px;
}
.article-body__audio-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
}
.article-body__audio-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.article-body__audio-subtitle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

/* Waveform */
.article-body__audio-waveform {
  position: relative;
  height: 40px;
  margin: 4px 0 2px;
}
.waveform-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 100%;
  position: relative;
  z-index: 1;
}
.waveform-bars span {
  flex: 1;
  background: rgba(255,255,255,0.18);
  min-width: 2px;
  border-radius: 1px 1px 0 0;
  transition: background 0.15s;
}
.article-body__audio.playing .waveform-bars span {
  animation: waveform-pulse 0.8s ease-in-out infinite alternate;
}
.article-body__audio.playing .waveform-bars span:nth-child(odd) {
  animation-delay: 0.15s;
}
.article-body__audio.playing .waveform-bars span:nth-child(3n) {
  animation-delay: 0.3s;
}
.article-body__audio.playing .waveform-bars span:nth-child(4n+1) {
  animation-delay: 0.05s;
}
.waveform-bars span.active {
  background: var(--accent-bright);
}
@keyframes waveform-pulse {
  0%   { transform: scaleY(0.85); }
  100% { transform: scaleY(1.15); }
}
.waveform-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Progress bar */
.article-body__audio-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.audio-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  min-width: 32px;
}
.audio-time:last-child { text-align: right; }
.audio-progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.12);
  position: relative;
  cursor: pointer;
}
.audio-progress-fill {
  height: 100%;
  background: var(--accent-bright);
  width: 0%;
  position: relative;
  transition: width 0.1s linear;
}
.audio-progress-thumb {
  width: 10px;
  height: 10px;
  background: var(--accent-bright);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.2s;
}
.article-body__audio:hover .audio-progress-thumb,
.article-body__audio.playing .audio-progress-thumb {
  opacity: 1;
}

/* BLOC: Document */
.article-body__document {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--chalk);
  border: 1px solid var(--separator);
  margin: 36px 0;
  transition: border-color 0.2s;
}
.article-body__document:hover { border-color: var(--accent); }
.article-body__doc-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.article-body__doc-info { flex: 1; }
.article-body__doc-name {
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--obsidian);
}
.article-body__doc-size {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--warm-sand);
}
.article-body__doc-dl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* BLOC: Citation */
.article-body__quote {
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  margin: 36px 0;
  background: var(--chalk);
}
.article-body__quote p {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
  color: var(--obsidian);
  line-height: 1.6;
  margin-bottom: 8px;
}
.article-body__quote cite {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--warm-sand);
  font-style: normal;
}

/* BLOC: Citation vedette (pullquote) */
.article-body__pullquote {
  text-align: center;
  padding: 48px 32px;
  margin: 48px 0;
  position: relative;
}
.article-body__pullquote::before {
  content: '\201C';
  font-family: var(--font-title);
  font-size: 5rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}
.article-body__pullquote p {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--obsidian);
  margin-bottom: 12px;
}
.article-body__pullquote cite {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

/* BLOC: Statistiques */
.article-body__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 2px solid var(--obsidian);
  border-bottom: 2px solid var(--obsidian);
}
.article-body__stat { text-align: center; }
.article-body__stat-number {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.article-body__stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--warm-sand);
}

/* BLOC: Encart (callout) */
.article-body__callout {
  padding: 24px 28px;
  margin: 36px 0;
  background: var(--chalk);
  border-left: 4px solid var(--accent-orange);
}
.article-body__callout-title {
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--obsidian);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-body__callout p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* BLOC: Tableau */
.article-body__table {
  width: 100%;
  border-collapse: collapse;
  margin: 36px 0;
  font-size: 0.88rem;
}
.article-body__table thead th {
  background: var(--obsidian);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  text-align: left;
}
.article-body__table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--separator);
  color: var(--warm-sand);
}
.article-body__table tbody tr:hover { background: var(--chalk); }

/* BLOC: Séparateur */
.article-body__separator {
  border: none;
  margin: 48px auto;
  text-align: center;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.article-body__separator::before,
.article-body__separator::after,
.article-body__separator span {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  display: block;
}

/* --- Author / Tags / Back --- */
.article-author {
  padding: 24px 0;
  border-top: 1px solid var(--separator);
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.article-author__avatar {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.article-author__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-sand);
  margin-bottom: 2px;
}
.article-author__name {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--obsidian);
}

.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--separator);
}
.article-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border: 1.5px solid var(--separator);
  color: var(--warm-sand);
  transition: all 0.2s;
}
.article-tag:hover { border-color: var(--accent); color: var(--accent); }

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
}
.article-back-link:hover { color: var(--accent); }

/* --- Reading Progress Bar --- */
.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* --- Article Responsive (tablet) --- */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .article-sidebar {
    position: relative;
    top: auto;
    order: 2;
    margin-top: 48px;
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid var(--separator);
  }
  .article-sidebar__label {
    writing-mode: horizontal-tb;
    position: static;
    margin-bottom: 16px;
  }
  .article-sidebar__list {
    flex-direction: row;
    overflow-x: auto;
    border-left: none;
    padding-left: 0;
    padding-bottom: 12px;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .article-sidebar__item { min-width: 220px; flex-shrink: 0; }
  .article-sidebar__back { padding-left: 0; }
}
/* --- Article Responsive (mobile) --- */
@media (max-width: 768px) {
  .article-hero { padding: 100px 0 24px; }
  .article-hero__title { font-size: 1.5rem; }
  .article-hero__meta { gap: 8px 12px; }
  .article-main { padding-top: 24px; }
  .article-body__dropcap { font-size: 3rem; padding-right: 8px; }
  .article-body__figure--float { float: none; max-width: 100%; margin: 28px 0; }
  .article-body__gallery { grid-template-columns: 1fr; }
  .article-body__gallery img { height: 180px; }
  .article-body__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .article-body__stat-number { font-size: 1.8rem; }
  .article-body__pullquote { padding: 36px 16px; }
  .article-body__pullquote p { font-size: 1.2rem; }
  .article-share { flex-wrap: wrap; gap: 10px; }
  .article-share__btn { width: 32px; height: 32px; }
  .article-sidebar__item { min-width: 180px; }
  .article-body__table { font-size: 0.78rem; }
  .article-body__table thead th,
  .article-body__table tbody td { padding: 8px 10px; }
  .article-body__audio { flex-direction: column; }
  .article-body__audio-cover { width: 100%; height: 160px; }
  .article-body__audio-content { padding: 16px; }
}

/* ============================================
   MOBILE SMALL (375px) — iPhone SE / compact
   ============================================ */
@media (max-width: 400px) {
  /* Typography scale-down */
  .page-hero h1 { font-size: 1.6rem; }
  .section-label { font-size: 0.65rem; }
  h2 { font-size: 1.35rem; }

  /* Container padding */
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 48px 0; }

  /* Header */
  .header__logo-img { height: 38px; }
  .header__cta .btn--sm { font-size: 0.7rem; padding: 8px 14px; }

  /* Hero */
  .hero__title { font-size: 1.8rem; }
  .hero__subtitle { font-size: 0.85rem; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Cards */
  .news-card__title { font-size: 0.95rem; }
  .prog-v3-card { padding: 24px; }
  .prog-v3-card__title { font-size: 1.3rem; }

  /* Footer */
  .footer__stat-num { font-size: 1.4rem; }
  .footer__brand-desc { font-size: 0.78rem; }
  .footer__col h4 { font-size: 0.7rem; }
  .footer__col a { font-size: 0.8rem; }

  /* Forms */
  .btn--lg { padding: 14px 28px; font-size: 0.85rem; }
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 0.9rem; }

  /* Impact counters */
  .count-up { font-size: 2rem; }

  /* Donation card */
  .donation-amounts { grid-template-columns: 1fr 1fr; }
  .donation-amount { font-size: 0.8rem; padding: 10px; }

  /* Timeline */
  .timeline-item__year { font-size: 1.3rem; }
  .timeline-item__title { font-size: 1rem; }
}

/* ============================================
   ACTIVE NAV LINK INDICATOR
   ============================================ */
.header__nav a.active {
  color: var(--accent) !important;
  position: relative;
}
.header__nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}
/* Active state for dark header variants */
.header--dark-glass .header__nav a.active,
.header--dark-transparent .header__nav a.active {
  color: var(--accent-bright) !important;
}
.header--dark-glass .header__nav a.active::after,
.header--dark-transparent .header__nav a.active::after {
  background: var(--accent-bright);
}

/* ============================================
   NAVBAR CONTRAST — text-shadow on dark bg
   ============================================ */
.header--dark-transparent .header__nav a,
.header--dark-glass .header__nav a {
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.header--dark-transparent .header__nav a:hover,
.header--dark-glass .header__nav a:hover {
  text-shadow: none;
}

/* ============================================
   SCROLL-TO-TOP BUTTON
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.scroll-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   ÉCLAIRCISSEMENT GLOBAL DU SITE
   Même système que l'accueil :
   • Heros / CTA / Footer        → vert hero-mid #1B4332 adouci, texte blanc
   • Sections de contenu sombres → clair (chalk / blanc), texte foncé
   Palette charte uniquement (chalk / blanc / accent / hero-mid).
   (L'accueil est déjà traité via body.home-soft dans index.html.)
   ════════════════════════════════════════════════════════════════════════ */

/* ---- FOOTER (toutes pages) : obsidian → vert hero-mid #1B4332 ---- */
.footer {
  background-color: #1B4332;
  background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='32' cy='32' r='8' fill='none' stroke='%232C5A45' stroke-width='1.2'/%3E%3Ccircle cx='32' cy='32' r='3' fill='none' stroke='%232C5A45' stroke-width='1'/%3E%3Cline x1='32' y1='10' x2='32' y2='24' stroke='%232C5A45' stroke-width='1'/%3E%3Cline x1='32' y1='40' x2='32' y2='54' stroke='%232C5A45' stroke-width='1'/%3E%3Cline x1='10' y1='32' x2='24' y2='32' stroke='%232C5A45' stroke-width='1'/%3E%3Cline x1='40' y1='32' x2='54' y2='32' stroke='%232C5A45' stroke-width='1'/%3E%3C/svg%3E");
}

/* ---- CTA (toutes pages) : voile vert hero-mid allégé (texte blanc) ---- */
.cta__overlay {
  background: linear-gradient(135deg, rgba(20,52,38,0.78), rgba(27,67,50,0.64));
}

/* ---- PAGE-HERO (base + toutes variantes) : vert hero-mid #1B4332 adouci ----
   Placé après les variantes : même spécificité → ce fond prime partout.
   Le texte des heros reste blanc. */
/* ════════ HEROS — vert hero-mid #1B4332, texte BLANC, sans motif ════════ */
.page-hero { background: #1B4332; }
.page-hero--light { background: var(--white); }

/* À Propos / Formation / Actualités : IMAGE PLEIN CADRE (pleine largeur) +
   voile vert dégradé par-dessus (dense en bas pour lire le texte blanc,
   transparent en haut pour voir la photo). */
.page-hero--apropos .page-hero__photo,
.page-hero--formation .page-hero__photo,
.page-hero--actu .page-hero__photo {
  width: 100%;
}
.page-hero--apropos .page-hero__photo::before,
.page-hero--formation .page-hero__photo::before,
.page-hero--actu .page-hero__photo::before {
  background: linear-gradient(to top, rgba(13,40,24,0.9) 0%, rgba(13,40,24,0.6) 35%, rgba(13,40,24,0.4) 65%, rgba(13,40,24,0.34) 100%);
}
.page-hero--apropos .page-hero__photo::after,
.page-hero--formation .page-hero__photo::after,
.page-hero--actu .page-hero__photo::after {
  display: none;
}
/* Halo sombre sur le texte (comme l'accueil) → texte blanc lisible sur toute
   photo, y compris les zones claires. */
.page-hero--apropos h1, .page-hero--formation h1, .page-hero--actu h1,
.page-hero--apropos p,  .page-hero--formation p,  .page-hero--actu p,
.page-hero--apropos .page-hero__pill, .page-hero--formation .page-hero__pill, .page-hero--actu .page-hero__pill {
  text-shadow: 0 2px 18px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.55);
}
/* Sous-titres (pills/tags) → même vert vif que le sous-titre du hero Contact */
.page-hero--apropos .page-hero__pill,
.page-hero--formation .page-hero__pill,
.page-hero--actu .page-hero__pill,
.page-hero--hub .page-hero__pill,
.page-hero--impact .page-hero__tag {
  color: var(--accent-bright);
}

/* ---- HISTOIRE (.htl, page À Propos) : section de contenu → CLAIR ---- */
.htl { background: var(--chalk); }
.htl__header-title { color: var(--obsidian); }
.htl__header-sub { color: var(--warm-sand); }
.htl__scroll-hint { color: var(--warm-sand); }
.htl__year { color: var(--obsidian); }
.htl__card { background: var(--white); border-color: var(--separator); }
.htl__item:hover .htl__card { background: rgba(9,145,56,0.06); border-color: rgba(9,145,56,0.25); }
.htl__card-title { color: var(--obsidian); }
.htl__card-desc { color: var(--warm-sand); }
.htl__arrow { border-color: rgba(10,10,10,0.2); color: var(--obsidian); }
.htl__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.htl__progress { background: rgba(10,10,10,0.1); }
.htl__counter { color: var(--warm-sand); }

/* (Formation & Actualités : traités avec À Propos ci-dessus — image plein cadre) */

/* ---- Contact (bannière photo, VALIDÉ vert) : scrim vert en haut ---- */
.page-hero--contact .page-hero__overlay {
  background: linear-gradient(180deg, rgba(13,40,24,0.55) 0%, rgba(13,40,24,0.12) 40%, transparent 100%);
}

/* ---- S'engager hero : voile vert hero-mid (texte blanc) ---- */
.engage-hero__overlay {
  background: linear-gradient(to top, rgba(13,40,24,0.66) 0%, rgba(20,52,38,0.38) 45%, rgba(20,52,38,0.20) 100%);
}

/* ---- TÉMOIGNAGE (toutes pages) : sombre → clair ---- */
.testimonial { background: var(--chalk); }
.testimonial__bg-image { opacity: 0.12; }
.testimonial__overlay { background: linear-gradient(135deg, rgba(245,245,240,0.93), rgba(9,145,56,0.06)); }
.testimonial__quote { color: var(--obsidian); }
.testimonial__name { color: var(--obsidian); }
.testimonial__org { color: var(--warm-sand); opacity: 1; }

/* ---- IMPACT-STATS : bandeau sombre → clair (valeurs vertes conservées) ---- */
.impact-stats { background: var(--chalk); }
.stats-grid__item { border-color: var(--separator); }
.stats-grid__item:hover { background: rgba(9,145,56,0.05); }
.stats-grid__label { color: var(--obsidian); }
.stats-grid__desc { color: var(--warm-sand); }

/* ---- VIDÉOTHÈQUE : section claire (le lecteur reste sombre — normal pour la vidéo) ---- */
.videotheque { background: var(--chalk); }
.videotheque .section-header h2,
.videotheque h2 { color: var(--obsidian); }
.vt-hero__overlay { background: linear-gradient(to right, transparent 40%, #1a1a1a 100%); }

/* ---- À Propos — "Mot du Président" (.pca-ed) : sombre → clair (comme la Directrice) ---- */
.pca-ed__photo::after { background: linear-gradient(90deg, transparent 60%, var(--white) 100%); }
.pca-ed__content h2 { color: var(--obsidian); }
.pca-ed__content p { color: #555; }
@media (max-width: 768px) {
  .pca-ed__photo::after { background: linear-gradient(180deg, transparent 50%, var(--white) 100%); }
}

/* ---- S'engager — "Devenir partenaire" (.engage-partenaire) : sombre → clair ---- */
.engage-partenaire {
  background-color: var(--chalk);
  color: var(--obsidian);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(10,10,10,0.04)' stroke-width='1'/%3E%3C/svg%3E");
}
.engage-partenaire__logos { border-top-color: var(--separator); }
.engage-partenaire .section-tag--white { color: var(--accent); }

/* ---- Sections "obsidian" génériques : titres/sous-titres → foncés ---- */
.section--obsidian .section-header h2 { color: var(--obsidian); }
.section--obsidian .section-header p { color: var(--warm-sand); }

/* ---- Impact — Carte "Couverture nationale" (.map-section) : sombre → clair ----
   Carte verte sur fond clair ; les petits contrôles flottants (zoom, légende)
   restent en verre sombre = UI standard, lisible sur la carte. */
:root {
  --map-bg: var(--chalk);
  --map-fill: #5FB088;
  --map-stroke: rgba(9,145,56,0.40);
  --map-hover: #099138;
}
/* Le conteneur <section class="section--dark"> de la carte → fond clair */
.section--dark { background: var(--chalk); color: var(--obsidian); }
.map-section__title { color: var(--obsidian); }
.map-section__subtitle { color: var(--warm-sand); }
.map-layout { background: var(--white); border-color: var(--separator); }
.city-dot { fill: rgba(10,10,10,0.35); }
/* Sidebar (liste des régions) */
.map-sidebar { background: var(--white); border-left-color: var(--separator); }
.sidebar__header { border-bottom-color: var(--separator); }
.sidebar__title { color: var(--obsidian); }
.sidebar__desc { color: var(--warm-sand); }
.sidebar__filters { border-bottom-color: var(--separator); background: var(--chalk); }
.filter-tab { border-color: var(--separator); color: var(--warm-sand); }
.filter-tab:hover { border-color: rgba(9,145,56,0.4); color: var(--obsidian); }
.region-item:hover { background: rgba(9,145,56,0.05); }
.region-item__name,
.region-item:hover .region-item__name { color: var(--obsidian); }
.region-item__chef { color: var(--warm-sand); }
.sidebar__list::-webkit-scrollbar-thumb { background: rgba(10,10,10,0.12); }
.sidebar__stats { border-top-color: var(--separator); background: rgba(9,145,56,0.05); }
.sidebar__stat:not(:last-child) { border-right-color: var(--separator); }
.sidebar__stat-label { color: var(--warm-sand); }

/* ---- Audit — derniers éléments sombres partagés → vert/accent ---- */
/* Section verte générique (si utilisée) */
.section--green { background: var(--chalk); color: var(--obsidian); }
.section--green .section-header h2 { color: var(--obsidian); }
.section--green .section-header p { color: var(--warm-sand); }
/* À Propos — callout "Notre Vision" : hero-dark → vert hero-mid */
.mission-ed__vision { background: #1B4332; }
/* À Propos — survols (cartes valeurs, flèches carrousel) : noir → vert/accent */
.valeur-ed-card:hover { background: #1B4332; }
.team-carousel__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
/* Articles — pagination active/survol : noir → vert accent */
.mag-pagination__btn:hover:not(:disabled),
.mag-pagination__num--active {
  background: var(--accent); border-color: var(--accent); color: var(--white);
}
/* Articles — lecteur podcast & en-têtes de tableau : obsidian → vert hero-mid */
.article-body__audio { background: #1B4332; }
.article-body__table thead th { background: #1B4332; }

/* (Impact & Hub : restent VERTS via .page-hero #1B4332 + leurs styles d'origine) */

/* ════════════════════════════════════════════════════════════════════════
   FILIGRANE KENTE — Sections anciennement sombres (devenues claires)
   Motif tissé ton-sur-ton (vert très pâle ~6%) : redonne une âme aux fonds
   clairs, en écho aux heros, sans aucune lourdeur. Statique (lecture).
   ════════════════════════════════════════════════════════════════════════ */
:root {
  --kente-weave: url("data:image/svg+xml,%3Csvg width='78' height='47' viewBox='0 0 60 36' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%230A3D1F' stroke-opacity='0.06'%3E%3Cpolyline points='0,18 10,4 20,18 30,4 40,18 50,4 60,18' stroke-width='1.1'/%3E%3Cpolyline points='0,22 10,36 20,22 30,36 40,22 50,36 60,22' stroke-width='1.1'/%3E%3Crect x='8' y='16' width='4' height='4' stroke-width='0.7'/%3E%3Crect x='28' y='16' width='4' height='4' stroke-width='0.7'/%3E%3Crect x='48' y='16' width='4' height='4' stroke-width='0.7'/%3E%3C/g%3E%3C/svg%3E");
}
.section--dark,
.impact-stats,
.htl,
.pca-ed {
  background-image: var(--kente-weave);
  background-size: 78px 47px;
}

/* ============================================================
   TRÈS PETITS ÉCRANS — jusqu'à ~280px (Galaxy Fold, etc.)
   Affine la mise en page mobile pour éviter tout débordement.
   ============================================================ */
@media (max-width: 360px) {
  /* Plus d'espace horizontal pour le contenu */
  .container { padding-left: 14px; padding-right: 14px; }
  .section { padding-top: 56px; padding-bottom: 56px; }

  /* Titres réduits pour ne pas déborder de l'écran */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
  .hero__content h1 { font-size: 1.85rem; line-height: 1.2; }
  .hero__content p { font-size: 0.95rem; }
  .section-header h2 { font-size: 1.4rem; }
  .section-header p { font-size: 0.9rem; }

  /* Couper proprement les mots longs (emails, « VIH/SIDA », URLs) */
  h1, h2, h3, h4, p, a, li, span,
  .hero__content h1, .section-header h2,
  .mag-card__title, .featured-article__title,
  .footer__contact-line span {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Toute grille multi-colonnes passe en 1 colonne */
  .stats-grid,
  .photo-gallery__grid,
  .team-grid,
  .features-grid,
  .news-grid,
  .programmes-grid,
  .footer__stats-inner,
  .footer__grid,
  .partners-reveal__list,
  .actu-grid,
  .formations-grid {
    grid-template-columns: 1fr !important;
  }

  /* Carrousel publications : carte quasi pleine largeur */
  .mag-grid > .mag-card,
  .mag-grid > .mag-card--featured { flex: 0 0 86vw; }
  .mag-card__overlay { padding: 80px 18px 18px; }
  .mag-card__title { font-size: 1.05rem; }

  /* Grands boutons d'action : pleine largeur */
  .btn--lg { width: 100%; justify-content: center; padding: 14px 16px; font-size: 0.95rem; }

  /* Champs de formulaire : jamais plus larges que l'écran */
  input, select, textarea,
  .form-input, .form-select, .form-textarea {
    max-width: 100%;
    font-size: 0.95rem;
  }

  /* Logo header un peu plus compact */
  .header__logo-img { max-height: 38px; width: auto; }

  /* Menu mobile en PLEIN ÉCRAN : à 280px, la "pousse" du contenu (78%) débordait.
     Le menu couvre tout (pas de contenu décalé visible) → une seule croix, zéro débordement. */
  .mobile-menu { width: 100%; max-width: none; }
  body.menu-open > *:not(.mobile-menu):not(.header):not(script) { transform: none; }
}
