/* =====================================================================
   SITE DE CASAMENTO · ESTILO PRINCIPAL
   Identidade: noite e amanhecer alpinos, Matterhorn, ouro sobre
   azul-marinho, papel creme. Pensado primeiro para o celular.
   ===================================================================== */

:root {
  --navy: #1E2D40;
  --navy-deep: #0F1B2B;
  --navy-light: #2C4060;
  --gold: #C9A96E;
  --gold-light: #E8D5B0;
  --gold-dark: #9B7A3F;
  --gold-grad: linear-gradient(135deg, #E8D5B0 0%, #C9A96E 45%, #9B7A3F 100%);
  --gold-btn: linear-gradient(135deg, #EBD9B4 0%, #D3B67F 38%, #C9A96E 60%, #B08D52 100%);
  --gold-text: linear-gradient(180deg, #F6EBD2 0%, #E8D5B0 30%, #C9A96E 68%, #A9884F 100%);
  --cream: #FDF8F0;
  --ivory: #FFFDF8;
  --cream-alt: #F5EDE0;
  --rose: #C4837A;
  --blush: #F2DCD5;
  --sky: #DCE6F0;
  --text: #2D2926;
  --text-light: #6B6460;
  --border: #E8DDD0;

  --f-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --f-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-script: 'Great Vibes', 'Brush Script MT', cursive;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 64px;
  --gutter: 20px;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(30, 45, 64, .04), 0 12px 32px -14px rgba(30, 45, 64, .22);
  --shadow-hover: 0 2px 4px rgba(30, 45, 64, .05), 0 26px 50px -20px rgba(30, 45, 64, .32);
  --ring-gold: 0 0 0 1px rgba(201, 169, 110, .45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 2px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
@supports (overflow: clip) { html { overflow-x: clip; } }

body {
  font-family: var(--f-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

html.is-locked, html.is-locked body { overflow: hidden; }

img, svg, picture, canvas, iframe { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }

::selection { background: rgba(201, 169, 110, .35); color: var(--navy-deep); }

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

.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.2em;
  fill: none;
  stroke: currentColor;
  overflow: visible;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 2000;
  background: var(--navy-deep);
  color: var(--gold-light);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: .85rem;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: min(1180px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.loading-line {
  text-align: center;
  color: var(--text-light);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.15rem;
  grid-column: 1 / -1;
  padding: 24px 0;
}

/* =====================================================================
   BOTÕES
   ===================================================================== */
.btn {
  --btn-h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { width: 1.25em; height: 1.25em; }
.btn:active { transform: scale(.97); }

/* brilho que atravessa o botão */
.btn-gold::after,
.btn-gift::after {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .65) 48%, rgba(255, 255, 255, .15) 56%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}
.btn-gold:hover::after,
.btn-gift:hover::after,
.btn-gold:focus-visible::after,
.btn-gift:focus-visible::after { transform: translateX(110%); }

.btn-gold {
  background: var(--gold-btn);
  color: var(--navy-deep);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 24px -10px rgba(155, 122, 63, .7);
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  border: 1px solid rgba(255, 253, 248, .55);
  z-index: -1;
  pointer-events: none;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 16px 30px -12px rgba(155, 122, 63, .8); }

.btn-navy {
  background: var(--navy);
  color: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .35) inset, 0 12px 26px -14px rgba(15, 27, 43, .8);
}
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); color: #F4E7CB; }

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  box-shadow: 0 0 0 1px var(--gold) inset;
}
.btn-outline:hover { background: rgba(201, 169, 110, .1); transform: translateY(-2px); }

.btn-block { width: 100%; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--gold-dark);
  text-decoration: underline;
  text-decoration-color: rgba(201, 169, 110, .5);
  text-underline-offset: 4px;
  transition: color .3s;
}
.btn-link:hover { color: var(--navy); }

/* =====================================================================
   MENU FIXO (vidro fosco)
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--gold-light);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 22, 36, .95), rgba(17, 30, 48, .91));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201, 169, 110, .28);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6);
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.site-header::after {
  /* véu suave sobre o céu antes de rolar */
  content: '';
  position: absolute;
  inset: 0 0 -24px 0;
  background: linear-gradient(180deg, rgba(11, 21, 36, .55), transparent);
  pointer-events: none;
  transition: opacity .45s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled::after { opacity: 0; }

.nav-inner {
  position: relative;
  z-index: 1;
  height: var(--header-h);
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
  color: var(--gold-light);
}
.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .7) inset, 0 0 0 4px rgba(15, 27, 43, .35) inset;
  background: radial-gradient(circle at 50% 35%, rgba(201, 169, 110, .18), transparent 70%);
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, .28);
}
.brand-mark .mono-ll { width: 80%; height: 80%; display: block; }
.mono-ll[hidden], [data-initials][hidden] { display: none !important; }
.brand-initials {
  font-family: var(--f-script);
  font-size: 1.32rem;
  line-height: 1;
  color: var(--gold);
  transform: translateY(1px);
  white-space: nowrap;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-names {
  font-family: var(--f-serif);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: #F4E9D2;
  white-space: nowrap;
}
.brand-date {
  font-size: .58rem;
  letter-spacing: .32em;
  color: var(--gold);
  white-space: nowrap;
}
.site-header:not(.is-scrolled) .brand-text { opacity: 0; transform: translateX(-6px); }
.brand-text { transition: opacity .45s var(--ease), transform .45s var(--ease); }

.nav-desktop { display: none; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-desktop .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(232, 213, 176, .85);
  white-space: nowrap;
  transition: color .3s;
}
.nav-desktop .nav-link::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .45s var(--ease-out);
}
.nav-desktop .nav-link::before {
  content: '';
  position: absolute;
  left: 50%; bottom: 5px;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  background: var(--gold);
  transform: rotate(45deg) scale(0);
  transition: transform .4s var(--ease-out);
}
.nav-desktop .nav-link:hover { color: #F6EBD2; }
.nav-desktop .nav-link:hover::after,
.nav-desktop .nav-link.active::after { transform: scaleX(1); }
.nav-desktop .nav-link.active { color: var(--gold); }
.nav-desktop .nav-link.active::before { transform: rotate(45deg) scale(1); }

.nav-toggle {
  width: 48px;
  height: 48px;
  margin-right: -6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  transition: background .3s;
}
.nav-toggle:hover { background: rgba(201, 169, 110, .1); }
.burger { display: grid; gap: 5px; width: 24px; }
.burger span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .4s var(--ease-out), opacity .3s;
}
.burger span:nth-child(2) { width: 70%; justify-self: end; }
.burger span:nth-child(3) { width: 85%; justify-self: end; }

/* ---------- Painel mobile ---------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(8, 15, 26, .55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
}
.nav-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 150;
  width: min(380px, 88vw);
  display: flex;
  flex-direction: column;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 26px calc(26px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(120% 50% at 100% 0%, rgba(201, 169, 110, .16), transparent 60%),
    radial-gradient(90% 40% at 0% 100%, rgba(196, 131, 122, .12), transparent 60%),
    linear-gradient(180deg, #13223A 0%, var(--navy-deep) 100%);
  color: var(--gold-light);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .6);
  border-left: 1px solid rgba(201, 169, 110, .3);
  transform: translateX(104%);
  visibility: hidden;
  transition: transform .6s var(--ease-out), visibility 0s linear .6s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-panel::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 169, 110, .16);
  border-radius: 14px;
  pointer-events: none;
}
html.nav-open .nav-panel { transform: none; visibility: visible; transition: transform .6s var(--ease-out), visibility 0s; }
html.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
html.nav-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
html.nav-open .burger span:nth-child(2) { opacity: 0; }
html.nav-open .burger span:nth-child(3) { width: 100%; transform: translateY(-6.5px) rotate(-45deg); }

.np-head { display: flex; align-items: flex-start; justify-content: space-between; }
.np-mono {
  position: relative;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  margin: 6px 0 0 -6px;
}
.np-mono img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.np-mono img.mono-ll { position: relative; inset: auto; width: 50%; height: 50%; opacity: 1; margin-top: -4%; }
.np-initials {
  position: relative;
  font-family: var(--f-script);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.np-close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .35) inset;
  transition: background .3s, transform .4s var(--ease-out);
}
.np-close .icon { width: 20px; height: 20px; }
.np-close:hover { background: rgba(201, 169, 110, .12); transform: rotate(90deg); }
.np-names {
  font-family: var(--f-script);
  font-size: 2.1rem;
  line-height: 1.1;
  color: #F4E7CB;
  margin: 8px 0 18px;
}
.np-links { display: flex; flex-direction: column; gap: 2px; }
.np-links li {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
  transition-delay: calc(var(--i) * 60ms + 120ms);
}
html.nav-open .np-links li { opacity: 1; transform: none; }
.np-links .nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 6px 4px;
  text-decoration: none;
  font-family: var(--f-serif);
  font-size: 1.42rem;
  font-weight: 500;
  color: #F1E4C9;
  border-bottom: 1px solid rgba(201, 169, 110, .14);
  transition: color .3s, padding-left .4s var(--ease-out);
}
.np-links .nav-link:hover,
.np-links .nav-link.active { color: var(--gold); padding-left: 10px; }
.np-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .4) inset;
  flex-shrink: 0;
}
.np-ico .icon { width: 18px; height: 18px; }
.np-links .nav-link.active .np-ico { background: rgba(201, 169, 110, .16); }
.np-foot { margin-top: auto; padding-top: 28px; text-align: center; }
.np-foot img { width: 200px; height: auto; margin: 0 auto 8px; opacity: .85; }
.np-date {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(232, 213, 176, .8);
}

/* =====================================================================
   HERO
   ===================================================================== */
/* O hero cabe inteiro numa tela (sem rolar), em qualquer aparelho: os tamanhos
   abaixo seguem a ALTURA da tela (--vh) além da largura. */
:root { --vh: 1vh; }
@supports (height: 1svh) { :root { --vh: 1svh; } }
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-deep);
  color: var(--ivory);
}

