/* =============================================================
   Brice & Honorine — 05.12.2026
   Feuille de style unique
   Palette : #2E1A19 · #6A4437 · #AB3F18 · #EB8545 · #AEABA4
   ============================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

/* ---------- Tokens ---------- */
:root {
  --ink:      #120A08;
  --espresso: #1E1210;
  --cocoa:    #6A4437;
  --rust:     #AB3F18;
  --ember:    #EB8545;
  --sand:     #AEABA4;
  --cream:    #F6F0E7;
  --gold:     #C9A227;

  --cream-70: rgba(246, 240, 231, .72);
  --cream-55: rgba(246, 240, 231, .55);
  --line:     rgba(246, 240, 231, .13);
  --line-gold: rgba(201, 162, 39, .32);

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --sect: clamp(66px, 8.6vw, 126px);

  --ease: cubic-bezier(.22, .68, .26, 1);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
body.is-locked, body.is-locked html { overflow: hidden; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(171, 63, 24, .30), transparent 62%),
    radial-gradient(90% 60% at 100% 100%, rgba(106, 68, 55, .28), transparent 65%),
    url('../assets/img/texture.jpg') center / cover no-repeat,
    var(--ink);
  opacity: .9;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(140% 90% at 50% 40%, transparent 30%, rgba(10, 5, 4, .72) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--rust); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 200;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- Layout ---------- */
main, .footer { position: relative; z-index: 2; }
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { position: relative; padding-block: var(--sect); }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .34em;
  color: var(--sand);
  line-height: 1;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
}
.eyebrow--gold { color: var(--gold); }

.h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.05rem, 6.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.012em;
  color: var(--cream);
  text-wrap: balance;
}
.h2 em, .lede em {
  font-style: italic;
  color: var(--ember);
  font-weight: 300;
}
.lede { margin-top: 14px; color: var(--cream-55); font-size: 14.5px; }

.section__head { max-width: 720px; margin-bottom: clamp(38px, 6vw, 64px); }

.rule {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 26px 0;
}
.signature {
  margin-top: 30px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 4.6vw, 2rem);
  line-height: 1.2;
  color: var(--cream);
}
.signature em { color: var(--gold); }
.signature__sub {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--sand);
  text-transform: uppercase;
}
.programme .note { margin-top: 30px; }
@media (min-width: 980px) {
  .programme .wrap {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    column-gap: clamp(40px, 6vw, 80px);
    align-items: start;
  }
  .programme .section__head { margin-bottom: 0; position: sticky; top: 104px; }
  .programme .timeline { margin: 4px 0 0; max-width: none; }
  .programme .note { grid-column: 2; text-align: left; }
}

.note {
  margin-top: 40px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(174, 171, 164, .72);
  font-style: italic;
}

