/* ================================================================
   TEMPLATE-02 — FIANÇAILLES
   Palette : Champagne / Or / Bordeaux / Ivoire chaud
   Fonts  : Pinyon Script · Playfair Display · Jost
   ================================================================ */

/* ================================
   DESIGN TOKENS
   ================================ */
:root {
  /* Backgrounds */
  --bg0:    #fdf8f0;   /* ivoire chaud */
  --bg1:    #f5ece0;   /* beige cuivré */

  /* Ink */
  --ink:    #1c1410;   /* charbon chaud */
  --muted:  rgba(28, 20, 16, .68);
  --line:   rgba(28, 20, 16, .10);

  /* Accents champagne / or */
  --gold:   #c9a84c;   /* champagne or */
  --gold2:  #a8863c;   /* or plus profond */
  --gold3:  #e8d08a;   /* or clair */

  /* Accent bordeaux — couleur signature fiançailles (absent template-01) */
  --ruby:   #7a2030;
  --ruby2:  #9b2c3e;

  /* Glass */
  --glass:  rgba(255, 255, 255, .62);
  --glass2: rgba(255, 255, 255, .80);

  /* Shadows */
  --shadow:  0 24px 70px rgba(28, 20, 16, .12);
  --shadow2: 0 12px 36px rgba(28, 20, 16, .08);

  /* Radii */
  --r:  22px;
  --r2: 16px;

  --nav-height: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Jost, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;

  /* Fond ivoire chaud avec halos or & bordeaux */
  background:
    radial-gradient(1200px 700px at 15% 8%,  rgba(201, 168, 76, .18), transparent 60%),
    radial-gradient(900px  600px at 85% 15%, rgba(122, 32, 48, .12),   transparent 62%),
    radial-gradient(700px  500px at 50% 98%, rgba(232, 208, 138, .50), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ================================
   NAV
   ================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 240, .76);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-brand {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-right: auto;
  transition: transform .3s ease;
}
.nav-brand:hover { transform: translateY(-2px); }

.brand-script {
  font-family: "Pinyon Script", cursive;
  font-size: 30px;
  letter-spacing: .01em;
  line-height: 1;
}
.brand-amp {
  color: var(--gold2);
  font-weight: 700;
  font-size: 15px;
}

.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 11px 15px;
  border-radius: 12px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.nav-link .nav-icon { width: 15px; height: 15px; opacity: .65; }
.nav-link:hover {
  color: var(--ink);
  background: rgba(201, 168, 76, .10);
  border-color: rgba(201, 168, 76, .28);
  transform: translateY(-2px);
}
.nav-link:hover .nav-icon { opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.audio-btn {
  border: 1px solid rgba(201, 168, 76, .32);
  background: linear-gradient(135deg, rgba(201, 168, 76, .14), rgba(122, 32, 48, .08));
  color: var(--ink);
  border-radius: 12px;
  padding: 11px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.audio-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 76, .55);
  box-shadow: 0 8px 20px rgba(28, 20, 16, .10);
}
.audio-icon { width: 17px; height: 17px; transition: all .3s ease; }
.audio-icon-off { display: none; }
.audio-btn.is-on .audio-icon-on  { display: none; }
.audio-btn.is-on .audio-icon-off { display: block; color: var(--gold2); }

/* Burger */
.burger {
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(28, 20, 16, .14);
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: all .3s ease;
}
.burger:hover {
  border-color: rgba(201, 168, 76, .45);
  background: rgba(255, 255, 255, .80);
  transform: translateY(-2px);
}
.burger-line {
  width: 20px; height: 2px;
  background: rgba(28, 20, 16, .82);
  border-radius: 2px;
  display: block;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.burger[aria-expanded="true"] .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(28, 20, 16, .32);
  backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.menu-overlay:not([hidden]) { opacity: 1; pointer-events: auto; }

.menu-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  z-index: 100;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(253, 248, 240, .98), rgba(245, 236, 224, .98));
  box-shadow: -8px 0 50px rgba(28, 20, 16, .18);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}
.menu-drawer.open { transform: translateX(0); pointer-events: auto; }

.menu-head {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .30);
}
.menu-title {
  font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(28, 20, 16, .55);
  font-weight: 600;
}
.menu-close {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .70);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}
.menu-close:hover { background: rgba(255, 255, 255, .90); transform: rotate(90deg); }
.menu-close svg { width: 20px; height: 20px; }

