/* ============================================================
   style.css — Invitation Mariage V1 — Nature Enchantée
   Consolidé : toutes les passes 1–63 fusionnées
   Valeurs finales uniquement — zéro code mort
   📅 16 avril 2026
   ✏️ Ne jamais modifier pour un couple → config.js uniquement
   🔒 Architecture scalable V1→V2, mobile-first iOS Safari
============================================================ */

/* ═══════════════════════════════════════════════════════════
   VARIABLES CSS — tokens centralisés
   🔧 Config : toutes les couleurs et espacements ici
═══════════════════════════════════════════════════════════ */
:root {
  /* 🎨 DA — Palette Nature Enchantée */
  --bg:           #FAF7F2;  /* ivoire chaud principal         */
  --bg-alt:       #F3EDE3;  /* ivoire légèrement soutenu      */
  --bg-card:      rgba(255,253,248,0.95);
  --text:         #2C2A26;  /* brun foncé                     */
  --text-muted:   #7A7068;  /* brun doux                      */
  --accent:       #2D4A35;  /* vert forêt profond             */
  --accent2:      #3D5243;  /* vert moyen — hover states      */
  --accent-light: #8A9E8A;  /* vert sauge — borders subtils   */
  --gold:         #C4922A;  /* or saturé — heures, accents    */
  --gold-light:   #E8C97A;  /* or champagne — héros, kickers  */
  --warm:         #C4957A;  /* terracotta — kickers sections  */
  --border:       rgba(107,127,107,0.18);
  --border-gold:  rgba(196,146,42,0.25);

  /* 🎨 Ombres réutilisables */
  --sh-soft:  0 4px 24px rgba(44,42,38,.07);
  --sh-card:  0 8px 40px rgba(44,42,38,.11);
  --sh-hover: 0 12px 48px rgba(44,42,38,.17);

  /* 🔧 Typographie */
  --ff-title: 'Playfair Display', Georgia, serif;
  --ff-body:  'Poppins', 'Segoe UI', sans-serif;

  /* 🔧 Espacements (échelle cohérente) */
  --sp-xs: .5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;
  --sp-xxl: 7rem;

  /* 🔧 Rayons et transitions */
  --r-sm:   4px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-full: 50%;
  --tf: .2s ease-out;
  --tb: .3s ease-out;
  --ts: .6s ease-out;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  /* 📱 cursor:none masqué sur mobile via .custom-cursor media query */
  cursor: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--tf); }
a:hover { color: var(--accent2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ─── IMPORT GOOGLE FONTS — Great Vibes (prénoms hero) + Cormorant Garamond (sceau) ─── */
/* 🔒 DO NOT TOUCH */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,700;1,300;1,400;1,500&family=Cinzel:wght@400;700&display=swap');

/* ─── CURSEUR CUSTOM (desktop pointer:fine uniquement) ─── */
.custom-cursor {
  width: 24px; height: 24px;
  border: 2px solid var(--gold); border-radius: var(--r-full);
  background: transparent; position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999; transform: translate(-50%,-50%);
  transition: width var(--tf), height var(--tf), background var(--tf), opacity var(--tf);
  opacity: 0;
}
.custom-cursor.visible  { opacity: 1; }
.custom-cursor.hovered  { width: 40px; height: 40px; background: rgba(200,169,122,.15); }
@media (pointer: coarse) { .custom-cursor { display: none; } body { cursor: auto; } }

/* ═══════════════════════════════════════════════════════════
   FOND FIXE iOS-SAFE
   🔒 Technique : position:fixed sur div (≠ background-attachment:fixed)
   ✅ Fonctionne sur iPhone/Safari — la forêt reste immobile
═══════════════════════════════════════════════════════════ */
#bg-fixed {
  position: fixed; inset: 0; z-index: 0;
  background-image: url('assets/forest-night.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: var(--bg);
}
#bg-fixed::after {
  content: ''; position: absolute; inset: 0;
  background: transparent; pointer-events: none;
}
/* 📱 Image portrait dédiée mobile */
@media (max-width: 767px) {
  #bg-fixed {
    background-image: url('assets/forest-night-mobile.jpg');
    background-position: center center;
  }
}

/* ═══════════════════════════════════════════════════════════
   LUCIOLES
   🎨 DA : or chaud animé — z-index 5 (sous les cards et forms)
═══════════════════════════════════════════════════════════ */
.fireflies-container {
  position: fixed; inset: 0; pointer-events: none;
  z-index: 5; overflow: hidden;
}
.firefly {
  position: absolute; border-radius: var(--r-full);
  background: radial-gradient(circle, #FFFFFF 0%, #E8C97A 30%, #C4922A 65%, transparent 100%);
  box-shadow:
    0 0 6px 3px rgba(232,201,122,.9),
    0 0 18px 7px rgba(196,146,42,.55),
    0 0 36px 12px rgba(196,146,42,.22);
  opacity: 0;
  animation: fireFloat linear infinite;
}
@keyframes fireFloat {
  0%   { opacity: 0;   transform: translate(0,0)       scale(.6);  }
  15%  { opacity: .9;  transform: translate(8px,-12px)  scale(1.1); }
  35%  { opacity: .7;  transform: translate(-5px,-28px) scale(1);   }
  55%  { opacity: .85; transform: translate(10px,-44px) scale(1.15);}
  75%  { opacity: .6;  transform: translate(-8px,-58px) scale(.95); }
  100% { opacity: 0;   transform: translate(4px,-72px)  scale(.7);  }
}

/* ─── PREFERS REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  .firefly, .animate-on-scroll, .envelope-flap, .envelope-card {
    animation: none !important; transition: none !important;
  }
  .animate-on-scroll { opacity: 1 !important; transform: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   INTRO ENVELOPPE — Architecture 3D
   🎨 DA : enveloppe = conteneur CSS, carte sort vers le haut
   Fond bg-paper ivoire — pas la forêt
═══════════════════════════════════════════════════════════ */

/* Overlay plein écran */
.intro-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: clamp(16px, 3vh, 28px);
  background-color: #1E3D28;
  background-image: url('assets/bg-paper.jpg');
  background-size: cover;
  background-position: 55% center;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* 📱 Mobile : image portrait dédiée */
@media (max-width: 767px) {
  .intro-overlay {
    background-image: url('assets/bg-paper-mobile.jpg');
    background-position: center center;
  }
}
.intro-overlay.fade-out { animation: fadeOut .8s ease-out forwards; }
@keyframes fadeOut { to { opacity: 0; pointer-events: none; } }

/* Scène perspective 3D */
.envelope-scene {
  position: relative;
  width: min(720px, 90vw);
  height: min(470px, 66vw);
  perspective: 1400px;
  display: flex; align-items: center; justify-content: center;
  /* 🎨 Légèrement descendu pour laisser respirer les décos du haut */
  transform: translateY(clamp(2rem, 5vh, 4rem));
}
/* 📱 Mobile */
@media (max-width: 767px) {
  .envelope-scene {
    width: min(88vw, 420px);
    height: min(58vw, 280px);
    transform: translateY(clamp(1.5rem, 4vh, 3rem));
  }
}

.envelope-wrapper { position: relative; width: 100%; height: 100%; }
.envelope { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; }

/* ── Éléments partagés : front, back, card ── */
.envelope-front, .envelope-back, .envelope-card {
  position: absolute; inset: 0; border-radius: 12px;
  background-size: cover; background-position: center;
  box-shadow: 0 24px 60px rgba(44,42,38,.38);
}
.envelope-front {
  background-image: url('assets/envelope-paper.jpg');
  z-index: 3; display: flex; align-items: center; justify-content: center;
}
.envelope-back {
  background-image: url('assets/envelope-paper.jpg');
  z-index: 1; filter: brightness(.88);
}

/* Rabat triangle */
.envelope-flap {
  position: absolute; top: 0; left: 0; right: 0; height: 55%;
  background-image: inherit; background-size: cover; background-position: center top;
  clip-path: polygon(0 0,100% 0,50% 80%);
  transform-origin: top center; border-radius: 12px 12px 0 0;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.4,0,.2,1);
  filter: brightness(.92);
}

/* Carte intérieure */
.envelope-card {
  background-image: url('assets/card-paper.jpg');
  z-index: 2; display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateY(12px) translateZ(-4px) scale(.97);
  transition: opacity .3s ease-out;
}

/* ── Animations d'ouverture (déclenchées par JS via body.intro-open) ── */
body.intro-open .envelope-flap {
  animation: flapOpen 1.0s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes flapOpen {
  0%   { transform: rotateX(0deg); }
  100% { transform: perspective(900px) rotateX(-160deg); }
}
body.intro-open .envelope {
  animation: envelopeLift 1.2s ease-out forwards;
}
@keyframes envelopeLift {
  0%   { transform: translateY(0) translateZ(0); }
  100% { transform: translateY(-12px) translateZ(30px); }
}
body.intro-open .envelope-card {
  animation: cardPop 1.8s cubic-bezier(.2,0,.3,1) forwards .4s;
}
@keyframes cardPop {
  0%   { opacity: 0; transform: translateY(10px) translateZ(-4px) scale(.97); }
  15%  { opacity: 1; transform: translateY(5px)  translateZ(10px) scale(.98); }
  100% { opacity: 1; transform: translateY(-14%) translateZ(28px) scale(1.0); }
}

/* Textes de la carte — apparaissent en cascade */
.envelope-card-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 1.4rem 1.8rem; text-align: center; max-width: 85%;
}
.envelope-card-kicker {
  font-family: var(--ff-body); font-size: 1.65rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px; position: relative; z-index: 2; opacity: 0;
}
/* 🎨 Pass 82 : kicker long → italic Playfair, taille confortable sur 2 lignes */
.envelope-card-kicker--long {
  font-family: var(--ff-title);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-style: italic; font-weight: 400;
  letter-spacing: .02em; text-transform: none;
  line-height: 1.5;
}
.envelope-card-names {
  font-family: var(--ff-title);
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
  /* 🎨 Vert forêt profond sur fond carte ivoire — premium (Pass 24) */
  color: var(--accent);
  font-weight: 600;
  opacity: 0;
}
.envelope-card-date {
  font-family: var(--ff-title);
  font-style: italic;
  /* 🎨 font-weight 500 — plus de présence, bien lisible sur fond floral */
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gold);
  /* 🎨 2rem — date bien visible, hiérarchie claire après les prénoms */
  font-size: 2rem;
  margin-top: 8px; opacity: 0;
}
.envelope-card-date::before,
.envelope-card-date::after { content: ' — '; font-style: normal; opacity: .70; font-size: .85em; }

