/* ==========================================================================
   Temple Murugan Lieusaint — Identité & Feuille de Style Principale
   Refonte Visuelle & Interactive Haute Finition 2026
   Inspiration : Portfolio créatif haute couture (tharsanan.com level of polish)
   Palette : Alternance maîtrisée Ivoire Chaud / Blanc Soie & Bordeaux Sacré / Or Impérial
   Typographie : Cinzel (Titres Royaux) + Plus Jakarta Sans (Clarté Moderne)
   Symbolique : Murugan, Vel (வேல்), Paon Mayil (மயில்), Kolam (கோலம்), Gopuram
   Mobile-First : Pensé dès la conception pour 360px, 375px, 390px, 393px, 414px, tablette & desktop
   ========================================================================== */

/* ============================================================
   1. DESIGN SYSTEM & TOKENS DE HAUTE PRÉCISION
   ============================================================ */
:root {
  /* --- Insets & Safe Areas (iOS Dynamic Island, Encoches, Android) --- */
  --sat: env(safe-area-inset-top, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);

  /* --- Typographie : Cinzel + Plus Jakarta Sans --- */
  --font-heading: "Cinzel", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-sans:    "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font:         var(--font-sans);

  /* Échelle typographique fluide (clamp) : optimisée 360px -> 1920px */
  --fs-3xs:    clamp(0.64rem, 0.60rem + 0.12vw, 0.72rem);
  --fs-2xs:    clamp(0.70rem, 0.65rem + 0.18vw, 0.80rem);
  --fs-xs:     clamp(0.78rem, 0.72rem + 0.22vw, 0.88rem);
  --fs-sm:     clamp(0.88rem, 0.82rem + 0.25vw, 0.98rem);
  --fs-base:   clamp(0.96rem, 0.90rem + 0.30vw, 1.10rem);
  --fs-md:     clamp(1.08rem, 1.00rem + 0.45vw, 1.25rem);
  --fs-lg:     clamp(1.20rem, 1.08rem + 0.65vw, 1.48rem);
  --fs-xl:     clamp(1.40rem, 1.18rem + 1.10vw, 1.95rem);
  --fs-2xl:    clamp(1.75rem, 1.35rem + 1.80vw, 2.75rem);
  --fs-3xl:    clamp(2.10rem, 1.55rem + 2.60vw, 3.60rem);
  --fs-hero:   clamp(2.15rem, 1.40rem + 3.80vw, 4.40rem);

  /* --- Nuancier Sacré Tamoul & Royal --- */
  /* Rouge Bordeaux profond / Sanctuaire */
  --rouge-950: #140304; /* Noir bordeaux mystique */
  --rouge-900: #200507; /* Bordeaux nuit */
  --rouge-850: #32080B;
  --rouge-800: #4B0E12;
  --rouge-700: #731A1D; /* Rouge dravidien signature */
  --rouge-600: #962226;
  --rouge-500: #B82B30;
  --rouge-100: #FAF0F0;
  --rouge-50:  #FCF7F7;

  /* Or Impérial & Éclat du Vel */
  --or-900:  #422E02;
  --or-700:  #7C5808;
  --or-600:  #B2800D;
  --or-500:  #E5A91C; /* Or divin maître */
  --or-400:  #FFCB55; /* Or lumière reflets */
  --or-300:  #FFDF88;
  --or-200:  #FFF0C2;
  --or-100:  #FFF9E5;

  /* Vert Paon & Émeraude Sacré (Accents Subtils) */
  --paon-900: #062828;
  --paon-700: #0D4A4A;
  --paon-500: #166D6B;
  --paon-100: #E6F5F5;

  /* Neutres Chauds : Blanc Soie, Ivoire & Pierre de Sénart */
  --sable-25:  #FCFAF7; /* Fond lumineux soie */
  --sable-50:  #F7F4EE; /* Ivoire noble et doux */
  --sable-100: #EFE9DE; /* Pierre calcaire de Sénart */
  --sable-200: #E2D9CA; /* Bordures soyeuses */
  --sable-300: #D0C3B0; /* Bordures définies */
  --sable-600: #6B6154; /* Texte secondaire WCAG AAA */
  --sable-800: #26211A; /* Texte principal profond */
  --sable-950: #110E0B;

  /* Teintes de statut */
  --success: #1E6B38;
  --danger:  #B3261E;
  --focus:   #E5A91C;

  /* Thème par défaut (Mode Lumineux / Ivoire) */
  --surface:        var(--sable-25);
  --surface-raised: #FFFFFF;
  --surface-subtle: var(--sable-50);
  --field:          #FFFFFF;
  --text:           var(--sable-800);
  --text-2:         var(--sable-600);
  --heading:        var(--rouge-700);
  --border:         rgba(208, 195, 176, 0.45);
  --border-strong:  rgba(208, 195, 176, 0.85);
  --gold-accent:    var(--or-500);

  /* --- Dimensions & Layouts --- */
  --header-h: clamp(66px, 5vw + 24px, 80px);
  --header-mobile-h: 66px;
  --max-width: 1280px;
  --section-py: clamp(3.5rem, 6vw, 6.5rem);

  /* --- Espacements Cohérents --- */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6rem;

  /* --- Rayons de courbure architecturaux --- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --pill:      9999px;

  /* --- Ombres & Élévation (Douces, Diffuses, Prestigieuses) --- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 8px rgba(32, 5, 7, 0.04);
  --shadow:    0 10px 30px rgba(32, 5, 7, 0.06), 0 2px 8px rgba(32, 5, 7, 0.03);
  --shadow-lg: 0 20px 48px rgba(32, 5, 7, 0.10), 0 4px 14px rgba(32, 5, 7, 0.04);
  --shadow-or: 0 8px 32px rgba(229, 169, 28, 0.28);
  --shadow-or-lg: 0 14px 44px rgba(229, 169, 28, 0.40);
  --glass-border: 1px solid rgba(255, 203, 85, 0.16);
}

/* ============================================================
   2. VARIATIONS RYTHMIQUES DE SECTIONS (LUMIÈRE & OBSCURITÉ)
   ============================================================ */

/* Section Lumineuse Soie / Ivoire Respirant */
.section-light {
  background:
    radial-gradient(circle at 8% 18%, rgba(115, 26, 29, .08), transparent 18rem),
    radial-gradient(circle at 92% 82%, rgba(229, 169, 28, .10), transparent 20rem),
    var(--sable-25);
  color: var(--sable-800);
  --surface: var(--sable-25);
  --surface-raised: #FFFFFF;
  --surface-subtle: var(--sable-50);
  --text: var(--sable-800);
  --text-2: var(--sable-600);
  --heading: var(--rouge-700);
  --border: rgba(208, 195, 176, 0.45);
  --border-strong: rgba(208, 195, 176, 0.85);
  position: relative;
  overflow: hidden;
}

/* Section Sable / Pierre Calcaire Douce */
.section-ivory {
  background:
    radial-gradient(circle at 88% 16%, rgba(229, 169, 28, .11), transparent 19rem),
    radial-gradient(circle at 8% 88%, rgba(115, 26, 29, .06), transparent 22rem),
    var(--sable-50);
  color: var(--sable-800);
  --surface: var(--sable-50);
  --surface-raised: #FFFFFF;
  --surface-subtle: var(--sable-100);
  --text: var(--sable-800);
  --text-2: var(--sable-600);
  --heading: var(--rouge-700);
  --border: rgba(208, 195, 176, 0.45);
  --border-strong: rgba(208, 195, 176, 0.85);
  position: relative;
  overflow: hidden;
}

/* Section Sombre Bordeaux Sacré & Or Impérial */
.section-dark {
  background: radial-gradient(circle at 85% 15%, #3C0A0D 0%, #200507 50%, var(--rouge-950) 90%);
  color: #FFFFFF;
  --surface: var(--rouge-950);
  --surface-raised: #220608;
  --surface-subtle: #2C080B;
  --text: #FAF6EE;
  --text-2: #D4C9BC;
  --heading: var(--or-300);
  --border: rgba(255, 203, 85, 0.16);
  --border-strong: rgba(255, 203, 85, 0.32);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 203, 85, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Section Piliers / Fondations avec Dégradé Chaud & Subtil */
.section-foundations {
  background: linear-gradient(180deg, #FAF7F2 0%, #F3EDE3 100%);
  border-block-start: 1px solid rgba(229, 169, 28, 0.18);
  border-block-end: 1px solid rgba(229, 169, 28, 0.18);
  position: relative;
  overflow: hidden;
}
.section-foundations::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(115, 26, 29, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Sections éditoriales sans thème explicite : ivoire texturé plutôt qu'un blanc vide. */
.block:not(.section-dark):not(.section-light):not(.section-ivory):not(.section-foundations) {
  background:
    radial-gradient(circle at 90% 10%, rgba(229, 169, 28, .08), transparent 18rem),
    linear-gradient(135deg, var(--sable-25), var(--sable-50));
  overflow: hidden;
}

.section-light::after,
.section-ivory::after,
.section-foundations::after,
.block:not(.section-dark):not(.section-light):not(.section-ivory):not(.section-foundations)::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: clamp(-3rem, 2vw, 2rem);
  bottom: clamp(-4rem, -2vw, -1rem);
  width: clamp(120px, 14vw, 220px);
  aspect-ratio: 220 / 260;
  pointer-events: none;
  opacity: .075;
  background: url("../assets/peacock-red.svg") center / contain no-repeat;
  transform: rotate(-4deg);
}

.section-light::before,
.section-ivory::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: clamp(-2rem, 3vw, 3rem);
  top: clamp(-3rem, 2vw, 1rem);
  width: clamp(54px, 6vw, 88px);
  aspect-ratio: 100 / 260;
  pointer-events: none;
  opacity: .07;
  background: url("../assets/vel-red.svg") center / contain no-repeat;
}

.section-light > .wrap,
.section-ivory > .wrap,
.section-foundations > .wrap,
.block:not(.section-dark) > .wrap {
  position: relative;
  z-index: 1;
}

/* ============================================================
   3. RESET MODERNE, ACCESSIBILITÉ & FLUIDITÉ
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 3px;
  width: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--or-500), var(--or-300), var(--rouge-500));
  box-shadow: 0 0 12px rgba(255, 203, 85, .7);
  transform-origin: left center;
  transition: width 120ms linear;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.68;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
}

a, button, input, select, textarea, label {
  touch-action: manipulation;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--heading);
}

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

a { color: inherit; text-decoration: none; }
ul, ol { padding-inline-start: 1.25em; }
[hidden] { display: none !important; }

/* Conteneur fluide responsive */
.wrap {
  width: min(var(--max-width), 100% - clamp(1.5rem, 5vw, 5rem));
  margin-inline: auto;
}

:focus-visible {
  outline: 2.5px solid var(--or-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  inset-inline-start: 1.5rem;
  top: -6rem;
  background: var(--or-500);
  color: var(--or-900);
  padding: var(--s-3) var(--s-5);
  border-radius: var(--pill);
  z-index: 1000;
  font-weight: 700;
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-lg);
  transition: top 200ms var(--ease);
}
.skip:focus { top: 1.5rem; }

/* ============================================================
   4. ORNEMENTS CULTURELS TAMOULS (VEL, KOLAM & EFFETS D'OR)
   ============================================================ */

/* Séparateur Vel Ornemental Sacré */
.vel-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  width: 100%;
  margin-block: clamp(2rem, 4vw, 3.5rem);
  opacity: 0.9;
}
.vel-divider-line {
  flex: 1;
  max-width: 220px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--or-400), transparent);
}
.vel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--or-400);
  flex-shrink: 0;
  position: relative;
}
.vel-icon svg {
  width: 24px;
  height: 44px;
  filter: drop-shadow(0 2px 8px rgba(229, 169, 28, 0.45));
}