.menu-links { padding: 16px; display: grid; gap: 8px; }

.menu-link {
  text-decoration: none;
  color: rgba(28, 20, 16, .82);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .70);
  border-radius: 14px;
  padding: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .3s ease;
}
.menu-link:active {
  transform: scale(.98);
  background: rgba(201, 168, 76, .14);
  border-color: rgba(201, 168, 76, .32);
}
.menu-link svg { width: 18px; height: 18px; }

.menu-footer {
  padding: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.audio-btn-full { width: 100%; justify-content: center; }
.menu-hint {
  color: rgba(28, 20, 16, .55);
  font-size: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}
.menu-hint svg { width: 14px; height: 14px; color: var(--gold2); }

@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .burger { display: flex; }
  .audio-text { display: none; }
  .nav-inner { padding: 12px 16px; }
  .brand-script { font-size: 26px; }
}
@media (max-width: 480px) {
  .brand-script { font-size: 22px; }
  .menu-drawer { width: 100vw; }
}

/* ================================
   HERO
   ================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 20px 80px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(253, 248, 240, .28), rgba(245, 236, 224, .68)),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1600&q=80")
    center 35% / cover no-repeat;
  transform: scale(1.08);
  animation: slowZoom 22s ease-in-out infinite alternate;
  filter: saturate(1.05) brightness(1.04);
}
@keyframes slowZoom { to { transform: scale(1.16); } }

.hero-vignette {
  position: absolute; inset: -2px;
  background: radial-gradient(1200px 700px at 50% 35%,
    transparent 28%,
    rgba(28, 20, 16, .16) 72%,
    rgba(28, 20, 16, .24));
  opacity: .75;
  pointer-events: none;
}

.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 360px at 18% 22%, rgba(201, 168, 76, .22),  transparent 60%),
    radial-gradient(700px 360px at 82% 28%, rgba(122, 32, 48, .16),   transparent 62%);
  mix-blend-mode: screen;
  opacity: .90;
  pointer-events: none;
}

.dust {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: .50;
  pointer-events: none;
}

/* Subtle conic sweep (enhanced vs template-01) */
.hero::after {
  content: "";
  position: absolute; inset: -30%;
  background: conic-gradient(from 200deg at 40% 35%,
    transparent,
    rgba(201, 168, 76, .14),
    transparent,
    rgba(122, 32, 48, .10),
    transparent);
  opacity: .55;
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  animation: sweep 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes sweep {
  from { transform: translate3d(-2%, -1%, 0) rotate(-5deg); }
  to   { transform: translate3d(2%, 1%, 0)  rotate(5deg);  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 100px;
}

/* Eyebrow badge — exclusif template-02 */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, .30);
  background: rgba(201, 168, 76, .12);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 16px;
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--ruby));
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .18);
}

.hero-title {
  margin: 0 0 18px;
  line-height: .88;
}
.hero-script {
  font-family: "Pinyon Script", cursive;
  font-size: clamp(56px, 9vw, 110px);
  text-shadow: 0 10px 30px rgba(28, 20, 16, .12);
  display: block;
  line-height: .92;
}
.hero-amp {
  display: inline-block;
  margin: 0 20px;
  font-weight: 700;
  color: var(--gold2);
  font-size: clamp(28px, 3.5vw, 44px);
  transform: translateY(-6px);
}

.hero-subtitle {
  margin: 0;
  max-width: 58ch;
  font-family: "Playfair Display", serif;
  font-size: clamp(17px, 2vw, 22px);
  font-style: italic;
  color: rgba(28, 20, 16, .80);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
  text-decoration: none;
  color: var(--ink);
  font-family: Jost, sans-serif;
  font-size: 13px;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.btn svg { width: 17px; height: 17px; }
.btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, .80);
  border-color: rgba(201, 168, 76, .38);
  box-shadow: 0 12px 28px rgba(28, 20, 16, .10);
}
.btn-primary {
  border-color: rgba(201, 168, 76, .45);
  background: linear-gradient(135deg,
    rgba(201, 168, 76, .24),
    rgba(122, 32, 48, .14));
}
.btn-primary:hover {
  background: linear-gradient(135deg,
    rgba(201, 168, 76, .34),
    rgba(122, 32, 48, .22));
}
.btn-ghost { background: transparent; }
.btn-small { padding: 9px 14px; font-size: 12px; }
.btn-small svg { width: 15px; height: 15px; }