body.intro-open .envelope-card-kicker { animation: textFade .5s ease-out forwards 1.1s; }
body.intro-open .envelope-card-names  { animation: textFade .5s ease-out forwards 1.3s; }
body.intro-open .envelope-card-date   { animation: textFade .5s ease-out forwards 1.55s; }
@keyframes textFade {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* 📱 Mobile : carte textes adaptés */
@media (max-width: 767px) {
  .envelope-card-inner { gap: 6px; padding: 1.1rem 1.4rem; }
  .envelope-card-kicker { font-size: .95rem; letter-spacing: .20em; margin-bottom: 4px; }
  .envelope-card-names  { font-size: 6.2vw; white-space: nowrap; letter-spacing: -.01em; }
  .envelope-card-date   { font-size: 1rem; margin-top: 4px; }
}

/* ─── SCEAU DE CIRE ─── */
/* 🎨 DA : Great Vibes italic, ivoire gravé, positionné sur le joint */
.wax-seal {
  position: relative;
  width: clamp(200px, 30vw, 260px);
  height: clamp(200px, 30vw, 260px);
  margin-top: 30%;
  border: none; background: none; padding: 0;
  cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease-out, transform .4s ease-out;
}
/* 📱 Mobile */
@media (max-width: 480px) {
  .wax-seal {
    width: clamp(130px, 34vw, 170px);
    height: clamp(130px, 34vw, 170px);
    margin-top: 32%;
  }
}
/* Sceau disparaît à l'ouverture */
body.intro-open .wax-seal { animation: sealFade .4s ease-out forwards .1s; }
@keyframes sealFade { to { opacity: 0; transform: scale(.75); } }

.wax-seal-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; mix-blend-mode: multiply;
  filter: saturate(1.4) contrast(1.15) drop-shadow(0 4px 14px rgba(120,55,30,.55));
  transition: filter var(--tf), transform var(--tf);
}
.wax-seal:hover .wax-seal-img {
  filter: saturate(1.6) contrast(1.2) drop-shadow(0 6px 22px rgba(120,55,30,.75));
  transform: scale(1.06);
}
.wax-seal:active .wax-seal-img { transform: scale(.95); }

/* 🎨 Initiales sceau — Cormorant Garamond italic, effet gravure diagonal
   Pass 64 : 3 spans positionnés en triangle décalé (J haut-gauche / & centre / L bas-droite)
   Identique à l'effet gravure des sceaux luxe papeterie */
/* 🎨 Pass 80 : fallback Cormorant pour symboles non-latins (♥ ✦ etc.) */
.wax-seal-initials .si--cormorant {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-style: normal;
}
/* 🎨 Pass 75 : sceau — Cinzel validé (gravure romaine élégante)
   Couleur unifiée #F5D070 sur les 3 caractères
   Ombres : reflet haut + ombre nette sous lettre + halo doux = gravure sans "jeu vidéo" */
.wax-seal-initials {
  position: absolute; z-index: 5;
  width: 58%; height: 58%;
  display: flex; align-items: center; justify-content: center;
  user-select: none; pointer-events: none;
}
.wax-seal-initials .si {
  position: absolute;
  font-family: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  /* 🎨 Gravure équilibrée : reflet haut léger + ombre portée nette + halo profond */
  text-shadow:
    0 -1px 0  rgba(255,245,150,.45),   /* reflet sommet = relief */
    0  2px 4px rgba(0,0,0,.88),         /* ombre portée nette */
    0  0  14px rgba(0,0,0,.55);         /* halo profond = profondeur */
}
/* J — position validée */
.wax-seal-initials .si--1 {
  font-size: clamp(1.5rem, 3.9vw, 2.6rem);
  color: #F5D070;
  top: 28%; left: 24%;
}
/* & — même couleur que J et L */
.wax-seal-initials .si--amp {
  font-size: clamp(1.25rem, 2.9vw, 2.1rem);
  font-weight: 400;
  color: #F5D070;              /* 🎨 unifié avec J et L */
  top: 47%; left: 50%;
  transform: translate(-50%, -50%);
}
/* L — remonté 2% + légèrement vers la gauche */
.wax-seal-initials .si--2 {
  font-size: clamp(1.5rem, 3.9vw, 2.6rem);
  color: #F5D070;
  bottom: 33%; right: 22%;    /* bottom 31→33% remonté, right 20→22% vers gauche */
}
/* 📱 Mobile */
@media (max-width: 480px) {
  .wax-seal-initials .si--1,
  .wax-seal-initials .si--2 { font-size: clamp(1.3rem, 5.5vw, 2rem); }
  .wax-seal-initials .si--amp { font-size: clamp(1.05rem, 3.8vw, 1.55rem); }
}

.wax-seal-glow {
  position: absolute; inset: -16px; border-radius: var(--r-full);
  background: radial-gradient(circle, rgba(200,169,122,.55) 0%, transparent 70%);
  opacity: 0; pointer-events: none; transition: opacity .4s ease-out;
}
.wax-seal.glowing .wax-seal-glow { opacity: 1; }

/* Hint "Brisez le sceau" */
.intro-hint {
  font-family: var(--ff-body);
  font-size: .85rem;
  color: rgba(250, 247, 242, 0.92);
  letter-spacing: .20em;
  text-align: center;
  margin-top: clamp(.5rem, 1.5vh, 1.5rem);
  text-shadow: 0 1px 8px rgba(0,0,0,.70), 0 0 20px rgba(0,0,0,.40);
  animation: hintPulseStrong 3.2s ease-in-out infinite;
}
.intro-hint::before {
  content: '✦'; display: block; font-size: .75rem;
  color: var(--gold-light); text-align: center; margin-bottom: .35rem;
  animation: hintPulseStrong 3.2s ease-in-out infinite; animation-delay: .4s;
}
@keyframes hintPulseStrong {
  0%, 100% { opacity: .55; }
  50%       { opacity: 1;   }
}

/* "Passer l'introduction" — très discret */
.intro-skip {
  position: absolute; bottom: clamp(16px, 4vh, 32px); left: 50%; transform: translateX(-50%);
  background: transparent;
  border: 1px solid rgba(250,247,242,.15); border-radius: 20px;
  color: rgba(250,247,242,.45);
  font-family: var(--ff-body); font-size: .62rem;
  font-weight: 400; letter-spacing: .08em;
  padding: 9px 22px; cursor: pointer; white-space: nowrap;
  min-height: 44px; display: flex; align-items: center;
  opacity: .28;
  transition: opacity .4s ease, color var(--tf), border-color var(--tf);
}
.intro-skip:hover {
  opacity: .75;
  border-color: rgba(250,247,242,.40);
  color: rgba(250,247,242,.80);
  background: transparent;
}

