/* =========================================================
   Convite Interativo · Especial de Natal · Batista Casa
   ========================================================= */

@font-face { font-family: "Great Vibes"; src: url("../assets/fonts/great-vibes-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../assets/fonts/cinzel-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --red-950: #3a0207;
  --red-900: #4f040b;
  --red-800: #6d0710;
  --red-700: #8c0b15;
  --red-600: #a5131d;
  --gold-50: #fff6d6;
  --gold-200: #f6dc8c;
  --gold-400: #e2b552;
  --gold-600: #b98428;
  --gold-800: #7a5212;
  --cream: #fbf0e2;
  --cream-dim: rgba(251, 240, 226, .78);
  --sage: #8fb3a0;

  --ease-screen: cubic-bezier(.77, 0, .18, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --gold-text: linear-gradient(180deg, #fff6d0 0%, #f6d47c 28%, #d39a35 52%, #f7dc8e 72%, #a26e1c 100%);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: #2a0105;
  color: var(--cream);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }

/* ---------- Moldura (no computador vira um "celular" centralizado) ---------- */
#app {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--red-800);
  isolation: isolate;
}
@media (min-width: 520px) {
  body { background: radial-gradient(ellipse at center, #4a0309 0%, #1c0003 70%); }
  #app { box-shadow: 0 0 80px rgba(0,0,0,.6); }
}

/* ---------- Telas ---------- */
.screen {
  position: absolute;
  inset: 0;
  z-index: 1;
  visibility: hidden;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  will-change: transform;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(120% 75% at 50% 42%, var(--red-600) 0%, var(--red-700) 38%, var(--red-800) 70%, var(--red-900) 100%);
}
.screen.is-active { visibility: visible; }
.screen::-webkit-scrollbar { display: none; }

.screen.inner {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    linear-gradient(180deg, var(--red-800) 0%, var(--red-900) 55%, var(--red-950) 100%);
  background-attachment: local, local;
}

/* ---------- Brilhos ---------- */
#sparkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* ---------- Botão de música ---------- */
.music-btn {
  position: absolute;
  z-index: 8;
  top: calc(var(--sat) + 12px);
  right: 12px;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-200);
  background: rgba(40, 0, 4, .35);
  border: 1px solid rgba(246, 220, 140, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), top .5s var(--ease-out);
}
.opened .music-btn { opacity: 1; transform: none; transition-delay: 1.2s; }
.music-btn .note { width: 20px; height: 20px; }
.music-btn .bars { display: none; gap: 3px; align-items: flex-end; height: 16px; }
.music-btn .bars i { display: block; width: 3px; background: currentColor; border-radius: 2px; animation: bar 1s ease-in-out infinite; }
.music-btn .bars i:nth-child(2) { animation-delay: -.3s; }
.music-btn .bars i:nth-child(3) { animation-delay: -.6s; }
.music-btn .bars i:nth-child(4) { animation-delay: -.15s; }
.music-btn.playing .bars { display: flex; }
.music-btn.playing .note { display: none; }
@keyframes bar { 0%,100% { height: 4px; } 50% { height: 16px; } }
.in-inner .music-btn { top: calc(var(--sat) + 9px); }

/* =========================================================
   ABERTURA
   ========================================================= */
#intro {
  position: absolute;
  inset: 0;
  z-index: 20;
  cursor: pointer;
  outline: none;
}
.intro-half {
  position: absolute;
  left: 0; right: 0;
  height: 50.5%;
  background:
    radial-gradient(130% 90% at 50% 100%, var(--red-700) 0%, var(--red-900) 70%, var(--red-950) 100%);
  transition: transform 1.1s var(--ease-screen);
}
.intro-top { top: 0; border-bottom: 1px solid rgba(246,220,140,.35); }
.intro-bottom {
  bottom: 0;
  background: radial-gradient(130% 90% at 50% 0%, var(--red-700) 0%, var(--red-900) 70%, var(--red-950) 100%);
}
.intro-top::after, .intro-bottom::after {
  content: ""; position: absolute; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,220,140,.6), transparent);
}
.intro-top::after { bottom: 14px; }
.intro-bottom::after { top: 14px; }