@media (max-width: 400px) {
  .h2 { font-size: clamp(1.95rem, 6.2vw, 3rem); }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost {
  border-color: rgba(246, 240, 231, .26);
  color: var(--cream);
}
.btn--ghost:hover { border-color: var(--gold); background: rgba(201, 162, 39, .08); }
.btn--solid {
  background: linear-gradient(120deg, var(--rust), #C24E1F);
  color: #FFF6EE;
  box-shadow: 0 14px 34px -16px rgba(171, 63, 24, .9);
}
.btn--solid:hover { background: linear-gradient(120deg, #C24E1F, var(--ember)); transform: translateY(-1px); }
.btn--mini { padding: 11px 20px; font-size: 10px; border: 1px solid var(--line-gold); color: var(--gold); }
.btn--mini:hover { background: rgba(201, 162, 39, .1); }
.btn--sm { padding: 12px 22px; font-size: 10px; }
.btn--text {
  background: none; border: 0; padding: 10px 0; margin-top: 6px;
  color: var(--sand); font-size: 10.5px; letter-spacing: .18em;
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: rgba(174, 171, 164, .4);
}
.btn--text:hover { color: var(--cream); }

.noscript {
  position: relative;
  z-index: 5;
  margin: 90px auto 0;
  max-width: 420px;
  padding: 14px 18px;
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  font-size: 13px;
  color: var(--cream-70);
  text-align: center;
}

/* =============================================================
   ÉCRAN D'OUVERTURE
   ============================================================= */
.cover {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0C0605;
  transition: opacity .95s var(--ease), visibility .95s;
}
.cover__bg {
  position: absolute;
  inset: -2%;
  background: url('../assets/img/texture.jpg') center / cover no-repeat;
  transform: scale(1.04);
  animation: coverDrift 34s ease-in-out infinite alternate;
}
.cover__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 50% 46%, rgba(235, 133, 69, .20), transparent 60%),
    radial-gradient(120% 100% at 50% 50%, rgba(12, 6, 5, .35) 25%, rgba(12, 6, 5, .92) 78%);
}
@keyframes coverDrift {
  from { transform: scale(1.04) translate3d(-1%, 0, 0); }
  to   { transform: scale(1.12) translate3d(1%, -1.5%, 0); }
}
.cover.is-open { opacity: 0; visibility: hidden; pointer-events: none; }

.cover__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: max(28px, env(safe-area-inset-top)) var(--gutter) max(34px, env(safe-area-inset-bottom));
  width: 100%;
}
.cover__inner > * { animation: rise .9s var(--ease) both; }
.cover__inner > :nth-child(1) { animation-delay: .15s; }
.cover__inner > :nth-child(2) { animation-delay: .3s; }
.cover__inner > :nth-child(3) { animation-delay: .45s; }
.cover__inner > :nth-child(4) { animation-delay: .6s; }
.cover__inner > :nth-child(5) { animation-delay: .7s; }
.cover__inner > :nth-child(6) { animation-delay: .78s; }
.cover__inner > :nth-child(7) { animation-delay: .86s; }
.cover__inner > :nth-child(8) { animation-delay: .94s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .1em;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--cream);
  position: relative;
  letter-spacing: .02em;
}
.monogram em { color: var(--gold); font-size: .8em; font-style: italic; }
.monogram--lg {
  width: clamp(84px, 22vw, 106px);
  height: clamp(84px, 22vw, 106px);
  font-size: clamp(24px, 6.4vw, 31px);
  margin-bottom: clamp(18px, 4vw, 26px);
}

.cover__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 15vw, 5.6rem);
  line-height: .92;
  letter-spacing: -.014em;
  margin-top: 6px;
}
.cover__names em {
  font-style: italic;
  font-size: .42em;
  color: var(--gold);
  line-height: 1.5;
  opacity: .95;
}
.cover__rule {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--line-gold), transparent);
  margin: clamp(18px, 4vw, 26px) 0;
}
.cover__date {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--cream);
}
.cover__place {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: .8;
}
.cover__btn { margin-top: clamp(30px, 7vw, 44px); }
.cover__hint {
  margin-top: 18px;
  font-size: 9.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(174, 171, 164, .6);
}

/* =============================================================
   NAVIGATION
   ============================================================= */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 95;
  background: rgba(246, 240, 231, .06);
}
.progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--ember), var(--rust));
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
  transform: translateY(-102%);
}
body.is-entered .nav { transform: none; transition: transform .7s var(--ease), background .4s, padding .4s, border-color .4s; }
.nav.is-scrolled {
  background: rgba(16, 9, 7, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  padding-block: 10px;
  border-bottom-color: var(--line);
}
.nav__mark {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .1em;
  color: var(--cream);
  line-height: 1;
}
.nav__mark em { color: var(--gold); font-size: .82em; }
.nav__links { display: none; gap: clamp(20px, 3vw, 36px); }
.nav__links a {
  position: relative;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand);
  transition: color .3s;
  padding-block: 6px;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right .4s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { right: 0; }

.nav__cta { border-color: var(--line-gold); color: var(--gold); }
.nav__cta:hover { background: rgba(201, 162, 39, .1); border-color: var(--gold); }

.nav__burger {
  width: 42px; height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 15px; height: 1px;
  background: var(--cream);
  transition: transform .35s var(--ease), opacity .3s;
}
body.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}