/* Transition forêt enchantée (entre enveloppe et hero) */
.forest-transition {
  position: fixed; inset: 0; z-index: 999;
  background-image: url('assets/forest-night.jpg');
  background-size: cover; background-position: center top;
  background-repeat: no-repeat;
  background-color: var(--bg);
  pointer-events: none; display: none; opacity: 0;
}
.forest-transition::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(196,146,42,.06); pointer-events: none;
}
/* 📱 Mobile : image portrait */
@media (max-width: 767px) {
  .forest-transition {
    background-image: url('assets/forest-night-mobile.jpg');
    background-position: center top;
  }
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   🎨 DA : vert forêt nuit semi-transparent + blur (desktop)
   📱 Mobile : backdrop-filter: none pour perf GPU
═══════════════════════════════════════════════════════════ */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 30, 20, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(196,169,110,0.20);
  padding: .75rem 0;
  transition: box-shadow var(--tb);
}
.site-nav.scrolled {
  background: rgba(18, 30, 20, 0.88);
  box-shadow: 0 2px 20px rgba(0,0,0,0.30);
}
/* 📱 Mobile : pas de blur — perf GPU */
@media (max-width: 767px) {
  .site-nav, .site-nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(18, 30, 20, 0.92);
  }
}
.site-nav__brand {
  font-family: var(--ff-title); font-size: 1.08rem; font-style: italic;
  color: rgba(250, 247, 242, 0.90) !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.site-nav .nav-link {
  font-family: var(--ff-body); font-size: .75rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(250, 247, 242, 0.68) !important;
  padding: 6px 12px !important;
  transition: color var(--tf);
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus { color: var(--gold-light) !important; }
.site-nav .nav-item--cta .nav-link {
  background: var(--accent); color: #fff !important;
  border-radius: 20px; padding: 6px 18px !important; margin-left: var(--sp-sm);
  border: 1px solid rgba(196,169,110,0.25);
}
.site-nav .nav-item--cta .nav-link:hover { background: var(--accent2) !important; }
.site-nav__toggler {
  border-color: rgba(250,247,242,.32) !important;
  background: transparent !important;
}
.site-nav__toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(250,247,242,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.site-nav__toggler:focus { box-shadow: 0 0 0 2px rgba(196,169,110,.30) !important; }
/* 📱 Menu mobile collapse */
@media (max-width: 991px) {
  #navMenu.show, #navMenu.collapsing {
    background: rgba(14, 24, 16, 0.97);
    border-radius: 0 0 var(--r-md) var(--r-md);
    padding: var(--sp-sm) var(--sp-md) var(--sp-md);
    border: 1px solid rgba(196,169,110,0.18);
    border-top: none; margin-top: 2px;
  }
  #navMenu .nav-link {
    padding: 10px 0 !important; font-size: .82rem !important;
    border-bottom: 1px solid rgba(196,169,110,0.10);
  }
  #navMenu .nav-item:last-child .nav-link { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════
   HERO — Fullscreen, transparent sur bg-fixed
   🎨 DA : le hero NE duplique PAS forest-night.jpg
   Il est transparent → laisse voir le bg-fixed
   Résultat : une seule forêt immobile sous tout le site
═══════════════════════════════════════════════════════════ */
.hero-section {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: transparent;
  min-height: 100vh;
  min-height: 100svh; /* 📱 iOS anti-barre d'adresse */
  justify-content: flex-start;
}

/* Zone haute : texte */
.hero-top {
  position: relative; flex: 1;
  background: none !important;
  padding: clamp(2rem, 6vh, 4rem) var(--sp-md) clamp(2.5rem, 6vh, 5rem);
  display: flex; align-items: flex-start; justify-content: flex-start;
  isolation: isolate;
}
.hero-top::before, .hero-top::after { display: none; }
/* 📱 Mobile */
@media (max-width: 767px) {
  .hero-top { padding-top: clamp(1rem, 4vh, 2.5rem); flex: 1 !important; }
}
/* 🖥️ Desktop */
@media (min-width: 1024px) {
  .hero-top { padding: clamp(3.5rem, 9vh, 6.5rem) var(--sp-lg) clamp(2.5rem, 5vh, 4.5rem); }
}

/* 🎨 Halo de brume derrière le bloc texte — garantit lisibilité sur toute photo */
.hero-text-inner { position: relative; }
.hero-text-inner::before {
  content: ''; position: absolute; inset: -2rem -2.5rem;
  background: radial-gradient(ellipse at center,
    rgba(20,34,20,0.28) 0%, rgba(20,34,20,0.12) 60%, transparent 100%);
  border-radius: 50%; pointer-events: none; z-index: -1;
}

/* Contenu texte centré */
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 0 var(--sp-md); max-width: 860px; margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
}
/* 📱 Mobile */
@media (max-width: 767px) {
  .hero-content { margin-top: clamp(.5rem, 2vh, 1.5rem); }
}

/* Tagline italic (ex. "Notre histoire prend racine ici.") */
.hero-tagline {
  font-family: var(--ff-title);
  /* 🎨 +25% par rapport au précédent — plus présente, lisible dès l'arrivée */
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  font-style: italic; font-weight: 500;
  color: var(--gold-light);
  letter-spacing: .04em; text-align: center;
  margin-bottom: .4rem;
  text-shadow:
    0 0 2px rgba(0,0,0,.90),
    0 1px 10px rgba(0,0,0,.75),
    0 0 28px rgba(0,0,0,.45);
}
@media (max-width: 767px) {
  .hero-tagline { font-size: clamp(.92rem, 4.5vw, 1.15rem); margin-bottom: var(--sp-xs); }
}

/* Kicker "SAVE THE DATE" */
.hero-kicker {
  font-family: var(--ff-body);
  /* 🎨 Légèrement plus grand */
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  /* 🎨 Pass 65 : font-weight 600 — plus de présence, comme l'ancien rendu */
  font-weight: 600; letter-spacing: .30em; text-transform: uppercase;
  color: var(--gold-light);
  /* 🎨 Pass 64 : ombres dures Pass 60 restaurées — contour 2px = netteté gravée */
  text-shadow:
    0 0 2px rgba(0,0,0,.95),
    0 2px 12px rgba(0,0,0,.75),
    0 0 30px rgba(0,0,0,.50);
  margin-bottom: .5rem;
}
.hero-deco-line {
  display: block; width: clamp(80px,12vw,120px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 0 auto .8rem; opacity: 1;
}

/* Prénoms — Great Vibes calligraphique */
.hero-names {
  font-family: 'Great Vibes', var(--ff-title), serif;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 400; font-style: normal;
  letter-spacing: .02em;
  color: #FAF7F2; line-height: 1.05;
  text-shadow:
    0 2px 24px rgba(0,0,0,.65),
    0 1px 6px rgba(0,0,0,.50);
}
.hero-names::after {
  content: ''; display: block;
  width: clamp(70px, 11vw, 110px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: .8rem auto 0;
}
@media (max-width: 767px) {
  .hero-names { font-size: clamp(2.8rem, 12vw, 4.5rem); }
}
@media (min-width: 768px) { .hero-names { white-space: nowrap; } }

/* Texte intro (hero-intro-text — tagline poétique) */
.hero-intro-text {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-style: italic;
  font-weight: 300; color: rgba(250,247,242,.88);
  max-width: 480px; line-height: 1.85;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
  margin-bottom: .6rem;
}

/* Bloc date + lieu */
.hero-date-block { display: flex; flex-direction: column; align-items: center; gap: .25rem; margin-top: .3rem; }
.hero-date {
  font-family: var(--ff-title);
  /* 🎨 Plus présente — info la plus importante après les prénoms */
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  /* 🎨 Pass 66 : font-weight 400 — date plus présente, lisible sur forêt */
  font-weight: 400; color: var(--gold-light); letter-spacing: .1em;
  /* 🎨 Pass 64 : ombres dures restaurées — netteté identique à SAVE THE DATE */
  text-shadow:
    0 0 2px rgba(0,0,0,.95),
    0 2px 12px rgba(0,0,0,.75),
    0 0 30px rgba(0,0,0,.50);
}
.hero-date::before { content: '— '; font-style: normal; opacity: .65; font-size: .85em; }
.hero-date::after  { content: ' —'; font-style: normal; opacity: .65; font-size: .85em; }
.hero-location {
  font-family: var(--ff-body);
  /* 🎨 Légèrement plus lisible */
  font-size: clamp(.82rem, 2vw, 1rem);
  font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(250,247,240,.90);
  text-shadow: 0 1px 8px rgba(0,0,0,.65), 0 2px 16px rgba(0,0,0,.40);
  margin-top: .25rem;
}

/* Botanical hero — masqué (architecture split) */
.hero-botanical, .hero-botanical--mirror { display: none !important; }
/* Legacy — masqués */
.hero-bg, .hero-veil, .hero-overlay, .hero-bottom, .hero-sep-top, .hero-sep-bottom { display: none !important; }

/* Fondu bas du hero */
.hero-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent 0%, rgba(45,74,53,0.08) 100%);
  pointer-events: none; z-index: 3;
}

/* ─── Zone basse hero (photo couple en mode cover) ─── */
.hero-photo-frame {
  position: relative; background: none !important;
  padding: clamp(.5rem,1vh,1rem) clamp(1.5rem,5vw,4rem) clamp(1rem,2vh,2rem);
  display: flex; align-items: center; justify-content: center;
}
.hero-photo-frame::before, .hero-photo-frame::after { display: none; }
/* 📱 Mobile */
@media (max-width: 767px) {
  .hero-photo-frame { padding: clamp(.8rem,2vh,1.5rem) clamp(1rem,4vw,2rem); }
}
/* 🖥️ Desktop */
@media (min-width: 1024px) {
  .hero-photo-frame { padding: clamp(2rem,4vh,3.5rem) clamp(3rem,8vw,6rem) clamp(2.5rem,5vh,4rem); }
}

/* Oval photo hero */
.hero-photo-oval {
  position: relative; z-index: 2;
  width: min(560px, 88vw); aspect-ratio: 4/3;
  border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(196,169,110,0.65);
  box-shadow:
    0 0 0 8px rgba(196,169,110,0.10),
    0 0 0 10px rgba(196,169,110,0.05),
    0 20px 60px rgba(0,0,0,.50),
    0 4px 18px rgba(0,0,0,.30);
  transition: box-shadow 0.3s ease;
}
.hero-section.mode-cover .hero-photo-oval { aspect-ratio: 3/4; width: min(400px, 75vw); }
@media (max-width: 767px) {
  .hero-photo-oval { width: min(320px, 84vw); aspect-ratio: 4/3; }
  .hero-section.mode-cover .hero-photo-oval { width: min(280px, 78vw); aspect-ratio: 3/4; }
}
@media (min-width: 1024px) {
  .hero-photo-oval { width: min(700px, 68vw); aspect-ratio: 16/9; }
  .hero-section.mode-cover .hero-photo-oval { width: min(480px, 45vw); aspect-ratio: 3/4; }
}

/* Image dans l'oval */
.hero-photo-oval .hero-photo-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  border-radius: 0 !important; border: none !important;
  box-shadow: none !important; max-width: none; aspect-ratio: unset;
}
/* Ken Burns sur photo couple */
.hero-photo-img.ken-burns { animation: kenBurnsImg 22s ease-in-out infinite alternate; }
@keyframes kenBurnsImg {
  0%   { transform: scale(1)    translate(0,0); }
  100% { transform: scale(1.06) translate(-1%,-0.5%); }
}

/* ═══════════════════════════════════════════════════════════
   ÉLÉMENTS COMMUNS — Sections, kickers, titres, animations
═══════════════════════════════════════════════════════════ */

/* Container global */
.container { max-width: 980px; padding-left: var(--sp-md); padding-right: var(--sp-md); margin: 0 auto; }
@media (min-width: 1024px) { .container { max-width: 1100px; } }

/* Animations scroll reveal */
.animate-on-scroll {
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--ts), transform var(--ts);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll[data-delay="1"] { transition-delay: .1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: .2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: .3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: .4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: .5s; }

/* Séparateur décoratif */
.decorative-sep { display: flex; justify-content: center; margin: var(--sp-xs) 0; }
.decorative-sep img {
  width: clamp(220px, 38vw, 380px) !important; max-width: 380px; height: auto !important;
  mix-blend-mode: screen; opacity: .65;
  filter: brightness(1.4) saturate(0.6) contrast(1.1);
}
.section-dresscode .decorative-sep img {
  mix-blend-mode: multiply; opacity: .60;
  filter: saturate(0.88) contrast(1.02) brightness(1);
}
@media (max-width: 480px) { .decorative-sep img { width: clamp(200px,70vw,340px) !important; } }