.intro-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  transition: opacity .5s ease, transform .8s var(--ease-out);
}
.intro-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--cream-dim);
  animation: fadeUp 1s var(--ease-out) .2s both;
}
.intro-title {
  margin: 0 0 18px;
  font-family: "Great Vibes", cursive;
  font-size: 64px;
  line-height: 1;
  color: var(--cream);
  text-shadow: 0 4px 20px rgba(0,0,0,.35);
  animation: fadeUp 1s var(--ease-out) .4s both;
}
.seal {
  position: relative;
  width: 112px; height: 112px;
  border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 35% 30%, #fff3c2 0%, #e9be5c 30%, #b47d22 70%, #7a5212 100%);
  box-shadow:
    inset 0 2px 6px rgba(255,255,255,.55),
    inset 0 -6px 14px rgba(90,50,5,.55),
    0 10px 30px rgba(0,0,0,.45),
    0 0 50px rgba(246,220,140,.35);
  animation: sealIn 1.1s var(--ease-out) .6s both, sealPulse 2.6s ease-in-out 1.8s infinite;
}
.seal svg { width: 58px; height: 58px; color: #7a1010; filter: drop-shadow(0 1px 0 rgba(255,240,200,.6)); }
.seal-ring {
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(246,220,140,.55);
  animation: ring 2.6s ease-out 1.8s infinite;
}
.intro-tap {
  margin: 26px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-200);
  animation: fadeUp 1s var(--ease-out) 1s both, blink 2s ease-in-out 2s infinite;
}
@keyframes sealIn { from { opacity: 0; transform: scale(.3) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes sealPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

#intro.opening .intro-content { opacity: 0; transform: scale(1.25); }
#intro.opening .seal { animation: sealBurst .6s ease-out forwards; }
#intro.opening .intro-top { transform: translateY(-101%); transition-delay: .25s; }
#intro.opening .intro-bottom { transform: translateY(101%); transition-delay: .25s; }
#intro.gone { display: none; }
@keyframes sealBurst { to { transform: scale(2.2); opacity: 0; filter: brightness(1.8); } }

/* =========================================================
   DECORAÇÃO (ramos)
   ========================================================= */
.decor-layer, .inner-decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.inner-decor { position: absolute; height: 520px; bottom: auto; }
.decor { position: absolute; }
.decor svg { width: 100%; height: auto; overflow: visible; }
.decor .sway { transform-box: view-box; animation: sway 7s ease-in-out infinite; }
.decor .sway.s2 { animation-duration: 9s; animation-delay: -3s; }
.decor .sway.s3 { animation-duration: 8s; animation-delay: -5s; }
@keyframes sway { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(2.2deg); } }

.d-tr { top: -2%; right: -14%; width: 74%; max-width: 360px; transform-origin: 100% 0; }
.d-tl { top: 1%; left: -4%; width: 44%; max-width: 210px; transform-origin: 0 0; }
.d-bl { bottom: -3%; left: -12%; width: 62%; max-width: 300px; transform-origin: 0 100%; }
.d-br { bottom: 13%; right: -3%; width: 30%; max-width: 150px; transform-origin: 100% 100%; }
.d-inner-r { top: 8px; right: -18%; width: 62%; max-width: 300px; opacity: .55; transform-origin: 100% 0; }
.d-inner-l { top: 4px; left: -18%; width: 62%; max-width: 300px; opacity: .5; transform-origin: 0 0; }

/* entrada das decorações */
#home .decor { opacity: 0; transition: opacity 1.4s ease, transform 1.8s var(--ease-out); }
#home .d-tr { transform: translate(30%, -30%) rotate(14deg); }
#home .d-tl { transform: translate(-30%, -20%) rotate(-10deg); }
#home .d-bl { transform: translate(-30%, 30%) rotate(-12deg); }
#home .d-br { transform: translate(30%, 20%) rotate(10deg); }
#home.play .decor { opacity: 1; transform: none; }
#home.play .d-tl, #home.play .d-br { transition-delay: .35s; }

.gold-line path, .gold-line line { stroke-dasharray: 600; stroke-dashoffset: 600; }
#home.play .gold-line path, #home.play .gold-line line,
.screen.inner .gold-line path { animation: draw 3.2s ease forwards .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.glitter { animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .2; } 50% { opacity: 1; } }

/* =========================================================
   TELA INICIAL
   ========================================================= */
.home-inner {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding:
    calc(var(--sat) + clamp(14px, 3.2vh, 34px))
    20px
    calc(var(--sab) + clamp(10px, 2.2vh, 22px));
  gap: clamp(8px, 1.6vh, 16px);
}
.home-top, .home-mid, .home-bottom { width: 100%; display: flex; flex-direction: column; align-items: center; }

/* animação genérica de entrada (tela inicial) */
.a { opacity: 0; transform: translateY(18px); }
#home.play .a { animation: rise .9s var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
#home.replay .a { animation-duration: .7s; animation-delay: calc(var(--d, 0s) * .35); }

.star-wrap { position: relative; width: clamp(30px, 5.5vh, 46px); aspect-ratio: 1; margin-bottom: clamp(4px, 1vh, 10px); }
.star { width: 100%; height: 100%; color: var(--gold-200); filter: drop-shadow(0 0 6px rgba(255,220,130,.9)); animation: starSpin 14s linear infinite; }
.star-glow { position: absolute; inset: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(255,226,150,.55) 0%, rgba(255,226,150,0) 65%); animation: glow 3s ease-in-out infinite; }
@keyframes starSpin { to { transform: rotate(360deg); } }
@keyframes glow { 0%,100% { opacity: .6; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }

.kicker {
  margin: 0;
  font-size: clamp(9.5px, 1.65vh, 12.5px);
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.event-name {
  margin: 4px 0 0;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: clamp(13px, 2.3vh, 17px);
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.title { margin: clamp(4px, 1.4vh, 14px) 0 0; display: flex; flex-direction: column; align-items: center; line-height: 1; font-weight: 400; }
.t-script {
  font-family: "Great Vibes", cursive;
  font-size: clamp(48px, 9.4vh, 80px);
  color: var(--cream);
  text-shadow: 0 3px 14px rgba(0,0,0,.35);
  padding: 0 .12em;
  line-height: 1.05;
}
.a-write { display: inline-block; clip-path: inset(-20% 100% -20% 0); }
#home.play .a-write { animation: write 1.5s cubic-bezier(.55,.1,.3,1) var(--d, 0s) forwards; }
#home.replay .a-write { animation-duration: .9s; animation-delay: .15s; }
@keyframes write { to { clip-path: inset(-20% -5% -20% 0); } }

.t-do {
  font-family: "Great Vibes", cursive;
  font-size: clamp(22px, 4vh, 34px);
  color: var(--cream);
  margin: -.15em 0 -.12em;
}
.t-gold {
  display: flex;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: clamp(62px, 12.6vh, 108px);
  letter-spacing: .02em;
  line-height: .95;
  filter: drop-shadow(0 2px 0 #6a440d) drop-shadow(0 5px 0 rgba(70,30,0,.5)) drop-shadow(0 12px 18px rgba(0,0,0,.45));
}
.gl {
  display: inline-block;
  background:
    linear-gradient(110deg, transparent 38%, rgba(255,255,255,.85) 50%, transparent 62%) no-repeat,
    var(--gold-text);
  background-size: 300% 100%, 100% 100%;
  background-position: 160% 0, 0 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(-40px) scale(1.3);
}
#home.play .gl {
  animation:
    drop .9s var(--ease-out) calc(1.05s + var(--i) * .09s) both,
    shine 5s ease-in-out calc(2.4s + var(--i) * .08s) infinite;
}
#home.replay .gl { animation-delay: calc(.3s + var(--i) * .05s), calc(1.2s + var(--i) * .08s); }
@keyframes drop { from { opacity: 0; transform: translateY(-40px) scale(1.3); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes shine { 0% { background-position: 160% 0, 0 0; } 35%,100% { background-position: -60% 0, 0 0; } }

/* Data */
.date { display: flex; flex-direction: column; align-items: center; }
.date-month {
  margin: 0 0 4px;
  font-size: clamp(11px, 1.8vh, 13.5px);
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.date-row { display: flex; align-items: center; }
.date-side {
  font-size: clamp(10px, 1.7vh, 12.5px);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-top: 1px solid rgba(251,240,226,.55);
  border-bottom: 1px solid rgba(251,240,226,.55);
  min-width: 96px;
}
.date-day {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 6.6vh, 54px);
  line-height: 1;
  padding: 0 14px;
  border-left: 1px solid rgba(251,240,226,.55);
  border-right: 1px solid rgba(251,240,226,.55);
}
.address {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: clamp(8px, 1.6vh, 14px);
  font-size: clamp(9.5px, 1.55vh, 11.5px);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px dashed rgba(246,220,140,.5);
  padding-bottom: 2px;
}
.address svg { width: 14px; height: 14px; color: var(--gold-200); flex: none; }

/* Contagem regressiva */
.countdown { margin-top: clamp(10px, 2vh, 18px); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cd-label { font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-200); }
.cd-boxes { display: flex; gap: 8px; }
.cd {
  width: clamp(54px, 15vw, 64px);
  padding: clamp(5px, 1vh, 8px) 0 clamp(4px, .8vh, 7px);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(246,220,140,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.cd b { display: block; font-weight: 600; font-size: clamp(17px, 3vh, 23px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd span { display: block; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-dim); }
.cd b.tick { animation: tick .45s var(--ease-out); }
@keyframes tick { from { transform: translateY(-6px); opacity: .3; } to { transform: none; opacity: 1; } }
.countdown.today .cd-boxes { display: none; }
.countdown.today .cd-label { font-size: 13px; }

/* Pílulas */
.quick { display: flex; gap: 8px; margin-top: clamp(10px, 1.8vh, 16px); }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--cream);
  background: rgba(40,0,4,.28);
  border: 1px solid rgba(246,220,140,.4);
  transition: transform .2s, background .2s;
}
.pill svg { width: 16px; height: 16px; color: var(--gold-200); }
.pill:active { transform: scale(.96); background: rgba(246,220,140,.15); }
.pill.wide { width: 100%; padding: 12px 14px; font-size: 13px; }

/* Botões principais */
.home-bottom { gap: 10px; }
.btn {
  position: relative;
  width: 100%;
  max-width: 330px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: clamp(12px, 2vh, 16px) 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform .2s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-gold {
  color: #4a0a0a;
  background: linear-gradient(180deg, #fff0bd 0%, #f2cc6c 40%, #d29a36 100%);
  box-shadow: 0 6px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.8), inset 0 -2px 0 rgba(120,70,0,.35);
  animation: pulse 2.8s ease-in-out infinite;
}
.btn-gold::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-20deg);
  animation: sweep 3.6s ease-in-out infinite 2.6s;
}
.btn-ghost {
  color: var(--gold-200);
  border: 1.5px solid var(--gold-400);
  background: rgba(40,0,4,.3);
}
@keyframes pulse { 0%,100% { box-shadow: 0 6px 22px rgba(0,0,0,.35), 0 0 0 0 rgba(246,220,140,.5), inset 0 1px 0 rgba(255,255,255,.8); } 50% { box-shadow: 0 6px 22px rgba(0,0,0,.35), 0 0 0 9px rgba(246,220,140,0), inset 0 1px 0 rgba(255,255,255,.8); } }
@keyframes sweep { 0% { left: -60%; } 40%,100% { left: 130%; } }

.home-logo { width: clamp(86px, 26vw, 112px); margin-top: clamp(4px, 1vh, 10px); filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }

/* Telas baixas: compacta */
@media (max-height: 640px) {
  .quick .pill { padding: 7px 12px; font-size: 11px; }
  .countdown { margin-top: 8px; }
  .home-logo { width: 78px; }
}
@media (max-height: 580px) {
  .kicker { display: none; }
  .cd-label { display: none; }
  .home-logo { display: none; }
}

/* =========================================================
   TELAS INTERNAS
   ========================================================= */
.inner-head {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(var(--sat) + 10px) 64px 10px 12px;
  background: linear-gradient(180deg, rgba(79,4,11,.96) 0%, rgba(79,4,11,.85) 70%, rgba(79,4,11,0) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.back {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 14px 9px 8px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--gold-200);
  border: 1px solid rgba(246,220,140,.4);
  background: rgba(40,0,4,.35);
}
.back svg { width: 18px; height: 18px; }
.head-logo { width: 74px; opacity: .9; }

.inner-body {
  position: relative;
  z-index: 2;
  padding: 6px 24px calc(var(--sab) + 36px);
  max-width: 480px;
  margin: 0 auto;
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--rd, 0s); }
.reveal.in { opacity: 1; transform: none; }

.inner-hero { text-align: center; padding: 18px 0 8px; }
.star.small { width: 30px; height: 30px; margin: 0 auto 10px; }
.inner-kicker { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-dim); }
.inner-title { margin: 4px 0 0; line-height: 1; font-weight: 400; display: flex; flex-direction: column; align-items: center; }
.inner-title .t-script { font-size: 58px; }
.t-gold-sm {
  font-family: "Cinzel", serif; font-weight: 700;
  font-size: 34px; letter-spacing: .08em;
  background: var(--gold-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #6a440d) drop-shadow(0 6px 10px rgba(0,0,0,.35));
}

.inner-body p { font-size: 15.5px; line-height: 1.75; color: var(--cream); margin: 0 0 16px; }
.inner-body p.lead { font-size: 17px; line-height: 1.7; margin-top: 18px; }
.inner-body em { font-style: normal; color: var(--gold-200); font-weight: 600; }

.sec {
  display: flex; align-items: center; gap: 12px;
  margin: 34px 0 12px;
  font-family: "Cinzel", serif; font-weight: 700;
  font-size: 17px; letter-spacing: .06em;
  color: var(--gold-200);
}
.sec-n {
  flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 600;
  color: #4a0a0a;
  background: linear-gradient(180deg, #fff0bd, #d29a36);
}
.sec::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(246,220,140,.5), transparent); }

.verse {
  position: relative;
  margin: 6px 0 18px;
  padding: 22px 20px 18px 22px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,240,200,.1), rgba(255,240,200,.03));
  border: 1px solid rgba(246,220,140,.28);
  overflow: hidden;
}
.verse::before {
  content: "\201C";
  position: absolute; top: -18px; right: 12px;
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 110px; line-height: 1; color: rgba(246,220,140,.16);
}
.verse::after {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold-200), var(--gold-600));
  transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease-out) .35s;
}
.verse.in::after { transform: scaleY(1); }
.inner-body .verse p {
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500;
  font-size: 21px; line-height: 1.45; margin: 0 0 10px; color: var(--gold-50);
}
.verse cite { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }

.inner-body p.closing { margin-top: 30px; font-size: 16.5px; }
.inner-body p.merry {
  margin: 26px 0 0; text-align: center;
  font-family: "Great Vibes", cursive; font-size: 56px; line-height: 1.1;
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.35));
}
.inner-body p.sign { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--cream-dim); margin: 0 0 30px; }

.cta-card {
  margin-top: 26px;
  padding: 24px 20px 20px;
  border-radius: 22px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: linear-gradient(180deg, rgba(255,240,200,.12), rgba(255,240,200,.04));
  border: 1px solid rgba(246,220,140,.35);
}
.inner-body .cta-card p { margin: 0; }
.inner-body p.cta-kicker { font-family: "Great Vibes", cursive; font-size: 38px; line-height: 1; color: var(--cream); }
.inner-body p.cta-date { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-200); margin-bottom: 6px; }
.cta-card .btn, .cta-card .pill { max-width: none; }

/* Igreja */
.church-hero { text-align: center; padding: 22px 0 6px; }
.church-logo { width: 72%; max-width: 280px; margin: 0 auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
.church-tag { font-family: "Great Vibes", cursive; font-size: 34px !important; line-height: 1.2 !important; color: var(--gold-200) !important; margin: 10px 0 8px !important; }

.card {
  margin: 16px 0;
  padding: 20px 20px 18px;
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(255,240,200,.1), rgba(255,240,200,.03));
  border: 1px solid rgba(246,220,140,.26);
}
.card-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 12px;
  font-family: "Cinzel", serif; font-weight: 700; font-size: 15px; letter-spacing: .1em;
  color: var(--gold-200);
}
.card-title svg { width: 20px; height: 20px; }
.inner-body .card p { font-size: 15px; margin-bottom: 10px; }
.inner-body .card p:last-child { margin-bottom: 0; }
.inner-body .card p.addr { font-size: 15.5px; line-height: 1.6; margin-bottom: 14px; }