/* Hero countdown card */
.hero-card {
  position: relative;
  border-radius: var(--r);
  border: 1px solid rgba(28, 20, 16, .12);
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 26px);
}
.hero-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(500px 200px at 20% 10%, rgba(201, 168, 76, .18), transparent 55%),
    radial-gradient(400px 180px at 80% 30%, rgba(122, 32, 48, .12), transparent 60%);
  opacity: .75;
  pointer-events: none;
}

.hero-kicker {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(168, 134, 60, .92);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 14px;
}
.hero-kicker svg { width: 15px; height: 15px; }

.card-top {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.card-label {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(28, 20, 16, .50);
  font-weight: 700;
}
.card-title {
  margin-top: 8px;
  font-family: "Playfair Display", serif;
  font-size: clamp(16px, 2.2vw, 22px);
  font-style: italic;
  color: rgba(28, 20, 16, .86);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(5px, 1.5vw, 10px);
  margin-top: 16px;
}
.time {
  border-radius: var(--r2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
  padding: clamp(10px, 2vw, 16px) clamp(6px, 1vw, 10px);
  text-align: center;
  box-shadow: var(--shadow2);
}
.num {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--gold2);
  text-shadow: 0 6px 14px rgba(28, 20, 16, .10);
}
.lab {
  margin-top: 4px;
  font-size: clamp(8px, 1.2vw, 10px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(28, 20, 16, .50);
  font-weight: 600;
}

/* Ring decoration — exclusif template-02 */
.card-ring-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 6px;
}
.ring-sep {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .45), transparent);
}
.ring-icon {
  font-size: 18px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(201, 168, 76, .30));
}
.card-bottom-text {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(28, 20, 16, .60);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-decoration: none;
  color: rgba(28, 20, 16, .58);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  transition: transform .3s ease;
}
.hero-scroll:hover { transform: translateX(-50%) translateY(4px); }
.mouse {
  width: 24px; height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(28, 20, 16, .20);
  position: relative;
}
.mouse::after {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 6px;
  border-radius: 99px;
  background: var(--gold2);
  transform: translateX(-50%);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0%   { transform: translateX(-50%) translateY(0);    opacity: .9; }
  70%  { transform: translateX(-50%) translateY(10px); opacity: .2; }
  100% { transform: translateX(-50%) translateY(0);    opacity: .9; }
}

/* Hero responsive */
@media (max-width: 980px) {
  .hero { padding: 40px 16px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; margin-top: 0; }
  .hero-content { text-align: center; }
  .hero-eyebrow { display: inline-flex; }
  .hero-subtitle { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .countdown { gap: 6px; }
}
@media (max-width: 520px) {
  .countdown { gap: 4px; }
  .time { padding: 8px 4px; }
  .lab { font-size: 8px; letter-spacing: .10em; }
}

/* ================================
   SECTIONS — GENERAL
   ================================ */
.section { padding: clamp(64px, 10vw, 108px) 20px; }

.section-alt {
  background:
    radial-gradient(900px 600px at 18% 12%, rgba(201, 168, 76, .12), transparent 60%),
    radial-gradient(900px 600px at 82% 22%, rgba(122, 32, 48, .10), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line);
}

.section-galerie {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1100px 500px at 50% 0%, rgba(201, 168, 76, .10), transparent 65%);
}

.section-rsvp {
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(122, 32, 48, .08), transparent 60%),
    radial-gradient(900px 600px at 80% 18%, rgba(201, 168, 76, .10), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line);
}

.container { max-width: 1280px; margin: 0 auto; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

/* Section kicker — eyebrow pill (exclusif template-02) */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, .28);
  background: rgba(201, 168, 76, .10);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5.5vw, 58px);
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1.05;
}

.section-subtitle {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: .20em;
  text-transform: uppercase;
  color: rgba(28, 20, 16, .50);
  font-weight: 600;
}

/* ================================
   TIMELINE — Notre histoire
   (Section inexistante chez le concurrent)
   ================================ */