/* ─── KICKER ORNEMENTAL ─── */
/* 🎨 DA : texte uppercase + lignes or de chaque côté */
.section-kicker-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: var(--sp-sm);
}
.section-kicker-ornament::before,
.section-kicker-ornament::after {
  content: ''; display: block;
  width: clamp(44px,7vw,72px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold));
  opacity: .95;
}
.section-kicker-ornament::after {
  background: linear-gradient(270deg, transparent, var(--gold-light), var(--gold));
}
.section-kicker-ornament span {
  font-family: var(--ff-body);
  font-size: 1.1rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  /* 🎨 Terracotta pour réduire la répétition or — décision Pass 30 */
  color: var(--warm);
  text-shadow: 0 1px 8px rgba(0,0,0,.25), 0 0 16px rgba(196,149,122,.15);
}

/* Kicker simple */
.section-kicker {
  font-family: var(--ff-body); font-size: .76rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--warm); text-align: center; margin-bottom: var(--sp-md);
  text-shadow: 0 0 16px rgba(250,247,242,0.9), 0 1px 3px rgba(44,42,38,.1);
}

/* Titre de section */
.section-title {
  font-family: var(--ff-title); font-size: clamp(1.8rem,5vw,2.9rem);
  font-weight: 400; font-style: italic;
  color: var(--accent); text-align: center;
  margin-bottom: var(--sp-sm);
  text-shadow: 0 0 30px rgba(250,247,242,0.80), 0 0 60px rgba(250,247,242,0.50);
}
@media (min-width: 1024px) { .section-title { font-size: clamp(1.8rem,3vw,2.4rem); } }

/* ─── SECTIONS — padding, fond, border-top ─── */
/* 🎨 DA : filet or discret entre les sections */
.section-countdown, .section-program, .section-places, .section-rsvp,
.section-dresscode, .section-accommodations, .section-gallery, .section-share {
  padding: var(--sp-xxl) 0;
  width: 100%; position: relative; z-index: 1;
  border-top: 1px solid rgba(196,146,42,0.10);
}
/* Pas de bordure sur le countdown (premier visible) */
.section-countdown { border-top: none; }
/* Programme : filet légèrement plus présent */
.section-program { border-top: 1px solid rgba(196,169,110,0.18); }

/* ─── FONDS DES SECTIONS ─── */
/* 🎨 DA : "vitres colorées" sur fond forêt — chaque section a son ambiance */

/* Countdown : transparent pur — forêt reine, lucioles visibles */
.section-countdown {
  background: transparent;
  padding: var(--sp-lg) 0 var(--sp-xl);
}
.section-countdown::before { display: none; }

/* Programme : vert forêt profond semi-transparent
   + vignette radiale douce pour adoucir les angles */
.section-program {
  background-color: rgba(30, 48, 34, 0.55);
  background-image: radial-gradient(
    ellipse 95% 100% at 50% 50%,
    rgba(30,48,34,0.10) 0%, transparent 70%
  );
}
/* 📱 Mobile programme */
@media (max-width: 767px) {
  .section-program {
    background-color: rgba(30, 48, 34, 0.62);
    background-image: none;
  }
}

/* Fondu haut du programme — depuis le countdown */
.section-program::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100px;
  background: linear-gradient(to bottom, rgba(212,180,110,0.08) 0%, transparent 100%);
  pointer-events: none; z-index: 1;
}

/* Lieux */
.section-places { background-color: rgba(28, 44, 32, 0.38); }
@media (max-width: 767px) { .section-places { background-color: rgba(28, 44, 32, 0.52); } }

/* RSVP */
.section-rsvp { background-color: rgba(22, 36, 26, 0.48); }
@media (max-width: 767px) { .section-rsvp { background-color: rgba(22, 36, 26, 0.60); } }

/* Dresscode : halo radial central (section légère, pas de rectangle fort) */
.section-dresscode {
  background-color: transparent;
  background-image: radial-gradient(
    ellipse 80% 85% at 50% 50%,
    rgba(200,165,120,0.28) 0%, rgba(200,165,120,0.12) 45%, transparent 100%
  );
}
@media (max-width: 767px) {
  .section-dresscode {
    background-image: radial-gradient(
      ellipse 90% 90% at 50% 50%,
      rgba(200,165,120,0.38) 0%, rgba(200,165,120,0.18) 55%, transparent 100%
    );
  }
}

/* Hébergements */
.section-accommodations { background-color: rgba(38, 58, 42, 0.52); padding: var(--sp-xl) 0; }

/* Galerie */
.section-gallery { background-color: rgba(38, 58, 42, 0.52); }

/* Partage : fond vert forêt profond — clôture poétique (Pass 48 final) */
.section-share {
  background-color: rgba(22, 36, 24, 0.72);
  border-top: 1px solid rgba(196,169,110,0.22);
  padding: var(--sp-xl) 0;
}

/* ─── COULEURS TEXTES SUR FONDS SOMBRES ─── */
/* Titres des sections sur fond forêt → ivoire */
.section-program .section-title,
.section-places .section-title,
.section-accommodations .section-title,
.section-gallery .section-title,
.section-share .section-title {
  color: #FAF7F2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

/* Exception RSVP : titre "Serez-vous des nôtres ?" → or champagne */
.section-rsvp .section-title {
  color: var(--gold-light);
  text-shadow: 0 2px 20px rgba(0,0,0,.35), 0 0 40px rgba(196,169,110,.18);
}

/* Titres variantes par section */
.section-title--places {
  color: #FAF7F2;
  font-size: clamp(1.5rem,4vw,2.2rem);
  text-shadow: 0 2px 20px rgba(0,0,0,.40), 0 0 40px rgba(0,0,0,.20);
}
.section-title--rsvp {
  font-size: clamp(1.6rem,4vw,2.4rem);
}
.section-title--accommodations {
  color: var(--text-muted); font-size: clamp(1.2rem,3vw,1.65rem);
  text-shadow: none;
}
/* 📱 Mobile */
@media (max-width: 767px) {
  .section-title--places        { font-size: clamp(1.3rem,6vw,1.8rem); }
  .section-title--rsvp          { font-size: clamp(1.2rem,5.5vw,1.65rem); }
  .section-title--accommodations{ font-size: clamp(1rem,4.5vw,1.35rem); }
}

/* Kickers sur fond sombre → lignes or lumineuses */
.section-program .section-kicker-ornament::before,
.section-program .section-kicker-ornament::after,
.section-places .section-kicker-ornament::before,
.section-places .section-kicker-ornament::after,
.section-rsvp .section-kicker-ornament::before,
.section-rsvp .section-kicker-ornament::after,
.section-dresscode .section-kicker-ornament::before,
.section-dresscode .section-kicker-ornament::after {
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: .8;
}

/* ─── KICKERS : tous en or champagne --gold-light ───
   🎨 DA : Programme, Lieux, Votre Réponse, Tenue de Cœur = même or
   Ombres légères naturelles pour lisibilité sur fonds variés */
.section-kicker-ornament span {
  color: var(--gold-light);
  text-shadow:
    0 1px 8px rgba(0,0,0,.55),
    0 0 20px rgba(0,0,0,.35);
  font-weight: 700;
}
.section-kicker {
  color: var(--gold-light);
  text-shadow: 0 1px 8px rgba(0,0,0,.45), 0 0 20px rgba(0,0,0,.30);
}

/* Dresscode — textes spécifiques */
/* 🎨 "La forêt a ses couleurs" → ivoire sur fond forêt lumineux */
.section-dresscode .section-title {
  color: #FAF7F2;
  text-shadow: 0 2px 20px rgba(0,0,0,.55), 0 1px 8px rgba(0,0,0,.40);
}
/* 🎨 "TENUE DE CŒUR" → or champagne, même traitement que les autres kickers */
.section-dresscode .section-kicker-ornament span {
  color: var(--gold-light);
  text-shadow:
    0 1px 8px rgba(0,0,0,.55),
    0 0 20px rgba(0,0,0,.35);
  font-weight: 700;
}

/* ─── Z-INDEX PROTECTION LUCIOLES ─── */
/* 🔧 Toutes les cards et éléments interactifs au-dessus des lucioles (z-index:5) */
.timeline-content, .place-card, .accommodation-card, .dresscode-palette,
.histoire-photo-oval, .histoire-inner,
.rsvp-form-wrapper, .rsvp-deadline-msg, .rsvp-field,
.rsvp-input, .rsvp-select, .rsvp-textarea, .rsvp-radio-label, .btn-rsvp,
.section-rsvp .section-kicker-ornament, .section-rsvp .section-title,
.section-kicker-ornament, .section-title, .countdown-item {
  position: relative; z-index: 10;
}

/* ═══════════════════════════════════════════════════════════
   SECTION HISTOIRE
   🎨 DA : entre hero et countdown — moment intime, sobre
   Fond transparent = forêt visible = continuité hero
═══════════════════════════════════════════════════════════ */
.section-histoire {
  padding: clamp(4rem, 8vh, 7rem) 0 var(--sp-xl);
  background: transparent;
  position: relative; z-index: 1; text-align: center;
}
/* Ligne or fine au-dessus */
.section-histoire::before {
  content: ''; display: block;
  width: clamp(40px,6vw,70px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 0 auto var(--sp-lg); opacity: .50;
}
/* Ligne or basse — transition vers countdown */
.section-histoire::after {
  content: ''; display: block;
  width: clamp(40px,6vw,70px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: var(--sp-lg) auto 0; opacity: .38;
}
.histoire-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-md); max-width: 560px; margin: 0 auto; padding: 0 var(--sp-md);
}

/* Oval photo Histoire */
.histoire-photo-oval {
  position: relative;
  width: min(320px, 84vw); aspect-ratio: 4/3;
  border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(196,169,110,0.60);
  box-shadow:
    0 0 0 6px rgba(196,169,110,0.08), 0 0 0 8px rgba(196,169,110,0.04),
    0 16px 48px rgba(0,0,0,.45), 0 4px 16px rgba(0,0,0,.28);
  flex-shrink: 0;
}
.hero-section.mode-cover ~ .section-histoire .histoire-photo-oval,
.section-histoire.mode-cover .histoire-photo-oval { aspect-ratio: 3/4; width: min(260px, 68vw); }
.histoire-photo-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center; display: block;
}
@media (min-width: 768px) {
  .histoire-photo-oval { width: min(480px, 56vw); }
  .hero-section.mode-cover ~ .section-histoire .histoire-photo-oval { width: min(320px, 32vw); }
}