/* ---------- Drawer mobile ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 96px var(--gutter) 48px;
  background: rgba(12, 6, 5, .97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer__nav { display: flex; flex-direction: column; gap: 2px; }
.drawer__nav a {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 300;
  line-height: 1.28;
  color: var(--cream);
  padding-block: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
body.menu-open .drawer__nav a { opacity: 1; transform: none; }
body.menu-open .drawer__nav a:nth-child(1) { transition-delay: .06s; }
body.menu-open .drawer__nav a:nth-child(2) { transition-delay: .10s; }
body.menu-open .drawer__nav a:nth-child(3) { transition-delay: .14s; }
body.menu-open .drawer__nav a:nth-child(4) { transition-delay: .18s; }
body.menu-open .drawer__nav a:nth-child(5) { transition-delay: .22s; }
body.menu-open .drawer__nav a:nth-child(6) { transition-delay: .26s; }
.drawer__nav a:hover, .drawer__nav a:focus-visible { color: var(--ember); }
.drawer__nav a:last-child { color: var(--gold); font-style: italic; }
.drawer__foot {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sand);
  line-height: 2;
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(110px, 16vh, 150px);
  padding-bottom: clamp(50px, 9vh, 90px);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -18%; left: 50%;
  width: 120vw; height: 70vh;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(235, 133, 69, .22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 14vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.018em;
  margin-top: 22px;
}
.hero__names em {
  font-style: italic;
  font-size: .4em;
  color: var(--gold);
  line-height: 1.6;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  margin-top: 24px;
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sand);
}
.dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.hero__media {
  margin-top: clamp(34px, 6vw, 54px);
  width: min(100%, 720px);
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(246, 240, 231, .03);
}
.hero__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 3px;
  filter: saturate(1.02) contrast(1.03);
}
@media (min-width: 700px) {
  .hero__names { flex-direction: row; align-items: baseline; gap: 0 .3em; }
  .hero__names em { font-size: .34em; }
  .hero__media img { aspect-ratio: 1.56 / 1; }
}
.scroll-cue {
  margin-top: clamp(30px, 5vw, 46px);
  width: 26px; height: 56px;
  display: block;
  position: relative;
  border: 1px solid rgba(174, 171, 164, .3);
  border-radius: 999px;
}
.scroll-cue span {
  position: absolute;
  top: 10px; left: 50%;
  width: 3px; height: 3px;
  margin-left: -1.5px;
  border-radius: 50%;
  background: var(--ember);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(0); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(26px); opacity: 0; }
}

/* =============================================================
   INVITATION
   ============================================================= */
.invite__grid {
  display: grid;
  gap: clamp(44px, 8vw, 76px);
  align-items: center;
}
.arch { position: relative; max-width: 400px; margin-inline: auto; width: 100%; }
.arch__wrap { position: relative; }
.arch__frame {
  position: relative;
  border-radius: 999px 999px 8px 8px;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  padding: 7px;
  background: rgba(246, 240, 231, .025);
}
.arch__frame img {
  width: 100%;
  aspect-ratio: 3 / 4.1;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 999px 999px 4px 4px;
  filter: saturate(.98) contrast(1.02);
}
.arch__wrap::after {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgba(201, 162, 39, .16);
  border-radius: 999px 999px 8px 8px;
  pointer-events: none;
}
.arch__cap {
  margin-top: 24px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--sand);
}
.invite__text p {
  color: var(--cream-70);
  font-size: 15px;
  line-height: 1.85;
  max-width: 52ch;
  margin-bottom: 18px;
}
.invite__text strong { font-weight: 400; color: var(--cream); }
@media (min-width: 920px) {
  .invite__grid { grid-template-columns: .86fr 1fr; align-items: center; }
  .arch { margin-inline: 0; }
  .arch__wrap::after { inset: 18px -18px -18px 18px; }
}

