/* ============================================================
   ELOHIM REVIVAL — Site officiel
   Design system v2 — ivoire / quasi-noir violet / or
   Structurellement inspiré de 2819church.org : typographie XXL
   condensée, photos en collage asymétrique, motion au scroll,
   liens signature "( LABEL )", bandeau défilant, rail sticky.
   ============================================================ */

:root {
  /* ---- Palette claire (par défaut) ---- */
  --color-bg: #f3efe4;
  --color-surface: #ffffff;
  --color-overlay: rgba(15, 7, 22, 0.05);
  --color-border: rgba(15, 7, 22, 0.12);
  --color-border-strong: rgba(15, 7, 22, 0.22);

  --color-text: #120a1a;
  --color-text-dim: #514860;
  --color-text-faint: #8d8496;

  /* ---- Quasi-noir violet (référence de marque, très contrasté) ---- */
  --color-violet: #150e21;
  --color-violet-light: #251536;
  --color-violet-pale: #6b3894;

  /* ---- Or (accent) ---- */
  --color-gold: #c9a24b;
  --color-gold-light: #ecca7b;
  --color-gold-dark: #93711f;

  --color-success: #4b8a5f;
  --color-error: #b95050;

  /* Typographie */
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-head: "Oswald", "Helvetica Neue Condensed Bold", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  /* Espacements */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --container-width: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-soft: 0 10px 40px rgba(21, 14, 33, 0.14);
  --shadow-gold: 0 8px 30px rgba(201, 162, 75, 0.32);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Portées sombres (quasi-noir) ---------- */
.section--alt,
.event-block,
.site-footer,
.mobile-nav,
.hero,
.marquee,
.rail-block {
  --color-bg: #150e21;
  --color-surface: #251536;
  --color-overlay: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.13);
  --color-border-strong: rgba(255, 255, 255, 0.24);
  --color-text: #f3efe4;
  --color-text-dim: #c6bdd4;
  --color-text-faint: #837a92;
  background: var(--color-bg);
  color: var(--color-text);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, picture, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body.no-scroll { overflow: hidden; }

::selection {
  background: var(--color-gold);
  color: #150e21;
}

/* ---------- Grain (texture papier subtile) ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) { .grain { display: none; } }

/* ---------- Layout utils ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (max-width: 640px) {
  .container { padding-inline: var(--space-3); }
}

.section { padding-block: var(--space-8); position: relative; }
.section--tight { padding-block: var(--space-6); }
.section--alt { background: var(--color-bg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-2);
}
.section--alt .eyebrow, .hero .eyebrow, .event-block .eyebrow { color: var(--color-gold-light); }
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-gold);
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-stretch: condensed;
  line-height: 1.05;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.03; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); line-height: 1.2; }

/* ---------- Typo XXL "affiche" (façon 2819) ---------- */
.display-huge {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.86;
  font-size: clamp(3.2rem, 9vw, 8rem);
}
.display-huge .hl-gold { color: var(--color-gold); }
.display-huge .hl-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-text);
}
.section--alt .display-huge .hl-outline, .hero .display-huge .hl-outline { -webkit-text-stroke-color: var(--color-text); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--color-text-dim);
  max-width: 640px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.section-head p { max-width: 460px; color: var(--color-text-dim); }

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

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9em 1.9em;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--primary,
.btn--outline {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn--primary {
  background: var(--color-gold);
  color: #150e21;
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--color-gold-light); box-shadow: 0 14px 34px rgba(201, 162, 75, 0.42); }

.btn--outline {
  border-color: var(--color-border-strong);
  color: var(--color-text);
  background: var(--color-overlay);
}
.btn--outline:hover { border-color: var(--color-gold); color: var(--color-gold-light); transform: translateY(-2px); }

