/* ═══════════════════════════════════════════════
   ELISA & LUCAS — « Poussières d'étoiles »
   Noir · Blanc · Or · Paillettes — CelebraPlume
═══════════════════════════════════════════════ */

:root {
  --noir:        #0b0b0d;
  --noir-2:      #131316;
  --noir-3:      #1b1b1f;
  --blanc:       #fdfcf9;
  --ivoire:      #f6f3ec;
  --perle:       #e9e4d9;

  --or:          #cfa55b;
  --or-clair:    #f0dca8;
  --or-pale:     #fbf1d6;
  --or-profond:  #9c7a36;
  --or-texte:    #7a5c22;   /* or lisible sur fond clair (AA) */

  --encre:       #141416;
  --gris:        #5f5b55;
  --gris-clair:  rgba(255, 255, 255, .66);

  --foil: linear-gradient(105deg, #a8853f 0%, #e9cf8f 16%, #fff4d2 28%, #cfa55b 42%, #9c7a36 55%, #f0dca8 70%, #fff6dc 80%, #c29a4e 100%);
  --foil-btn: linear-gradient(120deg, #b8913f 0%, #ecd395 30%, #fff1c9 48%, #d6ae62 66%, #a9863f 100%);
  --foil-dark: linear-gradient(105deg, #7a5c22 0%, #b8913f 18%, #dcb96e 30%, #8f6d2c 46%, #6f521c 58%, #c29a4e 74%, #e0bf78 84%, #8a6a2e 100%);

  --deco:   "Cinzel", "Cormorant Garamond", Georgia, serif;
  --serif:  "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans:   "Jost", system-ui, -apple-system, sans-serif;

  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-io:  cubic-bezier(.65, 0, .35, 1);
  --gutter:   20px;
  --nav-h:    68px;
}

/* ── Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
.js body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
::selection { background: var(--or); color: var(--noir); }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; border-radius: 4px; }

.ico {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }

.container { width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }

/* Dorure animée (texte) */
.foil {
  background: var(--foil);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: foil 7s linear infinite;
}
@keyframes foil { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }

/* Ornements Art déco */
.deco, .crest { fill: none; stroke: var(--or); stroke-width: 1.2; }
.deco .deco-fill, .crest .deco-fill, .deco-fill { fill: var(--or); stroke: none; }
.deco { position: absolute; width: 56px; height: 56px; pointer-events: none; }
.deco.tl { top: 14px; left: 14px; }
.deco.tr { top: 14px; right: 14px; transform: scaleX(-1); }
.deco.bl { bottom: 14px; left: 14px; transform: scaleY(-1); }
.deco.br { bottom: 14px; right: 14px; transform: scale(-1, -1); }
.crest { display: block; width: 170px; height: 51px; margin: 0 auto; }
.crest--sm { width: 130px; height: 39px; }

/* Paillettes (texture SVG, aucune image) */
.glitter { position: absolute; left: 0; right: 0; height: 150px; pointer-events: none; z-index: 1; opacity: .75; }
.glitter::before, .glitter::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .96 0 0 0 0 .84 0 0 0 0 .55 0 0 0 30 -20.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  animation: twinkle 2.8s ease-in-out infinite alternate;
}
.glitter::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .82 0 0 0 32 -22.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  animation-delay: -1.4s; animation-duration: 3.4s;
}
.glitter--bottom { bottom: 0; -webkit-mask-image: linear-gradient(to top, transparent, #000 35%, transparent); mask-image: linear-gradient(to top, transparent, #000 35%, transparent); }
.glitter--top { top: 0; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 35%, transparent); }
@keyframes twinkle { from { opacity: .2; } to { opacity: .85; } }

/* ── Boutons ─────────────────────────── */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 15px 30px; border-radius: 999px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn:active { transform: scale(.97); }
.btn--gold {
  color: var(--noir); background: var(--foil-btn); background-size: 160% 100%;
  box-shadow: 0 14px 34px rgba(207, 165, 91, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .42); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); }
.btn--line  { color: var(--or-clair); border: 1px solid rgba(207, 165, 91, .55); }
.btn--dark  { color: var(--or-clair); background: var(--noir); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55); }
.btn--sm    { min-height: 44px; padding: 11px 20px; font-size: 11.5px; letter-spacing: .16em; }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(207, 165, 91, .4), inset 0 1px 0 rgba(255, 255, 255, .5); }
  .btn--gold:hover::after { transform: translateX(120%); }
  .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
  .btn--line:hover { border-color: var(--or-clair); background: rgba(207, 165, 91, .1); }
  .btn--dark:hover { transform: translateY(-2px); background: #1d1d21; }
}

/* ── En-têtes de section ─────────────── */
.head { text-align: center; margin-bottom: clamp(44px, 7vw, 76px); }
.head .crest { margin-bottom: 18px; }
.head__tag {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase;
  color: var(--or);
}
.head__title {
  margin-top: 14px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 7.4vw, 70px); line-height: 1.05; letter-spacing: -.01em;
}
.head__title em {
  font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.18em;
  background: var(--foil); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: foil 7s linear infinite; padding: 0 .08em;
}
.head__sub {
  max-width: 560px; margin: 18px auto 0; font-style: italic;
  font-size: clamp(18px, 2.4vw, 21px); color: var(--gris-clair);
}
.head__sub strong { font-style: normal; font-weight: 600; color: var(--or-clair); }