/* =============================================================
   PROGRAMME / TIMELINE
   ============================================================= */
.timeline {
  list-style: none;
  padding: 0;
  margin-inline: auto;
  max-width: 720px;
  position: relative;
}
.tl-item {
  display: grid;
  grid-template-columns: 66px 16px 1fr;
  gap: 0 14px;
  padding-block: 17px;
  align-items: start;
}
.tl-time {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3.6vw, 1.35rem);
  line-height: 1.2;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-top: 1px;
  transition: color .3s;
}
.tl-dot { position: relative; display: flex; justify-content: center; height: 100%; }
.tl-dot::before {
  content: '';
  position: absolute;
  top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--ink);
  z-index: 1;
  transition: background .3s, box-shadow .3s;
}
.tl-dot::after {
  content: '';
  position: absolute;
  top: 20px; bottom: -24px;
  width: 1px;
  background: linear-gradient(rgba(201, 162, 39, .34), rgba(201, 162, 39, .1));
}
.tl-item:last-child .tl-dot::after { display: none; }
.tl-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 3.8vw, 1.4rem);
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 2px;
}
.tl-body p { font-size: 13px; color: var(--cream-55); }
.tl-item:hover .tl-time { color: var(--gold); }
.tl-item:hover .tl-dot::before { background: var(--ember); box-shadow: 0 0 0 4px rgba(235, 133, 69, .12); }

/* =============================================================
   LIEUX
   ============================================================= */
.venue-grid { display: grid; gap: 18px; }
.venue {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(180deg, rgba(246, 240, 231, .045), rgba(246, 240, 231, .012));
  overflow: hidden;
  transition: border-color .4s var(--ease), background .4s;
}
.venue::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, .55), transparent);
}
.venue:hover { border-color: rgba(201, 162, 39, .28); }
.venue__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ember);
}
.venue__kicker .dot { background: var(--ember); }
.venue h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 5.4vw, 2.05rem);
  line-height: 1.16;
  letter-spacing: -.01em;
}
.venue__addr {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--cream-55);
  line-height: 1.6;
}
.venue__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.venue__actions .btn { padding: 13px 10px; font-size: 10px; letter-spacing: .14em; min-width: 0; }
.venue__map {
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  transition: height .55s var(--ease), margin .55s var(--ease);
  background: rgba(0, 0, 0, .3);
}
.venue__map.is-open { height: min(320px, 60vw); margin-top: 20px; }
.venue__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(.75) contrast(1.02);
}
@media (min-width: 880px) {
  .venue-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}

/* =============================================================
   COMPTE À REBOURS
   ============================================================= */
.countdown { overflow: hidden; }
.countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(171, 63, 24, .16), transparent 70%);
  pointer-events: none;
}
.countdown__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.count {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2px, 1.6vw, 18px);
  width: 100%;
  max-width: 760px;
  margin-top: clamp(26px, 5vw, 44px);
}
.count__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-block: 6px;
}
.count__cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: calc(-1 * clamp(1px, .8vw, 9px));
  top: 12%;
  height: 66%;
  width: 1px;
  background: linear-gradient(transparent, rgba(201, 162, 39, .3), transparent);
}
.count__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 9.6vw, 5.1rem);
  line-height: .9;
  font-variant-numeric: tabular-nums;
  color: var(--cream);
  display: block;
  min-width: 1.8em;
}
.count__lab {
  font-size: 8.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--sand);
  white-space: nowrap;
}
.countdown__date {
  margin-top: clamp(28px, 5vw, 40px);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cream-55);
}
.countdown .btn { margin-top: 24px; }

