﻿/* ════════════════════════════════════════════════════════════════
   JAFAN MINISTRIES - style.css
   Architecture : Mobile First · WCAG AA · CSS Custom Properties
   Palette : --primary #083E77 · --gold #c9973a · --cream #FAF6EF · --red #eb4a41
   ════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   1. VARIABLES GLOBALES
───────────────────────────────────────────── */
:root {
  /* Couleurs principales */
  --primary:        #083E77;
  --blue:           #083E77; /* alias requis par les inline-styles du HTML */
  --gold:           #c9973a;
  --cream:          #FAF6EF;
  --red:            #eb4a41;
  --white:          #ffffff;

  /* Nuances primaires */
  --primary-50:     #e8f0fb;
  --primary-100:    #c5d9f5;
  --primary-200:    #94b8eb;
  --primary-light:  #1a5fa8;
  --primary-dark:   #052d58;
  --primary-darker: #031b38;
  --primary-a10:    rgba(8, 62, 119, 0.10);
  --primary-a15:    rgba(8, 62, 119, 0.15);
  --primary-a20:    rgba(8, 62, 119, 0.20);
  --primary-a60:    rgba(8, 62, 119, 0.60);
  --primary-a90:    rgba(8, 62, 119, 0.90);

  /* Nuances gold */
  --gold-light:     #deb762;
  --gold-pale:      rgba(201, 151, 58, 0.12);
  --gold-a30:       rgba(201, 151, 58, 0.30);

  /* Nuances red */
  --red-light:      #f07169;
  --red-pale:       rgba(235, 74, 65, 0.12);
  --red-dark:       #c73830;

  /* Surfaces / Neutres */
  --surface:        #FAF6EF;
  --surface-2:      #f0e8d8;
  --border:         rgba(8, 62, 119, 0.10);
  --border-light:   rgba(8, 62, 119, 0.06);

  /* Texte */
  --text:           #0c1d38;
  --text-muted:     #4a6285;
  --text-light:     #7a95b4;
  --text-on-dark:   rgba(255, 255, 255, 0.82);

  /* WhatsApp */
  --wa:             #25D366;
  --wa-dark:        #1da851;
  --wa-darker:      #158a43;

  /* Typographie */
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-sub:  'Poppins',    system-ui, sans-serif;
  --font-body: 'Inter',      system-ui, sans-serif;

  /* Espacement section */
  --section-py: clamp(56px, 8vw, 104px);
  --container-px: clamp(16px, 4vw, 32px);
  --container-max: 1200px;

  /* Rayons */
  --r-xs: 4px;
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Ombres */
  --sh-xs: 0 1px 4px rgba(8, 62, 119, 0.06);
  --sh-sm: 0 2px 10px rgba(8, 62, 119, 0.08);
  --sh:    0 4px 24px rgba(8, 62, 119, 0.11);
  --sh-lg: 0 8px 48px rgba(8, 62, 119, 0.16);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.35s;

  /* Hauteurs fixes */
  --nav-h:     72px;
  --mob-nav-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  padding-bottom: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

address { font-style: normal; }

/* ─────────────────────────────────────────────
   3. ACCESSIBILITÉ
───────────────────────────────────────────── */
.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;
}

/* Lien d'évitement (skip link) - WCAG 2.4.1 */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  text-decoration: none;
  white-space: nowrap;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rv, .rv-r, .rv-l, .rv-s { opacity: 1 !important; transform: none !important; }
}

/* ─────────────────────────────────────────────
   4. UTILITAIRES
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.tc  { text-align: center; }
.ma  { margin-inline: auto; }

.flex        { display: flex; }
.fw          { flex-wrap: wrap; }
.gap-14      { gap: 14px; }
.gap-16      { gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }

.mt-20 { margin-top: 20px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }

/* ─────────────────────────────────────────────
   5. TYPOGRAPHIE
───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--text);
}

p { line-height: 1.75; }

/* Label pill (section eyebrow) */
.lbl {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-a10);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* Titre de section */
.title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}

.title em {
  font-style: normal;
  color: var(--primary);
}

/* Texte intro */
.lead {
  font-family: var(--font-sub);
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 8px;
}

/* Séparateur décoratif */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 28px;
}

/* Blockquote */
blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--gold-pale);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-sub);
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   6. ICÔNES LUCIDE
───────────────────────────────────────────── */
.icon    { width: 18px; height: 18px; flex-shrink: 0; }
.icon-xs { width: 14px; height: 14px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-md { width: 22px; height: 22px; flex-shrink: 0; }
.icon-lg { width: 28px; height: 28px; flex-shrink: 0; }
.icon-xl { width: 40px; height: 40px; flex-shrink: 0; }

/* ─────────────────────────────────────────────
   7. BOUTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--r);
  border: 2px solid transparent;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform 0.18s var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Bouton principal bleu */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(8, 62, 119, 0.25);
}
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  box-shadow: 0 6px 24px rgba(8, 62, 119, 0.35);
}