.btn--ghost {
  color: var(--color-gold-dark);
  padding-inline: 0.2em;
  font-weight: 600;
}
.hero .btn--ghost, .section--alt .btn--ghost, .event-block .btn--ghost { color: var(--color-gold-light); }
.btn--ghost::after { content: "→"; margin-left: 0.5em; transition: transform 0.3s var(--ease); display: inline-block; }
.btn--ghost:hover::after { transform: translateX(5px); }

.btn--block { width: 100%; }
.btn--lg { padding: 1.05em 2.4em; font-size: 0.92rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---------- Lien signature "( LABEL )" ---------- */
.link-paren {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-paren .paren { color: var(--color-gold-dark); font-weight: 500; }
.section--alt .link-paren .paren, .hero .link-paren .paren, .event-block .link-paren .paren { color: var(--color-gold-light); }
.link-paren:hover { gap: 0.75em; color: var(--color-gold-dark); }
.section--alt .link-paren:hover, .hero .link-paren:hover, .event-block .link-paren:hover { color: var(--color-gold-light); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: var(--space-3);
  background: rgba(243, 239, 228, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--color-border);
  transition: padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  padding-block: var(--space-2);
  box-shadow: 0 8px 30px rgba(21, 14, 33, 0.12);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-text);
}
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand--full img { width: auto; height: 42px; object-fit: contain; }
@media (max-width: 640px) { .brand--full img { height: 36px; } }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-top: 0.15em;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-desktop ul { display: flex; gap: var(--space-4); }
.nav-desktop a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-dim);
  position: relative;
  padding-block: 0.3em;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease);
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--color-text); }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: var(--space-3); }

/* ---------- Sélecteur de langue ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.lang-switch a {
  padding: 0.3em 0.5em;
  border-radius: 4px;
  color: var(--color-text-faint);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang-switch a.is-active { color: var(--color-text); background: var(--color-overlay); }
.lang-switch a:hover { color: var(--color-gold-dark); }
.lang-switch .sep { color: var(--color-border-strong); }
.mobile-nav .lang-switch { font-size: 0.9rem; margin-bottom: var(--space-3); justify-content: center; }
.mobile-nav .lang-switch a.is-active { color: var(--color-gold-light); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  background: transparent;
  position: relative;
  z-index: 101;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6) var(--space-4);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-5); }
.mobile-nav a { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; text-transform: uppercase; color: var(--color-text); }
.mobile-nav .nav-actions { flex-direction: column; align-items: stretch; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .site-header .nav-actions.desktop-only { display: none; }
}

/* ---------- Bandeau défilant (marquee) ---------- */
.marquee {
  overflow: hidden;
  padding-block: 1.1em;
  border-block: 1px solid var(--color-border);
}
.marquee + section { padding-top: var(--space-3); }
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee-scroll 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
  color: var(--color-text-dim);
  white-space: nowrap;
}
.marquee-track span em { font-style: normal; color: var(--color-gold); }
.marquee-track .sep { color: var(--color-gold-dark); font-size: 0.8em; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Hero vidéo (accueil) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
  padding-bottom: var(--space-6);
  overflow: hidden;
  background: linear-gradient(165deg, #251536, #150e21 70%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.75;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(21, 14, 33, 0.35) 0%, rgba(21, 14, 33, 0.55) 55%, rgba(21, 14, 33, 0.96) 100%);
}
.hero .container { position: relative; z-index: 1; }

.hero-top-row {
  position: absolute;
  top: 140px; left: 0; right: 0;
  z-index: 1;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 920px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  align-self: flex-start;
  padding: 0.5em 1.1em;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-dim);
  background: var(--color-overlay);
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.22);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) { .hero-tag .dot { animation: none; } }

.hero h1 { margin-bottom: var(--space-3); }

.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-3); align-items: center; }

/* ---------- Page hero simple (pages internes) ---------- */
.page-hero {
  padding-top: 160px;
  padding-bottom: var(--space-6);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: var(--space-2); }
.page-hero .lede { margin-top: var(--space-2); }

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--color-border-strong); box-shadow: var(--shadow-soft); }