/* =============================================================
   GALERIE
   ============================================================= */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery__item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: rgba(246, 240, 231, .03);
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 3 / 4;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter .5s;
  filter: saturate(.95);
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(246, 240, 231, .12);
  border-radius: 10px;
  pointer-events: none;
  transition: border-color .4s;
}
.gallery__item .gallery__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 12px;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: left;
  background: linear-gradient(transparent, rgba(10, 5, 4, .8));
  opacity: 0;
  transition: opacity .4s;
}
@media (hover: hover) {
  .gallery__item:hover img { transform: scale(1.045); filter: saturate(1.05); }
  .gallery__item:hover::after { border-color: rgba(201, 162, 39, .45); }
  .gallery__item:hover .gallery__cap { opacity: 1; }
}
@media (min-width: 780px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .gallery__item { aspect-ratio: 3 / 4.2; }
  .gallery__item:nth-child(even) { transform: translateY(22px); }
}

/* ---------- Lightbox ---------- */
.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(8, 4, 3, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lightbox__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 60px clamp(10px, 4vw, 40px);
}
.lightbox__fig {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: min(1100px, 92vw);
  max-height: 100%;
}
.lightbox__fig img {
  max-height: min(78vh, 900px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
}
.lightbox__fig figcaption {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sand);
  display: flex;
  gap: 12px;
  align-items: center;
}
.lightbox__count { color: rgba(174, 171, 164, .5); }
.lightbox__close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20, 11, 9, .7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--cream);
  display: grid;
  place-items: center;
  z-index: 3;
}
.lightbox__close:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__nav {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20, 11, 9, .55);
  color: var(--cream);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .3s, color .3s;
  z-index: 3;
}
.lightbox__nav:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 620px) {
  .lightbox__nav {
    position: absolute;
    bottom: 22px;
    width: 44px; height: 44px;
  }
  .lightbox__nav--prev { left: 18px; }
  .lightbox__nav--next { right: 18px; }
  .lightbox__fig img { max-height: 72vh; }
}

/* =============================================================
   COULEURS / DRESS CODE
   ============================================================= */