/* Bouton gold */
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 151, 58, 0.30);
}
.btn-gold:hover {
  background: rgb(218, 167, 70);
  border-color: rgb(218, 167, 70);
  box-shadow: 0 6px 24px rgba(201, 151, 58, 0.40);
}

/* Bouton ghost */
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.50);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

/* Bouton WhatsApp */
.btn-wa {
  background: var(--wa);
  color: var(--white);
  border-color: var(--wa);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}
.btn-wa:hover {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

/* Nav CTA */
.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--r);
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--dur) var(--ease), transform 0.18s var(--ease);
}
.nav-cta:hover {
  background: rgb(218, 167, 70);
  transform: translateY(-1px);
}

/* Bouton prière */
.btn-prayer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--r);
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform 0.18s;
}
.btn-prayer:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Grand bouton WhatsApp (wa-community) */
.btn-wa-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--r-lg);
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: background var(--dur), transform 0.18s, box-shadow var(--dur);
}
.btn-wa-lg:hover {
  background: var(--wa-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.45);
}

/* Bouton don */
.btn-don {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--r);
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  box-shadow: 0 4px 16px rgba(201, 151, 58, 0.28);
  transition: background var(--dur), transform 0.18s, box-shadow var(--dur);
}
.btn-don:hover {
  background: rgb(218, 167, 70);
  border-color: rgb(218, 167, 70);
  transform: translateY(-2px);
}

/* Programme CTA lien */
.prog-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 16px;
  transition: gap 0.2s;
}
.prog-cta:hover { gap: 10px; }

/* ─────────────────────────────────────────────
   8. PRELOADER
───────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-darker);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 9999;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pre-circle {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.pre-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
}

.pre-sub {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────────────
   9. BARRE DE PROGRESSION SCROLL
───────────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  z-index: 9998;
  transition: width 0.1s linear;
}

/* ─────────────────────────────────────────────
   10. NAVIGATION
───────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              height var(--dur) var(--ease);
  background: transparent;
}

#main-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), var(--sh-sm);
  height: 64px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.nav-logo-text { display: none; }

/* Liens desktop */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--white);
  transition: color var(--dur), background var(--dur);
  white-space: nowrap;
}

#main-nav.scrolled .nav-links a { color: var(--text); }

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.12);
}

#main-nav.scrolled .nav-links a:hover,
#main-nav.scrolled .nav-links a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-a10);
}

/* Zone droite */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Toggle langue */
#lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}

#main-nav.scrolled #lang-toggle {
  background: var(--primary-a10);
}

.lang-btn {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 16px;
  color: rgba(255,255,255,0.7);
  background: transparent;
  transition: background var(--dur), color var(--dur);
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
}

#main-nav.scrolled .lang-btn { color: var(--text-muted); }

.lang-btn.active,
.lang-btn[aria-pressed="true"] {
  background: var(--primary);
  color: var(--white);
}

#main-nav.scrolled .lang-btn.active { background: var(--primary); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  transition: background var(--dur);
  flex-shrink: 0;
}

#main-nav.scrolled .hamburger { background: var(--primary-a10); }
.hamburger:hover { background: rgba(255,255,255,0.25); }
#main-nav.scrolled .hamburger:hover { background: var(--primary-a20); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}

#main-nav.scrolled .hamburger span { background: var(--primary); }

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─────────────────────────────────────────────
   11. DRAWER MOBILE
───────────────────────────────────────────── */
#drawer {
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
  visibility: hidden;
}

#drawer.open {
  pointer-events: all;
  visibility: visible;
}

.drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(3, 27, 56, 0.60);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  backdrop-filter: blur(4px);
}

#drawer.open .drawer-bg { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--white);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(8, 62, 119, 0.15);
}

#drawer.open .drawer-panel { transform: translateX(0); }

.drawer-close {
  align-self: flex-end;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-bottom: 16px;
  transition: background var(--dur);
}
.drawer-close:hover { background: var(--primary-a10); }

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: background var(--dur), color var(--dur);
}

.drawer-nav a:hover { background: var(--primary-a10); color: var(--primary); }

.drawer-nav .drawer-cta {
  margin-top: 8px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--r);
  font-weight: 600;
}
.drawer-nav .drawer-cta:hover { background: rgb(218,167,70); color: var(--white); }