/* Frise Kudu Architecturale Dravidienne */
.kudu {
  width: 100%;
  height: 18px;
  overflow: hidden;
  opacity: 0.30;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='18' viewBox='0 0 44 18'%3E%3Cpath d='M0 18 C11 3, 11 0, 22 18 C33 3, 33 0, 44 18' fill='none' stroke='%23C48F12' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 44px 18px;
}

/* Texte Or Dégradé Métallique Noble */
.gold-gradient {
  background: linear-gradient(135deg, #FFF6E0 0%, #FFCB55 40%, #E5A91C 75%, #B87E00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Motifs Filigranes Kolam en arrière-plan */
.kolam-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
  user-select: none;
}

/* ============================================================
   5. BANDEAU DE CONCERTATION & HEADER MAJESTUEUX
   ============================================================ */

/* Bandeau Supérieur Discret */
.note {
  background: linear-gradient(to right, #190405, var(--rouge-950), #190405);
  color: var(--or-200);
  font-size: var(--fs-2xs);
  font-weight: 600;
  text-align: center;
  padding: 8px var(--s-4);
  letter-spacing: 0.04em;
  padding-top: max(8px, var(--sat));
  border-block-end: 1px solid rgba(255, 203, 85, 0.16);
  display: flex;
  min-height: 41px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 501;
}
.note-badge {
  background: rgba(229, 169, 28, 0.18);
  color: var(--or-400);
  border: 1px solid rgba(229, 169, 28, 0.35);
  border-radius: var(--pill);
  padding: 2px 10px;
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- HEADER DU SITE --- */
header.site {
  position: sticky;
  top: 0;
  z-index: 500;
  background:
    linear-gradient(90deg, rgba(20, 3, 5, .94), rgba(67, 12, 17, .78) 50%, rgba(20, 3, 5, .94)),
    rgba(20, 3, 5, 0.82);
  color: #FFFFFF;
  border-block-end: 1px solid rgba(255, 203, 85, 0.12);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  transition: background 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
  isolation: isolate;
  overflow: clip;
}
header.site::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .20;
  background-image:
    radial-gradient(circle at 12% 50%, rgba(255, 203, 85, .55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 50%, rgba(255, 203, 85, .42) 0 1px, transparent 1.5px),
    linear-gradient(135deg, transparent 47%, rgba(255, 203, 85, .16) 48%, transparent 49%),
    linear-gradient(45deg, transparent 47%, rgba(255, 203, 85, .12) 48%, transparent 49%);
  background-size: 170px 100%, 170px 100%, 22px 22px, 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
header.site::after {
  content: "";
  position: absolute;
  top: -3.5rem;
  right: 12%;
  width: 13rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(229, 169, 28, .16);
  filter: blur(32px);
  pointer-events: none;
  z-index: -1;
}
header.site.scrolled {
  background:
    linear-gradient(90deg, rgba(14, 2, 4, .98), rgba(52, 8, 13, .94) 50%, rgba(14, 2, 4, .98)),
    rgba(14, 2, 4, 0.95);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
  border-block-end-color: rgba(255, 203, 85, 0.24);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: var(--header-h);
  padding-block: var(--s-2);
}

/* Logo & Identité : Clair, Pur, Majestueux, sans surcharges */
.brand {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  text-decoration: none;
  transition: transform 250ms var(--ease);
}
.brand:hover {
  transform: translateY(-1px);
}

.brand-emblem-wrap {
  width: clamp(52px, 4.5vw, 60px);
  height: clamp(52px, 4.5vw, 60px);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 203, 85, 0.28), rgba(115, 26, 29, 0.72));
  border: 1.5px solid rgba(255, 203, 85, 0.7);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(229, 169, 28, 0.25), 0 2px 8px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  position: relative;
  transition: border-color 300ms, box-shadow 300ms, transform 300ms var(--ease);
  animation: logoBreath 4.5s ease-in-out infinite;
}
.brand-emblem-wrap::before,
.brand-logo-frame::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 203, 85, .24);
  border-radius: 20px;
  pointer-events: none;
  animation: logoHalo 4.5s ease-out infinite;
}
.brand:hover .brand-emblem-wrap {
  border-color: var(--or-400);
  box-shadow: 0 0 26px rgba(255, 203, 85, 0.45);
  transform: scale(1.04);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 11px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.brand-identity {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-md);
  letter-spacing: 0.03em;
  color: #FFFFFF;
}
.brand-sub {
  font-size: var(--fs-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or-400);
  font-weight: 700;
}

