/* ============================================================
   Zaïna & Carle — 11 juin 2026
   Système visuel : crème/ivoire · or · corail-terracotta · brun chaud
   Typo : Cinzel (titres caps) · Cormorant Garamond (corps) · Pinyon Script (accents)
   ============================================================ */

:root{
  --cream:    #FBF4E8;
  --cream-2:  #F4E8D4;
  --paper:    #FFFDF8;
  --ink:      #3A2C1E;
  --ink-2:    #6E5C44;
  --ink-3:    #9A876B;
  --gold:     #BD9A4F;
  --gold-deep:#9C7E3A;
  --gold-soft:#E2CF9E;
  --coral:    #C16A4C;  /* terracotta — accent (le « & », boutons, liens) */
  --coral-deep:#A2543A;  /* terracotta foncé — survol des boutons */
  --line:     rgba(157,126,58,.28);
  --line-soft:rgba(157,126,58,.16);

  --font-display: 'Cinzel', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-script:  'Pinyon Script', cursive;

  --maxw: 1140px;
  --pad: clamp(22px, 6vw, 80px);
  --shadow-soft: 0 24px 60px -28px rgba(58,44,30,.35);
  --shadow-card: 0 14px 40px -20px rgba(58,44,30,.28);
}

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

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint warm vignette + paper feel */
body::before{
  content:"";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(226,207,158,.20), transparent 60%),
    radial-gradient(100% 60% at 50% 110%, rgba(201,102,60,.06), transparent 55%);
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }

/* ---------- Typographic helpers ---------- */
h1,h2,h3{ margin: 0; font-weight: 500; }