/* ─────────────────────────────────────────────
   12. SECTIONS - RYTHME GÉNÉRAL
───────────────────────────────────────────── */
section,
.stats-band,
.verse-banner,
.wa-community,
.prayer-strip,
.don-band,
.nl-bar {
  padding-block: var(--section-py);
}

.bg-surface { background: var(--surface); }

/* ─────────────────────────────────────────────
   13. HERO (index.html)
───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('/assets/hero-home.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-block: calc(var(--nav-h) + 40px) 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 20, 50, 0.82) 0%,
    rgba(10, 20, 50, 0.65) 50%,
    rgba(10, 20, 50, 0.50) 100%
  );
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 760px;
  padding-inline: var(--container-px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold-a30), transparent);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(46px, 7vw, 90px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--gold-light);
}

.hero-sub {
  font-family: var(--font-sub);
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-on-dark);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-verse {
  font-family: var(--font-sub);
  font-size: clamp(16px, 2.4vw, 21px);
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 0 10px;
  padding-left: 18px;
  border-left: 3px solid var(--gold-light);
}

.hero-verse p {
  margin: 0;
}

.hero-verse cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 10px;
}

.hero-mini {
  font-family: var(--font-sub);
  font-size: clamp(12px, 1.5vw, 14px);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-sub);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-dot {
  width: 4px;
  height: 20px;
  background: linear-gradient(to bottom, var(--gold-a30), transparent);
  border-radius: 2px;
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(6px); opacity: 0.4; }
}

/* ─────────────────────────────────────────────
   14. STATS BAND
───────────────────────────────────────────── */
.stats-band {
  background: var(--primary-darker);
  padding-block: 40px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r);
  overflow: hidden;
}

.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: var(--primary-darker);
  text-align: center;
  transition: background var(--dur);
}

.stat-cell:hover { background: rgba(255,255,255,0.04); }

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: flex-start;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-unit {
  font-size: 0.5em;
  color: var(--gold);
  margin-top: 6px;
  font-weight: 700;
}

.stat-lbl {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   15. ABOUT / FONDATEUR - GRILLE 2 COLONNES
───────────────────────────────────────────── */
.about-grid,
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

/* Image with overlay + badge */
.about-img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
}

/* Founder portrait - blue frame with head overflowing above */
.founder-portrait {
  position: relative;
  overflow: visible;
}

.founder-portrait::before {
  content: '';
  position: absolute;
  top: 26%;
  left: -14px;
  right: -14px;
  bottom: 0;
  background: var(--blue);
  border-radius: var(--r-lg);
  z-index: 0;
}

.founder-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
}

.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(3, 27, 56, 0.55) 100%
  );
  border-radius: var(--r-lg);
}

.about-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  text-align: center;
  box-shadow: var(--sh);
}

.about-badge-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.about-badge-lbl {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  line-height: 1.4;
}

/* Values inline list */
.values-inline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.value-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.value-row-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--primary-a10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur), color var(--dur);
}

.value-row:hover .value-row-icon {
  background: var(--primary);
  color: var(--white);
}

.value-row h4 {
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.value-row p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   16. VERSE BANNER
───────────────────────────────────────────── */
.verse-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  padding-block: clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.verse-banner::before,
.verse-banner::after {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(200px, 28vw, 340px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.verse-banner::before {
  content: '\201C';
  top: -40px;
  left: 2%;
}

.verse-banner::after {
  content: '\201D';
  bottom: -100px;
  right: 2%;
}

.verse-banner-inner {
  position: relative;
  z-index: 1;
}

.verse-text {
  font-family: var(--font-sub);
  font-size: clamp(17px, 2.5vw, 22px);
  font-style: italic;
  color: var(--white);
  line-height: 1.7;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────
   17. DEPARTMENTS
───────────────────────────────────────────── */
.dept-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 48px;
}

.dept-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  text-decoration: none;
  color: var(--text);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur);
  position: relative;
  overflow: hidden;
}

.dept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur) var(--ease);
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--primary-a20);
}

.dept-card:hover::before { transform: scaleY(1); }

.dept-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--primary-a10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: background var(--dur), color var(--dur);
}

.dept-card:hover .dept-card-icon {
  background: var(--primary);
  color: var(--white);
}

.dept-acronym {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.dept-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.dept-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.dept-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 8px;
  transition: gap 0.2s;
}

.dept-card:hover .dept-arrow { gap: 10px; }

/* ─────────────────────────────────────────────
   18. CARTES GÉNÉRIQUES (Vision/Mission/Foi)
───────────────────────────────────────────── */
.g2, .g3, .g4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--primary-a10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background var(--dur), color var(--dur);
}

.card:hover .card-icon {
  background: var(--primary);
  color: var(--white);
}