/* Texte narratif */
.histoire-intro-text {
  font-family: var(--ff-title);
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-style: italic; font-weight: 400;
  /* 🎨 Ivoire ambré chaud */
  color: rgba(235, 222, 195, 0.94);
  line-height: 1.85; letter-spacing: .015em;
  /* 🎨 max-width élargi → texte sur 3 lignes max au lieu de 4 */
  max-width: 520px;
  /* 🎨 Plus d'espace entre l'oval et le texte */
  margin: var(--sp-md) auto 0;
  text-shadow:
    0 1px 12px rgba(0,0,0,.62),
    0 0 28px rgba(0,0,0,.35);
}
@media (min-width: 768px) {
  .histoire-intro-text { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 600px; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION COUNTDOWN
   🎨 DA : contemplatif, sobre, féerique
   Cards encadrées or, fond transparent, kicker ivoire italic
═══════════════════════════════════════════════════════════ */

/* Kicker "Le grand jour approche…" — serif italic, ivoire */
.section-countdown .section-kicker {
  font-family: var(--ff-title);
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
  font-weight: 400; font-style: italic;
  letter-spacing: .04em; text-transform: none;
  /* 🎨 Ivoire pur sur fond forêt — décision Pass 46 */
  color: rgba(250, 247, 242, 0.96);
  text-shadow:
    0 1px 8px rgba(20,34,20,.80),
    0 0 28px rgba(20,34,20,.55),
    0 2px 4px rgba(0,0,0,.60);
  margin-bottom: var(--sp-sm);
}

/* Grid countdown */
.countdown-grid {
  display: flex; justify-content: center;
  gap: clamp(var(--sp-sm), 4vw, var(--sp-xl));
  flex-wrap: wrap; margin-top: var(--sp-lg);
}
/* 📱 Mobile 2x2 grid */
@media (max-width: 480px) {
  .countdown-grid {
    gap: var(--sp-sm); max-width: 320px;
    margin-left: auto; margin-right: auto;
    display: grid; grid-template-columns: 1fr 1fr;
  }
}

/* Cards countdown */
.countdown-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: rgba(255, 250, 240, 0.72);
  /* 🎨 Bordure or bien visible — encadrées, précieuses (Pass 62) */
  border: 1.5px solid rgba(196, 146, 42, 0.55);
  box-shadow: 0 6px 28px rgba(196,146,42,.22), 0 2px 8px rgba(44,42,38,.06), inset 0 1px 0 rgba(255,255,255,1);
  border-radius: var(--r-md);
  padding: clamp(var(--sp-sm),2.5vw,var(--sp-md)) clamp(var(--sp-md),3vw,var(--sp-lg));
  min-width: clamp(72px, 14vw, 110px);
  transition: transform var(--tb), box-shadow var(--tb);
}
.countdown-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(196,146,42,.30), 0 4px 12px rgba(44,42,38,.08);
}
/* 📱 Mobile : fond opaque, pas de blur GPU */
@media (max-width: 767px) {
  .countdown-item {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(255, 250, 240, 0.94);
    padding: var(--sp-sm) var(--sp-md);
    min-width: clamp(68px, 18vw, 95px);
  }
}
@media (max-width: 480px) { .countdown-item { padding: var(--sp-sm) var(--sp-md); } }

.countdown-number {
  font-family: var(--ff-title);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 400; color: var(--accent); line-height: 1;
}
.countdown-label {
  font-family: var(--ff-body); font-size: .58rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase; color: var(--gold);
}
@media (max-width: 480px) { .countdown-number { font-size: 2.2rem; } }
@media (max-width: 360px) { .countdown-number { font-size: 1.9rem; } }
@media (min-width: 1024px) { .countdown-number { font-size: clamp(2.8rem,4vw,4rem); } }

/* Tagline sous le countdown */
.countdown-tagline {
  font-family: var(--ff-title);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-style: italic; font-weight: 400;
  color: rgba(250, 247, 242, 0.90);
  text-align: center; margin-top: var(--sp-xl); opacity: .9;
  letter-spacing: .02em;
  text-shadow:
    0 1px 12px rgba(0,0,0,.65),
    0 0 30px rgba(0,0,0,.40);
}

/* Ligne or sous le countdown */
.countdown-divider {
  display: block; width: clamp(60px,10vw,100px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: var(--sp-md) auto 0; opacity: .7;
}

/* ═══════════════════════════════════════════════════════════
   BOTANICAL — Section Programme uniquement
   🎨 DA : décision définitive — botanical fort = Programme seul
═══════════════════════════════════════════════════════════ */
.section-botanical {
  position: absolute; pointer-events: none; z-index: 2;
  width: auto; height: 100%;
  mix-blend-mode: screen; opacity: .42;
  filter: brightness(1.3) saturate(0.7) contrast(1.1);
  animation: botanicalSway 10s ease-in-out infinite alternate;
}
.section-botanical--tr { top: 0; right: 0; left: auto; transform: none; }
.section-botanical--bl {
  bottom: 0; right: 0;
  transform: scaleY(-1); transform-origin: center center;
  animation: botanicalSwayMirror 11s ease-in-out infinite alternate;
}
/* Programme : botanical plus chaud et plus visible */
.section-program .section-botanical {
  opacity: .62;
  filter: brightness(1.25) sepia(0.18) saturate(0.85) contrast(1.05);
  mix-blend-mode: screen;
}
@media (max-width: 767px) { .section-botanical { height: 55%; opacity: .35; } }
@media (min-width: 1024px) { .section-botanical { height: 100%; } }
.section-has-botanical { position: relative; overflow: hidden; }

@keyframes botanicalSway {
  0%   { transform: rotate(0deg)   translateY(0); }
  100% { transform: rotate(1deg)   translateY(-5px); }
}
@keyframes botanicalSwayMirror {
  0%   { transform: scaleX(-1) scaleY(-1) rotate(0deg)    translateY(0); }
  100% { transform: scaleX(-1) scaleY(-1) rotate(-1.5deg) translateY(6px); }
}

/* ═══════════════════════════════════════════════════════════
   TIMELINE — Section Programme
   🎨 DA : cards alternées gauche/droite, icônes or, heures or
═══════════════════════════════════════════════════════════ */
.timeline {
  position: relative; padding: var(--sp-md) 0;
  max-width: 700px; margin: var(--sp-lg) auto 0;
}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2.5px;
  background: linear-gradient(180deg, transparent 0%, var(--accent) 8%, var(--accent) 92%, transparent 100%);
  transform: translateX(-50%); opacity: 0.7;
}
.timeline-item {
  position: relative; display: flex; gap: var(--sp-md);
  padding: clamp(var(--sp-md),3vw,var(--sp-lg)) 0;
}
@media (min-width: 640px) {
  .timeline-item:nth-child(odd)  { flex-direction: row;         text-align: right; padding-right: calc(50% + var(--sp-xl)); }
  .timeline-item:nth-child(even) { flex-direction: row-reverse; text-align: left;  padding-left:  calc(50% + var(--sp-xl)); }
}
/* 📱 Mobile : colonne simple, dot à gauche visible */
@media (max-width: 639px) {
  .timeline::before { left: 20px; }
  .timeline-item {
    padding-left: 52px; /* 🔒 espace exact pour le dot 46px — ne pas modifier */
    padding-right: 0;
    padding-top: var(--sp-sm);
    padding-bottom: var(--sp-sm);
    text-align: left;
  }
  .timeline-dot { left: 0; top: var(--sp-sm); transform: translateY(0); }
}
/* 📱 480px : padding interne réduit mais padding-left CONSERVÉ pour le dot */
@media (max-width: 480px) {
  .timeline-item {
    padding-left: 52px; /* 🔒 maintenu — dot doit rester visible */
    padding-top: var(--sp-xs);
    padding-bottom: var(--sp-xs);
  }
}

.timeline-dot {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  border: 2px solid rgba(255,255,255,0.5); border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center; z-index: 2;
  box-shadow: 0 4px 16px rgba(196,146,42,.50), 0 0 0 4px rgba(196,146,42,.15);
}
.timeline-dot svg { width: 20px; height: 20px; stroke: #FAF7F2; stroke-width: 1.5; }
.timeline-dot img { display: none; }

.timeline-content {
  background: rgba(255,253,248,0.97);
  border: none; border-left: 4px solid var(--gold); border-radius: var(--r-lg);
  padding: clamp(var(--sp-md),3vw,var(--sp-lg)) clamp(var(--sp-md),3.5vw,var(--sp-xl));
  box-shadow:
    0 8px 32px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.15),
    inset 0 1px 0 rgba(255,255,255,0.95);
  flex: 1;
  transition: transform var(--tb), box-shadow var(--tb);
}
.timeline-item:nth-child(even) .timeline-content {
  border-left: none; border-right: 4px solid var(--gold);
  background: rgba(255,251,240,0.97);
  box-shadow:
    0 8px 32px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.15),
    inset 0 -1px 0 rgba(255,255,255,0.95);
}
.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(45,74,53,.18), 0 4px 12px rgba(44,42,38,.08);
}
@media (max-width: 480px) { .timeline-content { padding: var(--sp-sm); } }

/* 🎨 Heures : Playfair italic, --gold, SANS ombre — net et élégant */
.timeline-time {
  font-family: var(--ff-title);
  font-size: 1rem; font-weight: 400; font-style: italic;
  color: var(--gold); letter-spacing: .06em;
  display: block; margin-bottom: 8px;
  text-shadow: none;
}
.timeline-title {
  font-family: var(--ff-title); font-size: 1.15rem; font-weight: 500;
  /* 🎨 Vert forêt sur fond ivoire — premium, ancré palette */
  color: var(--accent); margin-bottom: 4px;
  text-shadow: none;
}
.timeline-desc {
  font-family: var(--ff-body); font-size: .88rem;
  color: var(--text); line-height: 1.75; margin: 0;
  text-shadow: none;
}