/* Céu e Matterhorn: mesma imagem e o mesmo "multiply" do site original (exigência do dono).
   A altura da montanha foi aumentada a pedido dele, para o cume ficar perto do topo. */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(196,131,122,0.12) 0%, transparent 60%),
    linear-gradient(165deg, #0d1a2a 0%, #1a2f4a 30%, #1E2D40 60%, #12202f 100%);
  z-index: 0;
}
.hero-mountain-img {
  position: absolute;
  bottom: 0; left: 0;
  /* pico perto do topo (pedido do dono: bem menos céu acima do cume) */
  width: 100%; height: 81%;
  max-width: none;
  object-fit: cover;
  object-position: center bottom;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.stars-wrap { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.stars-layer {
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  background: transparent;
  animation: twinkle var(--tw, 4s) ease-in-out infinite alternate;
  animation-delay: var(--tw-delay, 0s);
}
@keyframes twinkle {
  from { opacity: var(--tw-min, .25); }
  to { opacity: 1; }
}
.spark {
  position: absolute;
  width: 14px;
  height: 14px;
  color: var(--gold-light);
  opacity: .8;
  animation: sparkle 5s ease-in-out infinite;
}
.spark .icon { width: 100%; height: 100%; stroke-width: 1.2; }
@keyframes sparkle {
  0%, 100% { opacity: .15; transform: scale(.55) rotate(0deg); }
  50% { opacity: .95; transform: scale(1) rotate(45deg); }
}

/* Céu "atrás" do Matterhorn: a própria foto da montanha (clara no céu, escura na rocha)
   serve de máscara, então o que estiver aqui some atrás da montanha. A faixa de cima
   (acima da foto, que ocupa 81% da altura) fica sempre visível. */
.sky-behind {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask:
    linear-gradient(#fff, #fff) center top / 100% 19.5% no-repeat,
    url('/images/matterhorn.webp') center bottom / auto 81% no-repeat;
          mask:
    linear-gradient(#fff, #fff) center top / 100% 19.5% no-repeat,
    url('/images/matterhorn.webp') center bottom / auto 81% no-repeat;
  -webkit-mask-source-type: luminance, luminance;
          mask-mode: luminance, luminance;
}

/* Estrela de Belém (forma de cruz), brilhando devagar. Só transform/opacity na animação
   (barato para o navegador) e parada enquanto a abertura está na tela. */
.bethlehem {
  position: absolute;
  z-index: 0;
  left: 13%;
  top: 30%;
  width: clamp(64px, 8.5vw, 124px);
  aspect-ratio: 220 / 360;
  transform: translate(-50%, -30.56%);
  pointer-events: none;
}
.bethlehem::before {
  /* clarão azulado que pulsa em volta do centro */
  content: '';
  position: absolute;
  left: 50%;
  top: 30.56%;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 222, 255, .4) 0%, rgba(140, 180, 255, .14) 28%, rgba(110, 146, 230, 0) 62%);
  animation: bethHalo 4.6s ease-in-out infinite alternate;
  will-change: opacity, transform;
}
.bethlehem img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 30.56%;
  animation: bethGlow 4.6s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes bethGlow {
  from { transform: scale(.94); }
  to { transform: scale(1.05); }
}
@keyframes bethHalo {
  from { opacity: .35; transform: translate(-50%, -50%) scale(.85); }
  to { opacity: .8; transform: translate(-50%, -50%) scale(1.08); }
}
html.intro-active .bethlehem img,
html.intro-active .bethlehem::before { animation-play-state: paused; }
@media (min-width: 760px) and (min-aspect-ratio: 1/1) {
  .bethlehem { left: 22%; top: 25%; }
}

/* Estrela cadente: o trajeto é calculado em js/main.js (passa atrás do pico) */
.shooting-star {
  position: absolute;
  left: 0;
  top: 0;
  width: 200px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(232, 213, 176, 0) 0%, rgba(232, 213, 176, .35) 55%, rgba(255, 253, 248, .95) 100%);
  transform-origin: 100% 50%;
  opacity: 0;
  filter: drop-shadow(0 0 3px rgba(255, 248, 230, .7));
}
.shooting-star::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: #FFFDF8;
  box-shadow: 0 0 8px 3px rgba(255, 246, 220, .75), 0 0 18px 6px rgba(232, 213, 176, .35);
}