.card h4 {
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─────────────────────────────────────────────
   19. TÉMOIGNAGES
───────────────────────────────────────────── */
.test-section {
  background: linear-gradient(160deg, var(--primary-dark), var(--primary-darker));
}

.test-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

.test-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
  transition: background var(--dur);
}

.test-card:hover { background: rgba(255,255,255,0.09); }

.tq {
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 0.6;
  color: var(--gold-a30);
  margin-bottom: 12px;
  user-select: none;
}

.test-text {
  font-family: var(--font-sub);
  font-size: 15px;
  color: var(--text-on-dark);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-a30);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.ta-name {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.ta-role {
  font-family: var(--font-sub);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ─────────────────────────────────────────────
   20. GALERIE
───────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.gal-item {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--surface-2);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
  display: block;
}

.gal-item:hover img { transform: scale(1.06); }

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,27,56,0.72) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--dur);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.gal-item:hover .gal-overlay { opacity: 1; }

.gal-label {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
}

/* ─────────────────────────────────────────────
   21. LIGHTBOX
───────────────────────────────────────────── */
#lb {
  position: fixed;
  inset: 0;
  background: rgba(3, 14, 31, 0.96);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

#lb.open {
  opacity: 1;
  visibility: visible;
}

.lb-content {
  position: relative;
  width: min(90vw, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lb-x {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur);
}
.lb-x:hover { background: rgba(255,255,255,0.22); }

.lb-vis img {
  border-radius: var(--r);
  max-height: 72vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  box-shadow: var(--sh-lg);
}

.lb-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-inline: 4px;
}

.lb-cap {
  font-family: var(--font-sub);
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.lb-cnt {
  font-family: var(--font-sub);
  font-size: 13px;
  color: rgba(255,255,255,0.40);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur), transform 0.2s;
}
.lb-nav:hover { background: rgba(255,255,255,0.22); }

.lb-prev { left: -56px; }
.lb-next { right: -56px; }

/* ─────────────────────────────────────────────
   22. WHATSAPP COMMUNITY
───────────────────────────────────────────── */
.wa-community {
  background: var(--primary);
  padding-block: var(--section-py);
}

.wa-comm-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

/* Badge */
.wa-comm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 151, 58, 0.15);
  color: var(--gold);
  border: 1px solid rgba(201, 151, 58, 0.35);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 11px;
  font-family: var(--font-sub);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.wa-comm-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.wa-comm-desc {
  font-family: var(--font-sub);
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 28px;
}

/* Liste des avantages */
.wa-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.wa-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sub);
  font-size: 14px;
  color: rgba(255,255,255,0.80);
  line-height: 1.5;
}

.wa-benefits strong {
  color: var(--white);
}

