/* =========================================================
   THE HONEY GARDEN — XV VALENTINA
   Azul profundo · branco · dourado
   ========================================================= */

@font-face {
  font-family: 'Milton One';
  src: url('../fonts/MiltonOne.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Milton One';
  src: url('../fonts/MiltonOne-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy-900: #050f2b;
  --navy-800: #081a42;
  --navy: #0b1f4d;
  --navy-600: #173a7a;
  --blue: #2c51a3;
  --blue-300: #8ea7da;
  --ice: #f2f5fb;
  --ice-2: #e7edf8;
  --white: #fdfcf9;
  --ink: #0b1f4d;
  --ink-soft: #46587f;
  --gold: #b98a4e;
  --gold-600: #9a6a35;
  --gold-light: #e8c48a;
  --gold-grad: linear-gradient(100deg, #93622f 0%, #d9ac6b 28%, #f8dca8 46%, #c89656 66%, #8e5f2e 100%);
  --line: rgba(11, 31, 77, .14);
  --script: 'Milton One', 'Cormorant SC', Georgia, serif;
  --display: 'Cormorant SC', Georgia, serif;
  --text: 'Cormorant SC', Georgia, serif;
  --cinzel: 'Cinzel', Georgia, serif;
  --fs-body: clamp(1.05rem, .35vw + .95rem, 1.18rem); /* corpo de texto padrão */
  --ease: cubic-bezier(.22, .8, .24, 1);
  --gutter: clamp(16px, 5vw, 64px);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 400;
  font-size: clamp(17px, 1.05vw + 12px, 20px);
  line-height: 1.6;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked, body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--gold-light); color: var(--navy); }

.container { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.container--narrow { width: min(720px, 100%); }

/* ---------- tipografia ---------- */
.eyebrow {
  font-family: var(--text);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .9rem;
}
.eyebrow--light { color: var(--gold-light); }
.title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.08;
  margin: 0;
  color: var(--navy);
  letter-spacing: .03em;
}
.title .script, .script {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.title .script {
  display: block;
  font-size: 3em;
  line-height: 1.1;
  margin-top: -.1em;
  color: var(--gold-600);
}
.title--sm { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.title--sm .script { font-size: 2.2em; }
.festa .title .script { display: inline; margin-left: .06em; font-size: 2.82em; line-height: 1; }
.dress .title .script { font-size: 2em; }
/* Cinzel + manuscrito na mesma linha (RSVP e Mural) */
.title--inline {
  font-family: var(--cinzel); font-weight: 400;
  font-size: clamp(1.45rem, 2.7vw, 2rem); letter-spacing: .06em; line-height: 1.3;
}
.title--inline .script { display: inline; margin: 0 0 0 .08em; font-size: 2.5em; line-height: 1; }
.title--light { color: var(--white); }
.lead { max-width: 560px; margin: 1.3rem auto 0; color: var(--ink-soft); font-size: var(--fs-body); }
.lead strong { color: var(--navy); font-weight: 600; }
.divider { width: min(300px, 76%); margin: 1.8rem auto 0; }

.section { position: relative; padding: clamp(88px, 12vw, 150px) 0; overflow: hidden; }
.section__head { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--light .title { color: var(--white); }
.section__head--light .lead { color: rgba(253, 252, 249, .78); }
.section__head--light .eyebrow { color: var(--gold-light); }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- botões ---------- */
.btn {
  --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px;
  padding: .85em 1.9em;
  border: 1px solid var(--bd);
  border-radius: 999px;
  background: transparent;
  font-family: var(--text);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: color .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn:hover { transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-600); border-color: var(--navy-600); }
.btn--line { color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--gold { --bd: rgba(232, 196, 138, .75); color: var(--gold-light); }
.btn--gold::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-grad);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn--gold::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 240, 210, .35), transparent);
  animation: shimmer 3.6s ease-in-out infinite;
}
.btn--gold:hover { color: var(--navy); border-color: transparent; }
.btn--gold:hover::before { transform: translateY(0); }
.btn--wide { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn.is-loading span::after { content: '…'; }
@keyframes shimmer { 0%, 55% { left: -60%; } 100% { left: 130%; } }

/* =========================================================
   ABERTURA
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(44, 81, 163, .55) 0%, transparent 70%),
    radial-gradient(ellipse at 50% 120%, #173a7a 0%, transparent 55%),
    linear-gradient(180deg, var(--navy-800) 0%, var(--navy) 50%, var(--navy-900) 100%);
  color: var(--white);
  text-align: center;
  padding: 24px 16px;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.5s cubic-bezier(.76, 0, .24, 1);
}
.intro.is-opening { clip-path: inset(0 0 100% 0); }
.intro__sparkles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.intro__sparkles i {
  position: absolute; border-radius: 50%;
  background: #f6d9a2;
  box-shadow: 0 0 6px 1px rgba(246, 217, 162, .7);
  opacity: 0;
  animation: float-sparkle 12s linear infinite;
}
@keyframes float-sparkle {
  0% { transform: translateY(20px); opacity: 0; }
  15% { opacity: .9; }
  85% { opacity: .6; }
  100% { transform: translateY(-120px); opacity: 0; }
}
.intro__inner { position: relative; display: flex; flex-direction: column; align-items: center; transition: opacity .7s var(--ease), transform .9s var(--ease); }
/* abelha dourada: o degradê do monograma recortado no formato da abelha */
.gold-bee {
  display: block; aspect-ratio: 900 / 600;
  background: var(--gold-grad);
  -webkit-mask: url('../img/abelha-brilho.png') center / contain no-repeat;
  mask: url('../img/abelha-brilho.png') center / contain no-repeat;
}
.intro__bee {
  width: clamp(190px, 30vw, 300px); height: auto;
  margin: -30px 0 -4px;
  animation: bee-hover 4.5s ease-in-out infinite, fade-in 1.6s var(--ease) both;
  transition: transform 1s var(--ease), opacity .8s var(--ease);
}
.intro__eyebrow {
  font-weight: 600; font-size: .78rem; letter-spacing: .6em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 .8rem;
  animation: fade-up 1.2s .4s var(--ease) both;
}
.intro__logo {
  margin: 0;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.1rem, 6.4vw, 4.8rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding-left: .14em;
  background: var(--gold-grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: fade-up 1.3s .6s var(--ease) both, gold-sweep 7s 2s ease-in-out infinite;
}
.intro__logo small {
  display: block;
  font-size: .3em; letter-spacing: .7em; margin-bottom: .55em; padding-left: .7em;
}
.intro__name {
  margin: .1em 0 0;
  font-family: var(--script);
  font-size: clamp(4.2rem, 10vw, 7.2rem);
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 0 30px rgba(232, 196, 138, .35);
  animation: fade-up 1.3s .8s var(--ease) both;
}
.intro__date {
  margin: .6rem 0 2.3rem;
  font-size: .95rem; letter-spacing: .5em;
  color: rgba(253, 252, 249, .75);
  animation: fade-up 1.2s .85s var(--ease) both;
}
.intro__btn { animation: fade-up 1.2s 1.1s var(--ease) both; min-width: 260px; }
.intro__hint {
  margin: 1.1rem 0 0; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(253, 252, 249, .45);
  animation: fade-up 1.2s 1.4s var(--ease) both;
}
.intro.is-leaving .intro__inner > :not(.intro__bee) { opacity: 0; transform: translateY(-14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.intro.is-leaving .intro__bee { animation: none; opacity: 0; transition: opacity .35s ease; }

/* abelha que decola e faz a transição entre a abertura azul e o jardim */
.takeoff { position: fixed; left: 0; top: 0; z-index: 120; display: block; pointer-events: none; will-change: transform, opacity; }
.takeoff .gold-bee { width: 100%; animation: flutter-soft .16s ease-in-out infinite alternate; }

/* brilhinhos que a abelha deixa no primeiro voo */
.spark { position: fixed; left: 0; top: 0; z-index: 119; display: block; pointer-events: none; will-change: transform, opacity; }
.spark--dot { border-radius: 50%; background: radial-gradient(circle, #fffaf0 0%, #f8dca8 35%, rgba(232, 196, 138, 0) 70%); }
.spark--star { background: linear-gradient(135deg, #fff6df, #e8c48a); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
@keyframes flutter-soft { to { transform: scale(.97, 1.02); } }

@keyframes bee-hover { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes gold-sweep { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* =========================================================
   NAVEGAÇÃO
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .8s var(--ease), opacity .8s var(--ease);
  opacity: 0; transform: translateY(-100%);
}
.garden-open .nav { opacity: 1; transform: none; transition-delay: 1.4s, 1.4s, 1.4s, 1.4s, 1.4s; }
.nav.is-scrolled {
  background: rgba(253, 252, 249, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  transition-delay: 0s !important;
}
.nav__brand img { height: 38px; width: auto; }
.nav__links { display: flex; gap: clamp(14px, 1.7vw, 28px); }
.nav__links a {
  position: relative;
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--navy);
  padding: 6px 0;
  transition: color .3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .4s var(--ease), left .4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-600); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; left: 0; }
.nav__toggle { display: none; }
.nav__progress { display: none; }

@media (max-width: 1180px) {
  :root { --nav-h: 64px; }
  .nav__brand img { height: 32px; }
  .nav__toggle {
    display: grid; place-content: center; gap: 7px;
    width: 46px; height: 46px; margin-right: -8px;
    background: none; border: 0; position: relative; z-index: 3;
  }
  .nav__toggle span { display: block; width: 26px; height: 1px; background: var(--navy); transition: transform .5s var(--ease), background .3s; }
  .nav.is-open .nav__toggle span { background: var(--gold-light); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: 2;
    flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    background: radial-gradient(ellipse at 50% 30%, var(--navy-600), var(--navy) 55%, var(--navy-900));
    clip-path: circle(0% at calc(100% - 40px) 32px);
    transition: clip-path .8s cubic-bezier(.76, 0, .24, 1);
  }
  .nav.is-open .nav__links { clip-path: circle(150% at calc(100% - 40px) 32px); }
  .nav__links a {
    font-family: var(--display); font-weight: 500;
    font-size: clamp(1.25rem, 5.4vw, 1.6rem); letter-spacing: .22em; text-transform: uppercase; line-height: 2.2;
    color: var(--white);
    opacity: 0; transform: translateY(12px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  }
  .nav.is-open .nav__links a { opacity: 1; transform: none; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .05s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .15s; }
  .nav.is-open .nav__links a:nth-child(5) { transition-delay: .2s; }
  .nav.is-open .nav__links a:nth-child(6) { transition-delay: .25s; }
  .nav.is-open .nav__links a:nth-child(7) { transition-delay: .3s; }
  .nav.is-open .nav__links a:nth-child(8) { transition-delay: .35s; }
  .nav__links a:hover, .nav__links a.is-active { color: var(--gold-light); }
  .nav__links a::after { display: none; }

  /* barra de progresso com a abelha */
  .nav__progress {
    display: block;
    position: absolute; left: var(--gutter); right: var(--gutter); bottom: -1px; height: 1px;
    background: linear-gradient(90deg, var(--gold) calc(var(--p, 0) * 100%), rgba(185, 138, 78, .18) 0);
    pointer-events: none;
  }
  .nav:not(.is-scrolled) .nav__progress { opacity: 0; }
  .nav__progress-bee {
    position: absolute; left: 0; top: 50%;
    width: 22px; height: auto;
    transition: transform .25s linear;
    filter: drop-shadow(0 1px 2px rgba(11, 31, 77, .25));
  }
  .nav.is-open .nav__progress { opacity: 0; }
  /* backdrop-filter criaria um bloco de contenção e prenderia o menu fixo no cabeçalho */
  .nav.is-open { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; }
  .nav.is-open .nav__brand { opacity: 0; }
}

/* ---------- abelha-guia (desktop) ---------- */
.bee-guide {
  position: fixed; right: 26px; top: 50%; z-index: 40;
  height: 52vh; width: 30px;
  transform: translateY(-50%);
  opacity: 0; pointer-events: none;
  transition: opacity 1s 1.8s var(--ease);
}
.garden-open .bee-guide { opacity: 1; pointer-events: auto; }
.bee-guide__track {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(185, 138, 78, .5) 8%, rgba(185, 138, 78, .5) 92%, transparent);
}
.bee-guide__dot {
  position: absolute; left: 50%;
  width: 7px; height: 7px; padding: 0;
  border: 1px solid var(--gold); border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: background .3s, transform .3s;
}
.bee-guide__dot::before { content: ''; position: absolute; inset: -8px; }
.bee-guide__dot span {
  position: absolute; right: 18px; top: 50%;
  transform: translate(6px, -50%);
  white-space: nowrap;
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy);
  background: rgba(253, 252, 249, .92);
  padding: 4px 10px; border-radius: 99px;
  box-shadow: 0 4px 16px rgba(11, 31, 77, .08);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.bee-guide__dot:hover span, .bee-guide__dot:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.bee-guide__dot.is-active, .bee-guide__dot:hover { background: var(--gold); transform: translate(-50%, -50%) scale(1.25); }
.bee-guide__bee {
  position: absolute; left: 50%; top: 0;
  width: 30px; height: auto;
  pointer-events: none;
  transition: transform .35s var(--ease);
  filter: drop-shadow(0 2px 4px rgba(11, 31, 77, .25));
}
@media (max-width: 1180px) { .bee-guide { display: none; } }

/* ---------- player de música ---------- */
.music {
  position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 18px 0 16px;
  border: 1px solid rgba(185, 138, 78, .55); border-radius: 99px;
  background: rgba(11, 31, 77, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--gold-light);
  box-shadow: 0 10px 30px rgba(5, 15, 43, .25);
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s 1.8s var(--ease), transform .8s 1.8s var(--ease), background .3s;
}
.garden-open .music { opacity: 1; transform: none; }
.music:hover { background: var(--navy-600); }
.music__label { font-size: .68rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; }
.music__bars { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.music__bars i { width: 2px; height: 30%; background: var(--gold-light); border-radius: 2px; }
.music.is-playing .music__bars i { animation: eq 1s ease-in-out infinite; }
.music.is-playing .music__bars i:nth-child(2) { animation-delay: -.3s; }
.music.is-playing .music__bars i:nth-child(3) { animation-delay: -.6s; }
.music.is-playing .music__bars i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 30px) var(--gutter) 90px;
  background:
    radial-gradient(ellipse 60% 45% at 50% 48%, #fff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, var(--white), var(--ice));
  overflow: hidden;
  text-align: center;
}
.bloom { position: absolute; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.bloom--tl { width: clamp(260px, 32vw, 500px); top: 3%; left: -9%; transform-origin: 0 0; }
.bloom--tr { width: clamp(192px, 24vw, 360px); top: 9%; right: -8%; transform-origin: 100% 0; }
.bloom--bl { width: clamp(200px, 24vw, 380px); bottom: -9%; left: -6.4%; transform-origin: 0 100%; }
.bloom--br { width: clamp(260px, 30vw, 460px); bottom: -12%; right: -7%; transform-origin: 100% 100%; }

.garden-open .bloom { animation: bloom 2.2s var(--ease) forwards; }
.garden-open .bloom--tl { --r: -8deg; animation-delay: .35s; }
.garden-open .bloom--tr { --r: 10deg; animation-delay: .6s; }
.garden-open .bloom--bl { --r: 12deg; animation-delay: .75s; }
.garden-open .bloom--br { --r: -6deg; animation-delay: .5s; }
@keyframes bloom {
  from { opacity: 0; transform: scale(.55) rotate(var(--r, 0deg)); filter: blur(6px); }
  to { opacity: 1; transform: scale(1) rotate(0deg); filter: blur(0); }
}

.hero__content { position: relative; z-index: 2; max-width: 560px; padding: 0 clamp(8px, 3vw, 24px); }
.hero__content > * { opacity: 0; }
.garden-open .hero__content > * { animation: fade-up 1.4s var(--ease) forwards; }
.garden-open .hero__mono { animation-delay: .9s !important; }
.garden-open .hero__eyebrow { animation-delay: 1.1s !important; }
.garden-open .hero__name { animation-delay: 1.25s !important; }
.garden-open .hero__surname { animation-delay: 1.45s !important; }
.garden-open .hero__divider { animation-delay: 1.65s !important; }
.garden-open .verse { animation: none !important; opacity: 1; }
.garden-open .hero__date { animation-delay: 4.2s !important; }

.hero__mono { width: clamp(60px, 6.5vw, 86px); height: auto; margin: 0 auto 1rem; }
.hero__eyebrow { margin-bottom: .4rem; }
.hero__name {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(4.4rem, min(11vw, 16vh), 8.6rem);
  line-height: 1.15;
  margin: 0;
  position: relative; top: .16em;
  color: var(--navy);
  letter-spacing: .005em;
}
.hero__surname {
  margin: .6rem 0 0;
  font-size: clamp(.8rem, 1.1vw, .95rem);
  font-weight: 500;
  letter-spacing: .45em;
  text-transform: uppercase;
  padding-left: .5em;
  color: var(--ink-soft);
}
.hero__divider { width: min(230px, 64%); margin: 1.3rem auto 1.4rem; }

.verse { margin: 0 auto; max-width: 470px; }
.verse p {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--navy);
}
.verse span, .verse cite {
  display: inline-block;
  opacity: 0; transform: translateY(8px); filter: blur(4px);
}
.garden-open .verse span, .garden-open .verse cite {
  animation: word-in .9s var(--ease) forwards;
  animation-delay: calc(1.9s + var(--i) * .09s);
}
.verse cite {
  display: block;
  margin-top: .9rem;
  font-style: normal;
  font-size: .78rem; font-weight: 600; letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold);
}
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }
.hero__date {
  margin: 1.8rem 0 0;
  font-size: .82rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: var(--ink-soft);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  width: 26px; height: 42px; margin-left: -13px;
  border: 1px solid rgba(185, 138, 78, .6); border-radius: 20px;
  opacity: 0;
}
.garden-open .scroll-cue { animation: fade-in 1s 4.6s forwards; }
.scroll-cue span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: var(--gold);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 640px) {
  .bloom--tl { width: 185px; top: 4%; left: -16%; }
  .bloom--tr { width: 144px; top: 9%; right: -13%; }
  .bloom--bl { width: 160px; bottom: -3%; left: -8.6%; }
  .bloom--br { width: 185px; bottom: -4%; right: -14%; }
  .hero { padding-top: calc(var(--nav-h) + 110px); padding-bottom: 170px; }
  .hero__content { padding: 0 34px; }
  .verse p { font-size: .98rem; }
  .hero__surname { letter-spacing: .3em; }
  .hero__name { font-size: 4.6rem; }
  .intro__name { font-size: 4.6rem; }
  .hero__date { letter-spacing: .1em; font-size: .7rem; margin-left: -20px; margin-right: -20px; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * .09s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- decoração ---------- */
.deco { position: absolute; pointer-events: none; z-index: 1; opacity: .9; }
.deco--valentina { width: clamp(180px, 22vw, 320px); top: 60px; right: -60px; transform: scaleX(-1) rotate(8deg); }
.deco--dress { width: clamp(150px, 18vw, 250px); top: 40px; left: -50px; transform: scaleX(-1) rotate(-10deg); opacity: .8; }
.deco--rsvp-l { width: clamp(180px, 22vw, 340px); bottom: -60px; left: -80px; opacity: .85; }
.deco--rsvp-r { width: clamp(180px, 22vw, 340px); top: -40px; right: -90px; transform: rotate(160deg); opacity: .85; }
@media (max-width: 760px) {
  :root { --gutter: 28px; }
  .deco { opacity: .3; }
  .deco--valentina { right: -70px; }
  .deco--dress { left: -60px; }
  .deco--rsvp-l { left: -80px; }
  .deco--rsvp-r { right: -90px; }
  .deco--mural { right: -50px; }
}

/* =========================================================
   VALENTINA — fragmentos
   ========================================================= */
.valentina { background: var(--white); padding-top: clamp(70px, 9.6vw, 120px); padding-bottom: 0; }
.plate {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 72px);
  max-width: 1000px;
  margin: 0 auto clamp(80px, 10vw, 130px);
}
.plate__note {
  flex: 0 1 260px;
  margin: 0;
  text-align: center;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.4; font-weight: 500; color: var(--navy);
}
/* todas as palavras manuscritas no mesmo tamanho */
.plate__note em {
  font-style: normal; font-family: var(--script); font-size: 2.1em; line-height: .7;
  color: var(--gold-600); padding: 0 .04em;
}
/* numeração em abelhas: 1 abelha, 2 abelhas… */
.plate__bees {
  display: flex; justify-content: center; align-items: center; gap: 5px;
  height: 20px; margin-bottom: .8rem;
}
.plate__bees img { width: 18px; height: auto; filter: drop-shadow(0 1px 2px rgba(11, 31, 77, .18)); }
@media (max-width: 640px) {
  .plate { flex-direction: column; align-items: center; gap: 36px; }
  .plate__note { flex: none; max-width: 300px; }
}

/* faixa de traços */
.marquee {
  position: relative; z-index: 2;
  background: var(--navy);
  border-top: 1px solid rgba(185, 138, 78, .45);
  border-bottom: 1px solid rgba(185, 138, 78, .45);
  padding: clamp(18px, 2.4vw, 28px) 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; align-items: center; gap: clamp(26px, 3.4vw, 50px); animation: marquee 34s linear infinite; }
.marquee span {
  font-family: var(--script);
  padding: .08em .1em;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--gold-light);
}
.marquee span:nth-of-type(even) { color: var(--white); }
.marquee i {
  width: clamp(26px, 3vw, 40px); height: clamp(18px, 2vw, 26px);
  background: url('../img/abelha-mini.png') center / contain no-repeat;
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* galeria */
.gallery-wrap { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(88px, 12vw, 150px); }
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(200px, 21vw, 250px);
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 50px;
  margin: 0 calc(var(--gutter) * -1);
  padding-left: var(--gutter); padding-right: var(--gutter);
  scroll-padding: 0 var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--gold-light) transparent;
}
.gallery::-webkit-scrollbar { height: 4px; }
.gallery::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 4px; }
.frame { margin: 0; scroll-snap-align: start; }
.frame:nth-child(even) { margin-top: 40px; }
.frame__pic {
  aspect-ratio: 4 / 5;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -26px rgba(11, 31, 77, .35);
  transition: transform .6s var(--ease);
}
.frame.has-photo { cursor: zoom-in; }
.frame:hover .frame__pic { transform: translateY(-5px) rotate(-.6deg); }
.frame__pic > img { width: 100%; height: 100%; object-fit: cover; }
.frame__empty {
  position: relative; width: 100%; height: 100%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--ice), var(--ice-2));
  overflow: hidden;
}
.frame__empty img { position: absolute; width: 90%; opacity: .22; right: -20%; bottom: -12%; }
.frame__empty span {
  position: relative;
  font-family: var(--display); font-size: 5rem; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.frame figcaption { margin-top: 14px; font-size: var(--fs-body); font-weight: 500; color: var(--navy); }
.frame__age { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; color: var(--gold); }
/* setas da faixa de fotos */
.gallery__nav { display: flex; justify-content: center; gap: 14px; margin-top: 8px; }
.gallery__btn, .lightbox__nav {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(185, 138, 78, .6); background: transparent;
  font-size: 1.2rem; line-height: 1; color: var(--gold-600);
  transition: background .3s, color .3s, border-color .3s;
}
.gallery__btn:hover, .gallery__btn:focus-visible { background: var(--navy); border-color: var(--navy); color: var(--gold-light); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: 24px 16px;
  background: rgba(5, 15, 43, .92);
  animation: fade-in .4s ease;
}
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 80vh; max-width: min(900px, 100%); margin: 0 auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.lightbox figcaption { margin-top: 14px; color: var(--gold-light); letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; }
.lightbox__close { position: absolute; top: 14px; right: 18px; z-index: 2; background: none; border: 0; color: var(--white); font-size: 2.4rem; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; margin-top: -23px; color: var(--gold-light); border-color: rgba(232, 196, 138, .5); background: rgba(5, 15, 43, .4); }
.lightbox__nav:hover, .lightbox__nav:focus-visible { background: var(--gold-light); color: var(--navy); }
.lightbox__nav--prev { left: max(12px, 3vw); }
.lightbox__nav--next { right: max(12px, 3vw); }
.lightbox img { max-width: min(900px, calc(100vw - 140px)); }
@media (max-width: 640px) {
  .lightbox img { max-width: 100%; max-height: 72vh; }
  .lightbox__nav { top: auto; bottom: 22px; margin-top: 0; }
  .lightbox__nav--prev { left: calc(50% - 58px); }
  .lightbox__nav--next { right: calc(50% - 58px); }
}

/* =========================================================
   A FESTA
   ========================================================= */
.festa { background: linear-gradient(180deg, var(--ice), var(--white)); padding-top: clamp(53px, 7.2vw, 90px); padding-bottom: clamp(41px, 4.6vw, 64px); }
.festa__wrap { max-width: 920px; }
.festa .section__head { margin-bottom: clamp(20px, 3vw, 32px); }
.festa .title { font-size: clamp(1.76rem, 3.39vw, 2.66rem); white-space: nowrap; }
.dress .title { font-size: clamp(1.61rem, 3.22vw, 2.6rem); }
.festa__art { margin: 0 auto; max-width: 230px; }
.festa__art img { width: 100%; height: auto; }
.festa__info { margin: clamp(26px, 4vw, 38px) 0 0; text-align: center; }
.festa__when, .festa__where { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: var(--ink-soft); }
.festa__where { margin-top: clamp(28px, 4vw, 40px); font-size: .9rem; }
.festa__where strong { font-size: var(--fs-body); }
.festa__info strong { font-weight: 600; letter-spacing: .04em; color: var(--navy); }
.btn-row--center { justify-content: center; margin-top: 26px; }
.btn--sm { min-height: 40px; padding: .55em 1.4em; font-size: .68rem; letter-spacing: .22em; }

/* =========================================================
   TRAJE
   ========================================================= */
.dress { background: var(--white); padding-top: clamp(41px, 4.6vw, 64px); }
.dress__art { margin: 0 auto clamp(30px, 4vw, 44px); max-width: 430px; }
.dress__art img { width: 100%; height: auto; mix-blend-mode: multiply; }
.dress__grid { display: flex; justify-content: center; gap: clamp(22px, 4vw, 50px); max-width: 700px; margin: 0 auto; text-align: center; }
.dress__col { flex: 1; }
.dress__col h3 {
  margin: 0 0 .4rem;
  font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-600);
}
.dress__col p { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--ink-soft); }
.dress__sep { width: 1px; flex: none; background: linear-gradient(180deg, transparent, rgba(185, 138, 78, .6), transparent); }
.dress__palette { text-align: center; margin-top: clamp(34px, 5vw, 50px); }
.dress__note { font-size: .64rem; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.swatches { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; padding: 0; margin: 0; }
.swatches li { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: .82rem; font-weight: 500; color: var(--ink-soft); }
.swatches span {
  width: 28px; height: 28px;
  border-radius: 50%;
  /* pigmento mais claro no meio e acumulado na borda, como aquarela */
  background:
    radial-gradient(ellipse 70% 55% at 58% 60%, color-mix(in srgb, var(--c) 80%, #fff) 0%, transparent 70%),
    var(--c);
  box-shadow: inset 0 0 3px 1px color-mix(in srgb, var(--c) 75%, #000);
  opacity: .9;
}
.dress__reserved { margin: 1.6rem auto 0; max-width: 480px; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 640px) {
  .dress__grid { flex-direction: column; align-items: center; }
  .dress__sep { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, rgba(185, 138, 78, .6), transparent); }
}

/* =========================================================
   WISHLIST — só o convite para a lista externa
   ========================================================= */
.wishlist {
  padding: clamp(56px, 7vw, 90px) 0;
  text-align: center; color: var(--white);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(44, 81, 163, .45), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-800) 100%);
}
.wish__bloom {
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.wish__bloom {
  position: absolute; left: 50%; top: 50%; width: min(1150px, 150%);
  transform: translate(-50%, -50%);
  opacity: .24; mix-blend-mode: screen; pointer-events: none;
}
.wish {
  position: relative;
  padding: clamp(40px, 6vw, 64px) clamp(22px, 5vw, 56px);
  border: 1px solid rgba(232, 196, 138, .45);
  background: rgba(5, 15, 43, .5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.wish::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(232, 196, 138, .18); pointer-events: none; }
.wish__bee { width: 64px; margin: 0 auto 14px; animation: bee-hover 4.5s ease-in-out infinite; }
.wish .title { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.wish .title .script { font-size: 2.6em; }
.wish .title .script { color: var(--gold-light); }
.wish__text { max-width: 430px; margin: 1rem auto 1.8rem; font-size: .88rem; color: rgba(253, 252, 249, .8); }
.wish .btn { position: relative; z-index: 1; }

/* =========================================================
   RSVP
   ========================================================= */
.rsvp { background: var(--white); padding-top: clamp(57px, 7.8vw, 98px); padding-bottom: clamp(40px, 5vw, 64px); }
.rsvp .lead { font-size: .92rem; }
/* formulário do RSVP mais compacto */
.rsvp__form { max-width: 560px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); }
.rsvp__form .field { margin-bottom: 18px; }
.rsvp__form .field label { margin-bottom: 6px; font-size: .64rem; }
.rsvp__form .field input[type="text"], .rsvp__form .field input[type="tel"], .rsvp__form .field select {
  height: 44px; padding: 0 14px; font-size: .98rem;
}
.rsvp__form .field select { padding-right: 40px; background-size: 16px; }
.rsvp__form .companions { margin-top: 12px; }
.rsvp__form .field--sub { margin-bottom: 12px; }
.rsvp__form .btn { min-height: 44px; font-size: .72rem; }
.rsvp__form .rsvp__error { font-size: .88rem; }
#rsvp .title--inline .script, #recados .title--inline .script { font-size: 2.875em; }
.rsvp .eyebrow { margin-bottom: .15rem; }
.rsvp__form {
  position: relative;
  padding: clamp(28px, 5vw, 52px);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(185, 138, 78, .4);
  box-shadow: 0 40px 80px -50px rgba(11, 31, 77, .45);
}
.rsvp__form::before {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid var(--line); pointer-events: none;
}
.field { margin: 0 0 22px; border: 0; padding: 0; position: relative; }
.field label, .field legend {
  display: block; margin-bottom: 8px; padding: 0;
  font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-600);
}
.field input[type="text"], .field input[type="tel"], .field select {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 0;
  background: var(--white);
  font-family: var(--text); font-size: 1.1rem; font-weight: 500; color: var(--navy);
  transition: border-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' viewBox='0 0 24 24' fill='none' stroke='%23b98a4e' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 196, 138, .35); }
.field input::placeholder { color: rgba(70, 88, 127, .5); }
.field--radio { display: flex; flex-wrap: wrap; gap: 10px; }
.field--radio legend { width: 100%; }
.pill { position: relative; flex: 1 1 200px; margin: 0 !important; letter-spacing: 0 !important; text-transform: none !important; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 14px;
  border: 1px solid var(--line);
  font-size: 1.05rem; font-weight: 500; color: var(--navy); letter-spacing: .02em;
  cursor: pointer; transition: all .3s;
}
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(232, 196, 138, .5); }
.companions { margin-top: 16px; }
.field--sub { margin-bottom: 14px; animation: fade-up .5s var(--ease); }
.rsvp__error { min-height: 1.4em; margin: 0 0 12px; color: #a23b3b; font-size: .98rem; text-align: center; }
.rsvp__done {
  text-align: center;
  padding: clamp(36px, 6vw, 60px) 24px;
  border: 1px solid rgba(185, 138, 78, .4);
  background: #fff;
  animation: fade-up .8s var(--ease);
}
.rsvp__done img { width: 120px; margin: 0 auto 10px; animation: bee-hover 4s ease-in-out infinite; }
.rsvp__done h3 { font-family: var(--script); font-weight: 400; font-size: 2.4rem; margin: 0 0 .4rem; }
.rsvp__done p { margin: 0 0 1.6rem; font-size: var(--fs-body); color: var(--ink-soft); }

/* =========================================================
   MURAL DE RECADOS
   ========================================================= */
.mural { background: linear-gradient(180deg, var(--white), var(--ice)); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(57px, 7.8vw, 98px); }
#recados .lead { margin-top: .65rem; }
/* formulário como um bilhete de papel, diferente do cartão do RSVP */
.mural__form {
  position: relative;
  max-width: 520px; margin: 0 auto;
  padding: clamp(34px, 5vw, 46px) clamp(22px, 5vw, 44px) clamp(28px, 4vw, 36px);
  background: #fff;
  border: 1px solid rgba(11, 31, 77, .22); border-radius: 6px;
  box-shadow: 0 26px 50px -34px rgba(11, 31, 77, .45);
  text-align: center;
}
.mural__pin { position: absolute; top: -20px; left: 50%; width: 42px; margin-left: -21px; filter: drop-shadow(0 3px 4px rgba(11, 31, 77, .25)); }
.mural__form .field { text-align: left; }
.mural__form .field input, .mural__form .field textarea {
  height: auto; padding: 6px 2px;
  border: 0; border-bottom: 1px solid rgba(11, 31, 77, .3);
  background: transparent;
}
/* folha pautada */
.mural__form .field textarea {
  min-height: 96px; padding: 0 2px; line-height: 32px;
  background: repeating-linear-gradient(180deg, transparent 0, transparent 31px, rgba(11, 31, 77, .14) 31px, rgba(11, 31, 77, .14) 32px);
  border-bottom: 0;
}
.mural__form .field input:focus, .mural__form .field textarea:focus { box-shadow: none; border-bottom-color: var(--gold); }
.mural__form .btn { margin-top: 4px; }
/* campo de mensagem no mesmo estilo dos campos do RSVP */
.field textarea {
  display: block; width: 100%; min-height: 110px;
  padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 0;
  background: var(--white);
  font-family: var(--text); font-size: 1.1rem; font-weight: 500; line-height: 1.5; color: var(--navy);
  resize: none;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 196, 138, .35); }
.field__count { display: block; margin-top: 6px; text-align: right; font-size: .8rem; color: var(--ink-soft); }

/* recados lado a lado, rolando na horizontal */
.notes {
  display: flex; gap: clamp(18px, 2.4vw, 28px);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  margin: clamp(46px, 6vw, 70px) calc(var(--gutter) * -1) 0;
  padding: 28px var(--gutter) 20px;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--gold-light) transparent;
}
.notes::-webkit-scrollbar { height: 4px; }
.notes::-webkit-scrollbar-thumb { background: var(--gold-light); border-radius: 4px; }
/* centraliza quando são poucos, sem cortar o início quando são muitos */
.notes > :first-child { margin-left: auto; }
.notes > :last-child { margin-right: auto; }
.note {
  position: relative; flex: 0 0 210px; margin: 0;
  padding: 30px 18px 20px;
  background: #fff;
  border: 1px solid rgba(11, 31, 77, .32); border-radius: 4px;
  box-shadow: 0 16px 30px -20px rgba(11, 31, 77, .4);
  text-align: center;
  scroll-snap-align: start;
  transform: rotate(var(--r, 0deg));
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.note:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 24px 40px -22px rgba(11, 31, 77, .45); }
.note blockquote { margin: 0; font-family: var(--cinzel); font-size: .76rem; line-height: 1.55; color: var(--navy); overflow-wrap: anywhere; }
.note figcaption { margin-top: 12px; font-family: var(--cinzel); font-size: .64rem; letter-spacing: .06em; color: var(--ink-soft); }
.note__pin { position: absolute; top: -15px; left: 50%; width: 30px; margin-left: -15px; filter: drop-shadow(0 2px 3px rgba(11, 31, 77, .25)); }
.note.is-new { animation: note-in .9s var(--ease); }
@keyframes note-in { from { opacity: 0; transform: rotate(var(--r)) translateY(-24px) scale(.9); } }
.notes__empty { margin: 0; text-align: center; font-size: var(--fs-body); color: var(--ink-soft); }
.deco--mural { width: clamp(140px, 16vw, 230px); right: -40px; bottom: 40px; transform: rotate(-18deg); opacity: .55; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- abelhas de transição ---------- */
.flyers { position: fixed; inset: 0; z-index: 44; overflow: hidden; pointer-events: none; }
.flyer { position: absolute; left: 0; top: 0; display: block; will-change: transform; }
.flyer img { width: 100%; height: auto; animation: flutter .16s ease-in-out infinite alternate; filter: drop-shadow(0 4px 5px rgba(11, 31, 77, .25)); }
@keyframes flutter { to { transform: scaleX(.84); } }

/* =========================================================
   CONTAGEM REGRESSIVA
   ========================================================= */
.countdown {
  position: relative; overflow: hidden;
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(44, 81, 163, .35), transparent 65%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: var(--white);
}
.countdown__bloom {
  position: absolute; left: 50%; top: 50%;
  /* inteira e centralizada: cabe na altura da seção, sem cortar */
  width: auto; height: 94%; max-width: 96%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: .3; mix-blend-mode: screen; pointer-events: none;
  animation: breathe 10s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.04); opacity: .38; } }
.countdown__title { font-size: clamp(3.6rem, 8vw, 6rem); line-height: 1.1; }
.cd {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(10px, 2.4vw, 30px);
  margin: clamp(28px, 4vw, 44px) 0 clamp(20px, 3vw, 30px);
}
.cd__unit {
  width: clamp(72px, 15vw, 160px);
  padding: clamp(14px, 2vw, 24px) 6px;
  border: 1px solid rgba(232, 196, 138, .35);
  background: rgba(5, 15, 43, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center;
}
.cd__num {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.2rem, 6.4vw, 5rem); line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.cd__lbl { margin-top: 10px; font-size: clamp(.58rem, 1.2vw, .72rem); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: rgba(253, 252, 249, .75); }
.countdown__sub { margin: 0; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-light); }
@media (max-width: 420px) {
  .cd { gap: 8px; }
  .cd__unit { width: calc((100% - 24px) / 4); }
  .cd__lbl { letter-spacing: .14em; }
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer {
  text-align: center;
  padding: 72px var(--gutter) 14px;
  background: var(--navy-900);
  color: rgba(253, 252, 249, .8);
  border-top: 1px solid rgba(185, 138, 78, .25);
}
.footer__mono { width: 90px; height: auto; margin: 0 auto 26px; }
.footer__verse { margin: 0 auto; max-width: 440px; font-size: .95rem; font-weight: 500; }
.footer__cite { margin: .6rem 0 0; font-size: .72rem; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-light); }
.footer__divider { width: min(240px, 70%); margin: 34px auto; opacity: .9; }
.footer__meta { margin: 0; font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: rgba(253, 252, 249, .45); }
.footer__credit { margin: 22px 0 0; font-size: .78rem; letter-spacing: .12em; color: rgba(253, 252, 249, .3); }
.footer__credit a { text-decoration: none; transition: color .3s; }
.footer__credit a:hover, .footer__credit a:focus-visible { color: var(--gold-light); }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero__content > *, .bloom, .verse span, .verse cite { opacity: 1 !important; transform: none !important; filter: none !important; }
  .marquee__track { animation: none; }
}

/* no celular o crédito fica logo acima do botão de música, sem ficar escondido por ele */
@media (max-width: 640px) {
  .footer { padding-bottom: 90px; }
}

/* abelhinha que passa pela galeria quando as fotos rolam */
.gallery__bee {
  position: absolute; left: 0; z-index: 3;
  width: 28px; height: auto; margin: -10px 0 0 -14px;
  pointer-events: none;
  filter: drop-shadow(0 3px 4px rgba(11, 31, 77, .25));
}

/* campo obrigatório que ficou vazio no RSVP */
.field input.is-invalid, .field select.is-invalid {
  border-color: #b4474b;
  box-shadow: 0 0 0 3px rgba(180, 71, 75, .16);
}