/* Compatibilité avec l'ancien markup de navigation des pages internes */
.brand-logo-frame {
  width: clamp(52px, 4.5vw, 60px);
  height: clamp(52px, 4.5vw, 60px);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 203, 85, 0.7);
  background: linear-gradient(145deg, rgba(255, 203, 85, 0.28), rgba(115, 26, 29, 0.72));
  padding: 4px;
  position: relative;
  box-shadow: 0 0 18px rgba(229, 169, 28, 0.25), 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: border-color 300ms, box-shadow 300ms, transform 300ms var(--ease);
  animation: logoBreath 4.5s ease-in-out infinite;
}
.brand:hover .brand-logo-frame {
  border-color: var(--or-400);
  box-shadow: 0 0 28px rgba(255, 203, 85, 0.48);
  transform: scale(1.04);
}
.brand-logo-frame .brand-logo { width: 100%; height: 100%; }

@keyframes logoBreath {
  0%, 100% { box-shadow: 0 0 16px rgba(229, 169, 28, .20), 0 2px 8px rgba(0, 0, 0, .35); }
  50% { box-shadow: 0 0 28px rgba(229, 169, 28, .42), 0 2px 8px rgba(0, 0, 0, .35); }
}
@keyframes logoHalo {
  0%, 35% { opacity: .7; transform: scale(.94); }
  75%, 100% { opacity: 0; transform: scale(1.18); }
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text b {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-md);
  letter-spacing: 0.03em;
  color: #FFFFFF;
}
.brand-text span,
.brand-tamil {
  color: var(--or-400);
  font-size: var(--fs-2xs);
  font-weight: 700;
}
.brand-tamil {
  color: rgba(255, 223, 136, 0.82);
}

/* Navigation principale Desktop Minimaliste */
nav.main-desktop {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1vw, 1.2rem);
  margin-inline: auto;
  padding: 4px;
  border: 1px solid rgba(255, 203, 85, .10);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 24px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 8px 16px;
  border-radius: var(--pill);
  color: rgba(255, 255, 255, 0.82);
  transition: all 200ms var(--ease);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}
.nav-link[aria-current="page"] {
  color: #FFFFFF;
  background: rgba(229, 169, 28, 0.15);
  border: 1px solid rgba(255, 203, 85, 0.35);
  font-weight: 700;
}

nav.main {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1vw, 1.2rem);
  margin-inline: auto;
  padding: 4px;
  border: 1px solid rgba(255, 203, 85, .10);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 8px 24px rgba(0, 0, 0, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
nav.main a {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--pill);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
nav.main a:hover,
nav.main a[aria-current="page"] {
  color: #FFFFFF;
  background: rgba(229, 169, 28, 0.15);
}
nav.main .m-only {
  display: none;
}
.header-join {
  color: var(--or-300);
  font-weight: 700;
}
.header-join:hover,
nav.main a.header-join[aria-current="page"] {
  color: #FFF;
  background: rgba(229, 169, 28, 0.15);
}

/* Actions Header */
.header-actions {
  display: flex;
  gap: var(--s-3);
  align-items: center;
}

.actions {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.actions .btn {
  min-width: 214px;
  min-height: 52px;
  padding-inline: 25px;
  font-size: var(--fs-sm);
}

/* CTA Header Desktop */
.header-cta {
  min-height: 44px;
  padding: 0 18px;
  font-size: var(--fs-xs);
  border-radius: var(--pill);
}

/* Bouton Burger Mobile Haute Précision */
.burger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 203, 85, 0.3);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.burger-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--or-400);
}
.burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 250ms var(--ease), opacity 200ms var(--ease), width 200ms;
}
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--or-400);
}
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--or-400);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1.5px solid rgba(255, 203, 85, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #FFFFFF;
}

/* Bouton d'action rapide mobile dans le header */
.mobile-quick-cta {
  display: none;
  min-height: 38px;
  padding: 0 14px;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--pill);
  background: linear-gradient(135deg, #FFD573, var(--or-500));
  color: #1F1100;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(229, 169, 28, 0.3);
}

/* --- VRAI DRAWER / VOLET NAVIGATION MOBILE --- */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 2, 3, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}
.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 380px);
  background: linear-gradient(180deg, #180305 0%, #100203 100%);
  color: #FFFFFF;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 340ms var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  border-inline-start: 1px solid rgba(255, 203, 85, 0.2);
  padding: max(var(--s-4), var(--sat)) var(--s-5) max(var(--s-5), var(--sab));
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-end: var(--s-4);
  border-block-end: 1px solid rgba(255, 255, 255, 0.1);
  margin-block-end: var(--s-4);
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.drawer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--or-400);
}
.drawer-title-group {
  display: flex;
  flex-direction: column;
}
.drawer-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: #FFFFFF;
}
.drawer-tamil-pill {
  font-size: var(--fs-2xs);
  color: var(--or-300);
  letter-spacing: 0.04em;
  font-weight: 600;
}
.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: var(--fs-base);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 200ms var(--ease);
  min-height: 52px;
}
.drawer-nav-link:hover, .drawer-nav-link:active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--or-300);
  border-color: rgba(255, 203, 85, 0.2);
}
.drawer-nav-link[aria-current="page"] {
  background: rgba(229, 169, 28, 0.15);
  border-color: var(--or-500);
  color: #FFFFFF;
  font-weight: 700;
}
.drawer-nav-number {
  font-size: var(--fs-2xs);
  color: var(--or-400);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-block-start: auto;
  padding-block-start: var(--s-5);
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-footer-info {
  margin-block-start: var(--s-4);
  font-size: var(--fs-2xs);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* ============================================================
   6. BOUTONS HAUTE GAMME & MICRO-INTERACTIONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 clamp(1.4rem, 2vw, 2.2rem);
  border-radius: var(--pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 240ms var(--ease);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 45%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent);
  transform: skewX(-18deg);
  transition: left 650ms var(--ease);
  pointer-events: none;
}
.btn:hover::after,
.btn:focus-visible::after { left: 120%; }
.btn:active { transform: translateY(1.5px) scale(0.99); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
}

/* Bouton Or Impérial avec Shimmer */
.btn-or, .btn-gold {
  background: linear-gradient(135deg, #FFD573 0%, var(--or-500) 50%, #C48F12 100%);
  color: #2D1A00;
  box-shadow: 0 4px 18px rgba(229, 169, 28, 0.35);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-or:hover, .btn-gold:hover {
  background: linear-gradient(135deg, #FFE194 0%, #FFCB55 50%, #D49B18 100%);
  box-shadow: 0 8px 30px rgba(229, 169, 28, 0.55);
  color: #1F1100;
}
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.btn-shine:hover::after {
  left: 150%;
  transition: left 0.75s ease-in-out;
}

/* Bouton Verre Givré (Glassmorphism) */
.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Bouton Rouge Sanctuaire */
.btn-rouge, .btn-red {
  background: linear-gradient(135deg, var(--rouge-700), var(--rouge-850));
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(115, 26, 29, 0.35);
  border-color: rgba(255, 203, 85, 0.25);
}
.btn-rouge:hover, .btn-red:hover {
  background: linear-gradient(135deg, var(--rouge-600), var(--rouge-700));
  box-shadow: 0 10px 28px rgba(115, 26, 29, 0.5);
  border-color: var(--or-400);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF;
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

.btn-block {
  width: 100%;
  min-height: 52px;
  font-size: var(--fs-base);
}

/* ============================================================
   7. HERO LANDING PAGE : IMMERSION CINÉMATIQUE SOIRÉE SACRÉE
   Multi-Couches, Profondeur, Parallaxe Doux & Hiérarchie Forte
   ============================================================ */
.hero-immersive {
  position: relative;
  min-height: clamp(620px, 92vh, 960px);
  display: flex;
  align-items: flex-end;
  background: var(--rouge-950);
  color: #FFFFFF;
  overflow: hidden;
  padding-block: var(--s-8) clamp(3rem, 5vw, 5rem);
}

/* Couche 1 : Image de fond responsive */
.hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.02);
  transition: transform 2.5s var(--ease);
}
.hero-immersive:hover .hero-bg-img {
  transform: scale(1.04);
}

/* Couche 2 : Halo Lumineux Solaire d'Heure Dorée sur le Gopuram */
.hero-ambient-glow {
  position: absolute;
  top: 15%;
  right: 18%;
  width: clamp(280px, 45vw, 650px);
  height: clamp(280px, 45vw, 650px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 203, 85, 0.32) 0%, rgba(229, 169, 28, 0.15) 45%, transparent 70%);
  filter: blur(40px);
  z-index: 2;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.10); opacity: 1; }
}