.wa-benefit-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(201, 151, 58, 0.18);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Stats */
.wa-numbers {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.wa-stat { text-align: left; }

.wa-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.wa-stat-lbl {
  font-family: var(--font-sub);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Carte CTA */
.wa-comm-cta-wrap {
  display: flex;
  justify-content: center;
}

.wa-cta-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  backdrop-filter: blur(8px);
}

/* Aperçu bulles de chat */
.wa-cta-preview {
  width: 100%;
  background: #ddd8c4;
  border-radius: var(--r);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-bubble {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 88%;
  color: #1a1a1a;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}

.wa-bubble--in {
  background: var(--white);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.wa-bubble--out {
  background: #dcf8c6;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.wa-cta-note {
  font-family: var(--font-sub);
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  margin-top: -8px;
}

.wa-cta-card .btn-wa-lg {
  width: 100%;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .wa-comm-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .wa-cta-card {
    max-width: 100%;
  }
  .wa-stat { text-align: center; }
  .wa-numbers { justify-content: center; }
}

/* ─────────────────────────────────────────────
   23. PRAYER STRIP
───────────────────────────────────────────── */
.prayer-strip {
  background: var(--primary);
  text-align: center;
  padding-block: clamp(48px, 6vw, 72px);
}

.prayer-strip h3 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.prayer-strip p {
  font-family: var(--font-sub);
  font-size: 15px;
  color: var(--text-on-dark);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   24. DON BAND
───────────────────────────────────────────── */
.don-band {
  background: linear-gradient(135deg, var(--gold-pale), var(--surface));
  border-top: 1px solid var(--gold-a30);
  border-bottom: 1px solid var(--gold-a30);
}

.don-band-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.don-band-text h4 {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.don-band-text h4 em {
  font-style: normal;
  color: var(--gold);
}

.don-band-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 500px;
}

.don-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─────────────────────────────────────────────
   25. NEWSLETTER BAR
───────────────────────────────────────────── */
.nl-bar {
  background: var(--primary-darker);
  padding-block: 40px;
}

.nl-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nl-text h3 {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.nl-text p {
  font-family: var(--font-sub);
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  line-height: 1.6;
}

.nl-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nl-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color var(--dur), background var(--dur);
}

.nl-form input[type="email"]::placeholder { color: rgba(255,255,255,0.40); }

.nl-form input[type="email"]:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
}

.nl-ok {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 14px;
  color: var(--white);
  padding: 10px 0;
}

.nl-ok.show { display: flex; }

/* ─────────────────────────────────────────────
   26. PARTNER CTA
───────────────────────────────────────────── */
.partner-cta {
  background: var(--primary-a10);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 80px) clamp(24px, 4vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pct-icon {
  margin-bottom: 8px;
}

.partner-cta .lbl { margin-bottom: 8px; }

.partner-cta .title { margin-bottom: 12px; }

/* ─────────────────────────────────────────────
   27. FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: var(--primary-darker);
  padding-top: clamp(48px, 6vw, 80px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-family: var(--font-sub);
  font-size: 14px;
  color: rgba(255,255,255,0.50);
  line-height: 1.7;
  max-width: 320px;
}

.social-row {
  display: flex;
  gap: 8px;
}

.soc {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur), color var(--dur), transform 0.18s;
}

.soc:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h5 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.footer-col a {
  font-family: var(--font-sub);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--dur);
  line-height: 1.5;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-block: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.footer-bottom span {
  font-family: var(--font-sub);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-motto {
  font-style: italic;
  color: rgba(255,255,255,0.25) !important;
}

/* ─────────────────────────────────────────────
   28. MODALS (Prière + Newsletter)
───────────────────────────────────────────── */
.modal-bd {
  position: fixed;
  inset: 0;
  background: rgba(3, 14, 31, 0.72);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  backdrop-filter: blur(4px);
}

.modal-bd.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px 32px;
  width: 100%;
  max-width: 480px;
  position: relative;
  box-shadow: var(--sh-lg);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform 0.35s var(--ease);
}

.modal-bd.open .modal-box { transform: translateY(0); }

.modal-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur);
}
.modal-x:hover { background: var(--primary-a10); color: var(--primary); }

.modal-box h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Form Groups */
.fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.fg label {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.fg input,
.fg textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--dur), box-shadow var(--dur);
  width: 100%;
  resize: vertical;
}

.fg input:focus,
.fg textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-a10);
}

.fg input.error,
.fg textarea.error { border-color: #e05252; }

.fg-err {
  font-family: var(--font-sub);
  font-size: 12px;
  color: #e05252;
  display: none;
}

.fg-err.show { display: block; }

/* Confirmation formulaire */
.form-ok {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px 0;
}

.form-ok.show { display: flex; }

.form-ok-icon { margin-bottom: 4px; }

.form-ok h4 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.form-ok p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   29. NEWSLETTER MODAL (pop-up)
───────────────────────────────────────────── */
#nl-modal {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--border);
  z-index: 800;
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
  max-width: 420px;
}

#nl-modal.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nl-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur);
}
.nl-modal-close:hover { background: var(--primary-a10); }

.nl-modal-icon { margin-bottom: 8px; }

#nl-modal h4 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

#nl-modal p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.nl-modal-form {
  display: flex;
  gap: 8px;
}

.nl-modal-form input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color var(--dur);
}
.nl-modal-form input[type="email"]:focus { border-color: var(--primary); }

/* ─────────────────────────────────────────────
   30. STICKY CTA + BACK TO TOP + TOAST + WA FAB
───────────────────────────────────────────── */
/* Sticky CTA */
#sticky-cta {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 700;
  transform: translateX(-80px);
  opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}

#sticky-cta.show {
  transform: translateX(0);
  opacity: 1;
}

.sticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--sh);
  text-decoration: none;
  justify-content: center;
  overflow: hidden;
  font-family: var(--font-sub);
  font-size: 9px;
  font-weight: 600;
  transition: background var(--dur), transform 0.18s, box-shadow var(--dur);
}
.sticky-btn:hover {
  background: var(--primary-light);
  transform: scale(1.08);
  box-shadow: var(--sh-lg);
}

/* WhatsApp FAB */
#wa-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 700;
  transform: translateX(80px);
  opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}

#wa-fab.show {
  transform: translateX(0);
  opacity: 1;
}

.wa-fab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: var(--white);
  border-radius: 28px;
  padding: 12px 16px 12px 14px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  text-decoration: none;
  transition: background var(--dur), transform 0.18s, box-shadow var(--dur);
}
.wa-fab-btn:hover {
  background: var(--wa-dark);
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}

.wa-fab-label {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  display: none;
}