/* Sections claires */
.announce, .program, .infos, .guestbook { background: var(--ivoire); color: var(--encre); }
.announce .head__tag, .program .head__tag, .infos .head__tag, .guestbook .head__tag { color: var(--or-texte); }
.announce .head__sub, .program .head__sub, .infos .head__sub, .guestbook .head__sub { color: var(--gris); }
.program .deco, .program .crest, .infos .crest, .announce .crest, .announce .deco, .guestbook .crest, .guestbook .deco { stroke: var(--or-profond); }
.program .deco-fill, .infos .deco-fill, .announce .deco-fill, .guestbook .deco-fill { fill: var(--or-profond); }
.announce .head__title em, .program .head__title em, .infos .head__title em, .guestbook .head__title em { background-image: var(--foil-dark); }

/* ── Progression + poussière d'étoiles ─ */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 160;
  background: var(--foil); transform-origin: 0 50%; transform: scaleX(0);
}
.stardust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 300; pointer-events: none; }

/* ════════════════════════════════════════
   INTRO
═══════════════════════════════════════════ */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, #1a1712 0%, #070708 62%);
  transition: opacity 1.3s var(--ease), visibility 1.3s;
}
.intro.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }

.intro__video-wrap {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity 1.1s var(--ease);
}
.intro.is-playing .intro__video-wrap { opacity: 1; }
.intro__video { width: 100%; height: 100%; object-fit: cover; }
@media (min-aspect-ratio: 4/5) {
  /* écran paysage : la vidéo verticale reste entière, fondue dans le noir */
  .intro__video {
    width: auto; height: 100%; max-width: none; aspect-ratio: 480 / 854;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  }
}
.intro__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(5, 5, 6, .75) 100%);
}
.intro__flash {
  position: absolute; inset: 0; z-index: 8; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #fffaf0, #f3e6c8 70%);
  opacity: 0; transition: opacity .7s var(--ease-io);
}
.intro.is-flash .intro__flash { opacity: 1; }

.intro__frame { position: absolute; inset: 0; z-index: 3; pointer-events: none; transition: opacity .8s var(--ease); }
.intro__frame .deco { width: 64px; height: 64px; }
.intro__frame .deco.tl { top: 22px; left: 22px; }
.intro__frame .deco.tr { top: 22px; right: 22px; }
.intro__frame .deco.bl { bottom: 22px; left: 22px; }
.intro__frame .deco.br { bottom: 22px; right: 22px; }
.intro.is-playing .intro__frame { opacity: 0; }

.intro__content {
  position: relative; z-index: 5; text-align: center; padding: 40px 24px;
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s;
}
.intro.is-playing .intro__content { opacity: 0; transform: scale(.96); filter: blur(6px); pointer-events: none; }

