/* =========================================================
   Villa Samuel — design system (v3 — thème clair, vif, animé)
   ========================================================= */

:root {
  /* Surfaces (thème clair, chaleureux) */
  --bg: #fdfbf5;
  --bg-alt: #f5ead9;
  --surface: #ffffff;
  --surface-2: #fffaf1;
  --line: #ece2cd;

  /* Bandes toujours sombres (header, footer, hero, contact, bandeau versets...) */
  --ink: #17262d;
  --ink-soft: #223640;

  /* Texte */
  --heading: #1c2a2f;
  --text: #3a4441;
  --text-soft: #6c7a76;

  /* Marque */
  --green: #3cb459;
  --green-dark: #2c9247;
  --green-bright: #2c9247;
  --green-light: #e7f6ea;
  --gold: #d9a441;
  --orange: #dd5527;
  --orange-dark: #b8431c;
  --orange-bright: #dd5527;
  --orange-light: #fbe4d3;

  --font-head: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo: "Permanent Marker", "Fraunces", cursive;

  --radius: 20px;
  --radius-lg: 36px;
  --shadow: 0 22px 48px -24px rgba(23, 38, 45, 0.22);
  --glow-green: 0 18px 40px -18px rgba(60, 180, 89, 0.4);
  --glow-orange: 0 18px 40px -18px rgba(221, 85, 39, 0.4);
  --container: 1180px;
}

/* ============ Thème sombre ============
   Même système de variables que le thème clair : en changeant uniquement
   ces jetons, tous les composants du site (déjà écrits avec var(--...))
   basculent automatiquement, sans dupliquer une seule règle CSS. */
:root[data-theme="dark"] {
  --bg: #10181c;
  --bg-alt: #172226;
  --surface: #1b262b;
  --surface-2: #202d33;
  --line: #2d3b41;

  --heading: #f4f7f5;
  --text: #cdd7d3;
  --text-soft: #93a29c;

  --green: #4ecb75;
  --green-dark: #38b563;
  --green-bright: #4ecb75;
  --green-light: rgba(78, 203, 117, 0.16);
  --orange: #ff7a4d;
  --orange-dark: #e8663a;
  --orange-bright: #ff7a4d;
  --orange-light: rgba(255, 122, 77, 0.16);

  --shadow: 0 22px 48px -20px rgba(0, 0, 0, 0.55);
  --glow-green: 0 18px 40px -16px rgba(78, 203, 117, 0.35);
  --glow-orange: 0 18px 40px -16px rgba(255, 122, 77, 0.35);
}
/* Le body a un fond explicite (voir plus bas) : la transition rend le
   basculement clair/sombre doux plutôt que brutal. */
body, .site-header, .util-btn, .lang-menu {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
@media (prefers-reduced-motion: reduce) {
  body, .site-header, .util-btn, .lang-menu { transition: none; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Dissuasion légère contre la copie des photos (voir aussi main.js) : ceci ne
   bloque ni le clic droit du navigateur au niveau système, ni une capture
   d'écran — juste la sélection/le glisser-déposer occasionnels. */
img { max-width: 100%; display: block; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
/* Mot mis en valeur dans un titre : orange, en écho au vert de marque —
   pour que l'orange se voie vraiment dans tout le site, pas que sur l'accueil. */
h1 em, h2 em, h3 em { font-style: italic; color: var(--orange); }

p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--text-soft); }

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

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.accent { color: var(--green-dark); }
.accent-orange { color: var(--orange); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  display: inline-block;
}
/* Les sections sur fond beige (celles qui portent déjà le blob décoratif orange)
   reprennent l'orange dans leur eyebrow : le vert et l'orange alternent au fil
   de la page au lieu que l'orange ne soit visible qu'à un seul endroit. */
.section--cream .eyebrow, .section--tight .eyebrow { color: var(--orange-dark); }
.section--cream .eyebrow::before, .section--tight .eyebrow::before { background: var(--orange); }

.section { padding: 88px 0; position: relative; overflow: clip; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--bg-alt); }
.section--ink {
  background: radial-gradient(ellipse 900px 420px at 50% 0%, rgba(60, 180, 89, 0.16), transparent 70%), var(--ink);
  color: #eef3f1;
}
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .text-soft { color: #b9c6c4; }

.text-center { text-align: center; }
.max-w { max-width: 680px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Touches lumineuses décoratives (accent "atypique", très subtil sur fond clair) */
.hero::before, .section--cream::before, .section--tight::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.hero::before { background: var(--green); top: -180px; right: -120px; animation: vs-float 16s ease-in-out infinite; }
.section--cream::before,
.section--tight::before { background: var(--orange); top: -60px; left: -140px; animation: vs-float 18s ease-in-out infinite reverse; }
.section > .container, .hero > .container { z-index: 1; }

@keyframes vs-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 22px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .section--cream::before, .section--tight::before { animation: none; }
}

/* ============ Animations au scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ============ Badges (pastilles) ============ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-green { background: var(--green-light); color: var(--green-dark); }
.badge-orange { background: var(--orange-light); color: var(--orange-dark); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--glow-orange); }
.btn-outline { border-color: currentColor; color: var(--orange); background: transparent; }
.btn-outline:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============ Préchargeur (logo qui respire) ============ */
#vs-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#vs-preloader img {
  width: 88px;
  height: 88px;
  animation: vs-breathe 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(60, 180, 89, 0.35));
}
#vs-preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes vs-breathe {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #vs-preloader img { animation: none; }
}

