/* =====================================================================
   ASSOCIATION LYDIE - styles.css
   Site institutionnel - Phase 1 (HTML/CSS/JS vanilla)
   Mobile-first / Accessible WCAG 2.1 AA / Compatible Elementor (phase 2)
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. VARIABLES & TOKENS DE DESIGN (mappent sur "Couleurs globales" Elementor)
   --------------------------------------------------------------------- */
:root {
  /* Couleurs institutionnelles LYDIE */
  --color-primary: #0F4C81;        /* Bleu LYDIE - confiance, institution */
  --color-primary-dark: #0A375E;
  --color-primary-light: #2E6FA5;
  --color-accent: #E4572E;         /* Orange terracotta - action, don */
  --color-accent-dark: #B33F1C;
  --color-accent-light: #F0784D;
  --color-gold: #C9A227;           /* Or doux - dignité, mise en valeur */
  --color-ivory: #F4F1EC;          /* Fond doux institutionnel */
  --color-cream: #FAF8F4;
  --color-dark: #1A1A1A;           /* Texte principal */
  --color-text: #2A2A2A;
  --color-text-soft: #555555;
  --color-muted: #8A8A8A;
  --color-border: #E5E1D9;
  --color-border-light: #EFEBE3;
  --color-white: #FFFFFF;
  --color-success: #2E7D32;
  --color-error: #C62828;
  --color-overlay: rgba(15, 76, 129, 0.78);

  /* Typographies (mappent sur "Polices globales" Elementor) */
  --font-heading: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 1rem;          /* 16px */
  --line-height-base: 1.65;
  --line-height-tight: 1.25;

  /* Échelles fluides (mobile-first, croissance maîtrisée) */
  --fs-xs: clamp(0.78rem, 0.76rem + 0.1vw, 0.84rem);
  --fs-sm: clamp(0.88rem, 0.86rem + 0.12vw, 0.94rem);
  --fs-base: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --fs-md: clamp(1.13rem, 1.08rem + 0.25vw, 1.25rem);
  --fs-lg: clamp(1.32rem, 1.22rem + 0.5vw, 1.6rem);
  --fs-xl: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --fs-2xl: clamp(2rem, 1.6rem + 2vw, 2.85rem);
  --fs-3xl: clamp(2.4rem, 1.9rem + 2.5vw, 3.6rem);

  /* Espacements (échelle 4px / 8px) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;

  /* Largeurs maximales / Containers */
  --container-max: 1240px;
  --container-narrow: 880px;
  --container-text: 720px;

  /* Rayons */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Ombres douces */
  --shadow-sm: 0 1px 2px rgba(15, 76, 129, 0.06), 0 1px 3px rgba(15, 76, 129, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 76, 129, 0.08), 0 2px 4px rgba(15, 76, 129, 0.04);
  --shadow-lg: 0 14px 32px rgba(15, 76, 129, 0.12), 0 4px 8px rgba(15, 76, 129, 0.06);
  --shadow-xl: 0 24px 48px rgba(15, 76, 129, 0.18);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 450ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Header height (pour ancre + scroll-padding) */
  --header-h: 76px;
  --header-h-mobile: 64px;

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 50;
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
}

/* ---------------------------------------------------------------------
   2. RESET MODERNE & BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img { font-style: italic; background-repeat: no-repeat; background-size: cover; }

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: none; cursor: pointer; padding: 0; }

a {
  color: var(--color-primary);
  text-decoration-color: rgba(15, 76, 129, 0.3);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
a:hover { color: var(--color-accent); text-decoration-color: var(--color-accent); }

ul, ol { padding-left: 1.25rem; }
li { margin-bottom: var(--space-2); }

/* Focus visible accessible et homogène */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Sélection */
::selection { background: var(--color-primary); color: var(--color-white); }

/* ---------------------------------------------------------------------
   3. TYPOGRAPHIE
   --------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-3xl); font-weight: 700; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); }
h6 { font-size: var(--fs-base); text-transform: uppercase; letter-spacing: 0.08em; }

p { margin-bottom: var(--space-4); max-width: 70ch; }

.lead {
  font-size: var(--fs-md);
  color: var(--color-text-soft);
  line-height: 1.55;
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

blockquote {
  border-left: 4px solid var(--color-accent);
  padding: var(--space-3) var(--space-5);
  margin: var(--space-6) 0;
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--color-primary);
  background: var(--color-ivory);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
blockquote cite {
  display: block;
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-style: normal;
  color: var(--color-text-soft);
}

/* Skip link pour accessibilité clavier */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  z-index: var(--z-toast);
  transition: top var(--t-base);
}
.skip-link:focus { top: var(--space-4); color: var(--color-white); }