/* Download livret */
#btt {
  position: fixed;
  right: 16px;
  bottom: 76px;
  z-index: 700;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-sm);
  transform: translateY(80px);
  opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur),
              background var(--dur), color var(--dur);
  cursor: pointer;
  text-decoration: none;
}

#btt.show {
  transform: translateY(0);
  opacity: 1;
}

#btt:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

#btt::after {
  content: "Télécharger le livret";
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur);
}

#btt:hover::after {
  opacity: 1;
}

/* Toast */
#toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: var(--text);
  color: var(--white);
  border-radius: var(--r);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--sh-lg);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: transform var(--dur) var(--ease), opacity var(--dur), visibility var(--dur);
  white-space: nowrap;
}

#toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.t-ic { color: var(--wa); }


/* ─────────────────────────────────────────────
   32. PAGE TRANSITION
───────────────────────────────────────────── */
#page-transition {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
}

.pt-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  background: var(--primary-darker);
  transition: height 0.4s var(--ease);
}

.pt-bar.top    { top: 0; }
.pt-bar.bottom { bottom: 0; }

#page-transition.leaving .pt-bar { height: 50%; }

/* ─────────────────────────────────────────────
   33. PAGE HERO (pages internes)
───────────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: clamp(400px, 55vh, 560px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding-block: calc(var(--nav-h) + 48px) 64px;
  overflow: hidden;
}

.ph-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 20, 50, 0.82) 0%,
    rgba(10, 20, 50, 0.65) 50%,
    rgba(10, 20, 50, 0.50) 100%
  );
}

.ph-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--container-px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.ph-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sub);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}

.ph-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--dur);
}
.ph-breadcrumb a:hover { color: var(--white); }

.ph-breadcrumb span { color: rgba(255,255,255,0.75); }

.ph-eyebrow {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.ph-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ph-title em {
  font-style: normal;
  color: var(--gold-light);
}

.ph-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.ph-sub {
  font-family: var(--font-sub);
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-on-dark);
  line-height: 1.7;
  max-width: 540px;
}

/* ─────────────────────────────────────────────
   34. TIMELINE (DYHACR)
───────────────────────────────────────────── */
.timeline {
  position: relative;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-a15), var(--border));
}

.tl-item {
  position: relative;
  padding-left: 56px;
  padding-bottom: 40px;
}

.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: 10px;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px var(--primary-a10);
  z-index: 1;
  transition: background var(--dur), border-color var(--dur);
}

.tl-item:hover .tl-dot {
  background: var(--gold);
  border-color: var(--gold);
}

.tl-date {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tl-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 20px;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--dur);
}

.tl-item:hover .tl-body { box-shadow: var(--sh); }

.tl-body h5 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.tl-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.tl-img {
  width: 100%;
  border-radius: var(--r-sm);
  object-fit: cover;
  max-height: 200px;
}

.tl-events {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tl-events li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  padding-left: 14px;
  position: relative;
}

.tl-events li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.tl-ev-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-right: 4px;
}

/* ─────────────────────────────────────────────
   35. PROGRAMMES AWE
───────────────────────────────────────────── */
.prog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.prog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur);
  box-shadow: var(--sh-xs);
}

.prog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}

.prog-card-feat {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(201,151,58,0.04) 0%, var(--white) 60%);
}

.prog-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sub);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prog-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-a10);
  line-height: 1;
  margin-bottom: -8px;
  user-select: none;
}

.prog-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--primary-a10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: background var(--dur), color var(--dur);
}

.prog-card:hover .prog-icon {
  background: var(--primary);
  color: var(--white);
}

.prog-card-feat .prog-icon {
  background: var(--gold-pale);
  color: var(--gold);
}

.prog-card-feat:hover .prog-icon {
  background: var(--gold);
  color: var(--white);
}

.prog-card h4 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.prog-dur {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prog-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.prog-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
  flex: 1;
}

.prog-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 13px;
  color: var(--text-muted);
}

.prog-list li svg { color: var(--primary); flex-shrink: 0; }

/* ─────────────────────────────────────────────
   36. SCHEDULE GRID (AWE + Église)
───────────────────────────────────────────── */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.schedule-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 28px 24px;
  box-shadow: var(--sh-xs);
  transition: transform var(--dur), box-shadow var(--dur);
}

.schedule-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
}