/* ═══════════════════════════════════════════════════════════
   SECTION LIEUX — Cards ivoire, carousel si > 2 lieux
═══════════════════════════════════════════════════════════ */
/* Grid 2 lieux ou moins */
.places-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: var(--sp-md); margin-top: var(--sp-lg);
}
@media (max-width: 767px) { .places-grid { grid-template-columns: 1fr; gap: var(--sp-md); } }

.place-card {
  background: rgba(255,253,248,0.97);
  border: 1px solid rgba(196,169,110,0.28); border-top: 3px solid var(--gold);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-lg) var(--sp-lg);
  box-shadow:
    0 12px 40px rgba(0,0,0,.28), 0 4px 12px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,0.95);
  display: flex; flex-direction: column; gap: var(--sp-sm);
  transition: transform var(--tb), box-shadow var(--tb);
}
.place-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,.36), 0 6px 16px rgba(0,0,0,.20);
}
.place-label {
  font-family: var(--ff-title); font-size: 1.2rem; font-weight: 400; font-style: italic;
  color: var(--accent); margin-bottom: 4px; letter-spacing: .01em;
}
.place-address { font-family: var(--ff-body); font-size: .86rem; color: var(--text-muted); line-height: 1.8; }
.btn-maps {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-body);
  /* 🎨 Texte plus grand — lisible sans effort */
  font-size: .84rem; font-weight: 500; letter-spacing: .06em;
  color: var(--accent); border: 1.5px solid var(--border-gold); border-radius: 20px; padding: 10px 20px;
  align-self: flex-start; margin-top: auto;
  transition: color var(--tf), border-color var(--tf), transform var(--tf);
}
/* 🎨 Hover : texte + contour vert (pas fond plein) */
.btn-maps:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); background: transparent; }

/* ─── CAROUSEL LIEUX (actif si > 2 lieux) ─── */
.places-carousel { margin-top: var(--sp-lg); width: 100%; overflow: hidden; position: relative; padding: 0 0 var(--sp-md); }
.places-carousel__track {
  display: flex; gap: 24px;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  padding-right: 15%; will-change: transform;
}
.places-carousel__item {
  flex: 0 0 85%; max-width: 480px; position: relative;
  background: var(--bg-card); border-radius: var(--r-lg);
  border: 1.5px solid rgba(196,146,42,0.22); padding: var(--sp-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.28), 0 4px 12px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,0.95);
  cursor: pointer; transition: opacity .28s ease, transform .28s ease;
}
.places-carousel__item:not(.active) { opacity: 0.55; }
.places-carousel__item:not(.active):hover { opacity: 0.80; transform: translateY(-2px); }
.places-carousel__item.active { cursor: default; opacity: 1; }
.places-carousel__item .place-label {
  font-family: var(--ff-title); font-size: 1.15rem; font-style: italic;
  color: var(--accent); display: block; margin-bottom: var(--sp-sm);
}
.places-carousel__item .place-address {
  color: var(--text-muted); font-size: .9rem; line-height: 1.6; margin-bottom: var(--sp-md);
}
.places-carousel__item .btn-maps { position: relative; z-index: 3; }
.carousel-nav-overlay {
  position: absolute; inset: 0; z-index: 2;
  cursor: pointer; background: transparent; border-radius: var(--r-lg);
}
.places-carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: var(--sp-md); }
.places-carousel__dot {
  height: 3px; width: 28px; border: none; border-radius: 2px;
  background: rgba(232,201,122,0.30); cursor: pointer;
  padding: 8px 0; transition: width .3s ease, background .3s ease;
}
.places-carousel__dot.active { width: 52px; background: var(--gold-light); }
.places-carousel__arrow { display: none !important; }
@media (max-width: 767px) {
  .places-carousel__item { flex: 0 0 88%; }
  .places-carousel__track { padding-right: 12%; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION RSVP — Formulaire premium
   🎨 DA : carte ivoire chaud sur fond forêt, labels serif italic
═══════════════════════════════════════════════════════════ */
.section-rsvp .container { max-width: 720px; display: flex; flex-direction: column; align-items: center; }

/* Phrase intro (au-dessus du formulaire) */
.rsvp-intro-text {
  font-family: var(--ff-title); font-size: clamp(.9rem,2.2vw,1.05rem);
  font-style: italic; font-weight: 400;
  /* 🎨 Ivoire ambré chaud — uniforme avec Histoire et Dresscode (Pass 52) */
  color: rgba(235, 222, 195, 0.94);
  text-align: center; max-width: 520px;
  margin: 0 auto var(--sp-lg); line-height: 1.9; letter-spacing: .015em;
  text-shadow: 0 1px 12px rgba(0,0,0,.62), 0 0 28px rgba(0,0,0,.35);
}
.rsvp-intro-text span { color: var(--gold-light); font-style: normal; }
@media (max-width: 767px) { .rsvp-intro-text { font-size: clamp(.88rem,4vw,1rem); padding: 0 var(--sp-sm); margin-bottom: var(--sp-md); } }

/* Message deadline */
.rsvp-deadline-msg {
  background: rgba(255,253,248,0.96);
  background-image: linear-gradient(135deg,rgba(232,201,122,.18),rgba(196,146,42,.08));
  border: 1px solid var(--border-gold); border-radius: var(--r-md);
  padding: var(--sp-sm) var(--sp-md); text-align: center; margin-bottom: var(--sp-lg);
}
.rsvp-deadline-msg p { font-family: var(--ff-body); font-size: .85rem; color: var(--text); margin: 0; }

/* Wrapper formulaire */
.rsvp-form-wrapper {
  background: rgba(255, 252, 243, 0.97);
  border: 1px solid rgba(196,169,110,0.22);
  border-top: 2px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow:
    0 6px 28px rgba(44,42,38,.10), 0 2px 8px rgba(44,42,38,.06),
    inset 0 1px 0 rgba(255,255,255,0.98);
  padding: clamp(var(--sp-lg),5vw,var(--sp-xl));
  width: 100%;
}

/* Champ */
.rsvp-field { margin-bottom: var(--sp-md); }
/* Labels : serif italic — invitation douce, pas label admin */
.rsvp-label,
.rsvp-attendance-fieldset legend {
  display: block; width: 100%;
  font-family: var(--ff-title);
  font-size: .95rem; font-weight: 400; font-style: italic;
  letter-spacing: .02em; text-transform: none;
  color: var(--text-muted); margin-bottom: var(--sp-xs);
}
.required { color: var(--warm); margin-left: 2px; }

/* Inputs */
.rsvp-input, .rsvp-select, .rsvp-textarea {
  width: 100%; font-family: var(--ff-body);
  font-size: 16px; /* 🔒 Minimum 16px iOS anti-zoom */
  color: var(--text);
  background: rgba(255,254,248,0.98);
  border: 1px solid rgba(138,158,138,0.22); border-radius: var(--r-sm);
  padding: 13px 16px; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color var(--tf), box-shadow var(--tf);
}
.rsvp-input:focus, .rsvp-select:focus, .rsvp-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,146,42,.10);
}
.rsvp-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A7068' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; cursor: pointer;
}
.rsvp-textarea { resize: vertical; min-height: 80px; }

/* Boutons radio "Oui / Non" */
.rsvp-attendance-fieldset { border: none; padding: 0; }
.rsvp-radio-group { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }
.rsvp-radio-label {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--ff-body); font-size: .92rem;
  color: var(--text);
  padding: 11px 20px; border: 1.5px solid var(--border); border-radius: 30px;
  font-style: normal;
  transition: border-color var(--tf), background var(--tf); user-select: none;
}
.rsvp-radio-label:hover { border-color: var(--accent-light); background: rgba(107,127,107,.05); }
.rsvp-radio-label input[type="radio"] { display: none; }
.rsvp-radio-custom { display: none; }
/* Sélectionné → or champagne */
.rsvp-radio-label.selected {
  border-color: var(--gold); color: var(--gold);
  background: rgba(196,146,42,0.08); font-weight: 500;
}
/* 📱 480px : stacking vertical si nécessaire */
@media (max-width: 480px) { .rsvp-radio-group { flex-direction: column; } }

/* Champ dortoir conditionnel */
#rsvpAccommodationField { margin-top: .25rem; }
.rsvp-accom-group { display: flex; gap: var(--sp-sm); flex-wrap: wrap; margin-top: .5rem; }
.rsvp-accom-label {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 1.4rem;
  border: 1.5px solid rgba(196,146,42,0.35); border-radius: var(--r-full);
  cursor: pointer;
  font-family: var(--ff-title); font-style: italic; font-size: .95rem;
  color: var(--text); background: rgba(250,247,242,0.60);
  transition: all var(--tf); user-select: none;
}
.rsvp-accom-label input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.rsvp-accom-label:hover { border-color: var(--accent); color: var(--accent); background: rgba(107,127,107,0.08); }
.rsvp-accom-label.selected { border-color: var(--gold); color: var(--gold); background: rgba(196,146,42,0.08); font-weight: 500; }

/* Note, erreur */
.rsvp-note { font-family: var(--ff-body); font-size: .74rem; color: var(--text-muted); margin-top: 6px; font-style: italic; }
.rsvp-error {
  background: rgba(196,149,122,.12); border: 1px solid rgba(196,149,122,.4);
  border-radius: var(--r-sm); padding: 10px 14px;
  font-family: var(--ff-body); font-size: .82rem; color: #7A3B1E; margin-bottom: var(--sp-sm);
}