/* sr-only (lecteurs d'écran uniquement) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------------------
   4. LAYOUT - CONTAINERS, SECTIONS, GRILLES
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
.container--narrow { max-width: var(--container-narrow); }
.container--text   { max-width: var(--container-text); }

@media (min-width: 768px) {
  .container { padding-inline: var(--space-6); }
}

.section {
  padding-block: var(--space-9);
}
.section--lg { padding-block: var(--space-10); }
.section--sm { padding-block: var(--space-7); }
.section--ivory   { background: var(--color-ivory); }
.section--cream   { background: var(--color-cream); }
.section--primary { background: var(--color-primary); color: var(--color-white); }
.section--primary h1, .section--primary h2, .section--primary h3 { color: var(--color-white); }
.section--primary .eyebrow { color: var(--color-accent-light); }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-8);
}
.section-header p { margin-inline: auto; }

.grid {
  display: grid;
  gap: var(--space-5);
}
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Split = colonne texte + colonne média */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 992px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-9); }
  .split--reverse > :first-child { order: 2; }
}

/* ---------------------------------------------------------------------
   5. BOUTONS (mappent sur "Boutons globaux" Elementor)
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t-base), background var(--t-base), color var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  min-height: 48px;          /* Accessibilité tactile */
  white-space: nowrap;
}
.btn:focus-visible { outline-offset: 4px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--color-accent-dark); color: var(--color-white); box-shadow: var(--shadow-lg); }

.btn--secondary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--secondary:hover { background: var(--color-primary-dark); color: var(--color-white); }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: var(--color-white); }

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
}
.btn--ghost:hover { background: rgba(15, 76, 129, 0.08); color: var(--color-primary); }

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn--white:hover { background: var(--color-ivory); color: var(--color-primary-dark); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: var(--fs-xs); min-height: 40px; }
.btn--lg { padding: 1.05rem 2rem; font-size: var(--fs-base); }
.btn--block { display: flex; width: 100%; }

.btn .icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------------------------------------------------------------------
   6. HEADER & NAVIGATION (mappe sur "Header global" Elementor)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  z-index: var(--z-header);
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-border-light);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--header-h-mobile);
}
@media (min-width: 992px) {
  .site-header__inner { height: var(--header-h); }
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-primary);
  flex-shrink: 0;
}
.brand__logo { height: 44px; width: auto; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
}
@media (max-width: 540px) {
  .brand__name { font-size: var(--fs-base); }
  .brand__sub { display: none; }
}

/* Navigation principale */
.main-nav {
  display: none;
}
@media (min-width: 992px) {
  .main-nav { display: flex; align-items: center; gap: var(--space-1); }
}
.main-nav__list {
  list-style: none;
  display: flex;
  gap: var(--space-1);
  padding: 0;
  margin: 0;
}
.main-nav__list li { margin: 0; }
.main-nav__link {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
/* Bouton "Faire un don" du header : visible en desktop uniquement */
[data-show-desktop] { display: none; }
@media (min-width: 992px) {
  [data-show-desktop] { display: inline-flex !important; }
}
.main-nav__link:hover,
.main-nav__link[aria-current="page"] {
  color: var(--color-primary);
  background: var(--color-ivory);
}
.main-nav__link[aria-current="page"] { font-weight: 600; }

/* Sous-menu déroulant accessible */
.main-nav__item--has-sub { position: relative; }
.main-nav__sub {
  position: absolute;
  top: 100%; left: 0;
  min-width: 240px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  list-style: none;
  padding: var(--space-2);
  margin: var(--space-1) 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.main-nav__item--has-sub:hover .main-nav__sub,
.main-nav__item--has-sub:focus-within .main-nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav__sub li { margin: 0; }
.main-nav__sub a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--color-text);
  text-decoration: none;
}
.main-nav__sub a:hover { background: var(--color-ivory); color: var(--color-primary); }

/* Actions header (langue + don) */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Sélecteur de langue */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--color-ivory);
  border-radius: var(--radius-full);
  padding: 4px;
}
.lang-switcher__btn {
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-soft);
  border-radius: var(--radius-full);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background var(--t-fast), color var(--t-fast);
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}
.lang-switcher__btn--active {
  background: var(--color-primary);
  color: var(--color-white);
}
.lang-switcher__btn--soon {
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}
.lang-switcher__btn--soon::after {
  content: 'Bientôt';
  position: absolute;
  bottom: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  text-transform: none;
  background: var(--color-dark);
  color: var(--color-white);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}