.intro__monogram {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--deco); font-size: 22px; letter-spacing: .12em; color: var(--or-clair);
  padding: 10px 22px; border: 1px solid rgba(207, 165, 91, .45); border-radius: 999px;
  opacity: 0; animation: rise 1.2s var(--ease) .2s forwards;
}
.intro__monogram i { font-style: normal; font-size: 12px; color: var(--or); }
.intro__tag {
  margin-top: min(30px, 3.5vh); font-family: var(--sans); font-size: 11.5px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gris-clair); opacity: 0; animation: rise 1.2s var(--ease) .45s forwards;
}
.intro__names {
  margin-top: 8px; font-family: var(--script); font-weight: 400; line-height: normal;
  font-size: clamp(52px, min(23vw, 14vh), 150px); display: flex; flex-direction: column; align-items: center;
  filter: drop-shadow(0 6px 30px rgba(207, 165, 91, .25));
  opacity: 0; animation: rise 1.4s var(--ease) .65s forwards;
}
.intro__names .foil { padding: 0 .12em .06em; }
.intro__amp { font-family: var(--deco); font-size: .26em; color: #fff; letter-spacing: .1em; margin: -.1em 0 .05em; }
.intro__date {
  margin-top: 14px; font-family: var(--deco); font-size: clamp(15px, 3.4vw, 19px); letter-spacing: .38em; color: var(--or-clair);
  opacity: 0; animation: rise 1.2s var(--ease) .9s forwards;
}
.intro__play {
  position: relative; margin: min(40px, 4.5vh) auto 0; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; color: var(--or-clair);
  background: rgba(207, 165, 91, .08); border: 1px solid rgba(240, 220, 168, .6);
  backdrop-filter: blur(6px);
  opacity: 0; animation: rise 1.2s var(--ease) 1.15s forwards;
  transition: transform .5s var(--ease), background-color .4s;
}
.intro__play .ico { width: 28px; height: 28px; margin-left: 4px; }
.intro__play:active { transform: scale(.94); }
@media (hover: hover) { .intro__play:hover { transform: scale(1.06); background: rgba(207, 165, 91, .18); } }
.intro__ring {
  position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(240, 220, 168, .7);
  animation: ring 2.6s var(--ease) infinite;
}
.intro__ring--2 { animation-delay: 1.3s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.intro__hint {
  margin-top: 20px; font-family: var(--sans); font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gris-clair); opacity: 0; animation: rise 1.2s var(--ease) 1.35s forwards;
}
.intro__hint span { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .24em; color: var(--or); }
.intro__skip {
  position: absolute; z-index: 9; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .22); background: rgba(0, 0, 0, .3);
  backdrop-filter: blur(6px); transition: color .3s, border-color .3s;
}
.intro__skip:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── Bouton musique ─────────────────── */
.sound {
  position: fixed; z-index: 150; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  color: var(--noir); background: var(--foil-btn); box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  opacity: 0; transform: scale(.6); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.sound.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sound__bars { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.sound__bars i { width: 3px; height: 100%; border-radius: 2px; background: var(--noir); transform-origin: bottom; animation: bars 1.1s ease-in-out infinite; }
.sound__bars i:nth-child(2) { animation-delay: .25s; }
.sound__bars i:nth-child(3) { animation-delay: .5s; }
.sound__bars i:nth-child(4) { animation-delay: .15s; }
@keyframes bars { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.sound__mute { display: none; width: 22px; height: 22px; }
.sound.is-muted .sound__bars { display: none; }
.sound.is-muted .sound__mute { display: block; }

/* ════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 140;
  padding-top: env(safe-area-inset-top);
  transition: transform .6s var(--ease), background-color .5s, box-shadow .5s;
}
.nav.is-scrolled {
  background: rgba(11, 11, 13, .8); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(207, 165, 91, .22);
}
.nav.is-hidden { transform: translateY(-105%); }
.nav__inner {
  width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
}
.nav__brand { font-family: var(--deco); font-size: 20px; letter-spacing: .14em; color: #fff; margin-right: auto; }
.nav__brand span { font-family: var(--script); font-size: 1.3em; letter-spacing: 0; color: var(--or); }
.nav__links { display: none; gap: 34px; }
.nav__link {
  position: relative; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85); padding: 6px 0; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--or);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
@media (hover: hover) {
  .nav__link:hover { color: #fff; }
  .nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav__cta {
  display: none; font-family: var(--sans); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 11px 20px; border-radius: 999px; color: var(--or-clair); border: 1px solid rgba(207, 165, 91, .6);
  transition: background-color .3s, color .3s;
}
.nav__cta:hover { background: var(--or); color: var(--noir); }

.burger { position: relative; width: 44px; height: 44px; margin-right: -10px; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.drawer-overlay {
  position: fixed; inset: 0; z-index: 135; background: rgba(5, 5, 6, .6); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 138; width: min(86vw, 360px);
  padding: calc(var(--nav-h) + 24px + env(safe-area-inset-top)) 32px calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #151517, #0b0b0d); border-left: 1px solid rgba(207, 165, 91, .25);
  transform: translateX(100%); visibility: hidden; transition: transform .6s var(--ease), visibility .6s;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__brand { font-family: var(--script); font-size: 42px; line-height: 1; color: var(--or-clair); }
.drawer__brand span { font-size: .7em; color: #fff; }
.drawer__links { display: flex; flex-direction: column; margin-top: 30px; }
.drawer__links a {
  padding: 14px 0; font-family: var(--serif); font-size: 24px; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08); transition: color .3s, padding-left .4s var(--ease);
}
.drawer__links a:hover { color: var(--or-clair); padding-left: 6px; }
.drawer__links .drawer__cta {
  margin-top: 26px; border: 0; text-align: center; padding: 15px; border-radius: 999px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--noir); background: var(--foil-btn);
}
.drawer__links .drawer__cta:hover { color: var(--noir); padding-left: 15px; }
.drawer__foot { margin-top: auto; font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--or); }

/* ════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: grid; place-items: center; text-align: center; background: var(--noir);
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(.6);
  opacity: 0; transform: scale(1.1); transition: opacity 2s var(--ease), transform 10s var(--ease);
}
.hero__video.is-ready { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(207, 165, 91, .12), transparent 60%),
    linear-gradient(to bottom, rgba(11, 11, 13, .55) 0%, rgba(11, 11, 13, .1) 30%, rgba(11, 11, 13, .35) 70%, var(--noir) 100%);
}
.hero__content { position: relative; z-index: 2; padding: calc(var(--nav-h) + 30px) var(--gutter) 110px; }
.hero__eyebrow {
  font-family: var(--sans); font-size: 12px; letter-spacing: .5em; text-transform: uppercase; color: var(--or-clair);
  opacity: 0; animation: rise 1.2s var(--ease) .3s forwards; animation-play-state: paused;
}
.hero__title {
  margin-top: 10px; display: flex; flex-direction: column; align-items: center; line-height: normal;
  font-weight: 400; filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .55));
}
.hero__name {
  font-family: var(--script); font-size: clamp(76px, 21vw, 172px); padding: 0 .14em .04em;
  opacity: 0; animation: rise 1.5s var(--ease) .5s forwards, foil 7s linear infinite; animation-play-state: paused;
}
.hero__name + .hero__amp + .hero__name { animation-delay: .8s, 0s; }
.hero__amp {
  font-family: var(--deco); font-size: clamp(18px, 4.4vw, 30px); letter-spacing: .2em; color: #fff; margin: -.2em 0 -.1em;
  opacity: 0; animation: rise 1.2s var(--ease) .7s forwards; animation-play-state: paused;
}
.hero__crest { margin-top: 22px; opacity: 0; animation: rise 1.2s var(--ease) 1s forwards; animation-play-state: paused; }
.hero__date {
  margin-top: 16px; font-family: var(--deco); font-size: clamp(17px, 3.6vw, 24px); letter-spacing: .14em;
  opacity: 0; animation: rise 1.2s var(--ease) 1.1s forwards; animation-play-state: paused;
}
.hero__place {
  margin-top: 8px; font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gris-clair);
  opacity: 0; animation: rise 1.2s var(--ease) 1.2s forwards; animation-play-state: paused;
}
.hero__cta {
  margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0; animation: rise 1.2s var(--ease) 1.35s forwards; animation-play-state: paused;
}
.hero__cta .btn { width: min(100%, 320px); }
.is-open-site .hero__eyebrow, .is-open-site .hero__name, .is-open-site .hero__amp,
.is-open-site .hero__crest, .is-open-site .hero__date, .is-open-site .hero__place, .is-open-site .hero__cta { animation-play-state: running; }
html:not(.js) .hero__eyebrow, html:not(.js) .hero__name, html:not(.js) .hero__amp, html:not(.js) .hero__crest,
html:not(.js) .hero__date, html:not(.js) .hero__place, html:not(.js) .hero__cta { opacity: 1; animation: none; }

.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: 44px; height: 60px; display: grid; place-items: center;
}
.hero__scroll-line { position: relative; width: 1px; height: 48px; overflow: hidden; background: rgba(240, 220, 168, .25); }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--or-clair);
  animation: scrollDot 2.2s var(--ease-io) infinite;
}
@keyframes scrollDot { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ════════════════════════════════════════
   COMPTE À REBOURS
═══════════════════════════════════════════ */
.countdown { overflow: hidden; }
.countdown__bg {
  position: absolute; inset: 0; opacity: .32;
  background: url("https://images.unsplash.com/photo-1784822041116-10ebc52b124d?w=1600&auto=format&fit=crop&q=70") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse at 50% 55%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 55%, #000 10%, transparent 72%);
}
.countdown .container { position: relative; }
/* Une seule ligne de 4 cases, même sur téléphone */
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 760px; margin: 0 auto; }
.cd__box {
  position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0;
  padding: 16px 4px 13px; background: rgba(11, 11, 13, .6); backdrop-filter: blur(6px);
  border: 1px solid rgba(207, 165, 91, .45);
}
.cd__box::before { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(207, 165, 91, .18); pointer-events: none; }
.cd__num { font-family: var(--deco); font-size: clamp(25px, 8.2vw, 72px); line-height: 1; font-variant-numeric: tabular-nums; }
.cd__label {
  margin: 8px -.18em 0 0; font-family: var(--sans); font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gris-clair);
}
.cd__actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ════════════════════════════════════════
   FAIRE-PART
═══════════════════════════════════════════ */
.card-deco {
  position: relative; max-width: 760px; margin: 0 auto; text-align: center;
  padding: clamp(70px, 10vw, 100px) clamp(26px, 7vw, 80px);
  background: var(--blanc);
  box-shadow: 0 40px 90px -30px rgba(20, 20, 22, .28), 0 0 0 1px rgba(156, 122, 54, .18);
}
.card-deco::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(156, 122, 54, .22); pointer-events: none; }
.announce__kicker { font-family: var(--sans); font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--or-texte); }
.announce__names {
  margin: 18px 0 20px; display: flex; flex-direction: column; align-items: center; line-height: 1;
  font-family: var(--script); font-weight: 400; font-size: clamp(64px, 15vw, 112px); color: var(--encre);
}
.announce__amp {
  font-family: var(--deco); font-size: .3em; letter-spacing: .1em; margin: -.05em 0 .1em;
  background: var(--foil-dark); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; animation: foil 7s linear infinite;
}
.announce__text { font-size: clamp(19px, 2.6vw, 22px); line-height: 1.65; color: #34322e; text-wrap: balance; }
@media (max-width: 599px) {
  .announce__text br { display: none; }
  .announce__kicker { letter-spacing: .26em; }
}
.announce__text + .announce__text { margin-top: 14px; }
.announce__text strong { font-weight: 600; color: var(--encre); }
.card-deco .crest--sm { margin: 26px auto; }
.announce__foot { margin-top: 34px; font-family: var(--script); font-size: clamp(30px, 6vw, 40px); line-height: 1.2; color: var(--or-texte); }

/* ════════════════════════════════════════
   PHOTOS
═══════════════════════════════════════════ */
.photos { background: radial-gradient(ellipse at 50% 0%, #17161a, var(--noir) 60%); }
.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; grid-auto-flow: dense; gap: 10px;
}
.gallery__item {
  position: relative; overflow: hidden; display: block; padding: 0; background: var(--noir-3);
  outline-offset: 4px;
}
.gallery__item::after {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, .28); pointer-events: none;
  transition: inset .6s var(--ease), border-color .6s;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--big  { grid-column: span 2; grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center);
  filter: grayscale(1) contrast(1.06) brightness(.92);
  transition: transform 1.2s var(--ease), filter 1s var(--ease);
}
@media (hover: hover) {
  .gallery__item:hover img { transform: scale(1.05); filter: grayscale(.15) sepia(.2) contrast(1.02); }
  .gallery__item:hover::after { inset: 12px; border-color: var(--or-clair); }
}

/* ════════════════════════════════════════
   PROGRAMME — timeline
═══════════════════════════════════════════ */
.timeline { position: relative; max-width: 980px; margin: 0 auto; --fill: 0; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; top: 10px; bottom: 10px; left: 17px; width: 1px;
}
.timeline::before { background: rgba(156, 122, 54, .25); }
.timeline::after {
  background: linear-gradient(to bottom, var(--or-profond), var(--or), var(--or-profond));
  transform-origin: top; transform: scaleY(var(--fill)); box-shadow: 0 0 10px rgba(207, 165, 91, .6);
}
.step { position: relative; padding-left: 52px; }
.step + .step { margin-top: 26px; }
.step__star {
  position: absolute; left: 7px; top: 22px; width: 21px; height: 21px; z-index: 1;
  background: #cfc7b6;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transition: background-color .6s, transform .8s var(--ease), filter .6s;
}
.step.is-lit .step__star { background: var(--or); transform: rotate(45deg) scale(1.15); filter: drop-shadow(0 0 6px rgba(207, 165, 91, .9)); }
.step__card {
  position: relative; background: var(--blanc); padding: 28px 24px 26px;
  border: 1px solid rgba(156, 122, 54, .2); box-shadow: 0 24px 60px -30px rgba(20, 20, 22, .25);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
@media (hover: hover) { .step__card:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -30px rgba(20, 20, 22, .35); } }
.step__time {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  font-family: var(--deco); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--or-clair); background: var(--noir);
}
.step__time .ico { width: 14px; height: 14px; color: var(--or); }
.program__note {
  margin-top: clamp(40px, 6vw, 64px); text-align: center; text-wrap: balance;
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--or-texte);
}
.step__icon {
  position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--or-profond); border: 1px solid rgba(156, 122, 54, .35);
}
.step__icon .ico { width: 22px; height: 22px; }
.step__title { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 34px); line-height: 1.1; color: var(--encre); }
.step__place { margin-top: 6px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--or-texte); }
.step__text { margin-top: 12px; font-size: 18.5px; line-height: 1.6; color: var(--gris); }
/* Horaire dans la pastille : « Acte I | 15h00 » */
.step__hour { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; padding-left: 12px; border-left: 1px solid rgba(207, 165, 91, .45); color: #fff; letter-spacing: .12em; }
/* Le lendemain : carte nuit & or, pour marquer le changement de jour */
.step--lendemain .step__card { background: var(--noir); border-color: rgba(207, 165, 91, .5); box-shadow: 0 30px 70px -30px rgba(11, 11, 13, .6); }
.step--lendemain .step__card::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(207, 165, 91, .2); pointer-events: none; }
.step--lendemain .step__time { color: var(--noir); background: var(--foil-btn); }
.step--lendemain .step__time .ico { color: var(--noir); }
.step--lendemain .step__hour { color: var(--noir); border-left-color: rgba(11, 11, 13, .3); }
.step--lendemain .step__icon { color: var(--or-clair); border-color: rgba(207, 165, 91, .5); }
.step--lendemain .step__title { color: #fff; }
.step--lendemain .step__place { color: var(--or); }
.step--lendemain .step__text { color: var(--gris-clair); }

/* ════════════════════════════════════════
   LIEUX
═══════════════════════════════════════════ */
.venues { background: var(--noir); }
.venues__grid { display: flex; flex-direction: column; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.venue { background: var(--noir-2); border: 1px solid rgba(207, 165, 91, .28); display: flex; flex-direction: column; overflow: hidden; }
.venue__map { position: relative; height: 230px; background: var(--noir-3); }
.venue__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(.9) contrast(.9) sepia(.18);
}
.venue__body { padding: 26px 24px 28px; }
.venue__kind { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--or); }
.venue__title { margin-top: 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 38px); line-height: 1.1; }
.venue__addr { margin-top: 6px; font-size: 18px; color: var(--gris-clair); }
.venue__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