/* Couche 3 : Scrim Cinématique Multi-Stop (Lisibilité + Préservation du Coucher de Soleil) */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    108deg,
    rgba(16, 2, 4, 0.94) 0%,
    rgba(16, 2, 4, 0.85) 42%,
    rgba(16, 2, 4, 0.45) 70%,
    rgba(16, 2, 4, 0.15) 100%
  );
  pointer-events: none;
}

/* Couche 4 : Contenu & Hiérarchie */
.hero-wrap {
  position: relative;
  z-index: 4;
}

.hero-content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.hero-content > * {
  animation: heroEnter 800ms var(--ease) both;
}
.hero-content > :nth-child(2) { animation-delay: 100ms; }
.hero-content > :nth-child(3) { animation-delay: 180ms; }
.hero-content > :nth-child(4) { animation-delay: 260ms; }
.hero-content > :nth-child(5) { animation-delay: 340ms; }
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(18px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Badge de statut / Eyebrow */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(229, 169, 28, 0.14);
  border: 1px solid rgba(255, 203, 85, 0.35);
  border-radius: var(--pill);
  padding: 6px 16px;
  width: fit-content;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--or-300);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
.badge-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--or-400);
  box-shadow: 0 0 10px var(--or-400);
  animation: pulseDot 2s infinite ease-in-out;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50%      { transform: scale(1.3); opacity: 1; }
}
.badge-sep {
  color: var(--or-400);
  opacity: 0.6;
}

/* Titre Hero Monumental */
.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.hero-desc {
  font-size: var(--fs-md);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.90);
  max-width: 54ch;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-block-start: var(--s-2);
}

/* Bandeau / Cartes de Prestige Flottantes (Trust Strip) */
.hero-trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-block-start: var(--s-6);
  padding-block-start: var(--s-5);
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-trust-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 203, 85, 0.18);
  border-radius: var(--radius);
  padding: 14px 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 250ms var(--ease), border-color 250ms;
}
.hero-trust-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 203, 85, 0.45);
  background: rgba(255, 255, 255, 0.08);
}
.trust-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--or-300);
  margin-block-end: 4px;
}
.trust-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.triptych-badge svg {
  width: 24px;
  height: 24px;
}
.trust-card-desc {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  margin: 0;
}

/* ============================================================
   8. SECTION FONDATIONS : TRIPTYQUE DES PILIERS (IVOIRE / CLAIR)
   ============================================================ */
.block {
  padding-block: var(--section-py);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-block-end: clamp(2rem, 4vw, 3.8rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rouge-700);
  margin-block-end: var(--s-2);
}
.section-dark .eyebrow {
  color: var(--or-400);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--or-500);
  border-radius: 2px;
  flex-shrink: 0;
}

.title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  line-height: 1.18;
  margin: 0 0 var(--s-3);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.015em;
}

.lead {
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-2);
}

/* Grille Triptyque Fondatrice */
.triptych-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr;
  gap: clamp(1.2rem, 2vw, 2.2rem);
  align-items: stretch;
}

.triptych-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(208, 195, 176, 0.5);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(32, 5, 7, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms;
  transform-style: preserve-3d;
}
.triptych-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(115, 26, 29, 0.12), 0 4px 14px rgba(229, 169, 28, 0.15);
  border-color: var(--or-500);
}
.triptych-card.highlight {
  background: linear-gradient(160deg, #FFFFFF 0%, #FFFDF8 100%);
  border-color: var(--or-500);
  box-shadow: 0 12px 34px rgba(229, 169, 28, 0.14);
}
.triptych-card.highlight::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(to right, var(--or-500), var(--or-400), var(--rouge-700));
}

.triptych-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rouge-100);
  color: var(--rouge-700);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  margin-block-end: var(--s-3);
  border: 1px solid rgba(115, 26, 29, 0.15);
}
.triptych-card.highlight .triptych-badge {
  background: linear-gradient(135deg, var(--rouge-700), var(--rouge-950));
  color: var(--or-300);
  border-color: var(--or-500);
  box-shadow: 0 4px 12px rgba(115, 26, 29, 0.25);
}

.triptych-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  margin-block-end: var(--s-2);
  color: var(--heading);
  line-height: 1.25;
}
.triptych-card p {
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.62;
  flex: 1;
}

.objective-label {
  color: var(--rouge-700);
  font-size: var(--fs-sm);
  font-family: var(--font-heading);
  white-space: nowrap;
}
.objective-label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  margin-inline-end: .25rem;
  border: 1px solid rgba(115, 26, 29, .25);
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: var(--fs-3xs);
  letter-spacing: .04em;
}

/* ============================================================
   9. SECTION DÉMARCHE & ESPACES : SHOWCASE ÉDITORIAL (IVOIRE)
   ============================================================ */
.two {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
.two.reverse {
  grid-template-columns: 1.15fr 1fr;
}

.editorial-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: var(--surface-subtle);
}
.editorial-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.editorial-frame:hover img {
  transform: scale(1.03);
}
.editorial-quote {
  position: absolute;
  inset-inline: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  background: rgba(18, 3, 5, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 203, 85, 0.28);
  padding: var(--s-3) var(--s-4);
  color: #FFFFFF;
}
.editorial-quote p {
  font-style: italic;
  font-size: var(--fs-xs);
  line-height: 1.52;
  color: var(--or-100);
  margin: 0;
}
.editorial-quote cite {
  display: block;
  font-style: normal;
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--or-400);
  margin-top: 5px;
  font-weight: 700;
}

/* Liste des Espaces Prévus */
.spaces-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-block: var(--s-4);
}
.space-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  border: 1.5px solid var(--border);
  transition: border-color 200ms, transform 200ms, box-shadow 200ms;
}
.space-item:hover {
  border-color: var(--rouge-700);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.space-icon {
  font-size: 1.1rem;
  color: var(--or-500);
  margin-top: 2px;
  flex-shrink: 0;
}
.space-text strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--sable-800);
  font-family: var(--font-heading);
}
.space-text span {
  font-size: var(--fs-xs);
  color: var(--text-2);
}

/* ============================================================
   10. SECTION ROADMAP & JALONS : AMBIANCE SOMBRE SACRÉE
   ============================================================ */
.roadmap-container {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.roadmap-stream {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.roadmap-stream::before {
  content: "";
  position: absolute;
  inset-inline-start: 22px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--or-400) 0%,
    var(--or-500) 45%,
    rgba(255, 203, 85, 0.2) 100%
  );
  border-radius: 2px;
}