.hero-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}
.hd-day, .tl-time, .gift-price, .mc-gift-price, .qr-value strong, .venue-distance strong, .footer-date, .cd-num, .ps-n, .mural-count {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.hero-corner {
  position: absolute;
  top: calc(var(--header-h) - 4px);
  width: clamp(66px, 18vw, 200px);
  height: auto;
  z-index: 3;
  opacity: .5;
  pointer-events: none;
}
.hc-l { left: 6px; }
.hc-r { right: 6px; transform: scaleX(-1); }

.hero-content {
  position: relative;
  z-index: 4;
  width: min(1100px, 100% - 32px);
  text-align: center;
  padding: calc(var(--header-h) + var(--vh) * 2.2) 0 calc(58px + var(--vh) * 2.5);
}

/* animação de entrada do hero (dispara no fim da abertura) */
.h-anim { opacity: 0; transform: translateY(18px); }
html.hero-go .h-anim {
  animation: heroIn 1.2s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 140ms + 120ms);
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
html.hero-go .hero-names.h-anim { animation-name: namesIn; animation-duration: 1.6s; }
@keyframes namesIn {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to { opacity: 1; transform: none; }
}
html.hero-go .hero-divider.h-anim { animation-name: dividerIn; }
@keyframes dividerIn {
  from { opacity: 0; transform: scaleX(.3); }
  to { opacity: .95; transform: none; }
}

.hero-eyebrow {
  max-width: 300px;
  margin: 0 auto;
  font-size: clamp(.58rem, calc(var(--vh) * 1.5), .68rem);
  font-weight: 500;
  letter-spacing: .34em;
  line-height: 2;
  text-transform: uppercase;
  color: rgba(232, 213, 176, .9);
  text-wrap: balance;
}

.hero-names {
  margin: calc(var(--vh) * 1) 0 0;
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(2.5rem, min(19vw, calc(var(--vh) * 8.6)), 7rem);
  line-height: .98;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .45));
}
.hn-name {
  display: block;
  /* folga em cima: a laçada do "L" da Great Vibes passa da caixa da linha e o
     degradê (background-clip: text) cortava o topo das letras */
  padding: .16em .2em .12em;
  margin-top: -.1em;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.hn-amp {
  display: block;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: .42em;
  line-height: 1;
  margin: -.1em 0 -.06em;
  color: rgba(232, 213, 176, .9);
}

.hero-divider {
  width: min(250px, 66%);
  height: auto;
  margin: calc(var(--vh) * 1.2) auto calc(var(--vh) * .4);
  opacity: .95;
}
.hero-subtitle {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1rem, min(4.2vw, calc(var(--vh) * 2.4)), 1.45rem);
  font-weight: 400;
  color: rgba(244, 233, 210, .92);
  letter-spacing: .02em;
  text-wrap: balance;
}

.hero-date { margin: calc(var(--vh) * 2.2) auto 0; }
.hd-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: min(330px, 100%);
  margin: 0 auto;
}
.hd-side {
  padding: 7px 0 6px;
  border-top: 1px solid rgba(201, 169, 110, .6);
  border-bottom: 1px solid rgba(201, 169, 110, .6);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding-left: .32em;
}
.hd-day {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(2.3rem, calc(var(--vh) * 5.6), 4.2rem);
  line-height: .9;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 .04em;
}
.hd-weekday {
  margin-top: calc(var(--vh) * .9);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(232, 213, 176, .78);
  padding-left: .42em;
}

.hero-times {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin: calc(var(--vh) * 1.8) auto 0;
  font-size: clamp(.76rem, calc(var(--vh) * 1.9), .9rem);
  font-weight: 400;
  letter-spacing: .04em;
  color: rgba(244, 233, 210, .9);
}
.hero-times li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hero-times .icon { color: var(--gold); width: 18px; height: 18px; }
.hero-times strong { font-weight: 600; color: var(--gold-light); }
.ht-sep { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); opacity: .7; }

/* contagem regressiva em cartões de vidro */
.countdown { margin: calc(var(--vh) * 2.6) auto 0; width: min(440px, 100%); }
.cd-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .44em;
  text-transform: uppercase;
  color: rgba(232, 213, 176, .75);
  padding-left: .44em;
  margin-bottom: calc(var(--vh) * 1.2);
}
.cd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.cd-card {
  position: relative;
  padding: clamp(9px, calc(var(--vh) * 1.6), 18px) 4px clamp(8px, calc(var(--vh) * 1.3), 14px);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 253, 248, .13), rgba(255, 253, 248, .04));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(232, 213, 176, .22) inset, 0 12px 30px -16px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.cd-card::before {
  content: '';
  position: absolute;
  inset: 0 0 50% 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), transparent);
  pointer-events: none;
}
.cd-num {
  display: block;
  font-family: var(--f-serif);
  font-size: clamp(1.5rem, min(8.4vw, calc(var(--vh) * 4.4)), 2.6rem);
  font-weight: 500;
  line-height: 1;
  color: #F5E8CB;
  font-variant-numeric: lining-nums tabular-nums;
}
.cd-unit {
  display: block;
  margin-top: 6px;
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, .95);
  padding-left: .22em;
}
.countdown.is-today .cd-grid { display: none; }
.countdown.is-today .cd-label {
  font-family: var(--f-script);
  text-transform: none;
  letter-spacing: 0;
  font-size: 2.2rem;
  color: var(--gold-light);
  padding: 0;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 5;
  margin-left: -32px;
  width: 64px;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--gold-light);
}
.sc-text {
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .4em;
  text-transform: uppercase;
  padding-left: .4em;
  opacity: .8;
}
.sc-line {
  position: relative;
  width: 1px;
  height: 40px;
  background: rgba(232, 213, 176, .25);
  overflow: hidden;
}
.sc-line::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 16px;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollDrop 2.2s var(--ease) infinite;
}
@keyframes scrollDrop {
  from { transform: translateY(-16px); }
  to { transform: translateY(40px); }
}

/* =====================================================================
   SEÇÕES · base e cabeçalhos
   ===================================================================== */
.section {
  position: relative;
  padding: clamp(76px, 11vw, 132px) 0;
  overflow: hidden;
}
@supports (overflow: clip) { .section { overflow: clip; } }

.corner {
  position: absolute;
  top: 0;
  width: clamp(110px, 26vw, 260px);
  height: auto;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.c-tl { left: 0; }
.c-tr { right: 0; transform: scaleX(-1); }

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 60px);
  text-align: center;
}
.sh-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-dark);
  background: var(--ivory);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .55), 0 0 0 6px var(--ivory), 0 0 0 7px rgba(201, 169, 110, .28), 0 14px 28px -14px rgba(155, 122, 63, .55);
}
.sh-icon .icon { width: 24px; height: 24px; }
.eyebrow {
  margin: 22px 0 6px;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-left: .36em;
}
.section-title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(2rem, 7.4vw, 3rem);
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: .01em;
}
.t-script {
  display: block;
  margin-top: -.02em;
  font-family: var(--f-script);
  font-weight: 400;
  font-size: 1.62em;
  line-height: 1.12;
  color: var(--gold-dark);
  background: linear-gradient(180deg, #C9A96E 0%, #A9884F 55%, #8C6B33 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: .08em .2em .06em;
  margin-top: -.1em;
}
.sh-divider { width: min(240px, 70%); height: auto; margin: 14px auto 18px; }
.section-lead {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.14rem, 3.8vw, 1.32rem);
  line-height: 1.55;
  color: var(--text-light);
  text-wrap: pretty;
}

.section-head.on-dark .sh-icon {
  color: var(--gold);
  background: var(--navy-deep);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .55), 0 0 0 6px var(--navy-deep), 0 0 0 7px rgba(201, 169, 110, .25);
}
.section-head.on-dark .eyebrow { color: var(--gold); }
.section-head.on-dark .section-title { color: #F6EEDD; }
.section-head.on-dark .t-script {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
}
.section-head.on-dark .section-lead { color: rgba(232, 213, 176, .78); }

.sub-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 26px;
  font-family: var(--f-serif);
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 500;
  color: var(--navy);
  text-align: center;
}
.sub-head .icon { color: var(--gold); width: 24px; height: 24px; }
.sub-line {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, .7));
}
.sub-line:last-child { background: linear-gradient(90deg, rgba(201, 169, 110, .7), transparent); }