/* Bouton submit */
.btn-rsvp {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  font-family: var(--ff-body); font-size: .82rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--accent);
  border: none; border-radius: 40px; padding: 17px 32px;
  cursor: pointer; margin-top: var(--sp-sm); text-decoration: none;
  min-height: 52px;
  transition: background var(--tf), transform var(--tf), box-shadow var(--tf);
}
.btn-rsvp:hover { background: var(--accent2); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(45,74,53,.32); }
.btn-rsvp:active { transform: translateY(0); }
.btn-rsvp:disabled, .btn-rsvp[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* RGPD */
.rsvp-rgpd {
  font-family: var(--ff-body); font-size: .7rem;
  color: rgba(122,112,104,.65); text-align: center;
  margin-top: var(--sp-sm); line-height: 1.75;
}

/* ─── RSVP Succès ─── */
.rsvp-success {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--sp-xl) var(--sp-lg); min-height: 220px; text-align: center;
}
.rsvp-success-anim { display: none; } /* Particules supprimées */
.rsvp-success-msg {
  font-family: var(--ff-title); font-size: clamp(1.3rem,3.5vw,1.9rem);
  font-style: italic; font-weight: 400;
  color: var(--accent); margin-bottom: var(--sp-sm); line-height: 1.5;
}
.rsvp-success-note {
  font-family: var(--ff-body); font-size: .88rem;
  color: var(--text-muted); font-style: normal; letter-spacing: .03em;
}

/* ═══════════════════════════════════════════════════════════
   SECTION DRESSCODE
   🎨 DA : fond forêt doré, swatches flottantes, titre vert forêt
═══════════════════════════════════════════════════════════ */
.dresscode-desc {
  font-family: var(--ff-body); font-size: .92rem;
  /* 🎨 Pass 82 : texte du couple en vert forêt — se distingue du texte thème ivoire */
  color: var(--accent);
  text-align: center; max-width: 500px; margin: var(--sp-sm) auto;
  /* Pas de text-shadow sur fond doré lumineux */
  text-shadow: none;
}
/* Palette swatches : grid 3 colonnes mobile, flex desktop */
.dresscode-palette {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: clamp(14px,3vw,24px); justify-items: center;
  max-width: 280px; margin: var(--sp-lg) auto var(--sp-sm);
}
@media (min-width: 600px) {
  .dresscode-palette {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: clamp(14px,3vw,24px); max-width: none;
  }
}
/* 📱 Dernière pastille impaire centrée */
@media (max-width: 599px) {
  .dresscode-palette .palette-swatch:last-child:nth-child(3n+1) { grid-column: 2; }
}
.palette-swatch {
  position: relative; width: 58px; height: 58px; border-radius: var(--r-full);
  /* 🎨 Ombres marquées pour "flotter" sur la forêt */
  border: 2px solid rgba(255,255,255,.70);
  box-shadow: 0 4px 16px rgba(0,0,0,.30), 0 1px 4px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.35);
  cursor: default; flex-shrink: 0;
  transition: transform var(--tf), box-shadow var(--tf);
}
@media (pointer: fine) {
  .palette-swatch:hover { transform: translateY(-3px); box-shadow: var(--sh-hover); }
  .palette-swatch::after {
    content: attr(data-name); position: absolute; bottom: calc(100% + 8px); left: 50%;
    transform: translateX(-50%); background: var(--text); color: var(--bg);
    font-family: var(--ff-body); font-size: .63rem; white-space: nowrap;
    padding: 4px 10px; border-radius: 12px; opacity: 0; pointer-events: none;
    transition: opacity var(--tf); z-index: 10;
  }
  .palette-swatch:hover::after { opacity: 1; }
}
.dresscode-texte {
  font-family: var(--ff-body); font-size: .90rem;
  /* 🎨 Pass 80 : ivoire ambré — lisible sur fond forêt */
  color: rgba(235, 222, 195, 0.90);
  text-align: center; font-style: italic; max-width: 480px; margin: var(--sp-sm) auto 0;
  text-shadow: 0 1px 10px rgba(0,0,0,.60), 0 0 24px rgba(0,0,0,.30);
}

/* ═══════════════════════════════════════════════════════════
   SECTION GIFTS — Carte paper botanique
   🎨 DA : carte aquarelle ivoire posée dans la forêt
═══════════════════════════════════════════════════════════ */
.section-gifts {
  position: relative; padding: var(--sp-xl) 0;
  background: transparent;
  border-top: 1px solid rgba(196,146,42,0.18);
}
.section-gifts .container { max-width: 660px; position: relative; z-index: 2; text-align: center; }
.gifts-card {
  position: relative; margin: 0 auto;
  width: 100%; max-width: 640px;
  min-height: clamp(280px, 50vw, 480px);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 40px rgba(44,42,38,.18), 0 2px 10px rgba(44,42,38,.10);
}
.gifts-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('assets/img/gifts-card-paper.jpg');
  background-size: cover; background-position: center; z-index: 0;
}
.gifts-card-inner {
  position: relative; z-index: 1; width: 100%;
  padding: clamp(2.5rem,6vw,4rem) clamp(2.5rem,7vw,5rem);
  text-align: center;
}
/* Kicker sur la carte */
.section-gifts .section-kicker-ornament span {
  /* 🎨 Plus petit → traits latéraux plus longs et visibles (mobile aussi) */
  color: #8B6914;
  text-shadow: 0 1px 4px rgba(255,255,255,.95), 0 0 12px rgba(255,255,255,.70);
  font-weight: 700;
  /* 🎨 Pass 64 : .88rem — plus lisible, kicker à la hauteur du titre */
  font-size: .88rem;
  letter-spacing: .32em;
}
.section-gifts .section-kicker-ornament::before,
.section-gifts .section-kicker-ornament::after {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.70;
  /* 🎨 Traits plus longs — visibles sur mobile */
  width: clamp(32px, 8vw, 80px);
}
.section-gifts .section-kicker-ornament {
  white-space: nowrap; margin-bottom: var(--sp-sm);
  gap: 10px; /* gap réduit = équilibre texte petit / traits longs */
}
.section-gifts .section-title { color: var(--accent); text-shadow: none; margin-bottom: var(--sp-md); }
.gifts-content { background: transparent; border: none; box-shadow: none; padding: 0; }
.gifts-text {
  font-family: var(--ff-title); font-size: clamp(.90rem,2.1vw,1.05rem);
  font-style: italic; font-weight: 400;
  color: var(--text); line-height: 1.95; letter-spacing: .012em;
  text-shadow: none; max-width: 460px; margin: 0 auto var(--sp-sm);
}
.gifts-btn {
  display: inline-block; margin-top: var(--sp-sm); padding: 13px 32px;
  /* 🎨 Pass 80 : contour or multicouche, pas de fond — ne couvre pas la carte botanique */
  border: 1.5px solid rgba(196,146,42,0.70);
  border-radius: var(--r-full);
  font-family: var(--ff-body); font-size: .80rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: transparent; text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(196,146,42,0.25),
    0 0 0 3px rgba(196,146,42,0.10),
    0 2px 10px rgba(44,42,38,.12);
  transition: box-shadow var(--tf), color var(--tf), border-color var(--tf), transform var(--tf);
  cursor: pointer;
}
.gifts-btn:hover {
  color: var(--accent2); border-color: rgba(196,146,42,0.95);
  box-shadow:
    0 0 0 1px rgba(196,146,42,0.55),
    0 0 0 4px rgba(196,146,42,0.20),
    0 4px 16px rgba(44,42,38,.18);
  transform: translateY(-1px);
}
/* 📱 Mobile */
@media (max-width: 639px) {
  .section-gifts .container { max-width: 100%; padding-left: 0; padding-right: 0; }
  .gifts-card { max-width: 100%; border-radius: var(--r-md); margin: 0; }
  .gifts-card-inner { padding: 1.8rem 1.4rem; }
  .gifts-text { font-size: .87rem; }
  .section-gifts .section-kicker-ornament { white-space: normal; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION HÉBERGEMENTS
═══════════════════════════════════════════════════════════ */
.accommodations-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: var(--sp-md); margin-top: var(--sp-lg);
}
.accommodation-card {
  background: rgba(255,253,248,0.97);
  border: 1px solid var(--border); border-top: 4px solid var(--accent-light);
  border-radius: var(--r-md); padding: var(--sp-md) var(--sp-lg);
  box-shadow: 0 8px 32px rgba(44,42,38,.12);
  transition: transform var(--tb), box-shadow var(--tb);
}
.accommodation-card:hover { transform: translateY(-2px); box-shadow: var(--sh-hover); }
.accommodation-name { font-family: var(--ff-title); font-size: 1.05rem; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.accommodation-address { font-family: var(--ff-body); font-size: .83rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.6; }
.accommodation-notes { font-family: var(--ff-body); font-size: .79rem; color: var(--text-muted); font-style: italic; margin-bottom: var(--sp-sm); }
.btn-accommodation {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ff-body); font-size: .74rem; font-weight: 500;
  color: var(--accent); border: 1.5px solid var(--border); border-radius: 20px; padding: 7px 14px;
  transition: background var(--tf), color var(--tf), border-color var(--tf);
}
.btn-accommodation:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   SECTION GALERIE
═══════════════════════════════════════════════════════════ */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-lg); margin-top: var(--sp-lg); }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2,1fr); gap: var(--sp-xs); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: repeat(2,1fr); gap: var(--sp-xs); } }
.gallery-item {
  border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1/1;
  box-shadow: var(--sh-soft); transition: transform var(--tb), box-shadow var(--tb);
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--sh-hover); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════
   SECTIONS DYNAMIQUES (infos pratiques)
═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   SECTIONS DYNAMIQUES (infos pratiques)
   🎨 Pass 80 : fond forêt semi-transparent + Playfair italic
   Botanical separator au-dessus + titre or avec tirets