.eyebrow{
  font-family: var(--font-display);
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: .9em;
}
.eyebrow::before, .eyebrow::after{
  content:""; width: clamp(18px,4vw,40px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow::after{ background: linear-gradient(90deg, var(--gold), transparent); }

.section-title{
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.12;
  color: var(--ink);
}
.script{
  font-family: var(--font-script);
  color: var(--coral);
  font-weight: 400;
  line-height: 1;
}

/* gold ornament divider */
.ornament{
  display: flex; align-items: center; justify-content: center;
  gap: 14px; color: var(--gold);
}
.ornament .line{
  height: 1px; width: clamp(40px, 12vw, 120px);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament .line:last-child{ background: linear-gradient(90deg, var(--gold), transparent); }
.ornament .diamond{
  width: 9px; height: 9px; transform: rotate(45deg);
  border: 1.4px solid var(--gold);
  position: relative;
}
.ornament .diamond::after{
  content:""; position: absolute; inset: 2.5px;
  background: var(--gold); border-radius: 1px;
}

/* ---------- Layout shells ---------- */
.section{
  position: relative; z-index: 1;
  padding: clamp(64px, 11vw, 140px) var(--pad);
}
.section--alt{ background: var(--cream-2); }
.wrap{ max-width: var(--maxw); margin: 0 auto; }
.center{ text-align: center; }
.stack{ display: flex; flex-direction: column; }

.section-head{
  display: flex; flex-direction: column; align-items: center;
  gap: 18px; text-align: center; margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head p.lead{
  max-width: 620px; color: var(--ink-2);
  font-size: clamp(18px,2vw,22px); font-style: italic; margin: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(18px, 5vw, 48px);
  transition: box-shadow .4s ease, padding .4s ease;
}
/* Le fond flouté passe par ::before : appliquer backdrop-filter sur .nav lui-même
   ferait de la barre le bloc conteneur des descendants position:fixed (le tiroir
   du menu mobile) → tiroir limité à la hauteur de la barre une fois scrollé. */
.nav::before{
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(251,244,232,.86);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  transition: opacity .4s ease;
}
.nav.scrolled::before{ opacity: 1; }
.nav.scrolled{
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px -22px rgba(58,44,30,.5);
  padding-top: 12px; padding-bottom: 12px;
}
.nav__brand{
  font-family: var(--font-display); letter-spacing: .22em;
  text-transform: uppercase; font-size: 15px; color: var(--ink);
  font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.nav__brand .amp{ font-family: var(--font-script); text-transform: none; color: var(--coral); font-size: 26px; letter-spacing: 0; }
.nav__links{ display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; }
.nav__links a{
  font-family: var(--font-display); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-2);
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav__links a::after{
  content:""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--coral); transition: width .3s ease;
}
.nav__links a:hover{ color: var(--ink); }
.nav__links a:hover::after{ width: 100%; }
.nav__burger{ display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span{ display:block; width: 24px; height: 1.6px; background: var(--ink); margin: 5px 0; transition: .3s; }

@media (max-width: 860px){
  .nav__links{
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: var(--cream); flex-direction: column; justify-content: center;
    gap: 26px; transform: translateX(100%); transition: transform .4s cubic-bezier(.6,.05,.2,1);
    box-shadow: var(--shadow-soft); padding: 40px;
  }
  body.menu-open .nav__links{ transform: translateX(0); }
  .nav__links a{ font-size: 14px; }
  .nav__burger{ display: block; z-index: 60; }
  body.menu-open .nav__burger span:nth-child(1){ transform: translateY(6.6px) rotate(45deg); }
  body.menu-open .nav__burger span:nth-child(2){ opacity: 0; }
  body.menu-open .nav__burger span:nth-child(3){ transform: translateY(-6.6px) rotate(-45deg); }
}

/* ============================================================
   HERO (3 variantes — bascule via body[data-hero])
   ============================================================ */
.hero{ display: none; }
body[data-hero="framed"]    .hero--framed{    display: flex; }
body[data-hero="fullbleed"] .hero--fullbleed{ display: flex; }
body[data-hero="minimal"]   .hero--minimal{   display: flex; }

.hero{
  position: relative; z-index: 1;
  min-height: 100svh;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px var(--pad) 70px;
  gap: 26px;
}
.hero .monogram{
  font-family: var(--font-display); font-weight: 600; letter-spacing: .12em;
  color: var(--gold-deep); font-size: 18px;
  border: 1px solid var(--line); border-radius: 50%;
  width: 74px; height: 74px; display: grid; place-items: center;
  position: relative;
}
.hero .monogram::after{
  content:""; position: absolute; inset: 5px; border: 1px solid var(--line-soft); border-radius: 50%;
}
.hero .kicker{
  font-family: var(--font-display); letter-spacing: .4em; text-transform: uppercase;
  color: var(--ink-2); font-size: clamp(11px,1.4vw,15px); font-weight: 600;
}
.hero .names{
  font-family: var(--font-display); font-weight: 500;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(48px, 11vw, 132px); line-height: .96; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: .02em;
}
.hero .names .amp{
  font-family: var(--font-script); text-transform: none; color: var(--coral);
  font-size: .62em; letter-spacing: 0; margin: -.12em 0; font-weight: 400;
}
.hero .union{
  font-family: var(--font-script); color: var(--coral);
  font-size: clamp(34px, 6vw, 64px); line-height: 1;
}
.hero .date-line{
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-display); letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); font-size: clamp(13px, 1.8vw, 19px); font-weight: 500;
}
.hero .date-line .sep{ color: var(--gold); }
.hero .place{ color: var(--ink-2); font-style: italic; font-size: clamp(16px,2vw,20px); margin-top: -6px; }

/* countdown */
.countdown{ display: flex; gap: clamp(14px, 3vw, 40px); margin-top: 8px; }
.countdown .unit{ display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 58px; }
.countdown .num{
  font-family: var(--font-display); font-size: clamp(30px, 5vw, 52px);
  color: var(--ink); line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums;
}
.countdown .lab{
  font-family: var(--font-display); font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-deep); font-weight: 600;
}
.countdown .unit + .unit{ position: relative; }
.countdown .unit + .unit::before{
  content:":"; position: absolute; left: calc(-1 * clamp(7px,1.5vw,20px)); top: 4px;
  color: var(--gold-soft); font-family: var(--font-display); font-size: clamp(24px,4vw,40px);
}

.scroll-cue{
  /* dans le flux, sous le compte à rebours → ne chevauche jamais le contenu */
  margin-top: clamp(12px, 2.2vh, 30px); text-decoration: none;
  font-family: var(--font-display); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue .dot{ width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue{ 0%,100%{ transform: scaleY(.5); transform-origin: top; opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* Variant: FRAMED — large framed portrait above names */
.hero--framed{ gap: clamp(16px, 2.2vw, 22px); }
.hero--framed .names{ font-size: clamp(42px, 8.5vw, 96px); }
.hero--framed .portrait{
  width: min(330px, 64vw); aspect-ratio: 4/5; position: relative;
  padding: 11px; background: var(--paper);
  box-shadow: var(--shadow-soft);
}
.hero--framed .portrait::before{
  content:""; position: absolute; inset: 6px; border: 1px solid var(--gold); pointer-events: none; z-index: 2;
}
.hero--framed .portrait image-slot{ width: 100%; height: 100%; }

/* Variant: FULLBLEED — photo fills screen, text overlaid */
.hero--fullbleed{ padding: 0; color: var(--paper); }
.hero--fullbleed .bg{ position: absolute; inset: 0; z-index: -1; background: var(--ink); overflow: hidden; }
.hero--fullbleed .bg image-slot{ position: absolute; left: 0; top: -8%; width: 100%; height: 116%; will-change: transform; }
/* avant qu'une photo soit déposée : fond sombre pour garder le texte lisible */
.hero--fullbleed .bg image-slot::part(frame){ background: #2b2014; }
.hero--fullbleed .bg image-slot::part(empty){ color: rgba(255,249,238,.55); }
.hero--fullbleed .bg image-slot::part(ring){ border-color: rgba(255,249,238,.22); }
.hero--fullbleed .bg::after{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,28,16,.46) 0%, rgba(40,28,16,.30) 38%, rgba(40,28,16,.62) 100%);
}
.hero--fullbleed .inner{
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 120px var(--pad) 80px;
}
.hero--fullbleed .names{ color: #FFF9EE; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero--fullbleed .kicker{ color: rgba(255,249,238,.9); }
.hero--fullbleed .monogram{ color: var(--gold-soft); border-color: rgba(255,249,238,.55); }
.hero--fullbleed .monogram::after{ border-color: rgba(255,249,238,.3); }
.hero--fullbleed .union{ color: var(--gold-soft); }
.hero--fullbleed .date-line{ color: #FFF9EE; }
.hero--fullbleed .place{ color: rgba(255,249,238,.85); }
.hero--fullbleed .countdown .num{ color: #FFF9EE; }
.hero--fullbleed .countdown .lab{ color: var(--gold-soft); }
.hero--fullbleed .scroll-cue{ color: rgba(255,249,238,.85); }

/* Variant: MINIMAL — no photo, typographic */
.hero--minimal{ background: var(--cream); }
.hero--minimal .rule{ width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); }

/* ============================================================
   STORY (Notre histoire)
   ============================================================ */
.story-grid{
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.story-photos{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.story-col{ display: flex; flex-direction: column; gap: 16px; }
.story-photos .frame-pad{ padding: 10px; background: var(--paper); box-shadow: var(--shadow-card); position: relative; }
/* photo affichée en entier (par la largeur → toute la hauteur visible, sans recadrage) */
.story-photos .story-photo{ display: block; width: 100%; height: auto; }
.story-photos image-slot{ display: block; width: 100%; aspect-ratio: 3 / 4; }  /* emplacement vide uniquement */
.story-text .section-title{ margin-bottom: 10px; }
.story-text p{ color: var(--ink-2); margin: 0 0 18px; }
.story-text .sign{ font-family: var(--font-script); color: var(--coral); font-size: 34px; line-height: 1; margin-top: 8px; }

@media (max-width: 820px){
  .story-grid{ grid-template-columns: 1fr; }
}

/* ============================================================
   DETAILS (Jour J)
   ============================================================ */
.details-card{
  background: var(--paper); box-shadow: var(--shadow-soft);
  padding: clamp(34px, 6vw, 70px); position: relative; text-align: center;
  border: 1px solid var(--line-soft);
}
.details-card::before{
  content:""; position: absolute; inset: 14px; border: 1px solid var(--line); pointer-events: none;
}
.dateblock{
  display: flex; align-items: stretch; justify-content: center; gap: clamp(16px,3vw,30px);
  font-family: var(--font-display); color: var(--ink); margin: 8px 0 4px;
}
.dateblock .day, .dateblock .year{ display: flex; flex-direction: column; justify-content: center; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(15px,2.4vw,24px); }
.dateblock .big{ font-size: clamp(54px, 10vw, 104px); line-height: .9; color: var(--coral); font-weight: 500; }
.dateblock .vline{ width: 1px; background: var(--line); }
.dateblock .mon{ font-size: clamp(15px,2.4vw,24px); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.details-meta{ display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px,5vw,64px); margin-top: 26px; }
.details-meta .item{ display: flex; flex-direction: column; gap: 4px; min-width: 130px; }
.details-meta .k{ font-family: var(--font-display); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.details-meta .v{ font-size: clamp(18px,2.2vw,23px); color: var(--ink); }

.dress-code{ display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 30px; }
.dress-code .dc-head{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.dress-code .k{ font-family: var(--font-display); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); }
.dress-code .v{ font-style: italic; color: var(--ink-2); }
.dress-code .dc-figs{ display: flex; gap: clamp(28px,7vw,72px); align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.dress-code .dc-fig{ margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dress-code .dc-art{ width: clamp(74px, 11vw, 98px); height: auto; display: block; filter: drop-shadow(0 10px 20px rgba(58,44,30,.15)); }
.dress-code .dc-fig figcaption{ font-family: var(--font-display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.dress-code .c-ter{ color: var(--coral); }
.dress-code .c-green{ color: #1E5631; }
.dress-code .swatches{ display: inline-flex; gap: 9px; }
.dress-code .swatches i{ width: 18px; height: 18px; border-radius: 50%; display: inline-block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 1px 3px rgba(58,44,30,.18); }
.dress-code .swatches i.white{ background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 3px rgba(58,44,30,.12); }

.program{ margin-top: clamp(40px,6vw,64px); display: grid; gap: 0; max-width: 560px; margin-left: auto; margin-right: auto; }
.program .row{ display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.program .row:last-child{ border-bottom: 0; }
.program .time{ font-family: var(--font-display); color: var(--coral); letter-spacing: .1em; font-size: 18px; }
.program .ev{ text-align: left; }
.program .ev .t{ color: var(--ink); font-size: 21px; }
.program .ev .d{ color: var(--ink-2); font-size: 17px; font-style: italic; }

/* ============================================================
   GALLERY (Couple)
   ============================================================ */
.gallery-grid{ display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery-grid image-slot{ width: 100%; height: 100%; }
.gallery-grid .g-wide{ grid-column: span 2; }
.gallery-grid .g-tall{ grid-row: span 2; }
@media (max-width: 820px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

/* ============================================================
   WISHES (Livre d'or — carrousel)
   ============================================================ */
.wishes{ position: relative; }
.wish-stage{
  position: relative; max-width: 760px; margin: 0 auto; min-height: 240px;
  display: grid; place-items: center;
}
.wish-card{
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; text-align: center; opacity: 0; transform: translateY(14px) scale(.99);
  transition: opacity .7s ease, transform .7s ease; pointer-events: none; padding: 10px 6px;
}
.wish-card.active{ opacity: 1; transform: none; pointer-events: auto; }
.wish-card .quote-mark{ font-family: var(--font-script); color: var(--gold-soft); font-size: 72px; line-height: .4; height: 30px; }
.wish-card .msg{ font-size: clamp(22px, 3vw, 32px); line-height: 1.45; color: var(--ink); font-style: italic; max-width: 42ch; text-wrap: balance; }
.wish-card .from{ font-family: var(--font-display); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; color: var(--gold-deep); }
.wish-card .from .anon{ font-style: normal; }

.wish-nav{ display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 30px; }
.wish-arrow{
  background: none; border: 1px solid var(--line); color: var(--ink-2); width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; font-size: 18px; display: grid; place-items: center; transition: .25s;
}
.wish-arrow:hover{ border-color: var(--coral); color: var(--coral); }
.wish-dots{ display: flex; gap: 9px; }
.wish-dots button{ width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--gold-soft); cursor: pointer; padding: 0; transition: .25s; }
.wish-dots button.on{ background: var(--coral); transform: scale(1.35); }

.wish-form-wrap{ margin-top: clamp(48px,7vw,80px); max-width: 620px; margin-left:auto; margin-right:auto; }
.wish-form{ background: var(--paper); box-shadow: var(--shadow-card); padding: clamp(26px,4vw,40px); border: 1px solid var(--line-soft); }
.field{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label{ font-family: var(--font-display); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); }
.field input, .field textarea{
  font-family: var(--font-serif); font-size: 19px; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px; width: 100%;
  resize: vertical; transition: border-color .25s;
}
.field input:focus, .field textarea:focus{ outline: none; border-color: var(--coral); }
.field textarea{ min-height: 110px; }
.signmode{ display: flex; gap: 10px; margin-bottom: 18px; }
.signmode button{
  flex: 1; font-family: var(--font-display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; transition: .25s;
}
.signmode button.on{ background: var(--coral); color: #fff; border-color: var(--coral); }
.field.namefield.hide{ display: none; }

.btn{
  font-family: var(--font-display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  background: var(--coral); color: #fff; border: 0; border-radius: 2px; padding: 16px 34px; cursor: pointer;
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 9px 22px -11px rgba(174,85,48,.6);
  transition: background .25s, transform .2s ease, box-shadow .25s;
}
.btn:hover{ background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(174,85,48,.62); }
.btn:active{ transform: translateY(0); box-shadow: 0 6px 16px -11px rgba(174,85,48,.55); }
.btn:focus-visible{ outline: 2px solid var(--coral-deep); outline-offset: 3px; }
.btn .ic-svg{ width: 18px; height: 18px; flex: 0 0 auto; }

/* icône en ligne générique */
.ic-svg{ width: 1em; height: 1em; vertical-align: -0.14em; display: inline-block; }
.btn--ghost{ background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover{ background: var(--ink); color: var(--cream); }
.form-note{ font-size: 14px; color: var(--ink-3); font-style: italic; text-align: center; margin: 14px 0 0; }
.form-thanks{ text-align: center; color: var(--coral); font-family: var(--font-script); font-size: 30px; margin-top: 14px; min-height: 0; }

/* ============================================================
   LIVE GALLERY (Jour J en direct)
   ============================================================ */
.live-cue{
  display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display);
  letter-spacing: .26em; text-transform: uppercase; font-size: 12px; color: var(--gold-deep); font-weight: 600;
}
.live-cue .live-dot{
  width: 7px; height: 7px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 0 rgba(201,102,60,.5);
}
@media (prefers-reduced-motion: no-preference){
  .live-cue .live-dot{ animation: emberGlow 2.8s ease-in-out infinite; }
}
@keyframes emberGlow{
  0%,100%{ box-shadow: 0 0 3px 0 rgba(201,102,60,.35); opacity: .75; }
  50%{ box-shadow: 0 0 9px 2px rgba(201,102,60,.45); opacity: 1; }
}

.live-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.live-grid image-slot{ width: 100%; aspect-ratio: 1/1; }
.live-grid .live-photo{ width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; border: 1px solid var(--line-soft); background: var(--cream-2); }
@media (max-width: 820px){ .live-grid{ grid-template-columns: repeat(2, 1fr); } }
.live-empty-note{ text-align: center; color: var(--ink-2); font-style: italic; margin-top: 26px; }

/* bouton « Partager une photo » */
.btn-share{ display: inline-flex; align-items: center; gap: 9px; margin-top: 6px; font-family: var(--font-display); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--coral); border-radius: 2px; padding: 13px 28px; text-decoration: none; box-shadow: 0 9px 22px -12px rgba(174,85,48,.6); transition: background .25s, transform .2s ease, box-shadow .25s; }
.btn-share:hover{ background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 15px 28px -12px rgba(174,85,48,.62); }
.btn-share:active{ transform: translateY(0); }
.btn-share .ic-svg{ width: 16px; height: 16px; }

/* ============================================================
   MAP / ACCESS
   ============================================================ */
.map-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,5vw,56px); align-items: stretch; }
.map-embed{ min-height: 340px; background: var(--cream-2); position: relative; overflow: hidden; border: 1px solid var(--line-soft); }
.map-embed iframe{ width: 100%; height: 100%; min-height: 340px; border: 0; filter: sepia(.18) saturate(.9); }
.access{ display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.access .place-name{ font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: clamp(24px,3vw,34px); color: var(--ink); }
.access p{ color: var(--ink-2); margin: 0; }
.access .contact{ display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.access .contact .row{ display: flex; gap: 12px; align-items: baseline; }
.access .contact .who{ font-family: var(--font-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); min-width: 70px; }
@media (max-width: 820px){ .map-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   VERSE (Hébreux 13:4)
   ============================================================ */
.verse{
  background: var(--ink); color: var(--cream); text-align: center;
  padding: clamp(80px,13vw,170px) var(--pad); position: relative; z-index: 1; overflow: hidden;
}
.verse::before, .verse::after{
  content:""; position: absolute; width: 240px; height: 240px; border: 1px solid rgba(226,207,158,.18); border-radius: 50%;
}
.verse::before{ top: -120px; left: -80px; }
.verse::after{ bottom: -120px; right: -80px; }
.verse .q{ font-family: var(--font-script); color: var(--gold-soft); font-size: clamp(34px, 6vw, 64px); line-height: 1.2; max-width: 16ch; margin: 0 auto 22px; position: relative; z-index: 1; }
.verse .ref{ font-family: var(--font-display); letter-spacing: .3em; text-transform: uppercase; font-size: 13px; color: rgba(251,244,232,.7); position: relative; z-index: 1; }
.verse .bless{ max-width: 540px; margin: 28px auto 0; font-style: italic; color: rgba(251,244,232,.82); font-size: clamp(17px,2vw,21px); position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background: var(--cream-2); text-align: center; padding: clamp(56px,8vw,90px) var(--pad); position: relative; z-index: 1; }
.footer .names{ font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: clamp(26px,4vw,44px); color: var(--ink); display: flex; gap: .3em; justify-content: center; align-items: center; }
.footer .names .amp{ font-family: var(--font-script); text-transform: none; color: var(--coral); font-size: 1.1em; }
.footer .date{ font-family: var(--font-display); letter-spacing: .26em; text-transform: uppercase; font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.footer .admin-link{ display: inline-block; margin-top: 30px; font-family: var(--font-display); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); text-decoration: none; border-bottom: 1px solid transparent; transition: .25s; }
.footer .admin-link:hover{ color: var(--coral); border-color: var(--coral); }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal{ opacity: 1; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ============================================================
   image-slot theming
   ============================================================ */
image-slot{
  --slot-bg: var(--cream-2);
}
image-slot::part(frame){ background: var(--cream-2); }
image-slot::part(ring){ border-color: var(--line); border-width: 1px; }
image-slot::part(empty){ color: var(--ink-3); font-family: var(--font-display); letter-spacing: .04em; }

/* ============================================================
   Motifs floraux (filigrane botanique doré, façon faire-part)
   ============================================================ */
:root{ --floral-op: .26; }

.section, .verse, .hero{ overflow: hidden; }
.section > .wrap{ position: relative; z-index: 1; }

/* motifs = vrais éléments injectés (rendus partout, y compris en capture).
   La rotation/le miroir passent par les propriétés individuelles `rotate`/`scale`
   afin de laisser `translate` libre pour le flottement animé. */
.floral{
  position: absolute; pointer-events: none; z-index: 0;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  opacity: var(--floral-op);
  will-change: translate;
}
.floral.f-tr{  width: 222px; height: 252px; top: -8px;  right: -18px; rotate: 6deg; }
.floral.f-bl{  width: 190px; height: 190px; bottom: -10px; left: -16px; scale: -1 1; rotate: 4deg; }
.floral.f-htl{ width: 188px; height: 218px; top: 88px; left: -36px; scale: -1 1; rotate: -8deg; }
.floral.f-htr{ width: 188px; height: 218px; top: 88px; right: -36px; rotate: 8deg; }
.floral.f-hbl{ width: 168px; height: 194px; bottom: 36px; left: -28px; scale: -1 1; rotate: 7deg; }
.floral.f-hbr{ width: 168px; height: 194px; bottom: 36px; right: -28px; rotate: -7deg; }
/* motifs supplémentaires : milieux + accents hauts → bannière plus fleurie */
.floral.f-hml{ width: 156px; height: 180px; top: 44%;  left: -52px;  scale: -1 1; rotate: -15deg; }
.floral.f-hmr{ width: 156px; height: 180px; top: 38%;  right: -52px; rotate: 15deg; }
.floral.f-ht2l{ width: 138px; height: 160px; top: 24px; left: 7%;   scale: -1 1; rotate: 24deg; opacity: calc(var(--floral-op) * .72); }
.floral.f-ht2r{ width: 138px; height: 160px; top: 24px; right: 7%;  rotate: -24deg; opacity: calc(var(--floral-op) * .72); }
/* densité un peu plus marquée dans le héro */
.hero .floral{ opacity: calc(var(--floral-op) * 1.18); }
.hero .floral.f-ht2l, .hero .floral.f-ht2r{ opacity: calc(var(--floral-op) * .78); }
.hero--fullbleed .floral{ opacity: calc(var(--floral-op) * 1.32); }

/* verset (fond sombre) — motifs aux quatre coins */
.verse .floral{ opacity: calc(var(--floral-op) * 1.18); }
.verse .fl-tl{ top: -18px; left: -28px; width: 200px; height: 230px; background-image: url(../assets/sprig-2.svg); scale: -1 1; }
.verse .fl-br{ bottom: -18px; right: -28px; width: 190px; height: 210px; background-image: url(../assets/sprig-1.svg); }
.verse .fl-tr{ top: -24px; right: -30px; width: 176px; height: 202px; background-image: url(../assets/sprig-3.svg); rotate: 8deg; }
.verse .fl-bl{ bottom: -24px; left: -30px; width: 184px; height: 212px; background-image: url(../assets/sprig-2.svg); scale: -1 1; rotate: -5deg; }

/* flottement doux et perpétuel des motifs (coupé en reduced-motion) */
@keyframes floralDrift{ 0%,100%{ translate: 0 0; } 50%{ translate: 0 -13px; } }
@media (prefers-reduced-motion: no-preference){
  .floral{ animation: floralDrift 9s ease-in-out infinite; }
  .floral.f-bl, .floral.f-htr, .floral.f-hbr, .floral.f-hmr, .floral.f-ht2r,
  .verse .fl-br, .verse .fl-bl{ animation-duration: 11.5s; animation-delay: -3.5s; }
  .floral.f-htl, .floral.f-hbl, .floral.f-hml, .floral.f-ht2l, .verse .fl-tr{ animation-duration: 10.5s; animation-delay: -6.5s; }
}

/* désactivation via réglage */
body[data-floral="off"] .floral{ display: none; }

/* ============================================================
   Sceau tournant (héro) — typographie cinétique
   ============================================================ */
.hero-seal{
  position: absolute; z-index: 3; pointer-events: none;
  width: clamp(92px, 11vw, 142px); aspect-ratio: 1;
  display: grid; place-items: center;
  bottom: clamp(22px, 8vh, 86px); right: clamp(12px, 5vw, 66px);
}
.hero-seal svg{ position: absolute; inset: 0; width: 100%; height: 100%; animation: sealSpin 26s linear infinite; }
.hero-seal text{
  font-family: var(--font-display); font-size: 6.05px; letter-spacing: .42px;
  text-transform: uppercase; fill: var(--gold-deep);
}
.hero-seal__mid{ font-family: var(--font-script); font-size: clamp(20px, 2.6vw, 28px); color: var(--coral); line-height: 1; }
.hero-seal__mid .amp{ font-size: 1em; }
.hero--fullbleed .hero-seal text{ fill: var(--gold-soft); }
.hero--fullbleed .hero-seal__mid{ color: var(--gold-soft); }
@keyframes sealSpin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .hero-seal svg{ animation: none; } }
@media (max-width: 700px){ .hero-seal{ display: none; } }

/* ============================================================
   Bandeau défilant (marquee) — avant le pied de page
   ============================================================ */
.marquee{
  background: var(--cream-2);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  overflow: hidden; padding: clamp(16px,2.6vw,26px) 0; position: relative; z-index: 1;
}
.marquee::before, .marquee::after{
  content:""; position: absolute; top: 0; bottom: 0; width: clamp(50px,10vw,120px); z-index: 2; pointer-events: none;
}
.marquee::before{ left: 0;  background: linear-gradient(90deg,  var(--cream-2), transparent); }
.marquee::after{  right: 0; background: linear-gradient(270deg, var(--cream-2), transparent); }
.marquee__track{
  display: inline-flex; align-items: center; gap: clamp(20px,3vw,38px);
  white-space: nowrap; will-change: transform; animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track{ animation-play-state: paused; }
.marquee__track span{
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .26em;
  font-size: clamp(15px, 2vw, 22px); color: var(--ink-2);
}
.marquee__track .amp{ font-family: var(--font-script); text-transform: none; color: var(--coral); font-size: 1.55em; letter-spacing: 0; }
.marquee__track i.diamond{ width: 7px; height: 7px; flex: 0 0 auto; background: var(--gold); rotate: 45deg; }
@keyframes marquee{ to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee__track{ animation: none; } }

/* ============================================================
   Titres — montée lettre par lettre (héro)
   ============================================================ */
.hero .names .ch{ display: inline-block; white-space: pre; }
.hero .names.lettered .ch{
  opacity: 0; transform: translateY(.6em) rotate(3deg);
  animation: chRise .82s cubic-bezier(.2,.75,.25,1) both;
  animation-delay: calc(var(--i) * 45ms + 220ms);
}
@keyframes chRise{ to{ opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){
  .hero .names.lettered .ch{ animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   Optimisations mobile
   ============================================================ */
body[data-hero]{ overflow-x: hidden; }

@media (max-width: 600px){
  /* héro : compacter pour éviter tout chevauchement (compte à rebours / indice) */
  .hero{ padding: 92px var(--pad) 58px; gap: 16px; }
  .hero--framed .portrait{ width: min(248px, 60vw); }
  .countdown{ gap: 12px; }
  .countdown .unit{ min-width: 44px; }
  .countdown .num{ font-size: clamp(26px, 8.5vw, 38px); }

  /* motifs : alléger la densité + couper le flottement (performance) */
  .floral{ animation: none; opacity: calc(var(--floral-op) * .82); }
  .floral.f-hbl, .floral.f-hbr, .floral.f-ht2l, .floral.f-ht2r,
  .verse .fl-tr, .verse .fl-bl{ display: none; }
  /* on garde les motifs latéraux, un peu rentrés pour ne pas déborder */
  .floral.f-hml{ left: -64px; }
  .floral.f-hmr{ right: -64px; }

  /* bandeau défilant plus compact */
  .marquee{ padding: 14px 0; }
}

/* ============================================================
   Tweaks mount
   ============================================================ */
#tweaks-root{ position: fixed; z-index: 9999; }