.roadmap-item {
  position: relative;
  padding: 0 0 clamp(1.5rem, 3vw, 2.2rem) 62px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.roadmap-item:last-child { padding-block-end: 0; }

.roadmap-dot {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.90rem;
  flex-shrink: 0;
  border: 2px solid rgba(255, 203, 85, 0.25);
  background: var(--rouge-950);
  color: var(--text-2);
  transition: all 250ms var(--ease);
  z-index: 2;
}

.roadmap-item.done .roadmap-dot {
  background: var(--rouge-700);
  border-color: var(--or-400);
  color: #FFFFFF;
  box-shadow: 0 0 14px rgba(229, 169, 28, 0.35);
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(135deg, var(--or-400), var(--or-500));
  border-color: #FFFFFF;
  color: var(--or-900);
  box-shadow: 0 0 20px rgba(255, 203, 85, 0.65);
  animation: pulseRoadmap 2.2s infinite ease-in-out;
}
@keyframes pulseRoadmap {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 203, 85, 0.3), 0 0 16px rgba(255, 203, 85, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 203, 85, 0.1), 0 0 26px rgba(255, 203, 85, 0.7); }
}

.roadmap-item.upcoming .roadmap-dot {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.4);
}

.roadmap-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.roadmap-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-md);
  color: #FFFFFF;
}
.roadmap-item.active .roadmap-title {
  color: var(--or-300);
}
.roadmap-tag {
  font-size: var(--fs-2xs);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.roadmap-tag.tag-done {
  background: rgba(229, 169, 28, 0.18);
  color: var(--or-300);
  border: 1px solid rgba(229, 169, 28, 0.35);
}
.roadmap-tag.tag-active {
  background: var(--or-500);
  color: var(--or-900);
  font-weight: 800;
}
.roadmap-tag.tag-soon {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.roadmap-desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.58;
  max-width: 50ch;
  margin-top: 3px;
}

/* La timeline d'Avancement est claire : elle ne doit pas hériter du thème sombre. */
.section-ivory .roadmap-stream::before {
  background: linear-gradient(to bottom, var(--or-500), rgba(115, 26, 29, .22));
}
.section-ivory .roadmap-dot {
  background: var(--sable-25);
  border-color: rgba(115, 26, 29, .22);
  color: var(--rouge-700);
}
.section-ivory .roadmap-item.done .roadmap-dot {
  background: var(--rouge-700);
  color: #FFFFFF;
}
.section-ivory .roadmap-item.active .roadmap-dot {
  border-color: var(--or-500);
  color: var(--or-900);
}
.section-ivory .roadmap-item.upcoming .roadmap-dot {
  background: var(--sable-100);
  border-color: var(--sable-300);
  color: var(--sable-600);
}
.section-ivory .roadmap-title {
  color: var(--rouge-700);
}
.section-ivory .roadmap-item.active .roadmap-title {
  color: var(--rouge-800);
}
.section-ivory .roadmap-tag.tag-done {
  background: rgba(229, 169, 28, .14);
  color: var(--or-900);
  border-color: rgba(178, 128, 13, .32);
}
.section-ivory .roadmap-tag.tag-soon {
  background: var(--sable-100);
  color: var(--sable-600);
}
.section-ivory .roadmap-desc {
  color: var(--sable-600);
}

/* ============================================================
   11. SECTION BENTO GRID CULTUREL ASYMÉTRIQUE (LUMINEUX)
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.bento-card {
  background: var(--surface-raised);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.5vw, 2.5rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms;
  transform-style: preserve-3d;
}
.bento-ornament {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: .13;
  filter: saturate(.9);
  transition: opacity 300ms var(--ease), transform 400ms var(--ease);
}
.bento-ornament ~ * {
  position: relative;
  z-index: 1;
}
.ornament-vel {
  width: clamp(62px, 7vw, 96px);
  height: auto;
  right: clamp(1.2rem, 3vw, 3rem);
  bottom: -1.2rem;
  transform: rotate(8deg);
}
.ornament-vel-wide {
  right: 12%;
  bottom: -2.2rem;
  opacity: .1;
}
.ornament-peacock {
  width: clamp(130px, 15vw, 210px);
  height: auto;
  right: clamp(.5rem, 2vw, 1.8rem);
  bottom: -2.5rem;
  transform: rotate(-4deg);
}
.bento-card:hover .bento-ornament {
  opacity: .22;
  transform: translateY(-5px) rotate(8deg);
}
.bento-card:hover .ornament-peacock {
  transform: translateY(-5px) rotate(-4deg) scale(1.03);
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(115, 26, 29, 0.3);
}

/* Bento 1 : Grande carte vedette Paon & Arts */
.bento-card.bento-hero {
  grid-column: span 7;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  border-color: rgba(255, 203, 85, 0.3);
  justify-content: flex-end;
}
.bento-card.bento-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 2, 4, 0.95) 0%, rgba(16, 2, 4, 0.55) 55%, rgba(16, 2, 4, 0.2) 100%);
  z-index: 1;
}
.bento-card.bento-hero > * {
  position: relative;
  z-index: 2;
}
.bento-card.bento-hero h3 {
  color: #FFFFFF;
  font-size: var(--fs-xl);
}
.bento-card.bento-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 48ch;
}

/* Bento 2 : École & Transmission */
.bento-card.bento-vert {
  grid-column: span 5;
  background: linear-gradient(145deg, #FFFFFF 0%, #FFFDF8 100%);
  border-color: rgba(229, 169, 28, 0.35);
}

/* Bento 3 : Méditation & Spiritualité */
.bento-card.bento-medit {
  grid-column: span 5;
}

/* Bento 4 : Solidarité & Annadhanam */
.bento-card.bento-solidaire {
  grid-column: span 7;
  background: linear-gradient(135deg, var(--rouge-50) 0%, #FFFFFF 100%);
  border-color: rgba(115, 26, 29, 0.2);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--rouge-100);
  color: var(--rouge-700);
  border: 1px solid rgba(115, 26, 29, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: var(--s-3);
  font-size: 1.35rem;
  transition: all 250ms var(--ease);
}
.bento-icon svg {
  width: 25px;
  height: 25px;
}
.ribbon-icon svg {
  width: 24px;
  height: 24px;
}
.bento-card:hover .bento-icon {
  background: var(--rouge-700);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(115, 26, 29, 0.3);
}

.bento-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  color: var(--heading);
  margin-block-end: var(--s-2);
}
.bento-card p {
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.62;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-block-start: var(--s-4);
}
.bento-tag {
  font-size: var(--fs-2xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--rouge-700);
  letter-spacing: 0.03em;
}
.bento-hero .bento-tag {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

/* ============================================================
   12. SECTION PARTICIPATION (DONS, ADHÉSION & ACTIONS RAPIDES)
   ============================================================ */
.action-showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.4rem, 2.5vw, 2.6rem);
  margin-block-end: var(--s-6);
}

.action-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 3rem);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease);
  transform-style: preserve-3d;
}
.action-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Carte Donateur Mécène (Lumière & Or) */
.action-card.don-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FFFDF5 100%);
  border: 2px solid var(--or-500);
  box-shadow: 0 10px 32px rgba(229, 169, 28, 0.16), var(--shadow);
}
.action-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--or-700);
  margin-block-end: var(--s-3);
}

.action-card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  color: var(--heading);
  margin-block-end: var(--s-2);
}
.action-card p {
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.62;
  margin-block-end: var(--s-4);
}

/* Presets de dons interactifs et tactiles */
.don-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-end: var(--s-5);
}
.don-preset {
  padding: 9px 18px;
  border-radius: var(--pill);
  border: 1.5px solid var(--border-strong);
  font-weight: 800;
  font-size: var(--fs-sm);
  color: var(--sable-800);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 180ms var(--ease);
  user-select: none;
}
.don-preset:hover {
  border-color: var(--or-500);
  background: var(--or-100);
}
.don-preset.active {
  background: var(--or-500);
  color: #1F1100;
  border-color: var(--or-500);
  box-shadow: 0 3px 12px rgba(229, 169, 28, 0.35);
}