.section-histoire {
  background:
    radial-gradient(1000px 600px at 10%  5%,  rgba(201, 168, 76, .14), transparent 60%),
    radial-gradient(900px  580px at 88% 30%,  rgba(122, 32, 48, .10), transparent 60%);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 64px;
  position: relative;
  padding: 0 0 8px;
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0 28px;
  align-items: start;
  position: relative;
}

/* Item "miroir" — droite-gauche */
.tl-item-reverse .tl-side  { order: 3; }
.tl-item-reverse .tl-center{ order: 2; }
.tl-item-reverse .tl-body  { order: 1; text-align: right; }

/* Photo */
.tl-side { display: flex; justify-content: flex-end; }
.tl-item-reverse .tl-side { justify-content: flex-start; }

.tl-photo {
  width: min(280px, 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  aspect-ratio: 7 / 8;
}
.tl-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.tl-photo:hover img { transform: scale(1.04); }

/* Center axis */
.tl-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
}

.tl-dot {
  width: 52px; height: 52px;
  border-radius: 999px;
  border: 2px solid rgba(201, 168, 76, .40);
  background: linear-gradient(135deg,
    rgba(201, 168, 76, .18),
    rgba(122, 32, 48, .12));
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, .20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold2);
}
.tl-dot svg { width: 20px; height: 20px; }

/* Final dot — bordeaux */
.tl-dot-final {
  border-color: rgba(122, 32, 48, .45);
  background: linear-gradient(135deg,
    rgba(122, 32, 48, .16),
    rgba(201, 168, 76, .14));
  color: var(--ruby2);
  box-shadow: 0 6px 20px rgba(122, 32, 48, .18);
}

.tl-line {
  width: 2px;
  flex: 1 0 40px;
  margin-top: 12px;
  background: linear-gradient(180deg,
    rgba(201, 168, 76, .40),
    rgba(122, 32, 48, .20),
    transparent);
  border-radius: 2px;
}

/* Body text */
.tl-body { padding-top: 8px; }
.tl-date {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 700;
  margin-bottom: 8px;
}
.tl-title {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ink);
  line-height: 1.2;
}
.tl-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.80;
  max-width: 42ch;
}
.tl-item-reverse .tl-text { margin-left: auto; }