.schedule-day {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.schedule-time {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}

.schedule-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.sc-tag {
  display: inline-block;
  margin-top: 12px;
  background: var(--primary-a10);
  color: var(--primary);
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

/* Pull quote AWE */
.pull-quote {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--gold-pale);
  border-radius: var(--r-lg);
}

.pq-line {
  width: 4px;
  min-height: 60px;
  border-radius: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.pq-text {
  font-family: var(--font-sub);
  font-size: 16px;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.pq-ref {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────
   TEAM CAROUSEL (JSI)
───────────────────────────────────────────── */
.tcar-root {
  /* --cw : largeur de la carte · --tx : décalage des cartes latérales */
  --cw: clamp(260px, 28vw, 360px);
  --tx: calc(var(--cw) * 1.06);
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcar-viewport {
  flex: 1;
  overflow: hidden;
}

.tcar-stage {
  position: relative;
  height: calc(var(--cw) + 130px);
}

.tcar-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--cw);
  margin-left: calc(var(--cw) / -2);
  transition:
    transform 0.44s linear,
    filter    0.44s linear,
    opacity   0.44s linear;
}

.tcar-slot.no-transition { transition: none !important; }

.tcar-slot[data-pos="-2"] {
  transform: translate(calc(-2 * var(--tx)), -50%) scale(0.62);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.tcar-slot[data-pos="-1"] {
  transform: translate(calc(-1 * var(--tx)), -50%) scale(0.85);
  filter: grayscale(1);
  opacity: 0.75;
  z-index: 1;
}
.tcar-slot[data-pos="0"] {
  transform: translate(0, -50%) scale(1.12);
  filter: none;
  opacity: 1;
  z-index: 3;
}
.tcar-slot[data-pos="1"] {
  transform: translate(var(--tx), -50%) scale(0.85);
  filter: grayscale(1);
  opacity: 0.75;
  z-index: 1;
}
.tcar-slot[data-pos="2"] {
  transform: translate(calc(2 * var(--tx)), -50%) scale(0.62);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.tcar-card-inner {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 28px rgba(0,0,0,.10);
}

.tcar-avatar-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--primary-a10);
}

.tcar-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: filter 0.44s linear;
}

/* Initiales (fallback sans photo) */
.tcar-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: var(--font-head);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: .04em;
  user-select: none;
}

.tcar-info {
  padding: 16px 14px 20px;
}

.tcar-name {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: clamp(13px, 1.3vw, 16px);
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.3;
}

.tcar-role {
  font-size: clamp(10px, 1vw, 12px);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  line-height: 1.4;
}

.tcar-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
  color: var(--text-muted);
}

.tcar-arrow:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.tcar-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.tcar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background var(--dur), transform var(--dur);
  border: none;
  padding: 0;
}

.tcar-dot.active {
  background: var(--primary);
  transform: scale(1.5);
}

/* Mobile : seul le centre affiché, pleine couleur */
@media (max-width: 640px) {
  .tcar-root {
    --cw: min(280px, 76vw);
    gap: 8px;
  }

  .tcar-slot[data-pos="-1"],
  .tcar-slot[data-pos="-2"],
  .tcar-slot[data-pos="1"],
  .tcar-slot[data-pos="2"] {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .tcar-slot[data-pos="0"] {
    transform: translate(0, -50%) scale(1) !important;
    filter: none !important;
  }

  .tcar-stage { height: calc(var(--cw) + 110px); }
}

/* ─────────────────────────────────────────────
   37. GOALS GRID (JSI)
───────────────────────────────────────────── */
.goals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.goal-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--sh-xs);
  transition: transform var(--dur), box-shadow var(--dur);
  position: relative;
  overflow: hidden;
}

.goal-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.goal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
}

.goal-card:hover::after { transform: scaleX(1); }

.goal-num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 800;
  color: var(--primary-a10);
  line-height: 1;
  position: absolute;
  top: 12px;
  right: 16px;
  user-select: none;
}

.goal-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--primary-a10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur), color var(--dur);
}

.goal-card:hover .goal-icon {
  background: var(--primary);
  color: var(--white);
}

.goal-card h4 {
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.goal-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   38. TABLE BUDGET JSI
───────────────────────────────────────────── */
.exec-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
}

.exec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sub);
  font-size: 14px;
}

.exec-table thead {
  background: var(--primary);
  color: var(--white);
}

.exec-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.exec-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
}

.exec-table tbody tr:last-child td { border-bottom: none; }

.exec-table tbody tr:hover td { background: var(--primary-50); color: var(--text); }

.exec-total td {
  background: var(--primary-a10);
  color: var(--text) !important;
  font-weight: 700;
  border-top: 2px solid var(--primary-a20);
}

/* ─────────────────────────────────────────────
   39. TEAM GRID (JSI)
───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.team-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--sh-xs);
  transition: transform var(--dur), box-shadow var(--dur);
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh);
}

.tc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-a10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tc-info { flex: 1; min-width: 0; }

.tc-info h5 {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}

.tc-role {
  font-family: var(--font-sub);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.tc-phone {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--dur);
}
.tc-phone:hover { color: var(--gold); }

/* ─────────────────────────────────────────────
   40. ADDRESS CARDS (Church)
───────────────────────────────────────────── */
.addr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.addr-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 28px 24px;
  box-shadow: var(--sh-xs);
  transition: transform var(--dur), box-shadow var(--dur);
}