/* revelação suave na rolagem */
.reveal { opacity: 0; }
.reveal.in {
  animation: revealIn 1.1s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
@keyframes revealIn {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}

/* =====================================================================
   PRESENTES
   ===================================================================== */
/* ---------- Versículo: faixa bronze entre o hero e os presentes (como no convite) ---------- */
.verse-band {
  position: relative;
  padding: clamp(48px, 8vw, 86px) var(--gutter);
  text-align: center;
  background:
    radial-gradient(110% 80% at 50% 0%, rgba(255, 234, 186, .24), transparent 62%),
    linear-gradient(180deg, #8E6C30 0%, #7B5B26 55%, #6A4C1E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 205, .35), inset 0 -1px 0 rgba(40, 25, 5, .35);
}
.verse-band::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(241, 221, 174, .32);
  pointer-events: none;
}
.verse { position: relative; margin: 0 auto; max-width: 780px; }
.verse-mono {
  display: block;
  width: clamp(76px, 12vw, 108px);
  height: auto;
  margin: 0 auto clamp(14px, 2.4vw, 22px);
}
.verse blockquote {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 3.7vw, 1.75rem);
  line-height: 1.5;
  color: #FBF3E2;
  text-shadow: 0 1px 2px rgba(40, 25, 5, .35);
  text-wrap: balance;
}
.verse blockquote p { margin: 0; }
.verse figcaption {
  margin-top: 10px;
  font-family: var(--f-serif);
  font-size: clamp(1.02rem, 3vw, 1.25rem);
  letter-spacing: .04em;
  color: #F1DDAE;
}
@media (max-width: 560px) { .verse blockquote br { display: none; } }

.sec-gifts {
  background:
    radial-gradient(80% 40% at 50% 0%, rgba(232, 213, 176, .32), transparent 70%),
    var(--cream);
}
.sec-gifts::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/art/pattern-florals.svg') center top / 420px auto repeat;
  opacity: .22;
  pointer-events: none;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 820px;
  margin: 0 auto 34px;
  counter-reset: step;
}
.how-steps li {
  position: relative;
  text-align: center;
  padding: 0 4px;
  counter-increment: step;
}
.how-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 34px);
  right: calc(-50% + 34px);
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(201, 169, 110, .7) 0 4px, transparent 4px 9px);
}
.hs-ico {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold-dark);
  background: var(--ivory);
  box-shadow: var(--ring-gold), 0 8px 18px -10px rgba(155, 122, 63, .6);
}
.hs-ico .icon { width: 21px; height: 21px; }
.hs-ico::after {
  content: counter(step);
  position: absolute;
  top: -4px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .62rem;
  font-weight: 700;
  color: var(--ivory);
  background: var(--navy);
  box-shadow: 0 0 0 2px var(--cream);
}
.how-steps p {
  font-size: .74rem;
  line-height: 1.5;
  color: var(--text-light);
}
.how-steps strong {
  display: block;
  font-family: var(--f-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
}

.gift-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin: 0 0 26px;
  padding: 12px 0;
  border-top: 1px solid rgba(201, 169, 110, .35);
  border-bottom: 1px solid rgba(201, 169, 110, .35);
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
  padding: 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
  mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--text);
  background: var(--ivory);
  box-shadow: 0 0 0 1px var(--border) inset;
  transition: background .3s, color .3s, box-shadow .3s;
  white-space: nowrap;
}
.chip small { font-size: .66rem; opacity: .6; margin-left: 4px; }
.chip:hover { box-shadow: 0 0 0 1px var(--gold) inset; }
.chip[aria-pressed="true"] {
  background: var(--navy);
  color: var(--gold-light);
  box-shadow: 0 0 0 1px var(--navy) inset, 0 8px 16px -10px rgba(15, 27, 43, .8);
}
.sort {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  color: var(--text-light);
}
.sort-label { letter-spacing: .14em; text-transform: uppercase; font-size: .62rem; font-weight: 600; color: var(--gold-dark); }
.sort select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 40px;
  padding: 0 36px 0 14px;
  border-radius: 999px;
  border: 0;
  background: var(--ivory);
  box-shadow: 0 0 0 1px var(--border) inset;
  font-size: .78rem;
  color: var(--navy);
  cursor: pointer;
}
.sort .icon { position: absolute; right: 12px; width: 14px; height: 14px; color: var(--gold-dark); pointer-events: none; }

.gifts-grid {
  --gap: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.gifts-grid > .gift-card { flex: 1 1 100%; max-width: 100%; }
.gifts-grid.is-filtering .gift-card { animation: cardIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--border), var(--shadow);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease);
}
.gift-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .6), var(--shadow-hover);
}
.gift-media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 48%, #FFFBF3 0%, rgba(255, 251, 243, 0) 70%),
    linear-gradient(160deg, #F8EEDF 0%, #F1E2CC 55%, #EBD8BE 100%);
  border-bottom: 1px solid rgba(201, 169, 110, .28);
}
.gift-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/art/pattern-florals.svg') center / 260px auto repeat;
  opacity: .35;
}
.gift-media::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 110, .35);
  pointer-events: none;
}
.gift-media .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.gift-card:hover .gift-media .photo { transform: scale(1.05); }
.gift-media .sprig {
  position: absolute;
  bottom: 8%;
  width: 46px;
  height: auto;
  opacity: .75;
  z-index: 1;
}
.gift-media .sprig-l { left: calc(50% - 112px); transform: rotate(-24deg); }
.gift-media .sprig-r { right: calc(50% - 112px); transform: scaleX(-1) rotate(-24deg); }

.medallion {
  position: relative;
  z-index: 1;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #FFFFFF 0%, #FCF6EC 55%, #F3E5CF 100%);
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, .75),
    0 0 0 6px rgba(255, 253, 248, .92),
    0 0 0 7px rgba(201, 169, 110, .4),
    0 18px 30px -14px rgba(155, 122, 63, .55);
  transition: transform .7s var(--ease-out);
}
.gift-card:hover .medallion { transform: translateY(-3px) scale(1.04); }
.medallion .emoji {
  font-size: 2.9rem;
  line-height: 1;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  filter: drop-shadow(0 4px 6px rgba(80, 60, 30, .18));
}
.medallion img { width: 66%; height: auto; }

.gift-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.gift-title {
  font-family: var(--f-serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 8px;
  text-wrap: balance;
}
.gift-desc {
  flex: 1;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gift-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed rgba(201, 169, 110, .5);
}
.gift-price {
  display: flex;
  align-items: baseline;
  font-family: var(--f-serif);
  color: var(--gold-dark);
  white-space: nowrap;
  line-height: 1;
}
.gift-price .cur { font-family: var(--f-sans); font-size: .72rem; font-weight: 600; letter-spacing: .08em; margin-right: 3px; color: var(--text-light); }
.gift-price .int { font-size: 2rem; font-weight: 600; letter-spacing: .01em; }
.gift-price .cents { font-size: 1rem; font-weight: 600; }

.btn-gift {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold-btn);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 22px -12px rgba(155, 122, 63, .85);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s;
  -webkit-tap-highlight-color: transparent;
}
.btn-gift .icon { width: 17px; height: 17px; }
.btn-gift:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 16px 28px -12px rgba(155, 122, 63, .9); }
.btn-gift:active { transform: scale(.96); }

.gifts-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 10px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-light);
}

/* =====================================================================
   DRESS CODE
   ===================================================================== */