/* Carte Adhérent Citoyen */
.action-card.adhesion-card {
  background: var(--surface-raised);
  border: 1.5px solid var(--border);
}

/* Checklist privilèges membres */
.adhesion-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.adhesion-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--sable-800);
}
.perk-icon {
  color: var(--rouge-700);
  font-size: 0.9rem;
}

/* Bandeau Horizontal d'Actions Rapides */
.action-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  background: var(--surface-raised);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
}
.ribbon-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: var(--s-3);
  border-radius: var(--radius);
  transition: all 200ms var(--ease);
  min-height: 52px;
}
.ribbon-item:hover {
  background: var(--surface-subtle);
  transform: translateX(3px);
}
.ribbon-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rouge-100);
  color: var(--rouge-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ribbon-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  color: var(--sable-800);
}
.ribbon-text span {
  font-size: var(--fs-xs);
  color: var(--text-2);
}

/* ============================================================
   13. FAQ ACCORDÉON MODERNE
   ============================================================ */
.faq {
  max-width: 820px;
  margin-inline: auto;
}
.faq details {
  border-block-start: 1px solid var(--border);
  transition: background 200ms;
}
.faq details:last-child {
  border-block-end: 1px solid var(--border);
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-md);
  padding: var(--s-4) var(--s-2);
  color: var(--heading);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--or-600);
  line-height: 1;
  transition: transform 250ms var(--ease), color 200ms;
}
.faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  color: var(--rouge-700);
}
.faq details[open] {
  background: rgba(229, 169, 28, 0.04);
}
.faq p {
  padding: 0 var(--s-2) var(--s-5);
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.66;
}

/* ============================================================
   14. FOOTER NOBLE & COMPLET (DUSK SACRÉ & OR)
   ============================================================ */
footer.site {
  background:
    radial-gradient(circle at 8% 12%, rgba(229, 169, 28, .17), transparent 18rem),
    radial-gradient(circle at 92% 84%, rgba(115, 26, 29, .65), transparent 24rem),
    linear-gradient(145deg, #190405, var(--rouge-950) 55%, #260608);
  color: #FAF6EE;
  padding-block: var(--s-8) var(--s-6);
  border-block-start: 1px solid rgba(255, 203, 85, 0.18);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
footer.site::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background-image:
    radial-gradient(circle at center, transparent 0 9px, rgba(255, 203, 85, .28) 9.5px 10px, transparent 10.5px),
    linear-gradient(45deg, transparent 48%, rgba(255, 203, 85, .10) 49%, transparent 51%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 203, 85, .10) 49%, transparent 51%);
  background-size: 54px 54px, 27px 27px, 27px 27px;
  mask-image: linear-gradient(135deg, #000, transparent 42%, transparent 62%, #000);
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 42%, transparent 62%, #000);
}
footer.site::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -10rem;
  top: -12rem;
  border: 1px solid rgba(255, 203, 85, .20);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(255, 203, 85, .035), 0 0 0 4rem rgba(255, 203, 85, .025);
  pointer-events: none;
}
footer.site .footer-kudu {
  margin-block-end: var(--s-6);
  position: relative;
  opacity: .55;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-block-end: var(--s-7);
}
footer.site .cols > div {
  position: relative;
}
footer.site .cols > div:nth-child(n + 2) {
  padding: var(--s-5);
  border: 1px solid rgba(255, 203, 85, .13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 32px rgba(0, 0, 0, .12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
footer.site h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  color: var(--or-300);
  margin-block-end: var(--s-4);
}
footer.site p {
  color: rgba(250, 246, 238, 0.8);
  font-size: var(--fs-sm);
  line-height: 1.62;
  margin-block-end: var(--s-3);
}
footer.site ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer.site a {
  color: rgba(250, 246, 238, 0.85);
  transition: color 180ms;
  font-size: var(--fs-sm);
}
footer.site a:hover {
  color: var(--or-300);
}

.copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-block-start: var(--s-5);
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  color: rgba(250, 246, 238, 0.6);
}

/* Carte d'adresse de l'accueil */
.location-section {
  padding-block: var(--section-py);
  border-block-start: 1px solid var(--border);
}
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.location-copy .title {
  margin-block-end: var(--s-3);
}
.location-copy .lead {
  margin-block-end: var(--s-5);
}
.location-map {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--sable-100);
}
.location-map iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* ============================================================
   15. PAGES SECONDAIRES (PROJET, AVANCEMENT, PARTAGER, CONTACT...)
   ============================================================ */
.page-head {
  background: radial-gradient(circle at 75% 20%, #36090C 0%, var(--rouge-950) 80%);
  color: #FFFFFF;
  padding-block: var(--s-8) var(--s-7);
  border-block-end: 1px solid rgba(255, 203, 85, 0.16);
  position: relative;
  overflow: hidden;
}
.page-head h1 {
  font-size: var(--fs-3xl);
  color: #FFFFFF;
  margin-block-end: var(--s-2);
}
.kicker {
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or-400);
  margin-block-end: var(--s-2);
}
.prose {
  font-size: var(--fs-base);
  line-height: 1.7;
}
.prose p { margin-block-end: var(--s-4); }

/* ============================================================
   PAGE CONTACT : ACCUEIL CHALEUREUX & FORMULAIRE PREMIUM
   ============================================================ */
.contact-hero {
  position: relative;
  overflow: hidden;
  color: #FFF;
  background:
    radial-gradient(circle at 82% 12%, rgba(229, 169, 28, 0.23), transparent 26rem),
    radial-gradient(circle at 12% 100%, rgba(115, 26, 29, 0.56), transparent 30rem),
    var(--rouge-950);
  border-block-end: 1px solid rgba(255, 203, 85, 0.18);
}
.contact-hero::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -8rem;
  bottom: -14rem;
  border: 1px solid rgba(255, 203, 85, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 2rem rgba(255, 203, 85, 0.04), 0 0 0 4rem rgba(255, 203, 85, 0.025);
}
.contact-hero-inner {
  min-height: 260px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-6);
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}
.contact-eyebrow {
  color: var(--or-400);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-block-end: var(--s-3);
}
.contact-hero h1 {
  color: #FFF;
  font-size: var(--fs-3xl);
  line-height: 1.05;
  margin-block-end: var(--s-3);
}
.contact-lead {
  max-width: 40rem;
  color: rgba(255, 255, 255, .76);
  font-size: var(--fs-md);
}
.contact-hero-mark {
  color: var(--or-400);
  font-family: var(--font-heading);
  font-size: clamp(4rem, 9vw, 8rem);
  line-height: 1;
  opacity: .8;
  transform: rotate(12deg);
}
.contact-section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .8), transparent 45%),
    var(--sable-50);
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}
.contact-aside-card,
.contact-form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-aside-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: #FFF;
  background: linear-gradient(145deg, var(--rouge-700), var(--rouge-950));
}
.contact-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-block-end: var(--s-5);
  border: 1px solid rgba(255, 203, 85, .45);
  border-radius: 50%;
  color: var(--or-300);
  font-size: 1.35rem;
}
.contact-aside-card h2,
.contact-form-heading h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  margin-block-end: var(--s-3);
}
.contact-aside-card h2 { color: var(--or-200); }
.contact-aside-card > p:not(.contact-eyebrow) {
  color: rgba(255, 255, 255, .78);
  line-height: 1.7;
  margin-block-end: var(--s-5);
}
.contact-mail {
  display: block;
  padding-block-start: var(--s-4);
  border-block-start: 1px solid rgba(255, 203, 85, .25);
  color: var(--or-300);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.contact-info-list {
  display: grid;
  gap: var(--s-3);
  padding-block-start: var(--s-5);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .7);
}
.contact-info-item > span {
  color: var(--rouge-700);
  font-size: 1.25rem;
}
.contact-info-item strong,
.contact-info-item small { display: block; }
.contact-info-item strong { color: var(--sable-800); font-size: var(--fs-sm); }
.contact-info-item small { color: var(--text-2); font-size: var(--fs-xs); margin-block-start: 3px; }
.contact-form-card {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: rgba(255, 255, 255, .9);
}
.contact-form-heading {
  padding-block-end: var(--s-5);
  margin-block-end: var(--s-5);
  border-block-end: 1px solid var(--border);
}
.contact-form-heading .contact-eyebrow { margin-block-end: var(--s-2); }
.contact-form-heading h2 { color: var(--rouge-700); }
.contact-form-heading > p:last-child { color: var(--text-2); font-size: var(--fs-sm); }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.contact-form .field { display: flex; flex-direction: column; gap: 7px; }
.contact-form .field.full { grid-column: 1 / -1; }
.contact-form .l {
  color: var(--sable-800);
  font-size: var(--fs-xs);
  font-weight: 800;
}
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--sable-200);
  border-radius: var(--radius-sm);
  background: #FFF;
  color: var(--sable-800);
  font: inherit;
  padding: 12px 14px;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--or-500);
  box-shadow: 0 0 0 4px rgba(229, 169, 28, .14);
}
.contact-form .check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-2);
  font-size: var(--fs-xs);
  line-height: 1.55;
}
.contact-form .check input { margin-block-start: 4px; accent-color: var(--rouge-700); }
.contact-form .btn { width: 100%; min-height: 52px; }