.lang-switcher__btn--soon:hover::after,
.lang-switcher__btn--soon:focus::after { opacity: 1; }

/* Bouton menu burger */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}
@media (min-width: 992px) { .menu-toggle { display: none; } }
.menu-toggle__bar {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background var(--t-base);
}
.menu-toggle__bar::before,
.menu-toggle__bar::after {
  content: ''; position: absolute; left: 0;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base), top var(--t-base);
}
.menu-toggle__bar::before { top: -7px; }
.menu-toggle__bar::after  { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar::after  { top: 0; transform: rotate(-45deg); }

/* Drawer mobile */
.mobile-nav {
  position: fixed;
  inset: var(--header-h-mobile) 0 0 0;
  background: var(--color-white);
  padding: var(--space-5) var(--space-4) var(--space-7);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  z-index: var(--z-overlay);
}
.mobile-nav.is-open { transform: translateX(0); }
@media (min-width: 992px) { .mobile-nav { display: none; } }
.mobile-nav__list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--color-border-light);
}
.mobile-nav__list li {
  margin: 0;
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-nav__list a {
  display: block;
  padding: var(--space-4) var(--space-2);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}
.mobile-nav__list a[aria-current="page"] { color: var(--color-primary); font-weight: 700; }
.mobile-nav__list a:hover { color: var(--color-primary); }

.mobile-nav__cta {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------------
   7. HERO (homepage et pages internes)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-block: var(--space-10) var(--space-9);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(228, 87, 46, 0.18), transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.14), transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 992px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-9); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: var(--space-4);
}
.hero__eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
}

.hero h1 {
  color: var(--color-white);
  font-size: var(--fs-3xl);
  margin-bottom: var(--space-5);
}
.hero p.hero__intro {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-md);
  max-width: 56ch;
  margin-bottom: var(--space-6);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__media-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  text-align: center;
  padding: var(--space-5);
}

.hero__badge {
  position: absolute;
  bottom: var(--space-5); left: var(--space-5);
  background: var(--color-white);
  color: var(--color-primary);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: var(--space-3);
  max-width: 240px;
}
.hero__badge-num {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.hero__badge-text {
  font-size: var(--fs-xs);
  color: var(--color-text-soft);
  line-height: 1.3;
}

/* ---------------------------------------------------------------------
   7B. SLIDER HERO ACCUEIL (vanilla, accessible)
   --------------------------------------------------------------------- */
.hero__slider {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  isolation: isolate;
}
.hero__slides {
  position: absolute; inset: 0;
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 800ms ease, transform 8000ms linear;
  z-index: 1;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero__slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 76, 129, 0.55) 100%);
  pointer-events: none;
}
.hero__slide-caption {
  position: absolute;
  left: var(--space-5); right: var(--space-5); bottom: var(--space-7);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  max-width: 320px;
  z-index: 3;
}

/* Dots / contrôles */
.hero__slider-dots {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hero__slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  transition: all 250ms ease;
}
.hero__slider-dot:hover { background: rgba(255, 255, 255, 0.7); }
.hero__slider-dot[aria-current="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  width: 28px;
  border-radius: 8px;
}

/* Flèches prev/next */
.hero__slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 250ms ease;
  opacity: 0;
}
.hero__slider:hover .hero__slider-arrow,
.hero__slider:focus-within .hero__slider-arrow {
  opacity: 1;
}
.hero__slider-arrow:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.08);
}
.hero__slider-arrow--prev { left: 12px; }
.hero__slider-arrow--next { right: 12px; }
.hero__slider-arrow svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: opacity 100ms ease; transform: none; }
  .hero__slide.is-active { transform: none; }
}