.palette__grid { display: grid; gap: clamp(38px, 7vw, 64px); align-items: center; }
.palette__text p {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--cream-70);
  max-width: 46ch;
}
.palette__text strong { font-weight: 400; color: var(--cream); }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.8vw, 18px); justify-items: center; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.swatch figcaption { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.swatch__chip {
  width: clamp(48px, 6.4vw, 78px);
  height: clamp(48px, 6.4vw, 78px);
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(246, 240, 231, .16), 0 18px 38px -18px rgba(0, 0, 0, .95);
  position: relative;
  transition: transform .5s var(--ease);
}
.swatch__chip::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07);
}
.swatch:hover .swatch__chip { transform: translateY(-5px) scale(1.03); }
.swatch__name {
  font-size: 8.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand);
  text-align: center;
  line-height: 1.45;
  min-height: 2.9em;
}
.swatch__hex {
  font-size: 9px;
  letter-spacing: .1em;
  color: rgba(174, 171, 164, .45);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) {
  .palette__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* =============================================================
   RSVP
   ============================================================= */
.rsvp__grid { display: grid; gap: clamp(38px, 7vw, 64px); }
@media (min-width: 900px) {
  .rsvp__grid {
    grid-template-columns: .92fr 1.08fr;
    gap: clamp(44px, 5.5vw, 72px);
    align-items: start;
  }
}

.rsvp__intro p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--cream-70);
  max-width: 46ch;
}
.rsvp__intro strong { color: var(--cream); font-weight: 400; }
.infos {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  display: grid;
  gap: 14px;
}
.infos li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13.5px;
  color: var(--cream-55);
  line-height: 1.5;
}
.infos strong { color: var(--cream); font-weight: 400; }
.infos__ico {
  flex: 0 0 34px;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .28);
  color: var(--ember);
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 4.4vw, 34px);
  background: linear-gradient(180deg, rgba(246, 240, 231, .055), rgba(246, 240, 231, .015));
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, .5), transparent);
}
.form__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4.4vw, 1.7rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 22px;
  color: var(--cream);
}
.field { display: block; margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.field > span, .field > legend {
  display: block;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 8px;
  padding: 0;
}
.field b { color: var(--ember); font-weight: 400; }
.field i { font-style: normal; opacity: .55; text-transform: none; letter-spacing: .04em; }
.field input[type="text"],
.field input[type="number"],
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(246, 240, 231, .15);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  transition: border-color .25s, background .25s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(174, 171, 164, .45); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(201, 162, 39, .65);
  background: rgba(0, 0, 0, .42);
}
.field-row { display: grid; gap: 0; }
@media (min-width: 540px) {
  .field-row { grid-template-columns: 132px 1fr; gap: 16px; }
}
.radio { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.radio input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.radio label {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px 6px;
  border: 1px solid rgba(246, 240, 231, .15);
  border-radius: 9px;
  font-size: 12.5px;
  color: var(--sand);
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
  line-height: 1.3;
}
.radio input:checked + label {
  background: rgba(171, 63, 24, .24);
  border-color: var(--rust);
  color: var(--cream);
}
.radio input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__submit { width: 100%; margin-top: 8px; }
.form__error { margin-top: 12px; font-size: 12.5px; color: #E9A38D; }

.sent { text-align: center; padding-block: 10px; }
.sent__ico { font-size: 26px; color: var(--gold); line-height: 1; }
.sent__title {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  margin-top: 10px;
}
.sent__text { margin-top: 8px; font-size: 13.5px; color: var(--cream-55); }
.sent__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.sent__preview {
  margin-top: 20px;
  text-align: left;
  white-space: pre-wrap;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(246, 240, 231, .78);
  background: rgba(0, 0, 0, .32);
  border: 1px dashed rgba(246, 240, 231, .18);
  border-radius: 10px;
  padding: 14px 16px;
}

/* =============================================================
   BON À SAVOIR
   ============================================================= */
.savoir { padding-block: clamp(56px, 9vw, 100px); }
.savoir__grid {
  display: grid;
  gap: clamp(26px, 5vw, 46px);
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 6vw, 64px);
}
.savoir__num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold);
  opacity: .8;
}
.savoir__item h3 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: .01em;
}
.savoir__item p { margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: var(--cream-55); }
@media (min-width: 780px) { .savoir__grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  padding-block: clamp(56px, 9vw, 90px) clamp(40px, 6vw, 60px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(10, 5, 4, .55));
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.footer .monogram { width: 62px; height: 62px; font-size: 18px; }
.footer__names {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  font-weight: 300;
  line-height: 1.1;
}
.footer__names em { font-style: italic; color: var(--gold); }
.footer__date { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--sand); }
.footer .btn { margin-top: 12px; }
.footer__legal { margin-top: 22px; font-size: 10px; letter-spacing: .18em; color: rgba(174, 171, 164, .45); text-transform: uppercase; }

/* =============================================================
   TOAST
   ============================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px);
  z-index: 150;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: .02em;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  max-width: min(90vw, 420px);
  text-align: center;
  line-height: 1.4;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =============================================================
   ANIMATIONS D'APPARITION
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =============================================================
   ACCESSIBILITÉ / PRÉFÉRENCES
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cover__bg { animation: none; }
}

/* Impression : invitation papier */
@media print {
  body::before, body::after, .grain, .cover, .nav, .drawer, .progress,
  .scroll-cue, .gallery, .countdown, #shareBtn, .toast { display: none !important; }
  body { background: #fff; color: #1D1210; }
  .section { padding-block: 18mm; }
  .h2, .cover__names { color: #1D1210; }
}