/* ============ Retour en haut ============ */
#vs-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--glow-green);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease, bottom 0.25s ease;
}
#vs-back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#vs-back-to-top:hover { background: var(--green-dark); }
#vs-back-to-top svg { width: 22px; height: 22px; }
#vs-back-to-top.banner-open { bottom: 132px; }
@media (max-width: 620px) {
  #vs-back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  #vs-back-to-top.banner-open { bottom: 190px; }
}

/* ============ Vidéo en lecture libre ============ */
.video-embed {
  position: relative;
  max-width: 860px;
  margin: 36px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.video-embed__play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
}
.video-embed__play img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
.video-embed__icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-embed__icon::before {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(23, 38, 45, 0.6);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-embed__play:hover .video-embed__icon::before { transform: scale(1.08); background: var(--green); }
.video-embed__icon svg { position: relative; width: 32px; height: 32px; color: #fff; margin-left: 4px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
/* Pas de backdrop-filter ici : sur un ancêtre d'un élément position:fixed
   (le menu mobile ci-dessous), un filtre/backdrop-filter crée un nouveau bloc
   englobant et casse son positionnement plein écran (menu tronqué). */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 60px; width: auto; }
.brand-name {
  font-family: var(--font-logo);
  color: var(--heading);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1;
}
.brand-name span {
  color: var(--green-dark);
  animation: vs-brand-cycle 6s ease-in-out infinite;
  transition: color 0.6s ease;
}
/* Voyage de couleur en 4 étapes, comme demandé : le vert du logo, qui fonce,
   puis s'estompe vers un orange foncé, puis vers un orange plus clair, avant
   de repartir vers le vert — un fondu continu, sans palier figé. */
@keyframes vs-brand-cycle {
  0%   { color: var(--green); }
  25%  { color: var(--green-dark); }
  50%  { color: var(--orange-dark); }
  75%  { color: var(--orange); }
  100% { color: var(--green); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-name span { animation: none; color: var(--green-dark); }
}

.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav ul { display: flex; align-items: center; gap: 4px; }
/* Scoped to "ul a" (and not simply "a") so the "Faire un don" button, which sits
   next to this list in the same <nav>, keeps its own white btn-primary text
   instead of inheriting this soft nav-link color. */
.primary-nav ul a {
  color: var(--text-soft);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.primary-nav ul a:hover { background: var(--green-light); color: var(--green-dark); }
/* Un lien sur deux bascule en survol orange plutôt que vert, pour mieux répartir
   les deux couleurs de la marque dans le menu. */
.primary-nav ul li:nth-child(even) a:hover { background: var(--orange-light); color: var(--orange-dark); }
.primary-nav ul .current-menu-item > a { background: var(--green-light); color: var(--green-dark); }
.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--heading);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ============ Thème clair/sombre + langue : boutons d'en-tête ============ */
.header-utility { display: flex; align-items: center; gap: 8px; margin-left: 10px; position: relative; }
.util-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.util-btn:hover { background: var(--bg-alt); transform: translateY(-1px); }
.util-btn svg { width: 19px; height: 19px; }
#vs-theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] #vs-theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] #vs-theme-toggle .icon-moon { display: block; }

.lang-switcher { position: relative; }
.lang-btn { width: auto; padding: 0 10px; gap: 6px; }
.lang-flag { font-size: 1.05rem; line-height: 1; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 6px;
  min-width: 160px;
  z-index: 70;
}
.lang-menu[hidden] { display: none; }
.lang-menu li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.lang-menu li:hover,
.lang-menu li[aria-selected="true"] { background: var(--green-light); color: var(--green-dark); }

@media (max-width: 900px) {
  .primary-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    overflow-y: auto;
    box-shadow: var(--shadow);
  }
  .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .primary-nav ul a { display: block; padding: 14px 18px; font-size: 1.05rem; }
  .header-cta { margin: 18px 0 0; }
  .header-cta .btn { width: 100%; }
  .nav-toggle { display: inline-flex; }
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  color: var(--text);
  padding: 72px 0 0;
  overflow: hidden;
  position: relative;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .eyebrow { color: var(--green-dark); }
.hero h1 { color: var(--heading); }
.hero h1 em { font-style: italic; color: var(--orange); }
.hero-copy p.lead { color: var(--text); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-verse {
  margin-top: 40px;
  padding-left: 18px;
  border-left: 3px solid var(--green);
  color: var(--text-soft);
  font-style: italic;
  max-width: 460px;
}
.hero-media { position: relative; }
.hero-media figure {
  margin: 0;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 560px; object-fit: cover; object-position: top; }
.hero-media figcaption {
  font-size: 0.85rem;
  color: var(--text-soft);
  padding: 10px 4px 0;
}

/* ============ Stats ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--glow-green); }
.stat-card .value {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--green-dark);
  font-weight: 600;
  display: block;
}
/* Alternance vert / orange sur les chiffres clés — pour que l'orange soit
   présent au même titre que le vert, pas juste en petite touche. */
.stat-card:nth-child(2) .value { color: var(--orange); }
.stat-card:nth-child(2):hover { box-shadow: var(--glow-orange); }
.stat-card .label { color: var(--text-soft); font-size: 0.95rem; margin-top: 6px; }
.stats-source { text-align: center; margin-top: 22px; font-size: 0.85rem; color: var(--text-soft); }
.stats-source a { color: var(--green-dark); text-decoration: underline; }

/* ============ Missions ============ */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 44px;
}
.mission-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.mission-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(60,180,89,0.35); }
.mission-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.mission-card p { color: var(--text-soft); font-size: 0.96rem; margin: 0; }
.mission-card.is-featured { border-color: var(--green); background: var(--green-light); }
.mission-card.is-featured:hover { box-shadow: var(--glow-orange); }

.mission-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange-dark);
}
.mission-icon svg { width: 32px; height: 32px; }
.mission-card.is-featured .mission-icon { background: var(--orange); color: #fff; }

/* Spotlight (alphabétisation) */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.spotlight figure { margin: 0; border-radius: var(--radius) var(--radius-lg) var(--radius) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.spotlight img { width: 100%; height: 460px; object-fit: cover; }
.spotlight-list { margin-top: 22px; display: grid; gap: 14px; }
.spotlight-list li { display: flex; gap: 12px; align-items: flex-start; }
.spotlight-list .dot {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  margin-top: 2px;
}

/* ============ Cards / Actu ============ */
.actu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.actu-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.actu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.actu-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.actu-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.actu-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.actu-card .date { font-size: 0.8rem; color: var(--green-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.actu-card h3 { margin: 10px 0 10px; font-size: 1.1rem; }
.actu-card p { color: var(--text-soft); font-size: 0.94rem; flex: 1; }
.actu-card .more { margin-top: 14px; font-weight: 600; color: var(--green-dark); }
.actu-empty {
  text-align: center;
  padding: 50px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--text-soft);
  margin-top: 40px;
}

/* ============ Team / two-col content ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.two-col img { width: 100%; height: 420px; object-fit: cover; }
.two-col.reverse .two-col-media { order: 2; }
/* Texte justifié pour un rendu propre et épuré sur les longs paragraphes ;
   text-align-last évite qu'une dernière ligne courte soit étirée bizarrement. */
.two-col p, .spotlight p {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.value-list { margin-top: 18px; display: grid; gap: 10px; }
.value-list li { position: relative; padding-left: 22px; color: var(--text-soft); }
.value-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}

/* ============ Adresses (Qui sommes-nous) ============ */
.address-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.address-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.address-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.address-card h3 { margin: 14px 0 8px; }
.address-card p { margin-bottom: 8px; }
.address-card .text-soft { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 0; }

blockquote.scripture {
  margin: 0;
  padding: 40px 0;
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-style: italic;
  color: #fff;
  max-width: 760px;
  margin: 0 auto;
}
blockquote.scripture cite { display: block; margin-top: 16px; font-style: normal; font-size: 0.95rem; color: var(--green); font-weight: 700; }

/* ============ Mot de la présidente ============ */
.president-word {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.president-word .eyebrow { justify-content: center; }
.president-word blockquote {
  margin: 18px 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: var(--heading);
  line-height: 1.5;
  position: relative;
}
.president-word .president-signature {
  margin: 20px 0 0;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============ Donation cards ============ */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.donate-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.donate-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.donate-card .icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
}
.donate-card .icon svg { width: 26px; height: 26px; color: var(--green-dark); }
.donate-card h3 { margin-bottom: 10px; }
.donate-card .details { color: var(--text-soft); font-size: 0.94rem; text-align: left; background: var(--bg-alt); border-radius: 10px; padding: 14px 16px; margin-top: 14px; }
.donate-card .details strong { color: var(--heading); }
.donate-note {
  margin-top: 44px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: flex-start;
}
.donate-note .num { font-family: var(--font-head); font-size: 2rem; color: var(--green-dark); }

/* ============ FAQ ============ */
.faq-group { margin-bottom: 48px; }
/* Les intitulés de groupe reprennent le traitement "eyebrow" du site (petites
   majuscules espacées) pour une bonne homogénéité — les questions elles-mêmes
   restent en minuscules/majuscules normales pour rester lisibles (mettre des
   phrases entières en capitales nuit à la lecture, surtout en français). Un
   groupe sur deux passe en orange pour répartir les deux couleurs de marque. */
.faq-group h3 {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-dark);
}
.faq-group--alt h3 { color: var(--orange-dark); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 4px;
  font-weight: 600;
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green);
  flex: none;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 20px; color: var(--text-soft); text-align: justify; text-align-last: left; hyphens: auto; }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: flex-start;
}
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.94rem; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
}
.form-field input:focus,
.form-field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form-honeypot { position: absolute; left: -9999px; }
.form-notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 0.95rem; }
.form-notice.success { background: var(--green-light); color: var(--green-dark); }
.form-notice.error { background: #fbe7e6; color: #a3312a; }

.contact-info-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card .row { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-info-card .row svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.contact-info-card .row a, .contact-info-card .row span { color: #dbe4e1; font-size: 0.96rem; }
.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.social-row a:hover { background: var(--green); border-color: var(--green); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; color: #fff; }

/* ============ CTA band ============ */
.cta-band {
  background: var(--green);
  color: #06210f;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--glow-green);
}
.cta-band h2 { color: #06210f; margin-bottom: 4px; }
.cta-band .btn-primary { background: var(--ink); }
.cta-band .btn-primary:hover { background: #06210f; }

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: #cfd9d6; padding: 70px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #9fb0ac; font-size: 0.92rem; margin-top: 14px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #cfd9d6; font-size: 0.95rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #8a9a97;
}
.footer-bottom a { color: #8a9a97; text-decoration: underline; }
.footer-bottom .credit a { color: var(--green); text-decoration: none; }

/* ============ Legal / generic page ============ */
.prose { max-width: 780px; }
/* :not(.lead) laisse intacts les chapeaux centrés (ex. l'intro de la FAQ sur
   Contact, qui partage ce conteneur) ; le reste (mentions légales, etc.) est
   justifié pour un rendu net. */
.prose p:not(.lead) { text-align: justify; text-align-last: left; hyphens: auto; }
.prose h2 { margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose ul li { margin-bottom: 0.4em; }
.prose code { background: var(--bg-alt); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }

.page-header {
  background: var(--bg-alt);
  color: var(--text);
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-header h1 { color: var(--heading); margin-bottom: 10px; }
.page-header p { color: var(--text-soft); max-width: 620px; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: 380px; }
  .missions-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .actu-grid, .donate-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .spotlight, .two-col, .contact-grid, .address-cards { grid-template-columns: 1fr; }
  .two-col.reverse .two-col-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .missions-grid { grid-template-columns: 1fr; }
  .stats-grid, .actu-grid, .donate-grid { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 26px; }
  .donate-note { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; }
}

/* ============ Bandeau cookies ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--ink);
  color: #eef3f1;
  padding: 20px 24px;
  box-shadow: 0 -14px 34px -14px rgba(0,0,0,0.3);
  transform: translateY(115%);
  transition: transform 0.35s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: #d6ded9; max-width: 620px; }
.cookie-banner p a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-actions .btn { padding: 11px 22px; font-size: 0.9rem; }
.cookie-actions .btn-outline { border-color: rgba(255,255,255,0.35); color: #fff; }
.cookie-actions .btn-outline:hover { background: rgba(255,255,255,0.14); color: #fff; }
@media (max-width: 620px) {
  .cookie-banner .container { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}