.addr-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
}

.addr-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r);
  background: var(--primary-a10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.addr-card h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.addr-card address,
.addr-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.addr-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.addr-phones a {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--dur);
}
.addr-phones a:hover { color: var(--gold); }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--r-lg);
  border: 1.5px dashed var(--border);
  background: var(--surface);
  overflow: hidden;
}

.map-inner {
  padding: clamp(40px, 6vw, 72px) 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.map-inner h5 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.map-inner p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   41. DON DETAILS (JSI Mobile Money)
───────────────────────────────────────────── */
.don-details {
  background: var(--primary-a10);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

.don-detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ddr-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 180px;
}

.ddr-label {
  font-family: var(--font-sub);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.ddr-num {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.04em;
}

.ddr-name {
  font-family: var(--font-sub);
  font-size: 12px;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────────
   42. INSCRIPTION META (AWE)
───────────────────────────────────────────── */
.insc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.insc-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 13px;
  color: var(--text-muted);
}

.insc-meta-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--dur);
}
.insc-meta-item a:hover { color: var(--gold); }

/* ─────────────────────────────────────────────
   43. SCROLL REVEAL ANIMATIONS
───────────────────────────────────────────── */
.rv, .rv-r, .rv-l, .rv-s {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.65s;
  transition-timing-function: var(--ease);
}

.rv   { transform: translateY(28px); }
.rv-r { transform: translateX(-32px); }
.rv-l { transform: translateX(32px); }
.rv-s { transform: scale(0.95) translateY(20px); }

.rv.visible,
.rv-r.visible,
.rv-l.visible,
.rv-s.visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────────
   44. BREAKPOINTS - TABLET (≥640px)
───────────────────────────────────────────── */
@media (min-width: 640px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .g2        { grid-template-columns: repeat(2, 1fr); }
  .g3        { grid-template-columns: repeat(3, 1fr); }
  .g4        { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .addr-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }

  .don-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nl-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .nl-text { flex: 1; }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }

  #nl-modal { left: auto; width: 380px; }

  .wa-fab-label { display: block; }

  .lb-prev { left: -64px; }
  .lb-next { right: -64px; }
}

/* ─────────────────────────────────────────────
   45. BREAKPOINTS - DESKTOP (≥1024px)
───────────────────────────────────────────── */
@media (min-width: 1024px) {
  #main-nav { height: var(--nav-h); }

  .nav-links { display: flex; }
  .hamburger { display: none; }

  .about-grid,
  .founder-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .founder-grid { grid-template-columns: 360px 1fr; }

  .dept-grid { grid-template-columns: repeat(4, 1fr); }

  .g2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(4, 1fr); }

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

  .prog-grid { grid-template-columns: repeat(4, 1fr); }

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

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

  .team-grid { grid-template-columns: repeat(4, 1fr); }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  }
  .footer-brand { grid-column: auto; }

  .footer-bottom { flex-direction: row; justify-content: space-between; }

  #sticky-cta { left: 24px; bottom: 24px; }
  #wa-fab     { right: 24px; bottom: 24px; }
  #btt        { right: 24px; bottom: 88px; }

  .timeline::before { left: 50%; transform: translateX(-50%); }

  .tl-item {
    width: 50%;
    padding-left: 0;
    padding-right: clamp(32px, 4vw, 56px);
    padding-bottom: 48px;
  }

  .tl-item.tl-right {
    align-self: flex-end;
    margin-left: 50%;
    padding-right: 0;
    padding-left: clamp(32px, 4vw, 56px);
  }

  .tl-dot {
    left: auto;
    right: -9px;
  }

  .tl-item.tl-right .tl-dot {
    right: auto;
    left: -9px;
  }

  .tl-item.tl-right .tl-date { text-align: left; }
  .tl-item .tl-date { text-align: right; }
}

/* ─────────────────────────────────────────────
   46. LARGE DESKTOP (≥1400px)
───────────────────────────────────────────── */
@media (min-width: 1400px) {
  :root {
    --container-max: 1320px;
  }

  .hero-title {
    font-size: 98px;
  }

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

/* ─────────────────────────────────────────────
   47. ÉTATS HOVER FOOTER NAV (accessibilité)
───────────────────────────────────────────── */
.soc:focus-visible,
.btn:focus-visible,
.nav-links a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────
   FIN DU FICHIER
───────────────────────────────────────────── */