/* ============================================================
   16. SCROLL REVEAL & MICRO-ANIMATIONS GPU
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .triptych-card,
  .bento-card,
  .action-card,
  .contact-form-card {
    --card-glow-x: 50%;
    --card-glow-y: 50%;
  }
  .triptych-card::after,
  .bento-card::after,
  .action-card::after,
  .contact-form-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--card-glow-x) var(--card-glow-y), rgba(255, 203, 85, .18), transparent 38%);
    transition: opacity 260ms ease;
  }
  .triptych-card:hover::after,
  .bento-card:hover::after,
  .action-card:hover::after,
  .contact-form-card:hover::after {
    opacity: 1;
  }
}

@media (hover: none) {
  .triptych-card:active,
  .bento-card:active,
  .action-card:active {
    transform: scale(.985);
  }
}

/* ============================================================
   17. MEDIA QUERIES MOBILE-FIRST : EXPÉRIENCE SUR-MESURE
   Optimisations pour 1024px, 860px, 640px, 414px, 390px, 375px, 360px
   ============================================================ */

/* — TABLETTE & ÉCRANS MOYENS (<= 1024px) — */
@media (max-width: 1024px) {
  .two, .two.reverse { grid-template-columns: 1fr; gap: var(--s-6); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); align-items: start; }
  .contact-info-list { padding-block-start: 0; }
  .roadmap-container { grid-template-columns: 1fr; gap: var(--s-6); }
  .bento-card.bento-hero { grid-column: span 12; }
  .bento-card.bento-vert { grid-column: span 12; }
  .bento-card.bento-medit { grid-column: span 12; }
  .bento-card.bento-solidaire { grid-column: span 12; }
  .action-showcase { grid-template-columns: 1fr; }
  .action-ribbon { grid-template-columns: 1fr; }
  .triptych-grid { grid-template-columns: 1fr; }
  .hero-trust-cards { grid-template-columns: 1fr; gap: var(--s-2); }
  .location-grid { grid-template-columns: 1fr; }
}