═══════════════════════════════════════════════════════════ */
.dynamic-section {
  padding: var(--sp-xl) 0;
  background: transparent; position: relative; z-index: 1;
}
.dynamic-section .container { max-width: 680px; }
/* Botanical centré au-dessus du titre */
.dynamic-section .decorative-sep {
  text-align: center; margin-bottom: var(--sp-md);
}
.dynamic-section .decorative-sep img { opacity: .90; filter: none; }
/* Titre or avec tirets latéraux */
.dynamic-section-title {
  font-family: var(--ff-body);
  font-size: clamp(.80rem, 2vw, .95rem);
  font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-light); text-align: center; margin-bottom: var(--sp-lg);
  text-shadow: 0 1px 10px rgba(0,0,0,.65), 0 0 20px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-sm);
}
.dynamic-section-title::before,
.dynamic-section-title::after {
  content: ''; display: block;
  width: clamp(40px, 8vw, 80px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  opacity: .65;
}
/* Contenu : fond vert forêt, Playfair italic, texte gauche */
.dynamic-section-content {
  font-family: var(--ff-title); font-style: italic;
  font-size: clamp(.95rem, 2.2vw, 1.08rem);
  color: rgba(235, 222, 195, 0.94);
  line-height: 2.1; text-align: left;
  background: rgba(14, 26, 16, 0.68);
  border: 1px solid rgba(196,169,110,0.20); border-radius: var(--r-md);
  padding: var(--sp-lg) clamp(1.4rem, 4vw, 2.8rem);
  box-shadow: 0 8px 32px rgba(0,0,0,.28), inset 0 1px 0 rgba(196,169,110,0.10);
  text-shadow: 0 1px 6px rgba(0,0,0,.45); backdrop-filter: none;
}
@media (max-width: 767px) {
  .dynamic-section-content { padding: var(--sp-md) var(--sp-sm); font-size: .92rem; line-height: 1.95; }
}
/* 🎨 Pass 81 : liens dans infos pratiques — or champagne, soulignement discret */
.dynamic-link {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(232,201,122,.45);
  font-style: italic;
  transition: color var(--tf), text-decoration-color var(--tf);
}
.dynamic-link:hover {
  color: #fff;
  text-decoration-color: rgba(232,201,122,.85);
}

/* ═══════════════════════════════════════════════════════════
   SECTION PARTAGE
   🎨 DA : clôture poétique — boutons flottent dans la forêt
   "Partager l'invitation" = titre éditorial Playfair italic
═══════════════════════════════════════════════════════════ */
.section-share .container { max-width: 540px; text-align: center; }
/* 🎨 "Partager l'invitation" : Playfair italic éditorial (Pass 62) */
.section-share .section-kicker {
  font-family: var(--ff-title);
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  font-weight: 400; font-style: italic;
  letter-spacing: .02em; text-transform: none;
  color: var(--gold-light);
  text-shadow: 0 1px 12px rgba(0,0,0,.45), 0 0 30px rgba(196,169,110,.15);
  margin-bottom: var(--sp-md);
}

/* Boutons partage */
.share-buttons {
  display: flex; justify-content: center;
  gap: clamp(var(--sp-md),4vw,var(--sp-xl));
  flex-wrap: wrap; margin-top: var(--sp-md);
}
.btn-share {
  display: flex !important; flex-direction: column !important;
  align-items: center !important; gap: 8px !important;
  width: auto !important; height: auto !important;
  background: transparent !important; border: none !important;
  box-shadow: none !important; padding: 0 !important;
  text-decoration: none;
}
/* Cercle icône */
.btn-share__circle {
  /* 🎨 60px — légèrement plus grand, icônes mieux proportionnées */
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tf), transform var(--tf), border-color var(--tf), box-shadow var(--tf);
  box-shadow: 0 2px 14px rgba(0,0,0,.22), 0 0 20px rgba(196,169,110,0.08);
}
/* Couleur par service au repos */
.btn-share--whatsapp .btn-share__circle { background: rgba(37,211,102,0.12);  border: 1.5px solid rgba(37,211,102,0.28);  }
.btn-share--email    .btn-share__circle { background: rgba(45,74,53,0.28);    border: 1.5px solid rgba(196,169,110,0.32); }
.btn-share--sms      .btn-share__circle { background: rgba(196,146,42,0.15);  border: 1.5px solid rgba(196,146,42,0.32);  }
/* Hover */
.btn-share:hover .btn-share__circle { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,.28), 0 0 30px rgba(196,169,110,0.15); }
.btn-share--whatsapp:hover .btn-share__circle { background: rgba(37,211,102,.32) !important; border-color: rgba(37,211,102,.60) !important; }
.btn-share--email:hover    .btn-share__circle { background: rgba(45,74,53,.48) !important;   border-color: rgba(196,169,110,.65) !important; }
.btn-share--sms:hover      .btn-share__circle { background: rgba(196,146,42,.32) !important; border-color: rgba(196,146,42,.65) !important; }
/* Label */
.btn-share__label {
  font-family: var(--ff-body); font-size: .68rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(250,247,242,.72);
  transition: color var(--tf);
}
.btn-share:hover .btn-share__label { color: rgba(250,247,242,.95); }
/* Legacy SVG direct — masqué si .btn-share__circle présent */
.btn-share > svg { display: none !important; }
/* 🎨 Pass 67 : SVG 28px dans cercle 60px = ratio ~47% ≈ 50% visuellement */
.btn-share__circle svg {
  width: 28px; height: 28px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION SECTION COUPLE (entre countdown et programme)
   🎨 Fond transparent, ligne or
═══════════════════════════════════════════════════════════ */
.section-couple {
  display: none; /* 🔧 JS active si introText non vide */
  padding: var(--sp-xl) 0 var(--sp-lg);
  background: transparent; position: relative; z-index: 1; text-align: center;
}
.section-couple::before {
  content: ''; display: block;
  width: clamp(50px,8vw,80px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: 0 auto var(--sp-lg); opacity: .55;
}
.section-couple::after {
  content: ''; display: block;
  width: clamp(50px,8vw,80px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  margin: var(--sp-lg) auto 0; opacity: .40;
}
.couple-photo-wrap {
  margin: 0 auto var(--sp-md);
  width: clamp(140px,40vw,220px); aspect-ratio: 3/4;
  border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(196,169,110,0.55);
  box-shadow: 0 0 0 6px rgba(196,169,110,0.08), 0 12px 40px rgba(0,0,0,.38);
}
.couple-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.couple-intro-text {
  font-family: var(--ff-title); font-size: clamp(.95rem,2.5vw,1.2rem);
  font-style: italic; font-weight: 400;
  color: rgba(250,247,242,0.85); max-width: 480px; margin: 0 auto;
  line-height: 1.9; letter-spacing: .015em;
  text-shadow: 0 1px 10px rgba(0,0,0,.40), 0 0 30px rgba(250,247,242,0.15);
}
@media (min-width: 768px) {
  .couple-photo-wrap { width: clamp(200px,22vw,280px); }
  .couple-intro-text { font-size: clamp(1rem,1.8vw,1.25rem); }
}

/* ═══════════════════════════════════════════════════════════
   MUSIQUE — Bouton flottant
═══════════════════════════════════════════════════════════ */
.music-player {
  position: fixed;
  bottom: clamp(16px,3vh,28px); right: clamp(12px,2vw,20px);
  z-index: 200; opacity: 0;
  animation: musicIn .6s ease-out 3.5s forwards;
}
@keyframes musicIn { to { opacity: 1; } }
.music-btn {
  width: 50px; height: 50px; border-radius: var(--r-full);
  background: rgba(250,247,242,.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border); box-shadow: var(--sh-card);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--tf), transform var(--tf), box-shadow var(--tf);
}
.music-btn:hover { background: #fff; transform: scale(1.08); box-shadow: var(--sh-hover); }
.music-btn svg { width: 20px; height: 20px; stroke: var(--accent2); fill: none; stroke-width: 2; }
/* 📱 Mobile */
@media (max-width: 767px) {
  .music-player { bottom: clamp(12px,2.5vh,20px); right: clamp(10px,3vw,14px); }
  .music-btn { width: 44px !important; height: 44px !important; }
  .music-btn svg { width: 17px !important; height: 17px !important; }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   🎨 DA : vert forêt nuit, prénoms = dernier point lumineux
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: rgba(20, 34, 20, 0.82);
  border-top: 1px solid rgba(196,169,110,0.18);
  padding: var(--sp-xl) 0 var(--sp-lg);
  text-align: center; position: relative; z-index: 1;
}
@media (max-width: 767px) {
  .site-footer { background: rgba(10,17,12,0.90); padding: var(--sp-lg) 0 var(--sp-md); }
}
/* Filet or au-dessus des noms */
.site-footer::before {
  content: ''; display: block;
  width: clamp(60px,10vw,100px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto var(--sp-md); opacity: .6;
}
/* ✦ centré en bas */
.site-footer::after {
  content: '✦'; display: block; font-size: .75rem;
  color: var(--gold); letter-spacing: .1em; opacity: .55; margin-top: var(--sp-md);
}
.footer-names {
  font-family: var(--ff-title);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-style: italic; font-weight: 400;
  /* 🎨 Or champagne — plus classe qu'ivoire sur fond vert forêt */
  color: var(--gold-light);
  text-shadow: 0 0 30px rgba(196,169,110,.45), 0 2px 16px rgba(0,0,0,0.4);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid rgba(196,169,110,0.12);
  letter-spacing: .03em;
}
@media (max-width: 767px) { .footer-names { font-size: clamp(1.4rem,7vw,1.8rem); } }
.footer-privacy {
  font-family: var(--ff-body); font-size: .72rem;
  /* 🎨 Pass 65 : 0.55 — lisible comme l'ancien, plus respectueux du RGPD affiché */
  color: rgba(250,247,242,0.55);
  max-width: 520px; margin: 0 auto; line-height: 1.6; text-align: center;
}
.footer-privacy strong { font-weight: 500; color: rgba(250,247,242,0.68); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Variables et ajustements globaux
═══════════════════════════════════════════════════════════ */
/* 📱 Petit mobile */
@media (max-width: 480px) {
  :root { --sp-xxl: 4rem; --sp-xl: 2.8rem; }
}
/* 🖥️ Desktop : espacements réduits (mobile-first pousse trop haut) */
@media (min-width: 1024px) {
  :root { --sp-xxl: 4.5rem; --sp-xl: 3rem; --sp-lg: 2rem; }
  .container { max-width: 1100px; }
}

/* ─── fin style.css ─── */