.grid { display: grid; gap: var(--space-4); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

/* Icônes cerclées */
.icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid rgba(201, 162, 75, 0.35);
  color: var(--color-gold-dark);
  margin-bottom: var(--space-3);
}
.section--alt .icon-circle, .hero .icon-circle, .event-block .icon-circle { color: var(--color-gold-light); }
.icon-circle svg { width: 22px; height: 22px; }

/* ---------- Cartes "valeurs" avec fond dégradé (sans photo) ---------- */
.value-card h3 { margin-bottom: 0.5em; }
.value-card p { color: var(--color-text-dim); font-size: 0.95rem; }

.value-card--deep {
  --color-bg: #150e21;
  --color-surface: #251536;
  --color-overlay: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.14);
  --color-border-strong: rgba(255, 255, 255, 0.24);
  --color-text: #f3efe4;
  --color-text-dim: #d7cfe2;
  --color-text-faint: #b0a6c0;
  background: linear-gradient(155deg, rgba(107, 56, 148, 0.45), rgba(10, 5, 16, 0.98) 65%);
  color: var(--color-text);
  border-color: var(--color-border);
}
.value-card--deep .icon-circle {
  color: var(--color-gold-light);
  background: rgba(201, 162, 75, 0.18);
  border-color: rgba(201, 162, 75, 0.4);
}
.value-card--deep h3 { color: var(--color-text); }

/* ---------- Collage photo asymétrique (façon 2819) ---------- */
.collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 64px;
  gap: 14px;
}
.collage-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(155deg, #35104a 0%, #251536 55%, #150e21 100%);
  border: 1px solid var(--color-border);
}
.collage-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.08) brightness(0.92);
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}
.collage-item:hover img { filter: grayscale(0.2) contrast(1.05) brightness(1); transform: scale(1.04); }
.collage-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(107,56,148,0.28), rgba(13,7,20,0.05) 60%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.collage-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  color: var(--color-gold-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.6em;
}
.collage-ph svg { width: 26px; height: 26px; opacity: 0.7; }

.collage-a { grid-column: 1 / 8; grid-row: 1 / 6; }
.collage-b { grid-column: 8 / 13; grid-row: 1 / 4; }
.collage-c { grid-column: 8 / 13; grid-row: 4 / 8; }
.collage-d { grid-column: 1 / 5; grid-row: 6 / 9; }
.collage-e { grid-column: 5 / 8; grid-row: 6 / 9; }
@media (max-width: 760px) {
  .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .collage-a, .collage-b, .collage-c, .collage-d, .collage-e { grid-column: auto; grid-row: span 2; }
}

/* ---------- Rail sticky (mots qui défilent, façon 2819) ---------- */
.rail-block {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-6);
  padding-block: var(--space-7);
}
.rail-words {
  position: sticky;
  top: 130px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  height: fit-content;
}
.rail-words span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.rail-words span.is-active { color: var(--color-gold); transform: translateX(6px); }
.rail-steps { display: flex; flex-direction: column; gap: var(--space-7); }
.rail-step h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5em; }
.rail-step p { color: var(--color-text-dim); max-width: 560px; }
@media (max-width: 760px) {
  .rail-block { grid-template-columns: 1fr; }
  .rail-words { position: static; flex-direction: row; flex-wrap: wrap; gap: 1em; margin-bottom: var(--space-3); }
}