.sec-dress {
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(220, 230, 240, .9), transparent 70%),
    linear-gradient(180deg, #EEF2F6 0%, var(--ivory) 55%, var(--cream) 100%);
}
.sec-dress .sh-icon,
.sec-dress .sh-icon { background: #F4F7FA; box-shadow: 0 0 0 1px rgba(201, 169, 110, .55), 0 0 0 6px #EEF2F6, 0 0 0 7px rgba(201, 169, 110, .28), 0 14px 28px -14px rgba(155, 122, 63, .55); }

.dc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.dc-card {
  position: relative;
  display: grid;
  align-content: start;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: start;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: 0 0 0 1px var(--border), var(--shadow);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.dc-card:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(201, 169, 110, .55), var(--shadow-hover); }
.dc-arch {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  display: grid;
  place-items: end center;
  background:
    radial-gradient(70% 45% at 50% 18%, rgba(255, 255, 255, .9), transparent 70%),
    linear-gradient(180deg, var(--sky) 0%, #E9EFF5 55%, #F6F1E8 100%);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .55);
}
.dc-arch::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 999px 999px 10px 10px;
  border: 1px solid rgba(201, 169, 110, .35);
  pointer-events: none;
}
.dc-arch .art { width: 78%; height: 86%; object-fit: contain; object-position: center bottom; }
.dc-arch .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dc-arch .dc-fallback { align-self: center; color: var(--gold-dark); }
.dc-arch .dc-fallback .icon { width: 44px; height: 44px; stroke-width: 1.2; }

.dc-content { min-width: 0; }
.dc-badge {
  display: inline-block;
  padding: 4px 10px 3px;
  border-radius: 999px;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201, 169, 110, .12);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .35) inset;
}
.dc-title {
  margin: 8px 0 6px;
  font-family: var(--f-serif);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}
.dc-desc { font-size: .84rem; line-height: 1.6; color: var(--text-light); }
.dc-palette { margin-top: 14px; }
.dc-palette-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.dc-palette-label .icon { width: 14px; height: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .74rem;
  color: var(--text);
  white-space: nowrap;
}
.swatch .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--c, #ddd);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 0 0 2px #fff, 0 0 0 3px rgba(201, 169, 110, .55), 0 4px 8px -3px rgba(0, 0, 0, .25);
}
.swatch.text-only {
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--text-light);
  background: rgba(201, 169, 110, .08);
  white-space: normal;
}

.dc-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 34px auto 0;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255, 253, 248, .8);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .45), 0 0 0 5px rgba(255, 253, 248, .8), 0 0 0 6px rgba(201, 169, 110, .2);
}
.dcn-swatch {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 0 0 3px #fff, 0 0 0 4px rgba(196, 131, 122, .6);
  overflow: hidden;
}
.dcn-swatch::after {
  content: '';
  position: absolute;
  left: 50%; top: -10%;
  width: 1.5px; height: 120%;
  background: var(--rose);
  transform: rotate(45deg);
}
.dcn-title {
  font-family: var(--f-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.dcn-text { font-size: .82rem; line-height: 1.55; color: var(--text-light); }

/* Madrinhas e padrinhos: cartão branco com ilustração grande, texto, paleta e assinatura */
.dc-group + .dc-group { margin-top: 52px; }
.dcf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.dc-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 22px 28px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .5), 0 0 0 6px #fff, 0 0 0 7px rgba(201, 169, 110, .25), var(--shadow);
}
.dcf-eyebrow {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-left: .34em;
}
.dcf-figure {
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  margin: 14px auto 0;
}
.dcf-img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.dcf-art { padding: 8% 14% 0; }
.dcf-desc {
  max-width: 32ch;
  margin: 24px auto 0;
  font-family: var(--f-serif);
  font-size: clamp(1.15rem, 3.8vw, 1.32rem);
  line-height: 1.5;
  color: var(--text);
  text-wrap: balance;
}
.dcf-palette {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px clamp(22px, 8vw, 52px);
  margin-top: 28px;
}
.dcf-sw {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--f-serif);
  font-size: 1.02rem;
  color: var(--text);
}
.dcf-dot {
  width: clamp(54px, 16vw, 66px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c, #ddd);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05), 0 8px 16px -10px rgba(30, 45, 64, .45);
}
.dcf-loose {
  margin-top: 16px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-light);
}
.dcf-caption {
  margin-top: 20px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--gold-dark);
}
.dcf-orn { display: block; margin-top: 28px; }
.dcf-orn svg { display: block; width: 168px; height: 23px; }
.dcf-sign {
  margin-top: 12px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-dark);
}

/* =====================================================================
   MAPAS E ROTAS (faixa noturna)
   ===================================================================== */
.sec-maps {
  background:
    radial-gradient(70% 40% at 50% 100%, rgba(201, 169, 110, .14), transparent 70%),
    linear-gradient(180deg, var(--navy-deep) 0%, #13233A 55%, var(--navy) 100%);
  color: var(--gold-light);
}
.maps-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 253, 248, .7), transparent 60%),
    radial-gradient(1px 1px at 28% 62%, rgba(255, 253, 248, .45), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 12%, rgba(232, 213, 176, .8), transparent 60%),
    radial-gradient(1px 1px at 63% 34%, rgba(255, 253, 248, .55), transparent 60%),
    radial-gradient(1px 1px at 78% 8%, rgba(255, 253, 248, .6), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 46%, rgba(232, 213, 176, .6), transparent 60%),
    radial-gradient(1px 1px at 6% 78%, rgba(255, 253, 248, .5), transparent 60%),
    radial-gradient(1px 1px at 94% 82%, rgba(255, 253, 248, .45), transparent 60%),
    radial-gradient(1px 1px at 52% 88%, rgba(255, 253, 248, .35), transparent 60%);
  opacity: .9;
}

.day-plan { text-align: center; margin: -8px auto 40px; max-width: 560px; }
.dp-date {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.22rem;
  color: rgba(232, 213, 176, .85);
  margin-bottom: 18px;
}
.dp-date::first-letter { text-transform: uppercase; }
.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 110px;
}
.tl-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(15, 27, 43, .6);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .6) inset, 0 0 0 5px rgba(15, 27, 43, .9), 0 0 0 6px rgba(201, 169, 110, .25);
}
.tl-icon .icon { width: 26px; height: 26px; }
.tl-time {
  margin-top: 6px;
  font-family: var(--f-serif);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tl-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(232, 213, 176, .8);
  padding-left: .3em;
}
.tl-line {
  flex: 1;
  max-width: 180px;
  min-width: 40px;
  height: 1px;
  margin-top: 29px;
  background: repeating-linear-gradient(90deg, rgba(201, 169, 110, .75) 0 5px, transparent 5px 10px);
  position: relative;
}
.tl-line::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.venue-card {
  position: relative;
  padding: 30px 24px 22px;
  border-radius: 22px;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(232, 213, 176, .35), transparent 70%),
    var(--ivory);
  color: var(--text);
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.venue-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 110, .45);
  pointer-events: none;
}
.venue-card .eyebrow { margin-top: 0; }
.venue-name {
  font-family: var(--f-serif);
  font-size: clamp(1.9rem, 6.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy);
  margin: 4px 0 12px;
}
.venue-address {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--text-light);
  max-width: 34ch;
  margin: 0 auto;
}
.venue-address .icon { color: var(--gold-dark); margin-top: 2px; }
.venue-distance {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 18px auto 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(201, 169, 110, .1);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .4) inset;
  color: var(--text);
  font-size: .8rem;
  text-align: left;
}
.venue-distance .icon { color: var(--gold-dark); width: 22px; height: 22px; }
.venue-distance strong {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1;
}
.venue-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}
.venue-actions .btn { padding: 0 14px; letter-spacing: .12em; }
.venue-card .btn-link { margin-top: 6px; }