.route { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; }
.route__line { width: 1px; height: 34px; background-image: linear-gradient(to bottom, var(--or) 50%, transparent 50%); background-size: 1px 8px; opacity: .7; }
.route__car {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--noir);
  background: var(--foil-btn); box-shadow: 0 0 0 6px rgba(207, 165, 91, .12);
}
.route__car .ico { width: 24px; height: 24px; }
.route__label { font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--or-clair); text-align: center; }

/* ════════════════════════════════════════
   INFOS PRATIQUES
═══════════════════════════════════════════ */
.infos__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.info {
  background: var(--blanc); padding: 30px 26px; text-align: center;
  border: 1px solid rgba(156, 122, 54, .18); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
@media (hover: hover) { .info:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(20, 20, 22, .3); } }
.info__ico {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  color: var(--or-profond); border: 1px solid rgba(156, 122, 54, .35);
}
.info__ico .ico { width: 24px; height: 24px; }
.info__title { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.15; color: var(--encre); }
.info__text { margin-top: 10px; font-size: 18px; line-height: 1.6; color: var(--gris); }
.info__text strong { color: var(--encre); font-weight: 600; }
.info__text a { color: var(--or-texte); border-bottom: 1px solid rgba(156, 122, 54, .45); transition: border-color .3s; }
.info__text a:hover { border-color: var(--or-texte); }