/* Figure présidente (mission section) */
.president-figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}
.president-figure__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.president-figure__caption {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(15, 76, 129, 0.94);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.president-figure__caption strong { font-family: var(--font-heading); font-size: 1rem; }
.president-figure__caption span { font-size: 0.78rem; opacity: 0.88; }

/* Hero variant pages internes — avec filigrane chemin-burkina pour plus de chaleur */
.hero--inner {
  min-height: auto;
  padding-block: var(--space-9) var(--space-8);
  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.92) 0%, rgba(10, 55, 94, 0.96) 100%),
    url('../images/photos/chemin-burkina.jpg') center/cover no-repeat;
}
.hero--inner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 25%, rgba(228, 87, 46, 0.22), transparent 55%),
    radial-gradient(circle at 15% 80%, rgba(201, 162, 39, 0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero--inner .container { position: relative; z-index: 1; }
.hero--inner h1 { font-size: var(--fs-2xl); margin-bottom: var(--space-4); }
.hero--inner .hero__inner { grid-template-columns: 1fr; }

/* Fil d'Ariane */
.breadcrumbs {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-4);
}
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: '›'; margin-right: var(--space-2); color: rgba(255, 255, 255, 0.5); }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-white); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--color-white); font-weight: 500; }

/* ---------------------------------------------------------------------
   8. CHIFFRES CLÉS (Stats)
   --------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat__value {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
  display: block;
}
.stat__label {
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
  font-weight: 500;
}

/* ---------------------------------------------------------------------
   9. CARDS (Piliers, Projets, Articles, Partenaires)
   --------------------------------------------------------------------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-border); }

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.card:hover .card__media img { transform: scale(1.04); }

.card__media-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  text-align: center;
  padding: var(--space-4);
}

.card__tag {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
  background: var(--color-white);
  color: var(--color-primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card__tag--accent { background: var(--color-accent); color: var(--color-white); }
.card__tag--success { background: var(--color-success); color: var(--color-white); }
.card__tag--gold { background: var(--color-gold); color: var(--color-white); }

.card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__meta {
  font-size: var(--fs-xs);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.card__title {
  font-size: var(--fs-md);
  margin-bottom: var(--space-3);
  color: var(--color-primary);
  line-height: 1.3;
}
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--color-accent); }

.card__excerpt {
  color: var(--color-text-soft);
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
  flex: 1;
}
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-light);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  color: var(--color-accent);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
}
.card__link::after {
  content: '→';
  transition: transform var(--t-base);
}
.card__link:hover::after { transform: translateX(4px); }

/* Card pilier (avec icône) */
.pillar {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--color-border-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 28px;
  flex-shrink: 0;
}
.pillar:nth-child(2) .pillar__icon { background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light)); }
.pillar:nth-child(3) .pillar__icon { background: linear-gradient(135deg, var(--color-gold), #DEB94A); }
.pillar:nth-child(4) .pillar__icon { background: linear-gradient(135deg, #5F8B5C, #7BAF78); }

.pillar__title {
  font-size: var(--fs-md);
  margin-bottom: var(--space-3);
}
.pillar__text {
  color: var(--color-text-soft);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
  flex: 1;
}
.pillar__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
}
.pillar__list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
  margin-bottom: var(--space-2);
}
.pillar__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--color-accent);
}

/* Barre de progression projet */
.progress {
  margin-top: auto;
  padding-top: var(--space-3);
}
.progress__label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--color-text-soft);
  margin-bottom: var(--space-2);
}
.progress__bar {
  height: 8px;
  background: var(--color-border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------------
   10. TEMOIGNAGE / STORYTELLING
   --------------------------------------------------------------------- */
.testimonial {
  position: relative;
  background: var(--color-ivory);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--color-border-light);
}
.testimonial::before {
  content: '“';
  position: absolute;
  top: -10px; left: 30px;
  font-family: var(--font-heading);
  font-size: 7rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.25;
}
.testimonial__quote {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
  line-height: 1.4;
}
.testimonial__author {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.testimonial__role {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--color-text-soft);
  text-transform: none;
  letter-spacing: 0;
  margin-top: var(--space-1);
}

/* ---------------------------------------------------------------------
   11. PARTENAIRES (logos grid)
   --------------------------------------------------------------------- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 640px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .partners-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); } }

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: var(--space-3);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: transform var(--t-base), box-shadow var(--t-base);
  text-align: center;
}
.partner-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.partner-logo span {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  font-size: var(--fs-sm);
  line-height: 1.2;
}

/* ---------------------------------------------------------------------
   12. CTA SECTIONS
   --------------------------------------------------------------------- */
.cta-block {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: var(--space-9) var(--space-6);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(228, 87, 46, 0.18), transparent 60%);
  z-index: -1;
}
.cta-block h2 { color: var(--color-white); margin-bottom: var(--space-4); }
.cta-block p { color: rgba(255, 255, 255, 0.85); margin: 0 auto var(--space-6); max-width: 60ch; }
.cta-block__buttons { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }

/* CTA don avec montants */
.donation-amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-block: var(--space-5);
}
@media (min-width: 768px) { .donation-amounts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .donation-amounts { grid-template-columns: repeat(6, 1fr); } }

.amount-btn {
  background: var(--color-white);
  color: var(--color-primary);
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-base);
  cursor: pointer;
  transition: all var(--t-base);
  text-align: center;
  min-height: 64px;
}
.amount-btn:hover,
.amount-btn.is-selected {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.amount-btn small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  margin-top: 2px;
  opacity: 0.85;
  text-transform: none;
}

/* ---------------------------------------------------------------------
   13. FORMULAIRES
   --------------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: var(--space-4); }

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.form__group { display: flex; flex-direction: column; gap: var(--space-2); }

.form__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-primary);
}
.form__label .req { color: var(--color-accent); margin-left: 2px; }

.form__hint {
  font-size: var(--fs-xs);
  color: var(--color-muted);
}

.form__input,
.form__select,
.form__textarea {
  padding: 0.85rem 1rem;
  font-size: var(--fs-base);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  min-height: 48px;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.12);
}
.form__textarea { resize: vertical; min-height: 140px; }

.form__input[aria-invalid="true"],
.form__textarea[aria-invalid="true"] {
  border-color: var(--color-error);
}

.form__error {
  font-size: var(--fs-xs);
  color: var(--color-error);
  display: none;
  font-weight: 500;
}
.form__group.has-error .form__error { display: block; }

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
  cursor: pointer;
}
.form__checkbox input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--color-primary); }

.form__honeypot { position: absolute; left: -10000px; opacity: 0; pointer-events: none; }

/* Newsletter inline */
.newsletter {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-xl);
  text-align: center;
}
.newsletter h3 { color: var(--color-white); }
.newsletter p { color: rgba(255, 255, 255, 0.85); max-width: 50ch; margin: 0 auto var(--space-5); }

/* Newsletter : grid 2 colonnes (inputs) + bouton, le checkbox spanne tout en bas */
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  max-width: 560px;
  margin: 0 auto;
  align-items: center;
}
.newsletter-form .form__input { background: var(--color-white); width: 100%; }
.newsletter-form > .form__group { margin: 0; }
.newsletter-form > .form__consent {
  grid-column: 1 / -1;
  margin-top: var(--space-1);
}
.newsletter-form > .form__consent .form__checkbox {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-xs);
  line-height: 1.4;
  text-align: left;
}
.newsletter-form > .form__consent .form__checkbox input {
  background: var(--color-white);
}
.newsletter-form .btn {
  width: 100%;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .newsletter-form {
    grid-template-columns: 1fr 1fr auto;
    gap: var(--space-3);
  }
  .newsletter-form .btn { width: auto; }
}

/* ---------------------------------------------------------------------
   14. ACCORDÉON / FAQ
   --------------------------------------------------------------------- */
.accordion {
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
}
.accordion-item + .accordion-item { border-top: 1px solid var(--color-border-light); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  transition: background var(--t-fast);
  gap: var(--space-3);
  min-height: 56px;
}
.accordion-header:hover { background: var(--color-ivory); }
.accordion-header__icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  transition: transform var(--t-base);
  color: var(--color-accent);
}
.accordion-header[aria-expanded="true"] .accordion-header__icon { transform: rotate(45deg); }

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base);
}
.accordion-header[aria-expanded="true"] + .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel > div {
  overflow: hidden;
}
.accordion-panel-content {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-text-soft);
}

/* ---------------------------------------------------------------------
   15. ONGLETS / TABS (médiathèque)
   --------------------------------------------------------------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  border-bottom: 2px solid var(--color-border-light);
  margin-bottom: var(--space-6);
  padding-bottom: 2px;
  margin-bottom: -2px;
}
.tab-btn {
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-soft);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
}
.tab-btn:hover { color: var(--color-primary); }
.tab-btn[aria-selected="true"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
  font-weight: 600;
}
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* ---------------------------------------------------------------------
   16. FILTRES (projets, mediatheque)
   --------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  background: var(--color-ivory);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}
.filters__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.filters__group label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
}
.filters__select,
.filters__search {
  padding: 0.6rem 0.8rem;
  font-size: var(--fs-sm);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  min-width: 180px;
  min-height: 40px;
}
.filters__search { min-width: 220px; }
.filters__reset {
  margin-left: auto;
  font-size: var(--fs-sm);
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 500;
}

.filter-empty {
  text-align: center;
  padding: var(--space-9) var(--space-4);
  color: var(--color-text-soft);
}

/* ---------------------------------------------------------------------
   17. ARTICLE / CONTENU LONG
   --------------------------------------------------------------------- */