/* ---------- Stats ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--color-gold-dark); display: block; }
.section--alt .stat .num, .hero .stat .num { color: var(--color-gold-light); }
.stat .label { font-size: 0.8rem; color: var(--color-text-dim); margin-top: 0.4em; }
@media (max-width: 640px) { .stats-bar { grid-template-columns: repeat(2, 1fr); } }

.badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  border: 1px solid rgba(201, 162, 75, 0.4);
  padding: 0.35em 0.8em;
  border-radius: var(--radius-sm);
}
.section--alt .badge, .hero .badge { color: var(--color-gold-light); }

/* ---------- Pôles / ministères (cartes avec lien externe) ---------- */
.pole-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pole-card .desc { color: var(--color-text-dim); font-size: 0.92rem; margin-bottom: var(--space-3); flex: 1; }
.pole-card ul.pole-features { display: flex; flex-direction: column; gap: 0.6em; margin-bottom: var(--space-3); }
.pole-card ul.pole-features li { display: flex; gap: 0.7em; font-size: 0.88rem; color: var(--color-text-dim); align-items: flex-start; }
.pole-card ul.pole-features li::before { content: "✓"; color: var(--color-gold-dark); font-weight: 700; flex-shrink: 0; }
.section--alt .pole-card ul.pole-features li::before { color: var(--color-gold-light); }

/* ---------- Dons ---------- */
.donation-toggle {
  display: inline-flex;
  gap: 0.3em;
  padding: 0.3em;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  margin-bottom: var(--space-5);
}
.donation-toggle button { background: transparent; border: none; padding: 0.7em 1.6em; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--color-text-dim); transition: all 0.3s var(--ease); }
.donation-toggle button.is-active { background: var(--color-gold); color: #150e21; }

.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7em; margin-bottom: var(--space-3); }
@media (max-width: 640px) { .amount-grid { grid-template-columns: repeat(2, 1fr); } }
.amount-btn {
  padding: 1em 0.6em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.amount-btn:hover { border-color: var(--color-gold); }
.amount-btn.is-active { background: var(--color-gold); color: #150e21; border-color: var(--color-gold); }

.donate-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

#paypal-button-container { margin-top: var(--space-3); min-height: 45px; }
.payment-note { display: flex; gap: 0.6em; align-items: flex-start; font-size: 0.78rem; color: var(--color-text-faint); margin-top: var(--space-3); }
.payment-note svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 0.15em; color: var(--color-gold-light); }

/* ---------- Témoignages ---------- */
.testimonial-card { padding: var(--space-4); }
.testimonial-card .quote {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.testimonial-card .quote::before { content: "\201C"; color: var(--color-gold-dark); font-style: normal; }
.testimonial-author { display: flex; align-items: center; gap: 0.8em; }
.testimonial-author .avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(201, 162, 75, 0.18); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); color: var(--color-gold-dark); font-size: 0.9rem; }
.testimonial-author .name { font-size: 0.88rem; font-weight: 600; }
.testimonial-author .role { font-size: 0.78rem; color: var(--color-text-faint); }

/* ---------- Média (podcasts, YouTube) ---------- */
.media-card { overflow: hidden; padding: 0; }
.media-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(155deg, rgba(107, 56, 148, 0.55), rgba(21, 14, 33, 0.97));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.media-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) brightness(0.65) contrast(1.05);
}
.media-thumb .play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(243, 239, 228, 0.14);
  border: 1px solid rgba(243, 239, 228, 0.4);
  display: flex; align-items: center; justify-content: center;
  color: #f3efe4;
  backdrop-filter: blur(4px);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.media-card:hover .media-thumb .play { transform: scale(1.12); background: var(--color-gold); color: #150e21; }
.media-thumb .play svg { width: 20px; height: 20px; margin-left: 3px; }
.media-body { padding: var(--space-3) var(--space-4) var(--space-4); }
.media-body .badge { margin-bottom: 0.7em; }
.media-body h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.media-body p { color: var(--color-text-dim); font-size: 0.88rem; }

/* ---------- Vidéo "dernier message" (facade YouTube) ---------- */
.video-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(155deg, #35104a, #150e21 70%);
  border: 1px solid var(--color-border);
}
.video-feature iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) brightness(0.75); }
.video-feature .video-cover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  background: rgba(13,7,20,0.25);
}
.video-feature .video-cover .play {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #150e21;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s var(--ease);
}
.video-feature .video-cover:hover .play { transform: scale(1.08); }
.video-feature .video-cover .play svg { width: 26px; height: 26px; margin-left: 4px; }