.info--feature { position: relative; background: var(--noir); color: #fff; border-color: rgba(207, 165, 91, .45); padding: 40px 28px; }
.info--feature::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(207, 165, 91, .2); pointer-events: none; }
.info--feature .info__ico { color: var(--or-clair); border-color: rgba(207, 165, 91, .5); }
.info--feature .info__title { color: #fff; font-size: 32px; }
.info--feature .info__text { color: var(--gris-clair); max-width: 520px; margin-inline: auto; }
.info--feature .info__text strong { color: var(--or-clair); }
.swatches { margin-top: 20px; display: flex; justify-content: center; gap: 10px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 4px var(--noir), 0 0 0 5px rgba(207, 165, 91, .35); }
.swatch--noir  { background: #050506; }
.swatch--blanc { background: #fbfaf6; }
.swatch--or    { background: var(--foil-btn); }
.swatch--terracotta { background: linear-gradient(135deg, #d98a68, #c4673f 55%, #a5512e); }
.info__quote {
  position: relative; max-width: 520px; margin: 22px auto 0; padding-top: 20px;
  font-style: italic; font-size: clamp(19px, 2.6vw, 21px); line-height: 1.55; color: #fff;
}
.info__quote::before { content: ""; position: absolute; top: 0; left: 50%; width: 46px; height: 1px; transform: translateX(-50%); background: var(--or); opacity: .7; }
.info__quote strong { display: block; margin-top: 6px; font-style: normal; font-family: var(--script); font-weight: 400; font-size: 1.6em; line-height: 1.1; color: var(--or-clair); }

/* Hébergement : carte large avec l'hôtel partenaire */
.info--hotel { border-color: rgba(156, 122, 54, .38); box-shadow: 0 30px 70px -40px rgba(20, 20, 22, .35); }
.hotel {
  margin: 20px auto 0; max-width: 560px; padding: 20px 18px 18px;
  background: var(--ivoire); border: 1px solid rgba(156, 122, 54, .25);
}
.hotel__name { font-family: var(--script); font-size: clamp(34px, 6vw, 40px); line-height: 1.1; color: var(--or-texte); }
.hotel__addr { margin-top: 4px; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.hotel__actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hotel__actions .btn:first-child { grid-column: 1 / -1; }
.nowrap { white-space: nowrap; }
@media (min-width: 600px) {
  .hotel__actions { display: flex; flex-wrap: wrap; justify-content: center; }
}
.btn--outline { color: var(--encre); border: 1px solid rgba(156, 122, 54, .45); background: var(--blanc); }
@media (hover: hover) { .btn--outline:hover { border-color: var(--or-profond); color: var(--or-texte); } }
.info__more { margin-top: 14px; font-size: 16.5px; font-style: italic; color: var(--gris); }
.info__cta { margin-top: 22px; }

/* ════════════════════════════════════════
   RSVP
═══════════════════════════════════════════ */
.rsvp { background: radial-gradient(ellipse at 50% 0%, #1b1a1e, var(--noir) 65%); overflow: hidden; }
.rsvp .container { position: relative; z-index: 2; }
.form {
  position: relative; max-width: 740px; margin: 0 auto; padding: 44px 20px 34px;
  background: rgba(19, 19, 22, .82); border: 1px solid rgba(207, 165, 91, .32);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
}
.form .deco { width: 44px; height: 44px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: flex; flex-direction: column; margin-bottom: 22px; border: 0; min-width: 0; }
.field > label, .field > legend {
  margin-bottom: 10px; padding: 0; font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--or-clair);
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 0;
  font-family: var(--serif); font-size: 19px; color: #fff;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(240, 220, 168, .22);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23cfa55b' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field select option { background: var(--noir-2); color: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--or); background-color: rgba(255, 255, 255, .07); box-shadow: 0 0 0 3px rgba(207, 165, 91, .15);
}
.field input.is-invalid, .field textarea.is-invalid { border-color: #e39a8f; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
.field > label small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: none; color: rgba(255, 255, 255, .5); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg__opt { position: relative; }
.seg__opt input, .pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px;
  font-family: var(--sans); font-size: 14px; letter-spacing: .04em; color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(240, 220, 168, .22); cursor: pointer; transition: all .35s var(--ease);
}
.seg__opt input:checked + span { color: var(--noir); background: var(--foil-btn); border-color: transparent; }
.seg__opt--no input:checked + span { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); }
.seg__opt input:focus-visible + span, .pick input:focus-visible + .pick__box { outline: 2px solid var(--or-clair); outline-offset: 2px; }

#attendBlock { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease), opacity .4s; }
#attendBlock > .attend-inner { overflow: hidden; }
#attendBlock.is-collapsed { grid-template-rows: 0fr; opacity: 0; }

.picks { display: grid; gap: 10px; }
.pick { cursor: pointer; }
.pick__box {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px;
  border: 1px solid rgba(240, 220, 168, .22); background: rgba(255, 255, 255, .03);
  transition: border-color .35s, background-color .35s;
}
.pick__ico { width: 22px; height: 22px; color: var(--or); }
.pick__txt { display: flex; flex-direction: column; line-height: 1.25; }
.pick__txt strong { font-family: var(--serif); font-size: 19px; font-weight: 600; color: #fff; }
.pick__txt em { margin-top: 2px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .55); }
.pick__check {
  margin-left: auto; width: 24px; height: 24px; padding: 4px; border-radius: 50%;
  color: transparent; border: 1px solid rgba(240, 220, 168, .35); transition: all .35s var(--ease);
}
.pick input:checked + .pick__box { border-color: var(--or); background: rgba(207, 165, 91, .1); }
.pick input:checked + .pick__box .pick__check { color: var(--noir); background: var(--or); border-color: var(--or); }

.form__status { min-height: 24px; margin-top: 18px; text-align: center; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.form__status.is-error { color: #f0b1a7; }
.form__status.is-success { color: var(--or-clair); }
.form.is-sent .form__fields { display: none; }

.thanks { display: none; text-align: center; padding: 20px 0 10px; }
.form.is-sent .thanks { display: block; animation: rise 1s var(--ease) both; }
.thanks__title { font-family: var(--script); font-size: clamp(52px, 12vw, 76px); line-height: 1.1; }
.thanks__text { margin-top: 10px; font-size: 20px; color: var(--gris-clair); }
.thanks__actions { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ════════════════════════════════════════
   LIVRE D'OR
═══════════════════════════════════════════ */
.gb { display: grid; gap: 28px; align-items: start; }
.gb__form {
  position: relative; padding: 48px 22px 30px; background: var(--blanc);
  border: 1px solid rgba(156, 122, 54, .2); box-shadow: 0 40px 90px -40px rgba(20, 20, 22, .3);
}
.gb__form::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(156, 122, 54, .16); pointer-events: none; }
.gb__form .deco { width: 44px; height: 44px; }
.gb__lead { margin-bottom: 18px; text-align: center; font-family: var(--script); font-size: clamp(36px, 7vw, 44px); line-height: 1.1; color: var(--or-texte); }
.field--light > label { color: var(--or-texte); }
.field--light input, .field--light textarea { color: var(--encre); background: #fff; border-color: rgba(156, 122, 54, .3); }
.field--light input::placeholder, .field--light textarea::placeholder { color: rgba(20, 20, 22, .4); }
.field--light input:focus, .field--light textarea:focus { background: #fff; border-color: var(--or-profond); box-shadow: 0 0 0 3px rgba(207, 165, 91, .2); }
.field--light input.is-invalid, .field--light textarea.is-invalid { border-color: #b4524a; }
.field__count { align-self: flex-end; margin-top: 6px; font-family: var(--sans); font-size: 12px; color: var(--gris); font-variant-numeric: tabular-nums; }
.form__status--light.is-error { color: #a4372f; }
.form__status--light.is-success { color: var(--or-texte); }

.gb__wall { display: grid; gap: 14px; }
.gb__empty {
  padding: 44px 24px; text-align: center; font-style: italic; font-size: 20px; color: var(--gris);
  border: 1px dashed rgba(156, 122, 54, .38);
}
.note {
  position: relative; padding: 32px 24px 20px; background: var(--blanc);
  border: 1px solid rgba(156, 122, 54, .18); box-shadow: 0 24px 60px -38px rgba(20, 20, 22, .35);
}
.note::before {
  content: "“"; position: absolute; top: -4px; left: 16px; font-family: var(--serif); font-size: 76px; line-height: 1;
  background: var(--foil-dark); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.note__text { font-style: italic; font-size: 20px; line-height: 1.55; color: #2c2a26; white-space: pre-line; overflow-wrap: anywhere; }
.note__meta { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--perle); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.note__author { font-family: var(--script); font-size: 30px; line-height: 1; color: var(--or-texte); }
.note__date { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.note.is-new { animation: rise .9s var(--ease) both; box-shadow: 0 0 0 1px var(--or), 0 24px 60px -30px rgba(207, 165, 91, .55); }
.gb__more { justify-self: center; margin-top: 6px; }

/* ════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer { position: relative; overflow: hidden; background: #060607; text-align: center; padding: 100px 0 calc(90px + env(safe-area-inset-bottom)); }
.footer__inner { position: relative; z-index: 2; width: min(680px, 100% - var(--gutter) * 2); margin-inline: auto; }
.footer__names { font-family: var(--script); font-size: clamp(58px, 13vw, 86px); line-height: 1.1; color: var(--or-clair); }
.footer__names span { font-size: .6em; color: #fff; }
.footer__date { margin-top: 4px; font-family: var(--sans); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gris-clair); }
.footer .crest--sm { margin: 26px auto 18px; }
.footer__thanks { font-style: italic; font-size: clamp(20px, 3vw, 24px); color: #fff; }
.footer__promo { margin-top: 56px; padding: 30px 22px; border: 1px solid rgba(207, 165, 91, .22); background: rgba(255, 255, 255, .02); }
.footer__promo-q { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 27px); color: #fff; }
.footer__promo-sub { margin: 8px 0 20px; font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.footer__credit { margin-top: 30px; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .45); }
.footer__credit a { color: var(--or-clair); border-bottom: 1px solid rgba(240, 220, 168, .35); }
.footer__legal { margin-top: 12px; font-family: var(--sans); font-size: 11px; letter-spacing: .1em; color: rgba(255, 255, 255, .34); }

/* ════════════════════════════════════════
   VISIONNEUSE
═══════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 250; display: grid; place-items: center;
  background: rgba(5, 5, 6, .95); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__fig { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 0; }
.lightbox__cap { min-height: 1.1em; font-family: var(--script); font-size: clamp(28px, 5vw, 38px); line-height: 1.1; color: var(--or-clair); text-align: center; }
.lightbox__img {
  max-width: min(92vw, 1200px); max-height: 76vh; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); outline: 1px solid rgba(207, 165, 91, .3); outline-offset: 8px;
  transform: scale(.96); transition: transform .5s var(--ease), opacity .3s;
}
.lightbox.is-open .lightbox__img { transform: none; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  transition: background-color .3s, border-color .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(207, 165, 91, .25); border-color: var(--or); }
.lightbox__close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox .ico { width: 22px; height: 22px; }

/* ════════════════════════════════════════
   APPARITIONS AU SCROLL
═══════════════════════════════════════════ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   ≥ 600px
═══════════════════════════════════════════ */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .nav__cta { display: inline-flex; }
  .hero__cta { flex-direction: row; justify-content: center; }
  .hero__cta .btn { width: auto; }
  .cd { gap: 16px; }
  .cd__box { padding: 26px 10px 22px; }
  .cd__box::before { inset: 5px; }
  .cd__num { font-size: clamp(42px, 7vw, 72px); }
  .cd__label { margin: 12px -.34em 0 0; font-size: 10.5px; letter-spacing: .34em; }
  .gallery { grid-auto-rows: 240px; }
  .form { padding: 56px 48px 44px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row--3 { grid-template-columns: repeat(3, 1fr); }
  .infos__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .info--feature, .info--hotel { grid-column: 1 / -1; }
  .deco { width: 64px; height: 64px; }
}

/* ════════════════════════════════════════
   ≥ 768px
═══════════════════════════════════════════ */
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }

  /* Timeline centrée, étapes en quinconce */
  .timeline::before, .timeline::after { left: 50%; }
  .step { width: 50%; padding-left: 0; padding-right: 56px; }
  .step + .step { margin-top: -96px; }
  .step:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 56px; }
  .step__star { left: auto; right: -10.5px; top: 30px; }
  .step:nth-child(even) .step__star { right: auto; left: -10.5px; }
  .step:nth-child(odd) .step__card { text-align: right; }
  .step:nth-child(odd) .step__icon { right: auto; left: 22px; }
  .step__card { padding: 32px 30px 30px; }

  .venue__map { height: 260px; }
}

/* ════════════════════════════════════════
   ≥ 1024px
═══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .burger { display: none; }
  .venues__grid { flex-direction: row; align-items: center; }
  .venue { flex: 1; }
  .route {
    flex: 0 0 170px; padding: 0 6px;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px 8px;
  }
  .route__line { width: 100%; height: 1px; background-image: linear-gradient(to right, var(--or) 50%, transparent 50%); background-size: 8px 1px; }
  .route__line:first-child { grid-area: 1 / 1; }
  .route__car { grid-area: 1 / 2; }
  .route__line:last-child { grid-area: 1 / 3; }
  .route__label { grid-area: 2 / 1 / 3 / 4; }
  .infos__grid { grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; }
  /* Hébergement sur 2 × 2 cases, cortège + stationnement empilés à sa droite */
  .info--hotel { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
}
/* Tablette (2 colonnes) : le livre d'or ferme la grille sur toute la largeur */
@media (min-width: 600px) and (max-width: 1023px) {
  .info--span-md { grid-column: 1 / -1; }
}

/* Livre d'or : formulaire à gauche (collant), messages sur deux colonnes */
@media (min-width: 900px) {
  .gb { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
  .gb__form { position: sticky; top: calc(var(--nav-h) + 24px); padding: 52px 40px 34px; }
  .gb__wall { grid-template-columns: 1fr 1fr; }
  .gb__empty, .gb__more { grid-column: 1 / -1; }
}

/* Petits écrans */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .intro__names { font-size: 62px; }
  .hero__name { font-size: 70px; }
  .step__card { padding: 24px 18px; }
  .step__icon { display: none; }
}

/* Écrans peu hauts (paysage mobile) */
@media (max-height: 560px) {
  .intro__content { padding: 16px 24px; }
  .intro__monogram { font-size: 17px; padding: 6px 16px; }
  .intro__play { width: 64px; height: 64px; }
  .intro__hint { margin-top: 10px; }
  .intro__frame .deco { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .foil, .head__title em, .announce__amp { animation: none; }
  .glitter { display: none; }
}