.map-frame {
  position: relative;
  padding: 8px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(232, 213, 176, .7), rgba(155, 122, 63, .55));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.map-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 300px;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 17px;
  background: transparent;
  filter: saturate(.85) sepia(.06);
}
.map-ph {
  position: absolute;
  inset: 8px;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-dark);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.1rem;
  background:
    repeating-linear-gradient(0deg, rgba(155, 122, 63, .07) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(155, 122, 63, .07) 0 1px, transparent 1px 34px),
    #EFE9DE;
}
.map-ph .icon { width: 34px; height: 34px; stroke-width: 1.3; }

/* =====================================================================
   HOSPEDAGEM E DICAS
   ===================================================================== */
.sec-stay {
  background:
    radial-gradient(80% 40% at 50% 0%, rgba(242, 220, 213, .45), transparent 70%),
    var(--cream);
}
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2.4vw, 28px);
  margin-bottom: clamp(56px, 8vw, 84px);
}
.hotel-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--ivory);
  box-shadow: 0 0 0 1px var(--border), var(--shadow);
  overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.hotel-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(201, 169, 110, .55), var(--shadow-hover); }
.hotel-media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(255, 255, 255, .85), transparent 70%),
    linear-gradient(180deg, var(--sky) 0%, #EDF1F4 60%, #F6EFE3 100%);
}
.hotel-media::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px solid rgba(201, 169, 110, .38);
  pointer-events: none;
}
.hotel-media .art { width: 58%; max-width: 240px; height: auto; margin-bottom: 5%; }
.hotel-media .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.hotel-card:hover .hotel-media .photo { transform: scale(1.05); }
.hotel-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 8px; }
.stars svg { width: 15px; height: 15px; }
.hotel-name {
  font-family: var(--f-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 8px;
}
.hotel-desc { flex: 1; font-size: .86rem; line-height: 1.65; color: var(--text-light); }
.hotel-address {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: .78rem;
  color: var(--text-light);
}
.hotel-address .icon { color: var(--gold-dark); margin-top: 1px; }
.hotel-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-dark);
  border-bottom: 1px solid transparent;
  transition: gap .35s var(--ease-out), color .3s;
}
.hotel-link .icon { width: 16px; height: 16px; }
.hotel-link:hover { gap: 12px; color: var(--navy); }

.tips-grid {
  --gap: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.tips-grid > .tip-card { flex: 1 1 100%; max-width: 100%; }
.tip-card {
  display: grid;
  align-content: start;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 253, 248, .85);
  box-shadow: 0 0 0 1px var(--border), 0 10px 26px -18px rgba(30, 45, 64, .3);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.tip-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(201, 169, 110, .55), var(--shadow-hover); }
.tip-medal {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #FFFFFF 0%, #FBF4E8 60%, #F1E2CA 100%);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .7), 0 0 0 4px var(--ivory), 0 0 0 5px rgba(201, 169, 110, .3), 0 10px 18px -10px rgba(155, 122, 63, .6);
  font-size: 1.75rem;
  line-height: 1;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}
.tip-title {
  font-family: var(--f-serif);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 4px 0 4px;
}
.tip-text { font-size: .84rem; line-height: 1.6; color: var(--text-light); }

/* =====================================================================
   MURAL DE RECADOS
   ===================================================================== */
.sec-mural {
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(255, 253, 248, .9), transparent 70%),
    linear-gradient(180deg, var(--cream-alt) 0%, #F2E8D9 100%);
}
.sec-mural::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/art/pattern-florals.svg') center / 380px auto repeat;
  opacity: .28;
  pointer-events: none;
}
.mural-count {
  text-align: center;
  margin: -18px 0 34px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-dark);
}
.notes-grid {
  --cols: 1;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: 0 28px;
  max-width: calc(var(--cols) * 400px);
  margin: 0 auto;
  padding: 14px 6px 0;
}
.notes-col { min-width: 0; }
.note-card {
  --rot: 0deg;
  position: relative;
  display: block;
  margin: 0 0 30px;
  padding: 36px 26px 22px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 40%),
    linear-gradient(135deg, #FFFEFA 0%, #FBF5EA 100%);
  box-shadow: 0 0 0 1px rgba(219, 205, 184, .7), 0 1px 2px rgba(60, 40, 20, .06), 0 18px 30px -20px rgba(60, 40, 20, .45);
  rotate: var(--rot);
  transition: rotate .6s var(--ease-out), transform .6s var(--ease-out), box-shadow .6s;
}
.note-card:hover { rotate: 0deg; transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(201, 169, 110, .6), 0 26px 40px -22px rgba(60, 40, 20, .5); }
.note-card::before {
  content: '\201C';
  position: absolute;
  top: 2px;
  left: 14px;
  font-family: var(--f-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: .32;
  pointer-events: none;
}
.note-card::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(201, 169, 110, .22);
  border-radius: 2px;
  pointer-events: none;
}
.note-seal {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #FBEAE6;
  background: radial-gradient(circle at 34% 30%, #DDA59B 0%, #C4837A 45%, #A2584E 100%);
  box-shadow: 0 0 0 3px rgba(162, 88, 78, .18), 0 4px 10px -2px rgba(120, 50, 40, .45), inset 0 0 0 2px rgba(255, 255, 255, .12);
  z-index: 1;
}
.note-seal .icon { width: 15px; height: 15px; }
.note-text {
  position: relative;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #3A332E;
  overflow-wrap: anywhere;
}
.note-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(201, 169, 110, .3);
}
.note-name {
  font-family: var(--f-script);
  font-size: 1.85rem;
  line-height: 1.1;
  color: var(--gold-dark);
  overflow-wrap: anywhere;
}
.note-date {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(107, 100, 96, .8);
  padding-bottom: 6px;
}
.mural-more { text-align: center; margin: 4px 0 10px; }

.mural-empty {
  text-align: center;
  max-width: 460px;
  margin: 0 auto 10px;
  padding: 10px 0 0;
}
.mural-empty img { width: 150px; height: auto; margin: 0 auto 14px; }
.me-title {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.me-text { margin-top: 6px; font-size: .88rem; color: var(--text-light); }

.mural-cta {
  max-width: 560px;
  margin: 46px auto 0;
  text-align: center;
  padding: 28px 22px 30px;
  border-radius: 22px;
  background: rgba(255, 253, 248, .75);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .4), 0 0 0 6px rgba(255, 253, 248, .55), 0 0 0 7px rgba(201, 169, 110, .18);
}
.mc-q { font-family: var(--f-script); font-size: 2.2rem; line-height: 1.1; color: var(--gold-dark); }
.mc-a { margin: 6px 0 18px; font-size: .86rem; color: var(--text-light); }
.mural-cta .btn { white-space: normal; text-align: center; line-height: 1.4; padding: 10px 24px; }