/* ---------- Formulaire d'engagement (nous rejoindre) ---------- */
.engage-card {
  cursor: pointer;
}
.engage-card input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.engage-card.is-selected { border-color: var(--color-gold); background: linear-gradient(165deg, rgba(201, 162, 75, 0.10), var(--color-surface) 45%); box-shadow: var(--shadow-gold); }
.engage-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; }
.engage-card .check-mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--color-border-strong); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; transition: all 0.3s var(--ease); }
.engage-card.is-selected .check-mark { background: var(--color-gold); border-color: var(--color-gold); color: #150e21; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  background: transparent;
  border: none;
  text-align: left;
  padding: var(--space-3) 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}
.faq-question .plus { font-size: 1.4rem; color: var(--color-gold-dark); transition: transform 0.3s var(--ease); flex-shrink: 0; }
.faq-item.is-open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer p { color: var(--color-text-dim); padding-bottom: var(--space-3); max-width: 640px; font-size: 0.94rem; }

/* ---------- CTA band (or plein, contraste quasi-noir) ---------- */
.cta-band {
  --color-text: #150e21;
  --color-text-dim: rgba(21, 14, 33, 0.72);
  --color-border-strong: rgba(21, 14, 33, 0.3);
  background: linear-gradient(120deg, var(--color-gold-light), var(--color-gold) 70%);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .eyebrow { color: #150e21; opacity: 0.75; }
.cta-band .eyebrow::before { background: #150e21; opacity: 0.75; }
.cta-band h2 { margin-bottom: var(--space-2); }
.cta-band .lede { margin-inline: auto; margin-bottom: var(--space-4); color: var(--color-text-dim); }
.cta-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.cta-band .btn--primary { background: #150e21; color: #f3efe4; box-shadow: none; }
.cta-band .btn--primary:hover { background: #251536; }
.cta-band .btn--outline { border-color: rgba(21, 14, 33, 0.35); color: #150e21; background: transparent; }
.cta-band .btn--outline:hover { border-color: #150e21; background: rgba(21, 14, 33, 0.08); color: #150e21; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5em; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; color: var(--color-text-dim); }
.field input, .field textarea, .field select {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  color: var(--color-text);
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-gold); }
.field textarea { resize: vertical; min-height: 120px; }
.field-check { display: flex; align-items: flex-start; gap: 0.6em; font-size: 0.85rem; color: var(--color-text-dim); }
.field-check input { margin-top: 0.25em; }
.form-note { font-size: 0.78rem; color: var(--color-text-faint); }
.form-feedback {
  display: none;
  margin-top: var(--space-3);
  padding: 0.9em 1.2em;
  border-radius: var(--radius-sm);
  background: rgba(75, 138, 95, 0.14);
  border: 1px solid rgba(75, 138, 95, 0.4);
  color: var(--color-success);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--color-border); padding-top: var(--space-7); overflow: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-5);
  padding-bottom: var(--space-6);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { margin-bottom: var(--space-2); }
.footer-brand p { color: var(--color-text-dim); font-size: 0.9rem; max-width: 320px; margin-bottom: var(--space-3); }
.footer-col h5 { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: var(--space-2); font-family: var(--font-mono); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7em; }
.footer-col a { color: var(--color-text-dim); font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--color-gold-light); }
.social-row { display: flex; gap: 0.7em; margin-top: var(--space-2); }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--color-gold); color: var(--color-gold-light); }
.social-row svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-block: var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: var(--color-text-faint);
}
.footer-bottom ul { display: flex; gap: var(--space-3); flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--color-gold-light); }
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.06;
  font-size: clamp(4rem, 16vw, 11rem);
  line-height: 0.8;
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
  user-select: none;
  margin-top: -0.15em;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Parallax ---------- */
[data-parallax] { will-change: transform; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.center-col { display: flex; flex-direction: column; align-items: center; text-align: center; }