.prose {
  max-width: 720px;
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--color-text);
}
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-8); }
.prose h3 { margin-top: var(--space-6); }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin-bottom: var(--space-2); }
.prose img {
  border-radius: var(--radius-md);
  margin-block: var(--space-6);
  box-shadow: var(--shadow-md);
}
.prose figure { margin-block: var(--space-6); }
.prose figcaption {
  font-size: var(--fs-xs);
  color: var(--color-muted);
  text-align: center;
  margin-top: var(--space-2);
  font-style: italic;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
}

/* ---------------------------------------------------------------------
   18. FOOTER (mappe sur "Footer global" Elementor)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.82);
  padding-block: var(--space-9) var(--space-5);
}
.site-footer h3, .site-footer h4 {
  color: var(--color-white);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-weight: 700;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color var(--t-fast);
}
.site-footer a:hover { color: var(--color-accent-light); text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-8); } }

.footer-brand img { height: 48px; margin-bottom: var(--space-4); filter: brightness(1.1); }
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: var(--fs-sm); margin-bottom: var(--space-4); }

.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: var(--space-2); font-size: var(--fs-sm); }

.footer-contact { font-size: var(--fs-sm); }
.footer-contact dt {
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 4px;
  margin-top: var(--space-3);
}
.footer-contact dt:first-child { margin-top: 0; }
.footer-contact dd { margin-left: 0; margin-bottom: var(--space-1); }

.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-bottom-links a { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.55); }

.social-links { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.social-links a {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  color: var(--color-white);
  transition: background var(--t-fast), transform var(--t-fast);
}
.social-links a:hover { background: var(--color-accent); transform: translateY(-2px); color: var(--color-white); }
.social-links svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------
   19. UTILITAIRES & FLOTTANTS
   --------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

/* Bouton retour en haut */
.back-to-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--t-base);
  z-index: var(--z-dropdown);
}
.back-to-top.is-visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

/* WhatsApp flottant */
.whatsapp-fab {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-dropdown);
  transition: transform var(--t-base);
  text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.08); color: var(--color-white); }
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab::after {
  content: '';
  position: absolute; inset: -4px;
  border: 2px solid #25D366;
  border-radius: 50%;
  opacity: 0.4;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0%   { transform: scale(1);   opacity: 0.4; }
  80%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Lightbox simple */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  z-index: var(--z-modal);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}
.lightbox__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast);
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------------------------------------------------------------------
   20. ANIMATIONS LÉGÈRES (Intersection Observer)
   --------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-delay="1"].is-visible { transition-delay: 80ms; }
[data-animate-delay="2"].is-visible { transition-delay: 160ms; }
[data-animate-delay="3"].is-visible { transition-delay: 240ms; }
[data-animate-delay="4"].is-visible { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------
   21. NOTICE LANGUE EN PRÉPARATION (version moré)
   --------------------------------------------------------------------- */

/* Bandeau persistant haut de page pour les pages MO restructurées */
.lang-preparation-banner {
  background: linear-gradient(135deg, var(--color-gold) 0%, #B5901C 100%);
  color: var(--color-white);
  padding: 10px 0;
  font-size: var(--fs-sm);
  position: relative;
  z-index: 50;
}
.lang-preparation-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  line-height: 1.4;
}
.lang-preparation-banner a {
  color: var(--color-white);
  text-decoration: underline;
  font-weight: 600;
}
.lang-preparation-banner a:hover { color: var(--color-ivory); }
.lang-preparation-banner strong { color: var(--color-white); }


.lang-notice {
  background: linear-gradient(135deg, var(--color-gold) 0%, #B5901C 100%);
  color: var(--color-white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.lang-notice strong { color: var(--color-white); }
.lang-notice__icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* ---------------------------------------------------------------------
   22. TIMELINE (impact / histoire)
   --------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: var(--space-7);
  list-style: none;
  margin: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.timeline-item {
  position: relative;
  padding-bottom: var(--space-7);
  margin: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent);
}
.timeline-item time {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.timeline-item h3 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.timeline-item p { color: var(--color-text-soft); font-size: var(--fs-sm); margin-bottom: 0; }