/* — TABLETTES ÉTROITES & MOBILES (<= 860px) — VRAI HEADER MOBILE */
@media (max-width: 860px) {
  :root {
    --header-h: var(--header-mobile-h);
  }

  /* Masquer nav desktop, afficher burger & quick cta */
  nav.main-desktop {
    display: none;
  }
  nav.main {
    display: none;
  }
  nav.main.mobile-open {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    z-index: 499;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: var(--s-3) var(--s-4) var(--s-4);
    background: rgba(20, 3, 5, 0.97);
    border: 0;
    border-block-end: 1px solid rgba(255, 203, 85, 0.2);
    border-radius: 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  nav.main.mobile-open a {
    display: block;
    padding: 12px 16px;
  }
  nav.main.mobile-open .m-only {
    display: block;
  }
  nav.main.mobile-open .header-join {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .actions .btn {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .burger {
    display: flex;
  }
  .mobile-quick-cta {
    display: inline-flex;
  }
  .note {
    height: 55px;
    min-height: 55px;
    overflow: hidden;
    line-height: 1.35;
  }
  header.site .brand {
    flex: 0 0 202px;
    width: 202px;
  }
  .brand-emblem-wrap,
  .brand-logo-frame {
    width: 52px;
    height: 52px;
  }
  .note {
    display: none;
  }
  .brand-text b {
    font-size: var(--fs-sm);
  }

  .hero-immersive {
    min-height: min(760px, 88dvh);
    min-height: min(760px, 88vh);
    padding-block: var(--s-6) var(--s-7);
    align-items: flex-end;
  }
  .hero-scrim {
    background: linear-gradient(
      to bottom,
      rgba(16, 2, 4, 0.20) 0%,
      rgba(16, 2, 4, 0.50) 35%,
      rgba(16, 2, 4, 0.90) 75%,
      rgba(16, 2, 4, 0.98) 100%
    );
  }
  .hero-bg-img {
    object-position: center 25%;
  }
  .hero-content {
    max-width: 100%;
  }

  .hero-ambient-glow {
    top: 8%;
    right: -24%;
    width: 360px;
    height: 360px;
    filter: blur(28px);
    opacity: .65;
  }

  .hero-trust-cards {
    grid-template-columns: 1fr;
  }

  .hero-trust-card {
    padding: 12px 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  footer.site .cols { grid-template-columns: 1fr; gap: var(--s-6); }
  .bento-ornament { opacity: .07; }
  .ornament-peacock { width: 112px; right: -.75rem; bottom: -2.4rem; }
  .ornament-vel { width: 58px; right: 1rem; bottom: -.8rem; }
  .section-light::before,
  .section-light::after,
  .section-ivory::before,
  .section-ivory::after,
  .section-foundations::after,
  .block:not(.section-dark):not(.section-light):not(.section-ivory):not(.section-foundations)::after {
    opacity: .035;
  }
}

/* — SMARTPHONES STANDARD (<= 640px) — */
@media (max-width: 640px) {
  .wrap {
    width: min(100%, 100% - 1.75rem);
  }

  @media (max-width: 390px) {
    .mobile-quick-cta {
      display: none;
    }
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-title {
    font-size: clamp(2rem, 9.5vw, 3rem);
    line-height: 1.05;
  }
  .hero-desc {
    font-size: var(--fs-base);
    line-height: 1.55;
  }
  .hero-badge {
    align-items: flex-start;
    border-radius: var(--radius-sm);
    line-height: 1.35;
    padding: 8px 12px;
  }
  .hero-bg-img {
    object-position: 62% 24%;
  }
  .hero-scrim {
    background: linear-gradient(
      to bottom,
      rgba(16, 2, 4, 0.24) 0%,
      rgba(16, 2, 4, 0.58) 38%,
      rgba(16, 2, 4, 0.94) 76%,
      rgba(16, 2, 4, 0.99) 100%
    );
  }
  .hero-trust-card {
    padding: 11px 13px;
  }
  .hero-trust-cards {
    margin-block-start: var(--s-5);
    padding-block-start: var(--s-4);
  }
  .contact-hero-inner { min-height: 230px; }
  .contact-hero-mark { display: none; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .field.full { grid-column: auto; }
  .contact-aside { display: block; }
  .contact-info-list { padding-block-start: var(--s-4); }
  .don-presets {
    justify-content: flex-start;
  }
  .don-preset {
    flex: 1 1 calc(33.333% - 8px);
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .location-section { padding-block: var(--s-7); }
  .location-map,
  .location-map iframe { min-height: 260px; height: 260px; }
  .page-head {
    padding-block: var(--s-6) var(--s-5);
  }
  .page-head h1 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
    line-height: 1.12;
  }
  .page-head p {
    font-size: var(--fs-sm);
    line-height: 1.5;
  }
  .page-avancement .block {
    padding-block: var(--s-7);
  }
  .page-avancement .triptych-card {
    padding: var(--s-5);
    border-radius: var(--radius);
  }
  .page-avancement .triptych-card h3 {
    font-size: var(--fs-sm);
  }
  .page-avancement .triptych-card p,
  .page-avancement .roadmap-desc {
    font-size: var(--fs-xs);
    line-height: 1.55;
  }
  .page-avancement .roadmap-item {
    padding-inline-start: 48px;
    padding-block-end: var(--s-5);
  }
  .page-avancement .roadmap-dot {
    width: 34px;
    height: 34px;
    font-size: var(--fs-3xs);
  }
  .page-avancement .roadmap-stream::before {
    inset-inline-start: 16px;
  }
  .page-avancement .roadmap-title {
    font-size: var(--fs-sm);
    line-height: 1.35;
  }
  .page-avancement .roadmap-tag {
    font-size: var(--fs-3xs);
    padding-inline: 8px;
  }
  .page-avancement .section-head {
    margin-block-end: var(--s-5);
  }
}

/* — SMARTPHONES COMPACTS (<= 390px / 375px / 360px) — */
@media (max-width: 390px) {
  .wrap {
    width: min(100%, 100% - 1.25rem);
  }
  .brand-sub {
    display: none; /* Allège la marque pour éviter tout overflow */
  }
  .brand-main {
    font-size: var(--fs-sm);
  }
  .header-actions { gap: var(--s-2); }
  .mobile-quick-cta {
    min-height: 40px;
    padding-inline: 12px;
  }
  .hero-immersive {
    min-height: min(720px, 86dvh);
    min-height: min(720px, 86vh);
  }
  .hero-title {
    font-size: clamp(1.85rem, 9.3vw, 2.45rem);
  }
  .btn {
    min-height: 48px;
    font-size: var(--fs-xs);
    padding: 0 1.2rem;
  }
  .don-preset {
    flex: 1 1 calc(50% - 8px);
  }
  .note {
    font-size: var(--fs-2xs);
  }
}

/* Même géométrie de header pour les deux variantes de markup. */
@media (min-width: 861px) {
  header.site .brand-emblem-wrap,
  header.site .brand-logo-frame {
    width: 58px;
    height: 58px;
  }

  header.site nav.main-desktop,
  header.site nav.main {
    min-height: 44px;
  }

  header.site nav.main-desktop a,
  header.site nav.main a {
    min-height: 44px;
    line-height: 1.2;
  }
}

/* ============================================================
   18. RESPECT STRICT PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .triptych-card:hover, .bento-card:hover { transform: none; }
  .hero-ambient-glow,
  .hero-bg-img { animation: none; transition: none; transform: none; }
  .scroll-progress { transition: none; }
}

/* ============================================================
   PAGES ADHESION & DON : VERSION EDITORIALE SOBRIE
   ============================================================ */
.legacy-page .note { font-size: var(--fs-2xs); min-height: 41px; }
.legacy-page .bar { min-height: var(--header-h); }
.legacy-page .page-head {
  padding-block: 3.15rem 2.5rem;
  min-height: 168px;
  background:
    radial-gradient(circle at 82% 20%, rgba(115, 26, 29, .75), transparent 45%),
    linear-gradient(105deg, #260608, #4b0e12);
}
.legacy-page .page-head h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.035em;
}
.legacy-page .page-head p { max-width: 650px; font-size: var(--fs-base); color: rgba(255,255,255,.86); }
.legacy-page .page-head .kicker { display: none; }
.legacy-page .block {
  padding-block: 4.5rem 5.5rem;
  min-height: 470px;
  background: #FFF;
}
.legacy-page .two {
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
.legacy-page .title {
  color: var(--rouge-700);
  font-size: var(--fs-2xl);
  text-transform: uppercase;
}
.legacy-page .side p,
.legacy-page .side li,
.legacy-page .stack p {
  font-size: var(--fs-sm);
  line-height: 1.58;
}
.legacy-page .side ul { padding-inline-start: 1rem; }
.legacy-page .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem .8rem;
}
.legacy-page .field { min-width: 0; }
.legacy-page .field.full { grid-column: 1 / -1; }
.legacy-page .l,
.legacy-page legend {
  display: block;
  color: var(--sable-800);
  font-size: var(--fs-xs);
  font-weight: 700;
  margin-block-end: .35rem;
}
.legacy-page input:not([type="checkbox"]):not([type="radio"]),
.legacy-page select,
.legacy-page textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  border: 1px solid #D9CFC2;
  border-radius: 10px;
  background: #FFF;
  color: var(--sable-800);
  font: inherit;
  padding: 8px 12px;
}
.legacy-page textarea { min-height: 66px; resize: vertical; }
.legacy-page fieldset { border: 1px solid #EEEAE5; padding: .6rem .7rem; }
.legacy-page .chips,
.legacy-page .seg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
}
.legacy-page .chips input,
.legacy-page .seg input { position: absolute; opacity: 0; pointer-events: none; }
.legacy-page .chips label,
.legacy-page .seg label {
  padding: .42rem .7rem;
  border: 1px solid #E2D9CA;
  border-radius: 999px;
  font-size: var(--fs-xs);
  cursor: pointer;
}
.legacy-page .chips input:checked + label,
.legacy-page .seg input:checked + label {
  color: #FFF;
  background: var(--rouge-700);
  border-color: var(--rouge-700);
}
.legacy-page .check {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: var(--text-2);
  font-size: var(--fs-xs);
  line-height: 1.45;
}
.legacy-page .check input { margin-block-start: 2px; accent-color: var(--rouge-700); }
.legacy-page .btn-block { width: 100%; }
.legacy-page .grid > .field:last-child .btn {
  min-height: 38px;
  border-radius: 999px;
  font-size: var(--fs-xs);
}
.legacy-page .box {
  padding: 2rem;
  border: 1px solid #E4DDD4;
  border-radius: 15px;
  background: #FFF;
  box-shadow: 0 12px 28px rgba(32, 5, 7, .12);
}
.legacy-page .box .seg { border: 0; padding: 0; margin-block-end: .8rem; }
.legacy-page .box .seg label { padding-inline: .8rem; }
.legacy-page .box .btn { min-height: 38px; border-radius: 999px; }
.legacy-page .box .fine { font-size: var(--fs-2xs); line-height: 1.55; }
.legacy-page .band-gold {
  background:
    radial-gradient(circle at 90% 12%, rgba(229, 169, 28, .10), transparent 16rem),
    linear-gradient(135deg, var(--sable-25), var(--sable-50));
}

@media (max-width: 860px) {
  .legacy-page .bar { min-height: var(--header-mobile-h); }
  .legacy-page .page-head { min-height: auto; padding-block: 2.8rem 2rem; }
  .legacy-page .block { padding-block: 3rem; }
  .legacy-page .two { grid-template-columns: 1fr; gap: 2.5rem; }
  .legacy-page .side { text-align: left; }
}
@media (max-width: 640px) {
  .legacy-page .wrap { width: min(100%, 100% - 2rem); }
  .legacy-page .grid { grid-template-columns: 1fr; }
  .legacy-page .field.full { grid-column: auto; }
  .legacy-page .box { padding: 1.25rem; }
  .legacy-page .page-head h1 { font-size: var(--fs-3xl); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-emblem-wrap,
  .brand-logo-frame,
  .brand-emblem-wrap::before,
  .brand-logo-frame::before {
    animation: none;
  }
  .btn::after { display: none; }
}