.pastors { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pastors li {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 10px 8px 8px;
  border-radius: 14px;
  background: rgba(40,0,4,.25);
  opacity: 0; transform: translateX(-16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.card.in .pastors li { opacity: 1; transform: none; }
.card.in .pastors li:nth-child(2) { transition-delay: .12s; }
.card.in .pastors li:nth-child(3) { transition-delay: .24s; }
.avatar {
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Cinzel", serif; font-weight: 700; font-size: 15px;
  color: #4a0a0a;
  background: radial-gradient(circle at 35% 30%, #fff3c2, #e2b552 55%, #a8741f);
  box-shadow: 0 3px 10px rgba(0,0,0,.3);
}
.p-name { font-weight: 600; font-size: 15.5px; }

.btn-row { display: flex; gap: 10px; }
.btn-row .pill { flex: 1; padding: 11px 10px; font-size: 12.5px; }

.socials { display: grid; gap: 10px; }
.social {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(40,0,4,.3);
  border: 1px solid rgba(246,220,140,.22);
  transition: transform .2s;
}
.social:active { transform: scale(.98); }
.s-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; }
.s-ico svg { width: 24px; height: 24px; }
.social.ig .s-ico { background: linear-gradient(45deg, #f9b233 0%, #e1306c 50%, #833ab4 100%); }
.social.yt .s-ico { background: #e62117; }
.s-txt { display: flex; flex-direction: column; }
.s-txt b { font-size: 15px; }
.s-txt small { font-size: 12.5px; color: var(--cream-dim); }

/* =========================================================
   PAINEL AGENDA + AVISO
   ========================================================= */
.sheet { position: absolute; inset: 0; z-index: 15; visibility: hidden; }
.sheet.open { visibility: visible; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15,0,2,.55); opacity: 0; transition: opacity .35s; }
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 18px calc(var(--sab) + 18px);
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, #7a0a13, #4f040b);
  border-top: 1px solid rgba(246,220,140,.45);
  box-shadow: 0 -10px 40px rgba(0,0,0,.4);
  transform: translateY(105%);
  transition: transform .5s var(--ease-screen);
  display: flex; flex-direction: column; gap: 10px;
}
.sheet.open .sheet-panel { transform: none; }
.sheet-grip { align-self: center; width: 40px; height: 4px; border-radius: 4px; background: rgba(251,240,226,.35); margin-bottom: 6px; }
.sheet-title { margin: 0 0 4px; text-align: center; font-family: "Cinzel", serif; font-weight: 700; letter-spacing: .1em; color: var(--gold-200); }
.sheet-opt {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 16px;
  background: rgba(255,240,200,.08); border: 1px solid rgba(246,220,140,.25);
}
.sheet-opt svg { width: 24px; height: 24px; color: var(--gold-200); flex: none; }
.sheet-opt span { display: flex; flex-direction: column; }
.sheet-opt b { font-size: 15px; }
.sheet-opt small { font-size: 12px; color: var(--cream-dim); }
.sheet-cancel { padding: 12px; font-weight: 600; color: var(--cream-dim); }

.toast {
  position: absolute; z-index: 16;
  left: 50%; bottom: calc(var(--sab) + 26px);
  transform: translate(-50%, 30px);
  padding: 11px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: #4a0a0a;
  background: linear-gradient(180deg, #fff0bd, #e2b552);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease-out);
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Menos movimento para quem prefere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