/* Love quote */
.love-quote {
  margin: 56px auto 0;
  max-width: 680px;
  text-align: center;
  border: 1px solid rgba(201, 168, 76, .28);
  background: linear-gradient(135deg,
    rgba(201, 168, 76, .10),
    rgba(122, 32, 48, .06));
  border-radius: 20px;
  padding: 36px 40px;
  position: relative;
}
.love-quote::before {
  content: """;
  position: absolute;
  top: -10px; left: 28px;
  font-family: "Pinyon Script", cursive;
  font-size: 90px;
  line-height: .8;
  color: var(--gold3);
  opacity: .55;
}
.love-quote p {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(17px, 2.2vw, 22px);
  font-style: italic;
  color: rgba(28, 20, 16, .82);
  line-height: 1.7;
}
.love-quote footer {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 700;
}

/* Timeline — responsive */
@media (max-width: 900px) {
  .tl-item,
  .tl-item.tl-item-reverse {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }
  .tl-item .tl-side,
  .tl-item-reverse .tl-side,
  .tl-item .tl-body,
  .tl-item-reverse .tl-body { order: unset; text-align: left; }
  .tl-center { flex-direction: row; padding-top: 0; gap: 14px; }
  .tl-line { width: 40px; height: 2px; flex: 1 0 40px; margin-top: 0; }
  .tl-item-reverse .tl-text { margin-left: 0; }
  .tl-photo { max-width: 320px; aspect-ratio: 4/3; }
  .tl-side { justify-content: flex-start; }
  .love-quote { padding: 28px 24px; }
  .love-quote::before { font-size: 60px; }
}

/* ================================
   EVENT CARD — La soirée
   ================================ */
.event-card {
  border-radius: var(--r);
  border: 1px solid rgba(28, 20, 16, .12);
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.event-card-inner {
  display: grid;
  grid-template-columns: auto 1px 1fr;
  gap: 0;
  align-items: start;
}

/* Date column */
.event-date-col {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg,
    rgba(201, 168, 76, .12),
    rgba(122, 32, 48, .08));
}

.event-date-badge {
  text-align: center;
  background: rgba(255, 255, 255, .70);
  border: 1px solid rgba(201, 168, 76, .30);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 6px 20px rgba(28, 20, 16, .08);
  min-width: 96px;
}
.edb-month {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 700;
}
.edb-day {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.edb-year {
  font-size: 12px;
  color: rgba(28, 20, 16, .55);
  font-weight: 600;
  letter-spacing: .12em;
}

.event-time {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 22px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--ink);
}
.event-time svg { width: 18px; height: 18px; color: var(--gold2); }

/* Vertical divider */
.event-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg,
    transparent,
    rgba(201, 168, 76, .38),
    rgba(201, 168, 76, .38),
    transparent);
  margin: 28px 0;
}

/* Info column */
.event-info-col { padding: 36px 32px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 9px 14px;
  border: 1px solid rgba(122, 32, 48, .25);
  background: rgba(122, 32, 48, .10);
  color: var(--ruby);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.chip svg { width: 14px; height: 14px; }
.chip-diamond { }

.event-venue {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: clamp(22px, 3vw, 28px);
  color: var(--ink);
  line-height: 1.2;
}

.event-desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.80;
  max-width: 54ch;
  margin: 0 0 18px;
}

.event-addr {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px 16px;
  border-radius: var(--r2);
  border: 1px dashed rgba(28, 20, 16, .18);
  background: rgba(255, 255, 255, .55);
  font-size: 14px;
  color: rgba(28, 20, 16, .78);
  margin-bottom: 20px;
}
.event-addr svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gold2); }

.event-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }

/* Mini chips row */
.event-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .60);
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.mini-chip svg { width: 13px; height: 13px; color: var(--gold2); }

/* Note */
.event-note {
  padding: 18px 32px;
  border-top: 1px solid var(--line);
  background: rgba(201, 168, 76, .06);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(28, 20, 16, .72);
}
.event-note svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: var(--gold2); }

@media (max-width: 900px) {
  .event-card-inner {
    grid-template-columns: 1fr;
  }
  .event-date-col {
    flex-direction: row;
    padding: 24px;
    gap: 20px;
    justify-content: center;
  }
  .event-divider { display: none; }
  .event-info-col { padding: 24px; }
}
@media (max-width: 480px) {
  .event-date-col { flex-direction: column; padding: 20px; }
}

/* ================================
   GALLERY — Photo mosaic
   (Section inexistante chez le concurrent)
   ================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 14px;
}

/* Tall item : spans 2 rows */
.g-tall {
  grid-row: span 2;
  height: 100%;
}

/* Wide item : spans 2 cols */
.g-wide {
  grid-column: span 2;
}

.g-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow2);
  cursor: pointer;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.g-item:hover img { transform: scale(1.06); }

.g-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(28, 20, 16, .58) 0%,
    rgba(28, 20, 16, .10) 45%,
    transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity .35s ease;
}
.g-item:hover .g-overlay { opacity: 1; }

.g-label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
  .g-tall  { grid-row: span 1; }
  .g-wide  { grid-column: span 1; }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }
}

/* ================================
   RSVP FORM
   ================================ */
.rsvp-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: start;
}

.form {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .65);
  box-shadow: var(--shadow2);
  padding: clamp(20px, 3vw, 30px);
  backdrop-filter: blur(16px);
}

.hp {
  position: absolute;
  left: -9999px; width: 1px; height: 1px; opacity: 0;
}

.field { margin-bottom: 18px; }

.field label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(28, 20, 16, .58);
  margin-bottom: 10px;
  font-weight: 700;
}
.field label svg { width: 13px; height: 13px; opacity: .75; }

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(28, 20, 16, .14);
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
  padding: 14px 16px;
  outline: none;
  font-family: Jost, sans-serif;
  font-size: 14px;
  transition: all .3s ease;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(201, 168, 76, .58);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .15);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.field-row-tight {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
}

.segmented { display: flex; gap: 10px; flex-wrap: wrap; }
.seg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(28, 20, 16, .14);
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
  user-select: none;
  transition: all .3s ease;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}
.seg:hover {
  background: rgba(255, 255, 255, .90);
  border-color: rgba(201, 168, 76, .35);
}
.seg input {
  accent-color: var(--gold2);
  width: 18px; height: 18px; margin: 0;
}

.btn-submit {
  border: 1px solid rgba(201, 168, 76, .45);
  background: linear-gradient(135deg,
    rgba(201, 168, 76, .26),
    rgba(122, 32, 48, .16));
  color: var(--ink);
  border-radius: 14px;
  padding: 16px 24px;
  cursor: pointer;
  font-family: Jost, sans-serif;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap;
  margin-bottom: 16px;
}
.btn-submit svg { width: 17px; height: 17px; }
.btn-submit:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 76, .65);
  box-shadow: 0 14px 30px rgba(28, 20, 16, .12);
}
.btn-submit[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.status {
  margin: 10px 0 0;
  min-height: 20px;
  font-weight: 600;
  color: rgba(28, 20, 16, .82);
  font-size: 14px;
}

/* Aside */
.aside {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow2);
  padding: clamp(20px, 3vw, 28px);
}

.aside-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.aside-ring { font-size: 32px; line-height: 1; flex-shrink: 0; }
.aside h3 {
  margin: 0 0 4px;
  font-family: "Playfair Display", serif;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--ink);
  line-height: 1.15;
}
.aside-tagline { margin: 0; font-size: 12px; color: var(--muted); }

.aside-box {
  margin-top: 14px;
  border-radius: var(--r2);
  border: 1px solid rgba(201, 168, 76, .28);
  background: rgba(201, 168, 76, .08);
  padding: 14px 16px;
}
.aside-k {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(28, 20, 16, .58);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}
.aside-k svg { width: 13px; height: 13px; color: var(--gold2); }
.aside-v {
  margin-top: 8px;
  font-weight: 600;
  color: rgba(28, 20, 16, .86);
  font-size: 14px;
  line-height: 1.5;
}

.aside-tip {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.aside-tip svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--gold2); }

.aside-contact { margin-top: 16px; }
.aside-email {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ruby);
  text-decoration: none;
  border-bottom: 1px solid rgba(122, 32, 48, .22);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
  word-break: break-all;
}
.aside-email:hover { color: var(--ruby2); border-color: rgba(122, 32, 48, .55); }

@media (max-width: 980px) {
  .rsvp-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .field-row-tight { grid-template-columns: 1fr; }
  .btn-submit { width: 100%; margin-bottom: 0; }
}

/* ================================
   REVEAL ANIMATIONS
   ================================ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(.985);
  transition:
    opacity  .9s cubic-bezier(.16, 1, .3, 1),
    transform .9s cubic-bezier(.16, 1, .3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* ================================
   FOOTER
   ================================ */
.footer {
  padding: 52px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .20);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
}
.footer-couple {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(28, 20, 16, .80);
}
.footer-icon { width: 16px; height: 16px; color: var(--gold2); }
.footer-couple-text {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-style: italic;
}
.footer-date {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(28, 20, 16, .50);
}
.footer-right { justify-self: end; text-align: right; display: grid; gap: 12px; }
.footer-pro-title {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(28, 20, 16, .58);
  font-weight: 700;
}
.footer-pro-sub { color: rgba(28, 20, 16, .52); font-size: 13px; }
.footer-actions { display: grid; gap: 10px; justify-items: end; }
.footer-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, .50);
  background: rgba(255, 255, 255, .55);
  color: rgba(28, 20, 16, .82);
  text-decoration: none;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: all .25s ease;
}
.footer-cta:hover {
  transform: translateY(-1px);
  background: rgba(201, 168, 76, .10);
  border-color: rgba(201, 168, 76, .72);
}
.footer-credit { color: rgba(28, 20, 16, .52); font-size: 12px; }
.footer-credit a {
  text-decoration: none;
  font-weight: 700;
  color: rgba(28, 20, 16, .68);
  border-bottom: 1px solid rgba(28, 20, 16, .18);
  padding-bottom: 1px;
  transition: all .2s ease;
}
.footer-credit a:hover { color: var(--ruby); border-color: rgba(122, 32, 48, .50); }

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-right { justify-self: center; text-align: center; }
  .footer-actions { justify-items: center; }
}

/* ================================
   PERFORMANCE
   ================================ */
.hero-bg, .hero-glow, .hero-vignette, .hero-card, .hero-content, .dust {
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

html.no-scroll,
html.no-scroll body { overflow: hidden; }