/* =====================================================================
   RODAPÉ
   ===================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--gold-light);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(44, 64, 96, .7), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 0 0 calc(30px + env(safe-area-inset-bottom, 0px));
}
.footer-mountain {
  width: min(980px, 140%);
  max-width: none;
  height: auto;
  margin: 0;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  opacity: .55;
}
.footer-inner { position: relative; width: min(640px, 100% - 40px); margin: -6px auto 0; }
.footer-rings { width: 76px; height: auto; margin: 0 auto 6px; }
.footer-names {
  font-family: var(--f-script);
  font-size: clamp(2.8rem, 12vw, 3.8rem);
  line-height: 1.15;
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 .2em;
}
.footer-date {
  margin-top: 4px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .5em;
  color: var(--gold);
  padding-left: .5em;
}
.footer-divider { width: 200px; height: auto; margin: 22px auto 16px; opacity: .85; }
.footer-message {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.18rem;
  color: rgba(232, 213, 176, .82);
  text-wrap: balance;
}
.footer-links { margin-top: 22px; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-light);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .35) inset;
  transition: background .3s, color .3s;
}
.to-top .icon { transform: rotate(180deg); width: 15px; height: 15px; }
.to-top:hover { background: rgba(201, 169, 110, .12); color: var(--gold); }
.admin-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: 18px;
  border-radius: 50%;
  color: rgba(232, 213, 176, .28);
  transition: color .3s, transform .6s var(--ease-out);
}
.admin-link .icon { width: 17px; height: 17px; }
.admin-link:hover, .admin-link:focus-visible { color: var(--gold); transform: rotate(60deg); }

/* =====================================================================
   MODAL · cartão de agradecimento com PIX
   ===================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 10px;
}
.modal-scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 26, .72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.modal.is-open .modal-scrim { opacity: 1; }
.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: var(--ivory);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(201, 169, 110, .4);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(.97);
  transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}
.modal.is-open .modal-card { opacity: 1; transform: none; }
.modal-card::before {
  content: '';
  position: absolute;
  inset: 9px;
  z-index: 2;
  border: 1px solid rgba(201, 169, 110, .4);
  border-radius: 17px;
  pointer-events: none;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(255, 253, 248, .92);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .5), 0 6px 14px -6px rgba(30, 45, 64, .35);
  transition: transform .45s var(--ease-out), background .3s;
}
.modal-close .icon { width: 19px; height: 19px; }
.modal-close:hover { transform: rotate(90deg); background: #fff; }
.modal-scroll {
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 40px 24px 30px;
  background:
    radial-gradient(90% 30% at 50% 0%, rgba(232, 213, 176, .35), transparent 70%),
    var(--ivory);
}
.mc-corner {
  position: absolute;
  top: 0;
  width: 112px;
  height: auto;
  opacity: .6;
  pointer-events: none;
}
.mc-tl { left: 0; }
.mc-tr { right: 0; transform: scaleX(-1); }

.mc-head { position: relative; text-align: center; padding: 0 14px; }
.mc-rings { width: 64px; height: auto; margin: 0 auto; }
.mc-head .eyebrow { margin-top: 10px; }
.mc-title {
  font-family: var(--f-serif);
  font-size: clamp(1.9rem, 7vw, 2.3rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--navy);
}
.mc-thanks {
  margin: 12px auto 0;
  max-width: 40ch;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--text-light);
}
.mc-sign {
  margin-top: 4px;
  font-family: var(--f-script);
  font-size: 2rem;
  line-height: 1.2;
  color: var(--gold-dark);
}

.mc-gift {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 22px 0 0;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FBF4E8, #F6ECDC);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .4) inset;
}
.mc-gift-media {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 38% 30%, #fff, #F7EDDC);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .7), 0 0 0 3px #fff, 0 0 0 4px rgba(201, 169, 110, .3);
  font-size: 1.6rem;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
}
.mc-gift-media img { width: 100%; height: 100%; object-fit: cover; }
.mc-gift-media img.art { width: 70%; height: auto; object-fit: contain; }
.mc-gift-info { min-width: 0; }
.mc-gift-label { font-size: .56rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); }
.mc-gift-title {
  font-family: var(--f-serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.mc-gift-price {
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
}

.mc-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}
.mc-sub .icon { color: var(--gold-dark); width: 22px; height: 22px; }
.pix { margin-top: 26px; }
.pix-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 0;
}
.pix-steps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: .7rem;
  line-height: 1.4;
  color: var(--text-light);
}
.ps-n {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--f-serif);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy-deep);
  background: var(--gold-btn);
  box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px rgba(201, 169, 110, .45);
}

.qr-card {
  position: relative;
  width: min(270px, 100%);
  margin: 22px auto 0;
  padding: 16px 16px 12px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, .7),
    0 0 0 6px #FFFFFF,
    0 0 0 7px rgba(201, 169, 110, .35),
    0 24px 44px -20px rgba(155, 122, 63, .55);
}
.qr-frame {
  --c: var(--gold);
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 10px;
  background:
    linear-gradient(var(--c), var(--c)) top left / 22px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 2px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 22px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 2px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 22px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 2px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 22px 2px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 2px 22px no-repeat;
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.qr-skeleton {
  position: absolute;
  inset: 12px;
  border-radius: 8px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(30, 45, 64, .06) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(0deg, rgba(30, 45, 64, .06) 0 10px, transparent 10px 20px),
    #F7F3EC;
}
.qr-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .85) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: shimmer 1.4s var(--ease) infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.qr-card:not([data-state="loading"]) .qr-skeleton { display: none; }
.qr-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px;
  text-align: center;
  font-family: var(--f-serif);
  font-size: 1.08rem;
  line-height: 1.45;
  color: var(--text);
}
.qr-msg .icon { width: 36px; height: 36px; color: var(--gold-dark); stroke-width: 1.3; }
.qr-value {
  margin-top: 8px;
  text-align: center;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-light);
}
.qr-value strong {
  display: block;
  font-family: var(--f-serif);
  font-size: 1.4rem;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--gold-dark);
}
.qr-card[data-state="error"] .qr-value,
.qr-card[data-state="integrity"] .qr-value { display: none; }
.pix.is-unavailable .pix-steps,
.pix.is-unavailable .pix-instructions { display: none; }

.pix-instructions {
  margin: 18px auto 0;
  max-width: 42ch;
  text-align: center;
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text-light);
}
.pix-copy {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: #FBF6EE;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .4) inset;
}
.pix-copy-label {
  display: block;
  margin-bottom: 8px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.pix-copy-row { display: flex; gap: 8px; }
.pix-copy-row input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border) inset;
  font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: .74rem;
  color: var(--text);
  text-overflow: ellipsis;
}
.btn-copy {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: var(--navy);
  transition: background .3s, transform .3s var(--ease-out);
}
.btn-copy:hover { background: var(--navy-deep); }
.btn-copy:active { transform: scale(.96); }
.btn-copy .icon { width: 17px; height: 17px; }
.btn-copy .ic-check { display: none; }
.btn-copy.is-copied { background: #2F6B4F; color: #F2FBF5; }
.btn-copy.is-copied .ic-copy { display: none; }
.btn-copy.is-copied .ic-check { display: inline-block; animation: pop .45s var(--ease-out); }
@keyframes pop { from { transform: scale(.4); } to { transform: none; } }
.pix-copy-hint { display: block; margin-top: 8px; font-size: .7rem; color: var(--text-light); }

.mc-divider { margin: 30px auto 22px; }
.mc-divider img { width: 190px; height: auto; margin: 0 auto; }
.note-lead { text-align: center; font-size: .82rem; color: var(--text-light); margin: 4px 0 16px; }

.hp-field {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy);
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 14px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--border) inset;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  transition: box-shadow .3s;
  resize: vertical;
}
.field textarea { min-height: 110px; font-family: var(--f-sans); }
.field input::placeholder, .field textarea::placeholder { color: #A9A099; }
.field input:focus,
.field textarea:focus { outline: none; box-shadow: 0 0 0 1.5px var(--gold) inset, 0 0 0 4px rgba(201, 169, 110, .18); }
.field.has-error input { box-shadow: 0 0 0 1.5px var(--rose) inset, 0 0 0 4px rgba(196, 131, 122, .15); }
.char-count { display: block; margin-top: 4px; text-align: right; font-size: .68rem; color: var(--text-light); }
.form-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .82rem;
  line-height: 1.5;
  color: #7A3B33;
  background: rgba(242, 220, 213, .7);
  box-shadow: 0 0 0 1px rgba(196, 131, 122, .4) inset;
}
#btn-send[disabled] { opacity: .75; cursor: progress; }
#btn-send.is-loading .icon { animation: sendFly 1s var(--ease) infinite; }
@keyframes sendFly { 0% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px); } 100% { transform: translate(0, 0); } }

.note-success { text-align: center; padding: 6px 0 4px; }
.note-success img { width: 140px; height: auto; margin: 0 auto 8px; animation: envelopeIn .9s var(--ease-out) both; }
@keyframes envelopeIn { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
.ns-title { font-family: var(--f-script); font-size: 2.4rem; font-weight: 400; line-height: 1.2; color: var(--gold-dark); }
.ns-text { margin: 4px auto 18px; max-width: 36ch; font-size: .88rem; color: var(--text-light); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: .82rem;
  color: var(--gold-light);
  background: rgba(15, 27, 43, .94);
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .4), 0 18px 40px -16px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out);
  pointer-events: none;
}
.toast .icon { color: var(--gold); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (min-width: 380px) {
  .cd-grid { gap: 10px; }
}

@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .tips-grid > .tip-card { flex-basis: calc((100% - var(--gap)) / 2); max-width: calc((100% - var(--gap)) / 2); }
  .how-steps p { font-size: .8rem; }
  .dc-card { grid-template-columns: 150px 1fr; gap: 22px; padding: 18px; }
  .tips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .modal-scroll { padding: 44px 40px 34px; }
  .pix-steps li { font-size: .74rem; }
}

@media (min-width: 760px) {
  :root { --header-h: 72px; }
  .hero-eyebrow { font-size: clamp(.62rem, calc(var(--vh) * 1.5), .74rem); max-width: none; }
  .hero-divider { width: 280px; }
  .hd-row { width: min(380px, 100%); }
  .hero-times { gap: 10px 22px; }
  .countdown { width: min(500px, 100%); }
  .cd-card { border-radius: 18px; }
  .cd-unit { font-size: .58rem; }

  .dc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .dcf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .dcf-grid.is-single { grid-template-columns: minmax(0, 520px); justify-content: center; }
  .dc-feature { padding: 36px 30px 32px; }
  .gifts-grid > .gift-card { flex: 0 1 calc((100% - var(--gap)) / 2); max-width: calc((100% - var(--gap)) / 2); }
  .dc-card { grid-template-columns: 1fr; text-align: center; padding: 20px 20px 26px; }
  .dc-arch { width: min(220px, 80%); margin: 0 auto 4px; }
  .dc-palette-label, .swatches { justify-content: center; }

  .map-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: stretch; gap: 28px; }
  .venue-card { padding: 40px 32px 28px; display: flex; flex-direction: column; justify-content: center; }
  .map-frame iframe { aspect-ratio: auto; min-height: 420px; }

  .tip-card { padding: 22px; }
  .modal { padding: 24px; }
  .modal-card { max-height: min(calc(100dvh - 48px), 940px); }
}

@media (min-width: 1080px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
  .nav-panel, .nav-scrim { display: none; }

  .dc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gifts-grid > .gift-card { flex-basis: calc((100% - 2 * var(--gap)) / 3); max-width: calc((100% - 2 * var(--gap)) / 3); }
  .tips-grid { --gap: 18px; }
  .tips-grid > .tip-card { flex-basis: calc((100% - 2 * var(--gap)) / 3); max-width: calc((100% - 2 * var(--gap)) / 3); }
  .tip-card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 24px; }
  .tip-medal { width: 70px; height: 70px; font-size: 2rem; }

  .hero-corner { opacity: .55; }
}

@media (max-width: 559px) {
  .gift-media { aspect-ratio: 2 / 1; }
  .medallion { width: 90px; height: 90px; }
  .medallion .emoji { font-size: 2.45rem; }
  .gift-media .sprig { width: 40px; }
  .gift-media .sprig-l { left: calc(50% - 100px); }
  .gift-media .sprig-r { right: calc(50% - 100px); }
  .gift-desc { -webkit-line-clamp: 3; }
  .gift-body { padding: 18px 20px 20px; }
  .hotel-media { aspect-ratio: 2 / 1; }
  .hotel-media .art { width: 46%; }
}

@media (max-width: 379px) {
  :root { --gutter: 16px; }
  .hero-eyebrow { letter-spacing: .26em; }
  .cd-unit { font-size: .5rem; letter-spacing: .14em; }
  .hd-row { gap: 12px; }
  .hd-side { letter-spacing: .24em; font-size: .64rem; }
  .gift-foot { flex-wrap: wrap; }
  .btn-gift { padding: 0 16px; }
  .dc-card { grid-template-columns: 96px 1fr; gap: 14px; }
  .venue-actions { grid-template-columns: 1fr; }
  .pix-copy-row { flex-direction: column; }
  .btn-copy { justify-content: center; }
}

/* telas largas (computador, tablet deitado): nomes numa linha só, para o hero caber na tela */
@media (min-width: 760px) and (min-aspect-ratio: 1/1) {
  .hero-names {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    font-size: clamp(3.2rem, min(7.6vw, calc(var(--vh) * 14)), 9.2rem);
  }
  .hn-amp { font-size: .5em; margin: 0 .02em; }
  .hd-day { font-size: clamp(2.3rem, calc(var(--vh) * 6.2), 4.6rem); }
  .countdown { margin-top: calc(var(--vh) * 3.2); }
}
/* tablet em pé: aproveita a altura com nomes e data maiores */
@media (min-width: 600px) and (max-aspect-ratio: 1/1) {
  .hero-names { font-size: clamp(2.5rem, min(19vw, calc(var(--vh) * 11)), 8rem); }
  .hd-day { font-size: clamp(2.3rem, calc(var(--vh) * 6.4), 4.8rem); }
  .hero-subtitle { font-size: clamp(1rem, calc(var(--vh) * 2.6), 1.6rem); }
  .hero-date { margin-top: calc(var(--vh) * 3); }
  .countdown { margin-top: calc(var(--vh) * 3.4); width: min(560px, 100%); }
  .cd-num { font-size: clamp(1.5rem, calc(var(--vh) * 4.6), 3rem); }
}

/* Movimento reduzido: os efeitos ficam ligados de propósito (ver js/main.js). */

/* ---------- Botão da música: sempre no canto superior esquerdo, acima de tudo (até da abertura) ---------- */
.music-btn {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  left: calc(env(safe-area-inset-left, 0px) + 12px);
  z-index: 10050;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #F3E7CC;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mb-ico {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 213, 176, .5);
  background: rgba(13, 26, 42, .45);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .5);
  transition: background-color .25s ease, border-color .25s ease;
}
.music-btn:hover .mb-ico { background: rgba(13, 26, 42, .68); border-color: rgba(232, 213, 176, .85); }
.music-btn:focus-visible { outline: none; }
.music-btn:focus-visible .mb-ico { outline: 2px solid #E8D5B0; outline-offset: 3px; }
.mb-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mb-ico .wv, .mb-ico .x { transition: opacity .25s ease; }
.mb-ico .x { opacity: 0; }
.music-btn.is-muted .wv { opacity: 0; }
.music-btn.is-muted .x { opacity: 1; }
.music-btn.is-playing .wv { animation: mbWave 1.8s ease-in-out infinite; }
@keyframes mbWave { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
/* o menu cede o canto para o botão enquanto a margem da tela for estreita */
@media (max-width: 1359px) {
  .nav-inner { padding-left: 46px; }
}
