﻿:root {
  --bg1: #8f6be3;
  --bg2: #b694f0;
  --bg3: #e3d6ff;
  --ink: #211a34;
  --muted: #5a4d78;
  --card: rgba(251, 246, 255, 0.76);
  --line: rgba(106, 69, 175, 0.26);
  --brand: #6f45e6;
  --brand-soft: #9b7dff;
  --shadow: 0 18px 45px rgba(45, 21, 110, 0.24);
}

* { box-sizing: border-box; min-width: 0; }
img, iframe, svg, video { max-width: 100%; }
body {
  margin: 0;
  padding-top: 64px;
  color: var(--ink);
  font-family: Manrope, sans-serif;
  background:
    radial-gradient(1100px 580px at -5% -5%, #7d58d6 0%, transparent 62%),
    radial-gradient(900px 640px at 105% 0%, #a980ea 0%, transparent 60%),
    linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 44%, var(--bg3) 100%);
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,.25);
  background: rgba(93, 61, 170, .45);
  backdrop-filter: blur(10px);
}
.topbar-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: .72rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar span {
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  gap: .4rem;
  align-items: center;
}
.topbar nav { display: flex; gap: .26rem; }
.topbar nav a {
  color: #f7f2ff;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  padding: .33rem .62rem;
  border-radius: 999px;
}
.topbar nav a:hover { background: rgba(255,255,255,.2); }

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 1rem;
}
.texture {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    radial-gradient(rgba(255,255,255,.85) .8px, transparent .8px),
    radial-gradient(rgba(42, 24, 96, .12) 1px, transparent 1px);
  background-size: 3px 3px, 11px 11px;
}
.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
}
.orb-a { width: 320px; height: 320px; background: rgba(214, 174, 255, .5); left: -80px; top: -80px; }
.orb-b { width: 350px; height: 350px; background: rgba(132, 80, 235, .42); right: -90px; bottom: -120px; }

.hero-frame {
  position: relative;
  z-index: 2;
  width: min(880px, 94vw);
  border-radius: 30px;
  padding: 2.2rem 1.4rem;
  border: 1px solid rgba(255,255,255,.46);
  background: linear-gradient(160deg, rgba(255,255,255,.74), rgba(231,215,255,.55));
  box-shadow: 0 26px 60px rgba(39, 18, 99, .35);
  backdrop-filter: blur(10px);
}
.hero-photo {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 18px;
  margin-top: 1.1rem;
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 12px 32px rgba(39,18,99,.28);
}
.kicker {
  margin: 0 0 .8rem;
  color: var(--muted);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .7rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
h1, h2, h3 {
  margin: 0 0 .6rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.08;
}
h1 { font-size: clamp(3rem, 8.4vw, 5.5rem); }
h1 span { color: var(--brand); }
.date, .place { margin: .26rem 0; font-size: 1.03rem; }
.small { color: var(--muted); font-size: .93rem; }
.hero-cta {
  margin-top: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: .84rem 1.26rem;
  background: linear-gradient(120deg, var(--brand), var(--brand-soft));
  box-shadow: 0 12px 25px rgba(103, 64, 193, .35);
}

main {
  width: min(980px, 95vw);
  margin: -1.4rem auto 2.6rem;
  display: grid;
  gap: .95rem;
  position: relative;
  z-index: 3;
}
.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  padding: 1.15rem;
}
h2 {
  font-size: clamp(1.66rem, 3.8vw, 2.05rem);
  display: flex;
  align-items: center;
  gap: .52rem;
}
h2 i { color: var(--brand); font-size: 1.08rem; }

.tree-links { display: grid; gap: .58rem; margin-top: .72rem; }
.tree-link {
  min-height: 52px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  border-radius: 14px;
  border: 1px solid rgba(111, 74, 182, .32);
  background: linear-gradient(125deg, rgba(255,255,255,.88), rgba(236,223,255,.75));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .84rem .94rem;
  transition: transform .15s ease, box-shadow .2s ease;
}
.tree-link i { color: var(--brand); }
.tree-link:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(80, 49, 155, .2); }

.countdown-love { margin: 0 0 .7rem; color: var(--muted); }
.count-grid { display: grid; grid-template-columns: repeat(4, minmax(68px, 1fr)); gap: .5rem; }
.count-box {
  border-radius: 12px;
  border: 1px solid rgba(106, 69, 175, .34);
  background: rgba(255, 251, 255, .75);
  text-align: center;
  padding: .62rem .35rem;
}
.count-box span { display: block; font-weight: 800; font-size: clamp(1.2rem, 3.8vw, 1.8rem); color: var(--brand); line-height: 1; }
.count-box small { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .64rem; }
.pulse { animation: tick 1s infinite; }
@keyframes tick { 0%,100% { box-shadow: 0 0 0 rgba(111,69,230,0);} 50% { box-shadow: 0 0 14px rgba(111,69,230,.24);} }
#countdownText { margin: .6rem 0 0; color: var(--brand); font-weight: 700; }

.maps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.map-block {
  border: 1px solid rgba(106, 69, 175, .32);
  border-radius: 14px;
  background: rgba(252, 248, 255, .7);
  padding: .72rem;
}
.map-block h3 { font-size: 1.56rem; }
.map-block p { margin: 0; color: var(--muted); font-size: .95rem; }
.map-wrap { margin: .58rem 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(106,69,175,.3); }
.map-wrap iframe { width: 100%; height: 230px; border: 0; }
.mini-link {
  text-decoration: none;
  color: var(--brand);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
}

.rota-box {
  margin-top: .85rem;
  border: 1px solid rgba(106,69,175,.3);
  border-radius: 14px;
  background: rgba(252,248,255,.7);
  padding: .85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  flex-wrap: wrap;
}
.rota-info { display: flex; align-items: center; gap: .7rem; }
.rota-info > i { font-size: 1.7rem; color: var(--brand); flex-shrink: 0; }
.rota-info strong { display: block; font-size: .98rem; color: var(--ink); }
.rota-info span { display: block; font-size: .85rem; color: var(--muted); }
.rota-btn {
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  border-radius: 999px;
  padding: .7rem 1.1rem;
  background: linear-gradient(120deg, var(--brand), var(--brand-soft));
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  box-shadow: 0 8px 18px rgba(103,64,193,.3);
  transition: opacity .2s;
}
.rota-btn:hover { opacity: .88; }
@media (max-width: 560px) {
  .rota-box { flex-direction: column; align-items: stretch; }
  .rota-btn { justify-content: center; }
}

.timeline-list { border-left: 2px solid rgba(106,69,175,.54); margin-left: .42rem; padding-left: .92rem; display: grid; gap: .62rem; }
.timeline-item {
  position: relative;
  border: 1px solid rgba(106,69,175,.3);
  border-radius: 12px;
  background: rgba(250, 245, 255, .74);
  padding: .72rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.3rem;
  top: .96rem;
  width: .62rem;
  height: .62rem;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #f0e4ff;
}
.timeline-foto {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: .6rem;
  border: 1px solid rgba(106,69,175,.22);
}
.year { margin: 0 0 .18rem; color: var(--brand); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.finale { border-color: rgba(106,69,175,.52); background: linear-gradient(155deg, #f7ecff, #e9dbff); }
.blink { animation: glow 1.08s infinite; }
@keyframes glow { 0%,100% { box-shadow: 0 0 0 rgba(106,69,175,0);} 50% { box-shadow: 0 0 20px rgba(106,69,175,.3);} }

html { scroll-behavior: smooth; }

/* Fade-in on scroll */
.card { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.card.visible { opacity: 1; transform: translateY(0); }

/* Galeria */
.galeria-grid {
  columns: 3 180px;
  column-gap: .55rem;
  margin-top: .85rem;
}
.galeria-item {
  break-inside: avoid;
  margin-bottom: .55rem;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  border: 1px solid rgba(106,69,175,.2);
}
.galeria-item img {
  width: 100%;
  display: block;
  transition: transform .25s ease, filter .25s ease;
}
.galeria-item:hover img { transform: scale(1.04); filter: brightness(1.07); }

/* Lightbox */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(15, 8, 35, .93);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}
.lb-overlay.open { display: flex; }
.lb-img {
  max-width: min(94vw, 900px);
  max-height: 88vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lb-close {
  position: fixed;
  top: 1rem; right: 1.1rem;
  background: rgba(255,255,255,.12);
  border: none; cursor: pointer;
  color: #fff; font-size: 1.3rem;
  border-radius: 50%;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
}
.lb-close:hover { background: rgba(255,255,255,.24); }
.lb-prev, .lb-next {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none; cursor: pointer;
  color: #fff; font-size: 1.4rem;
  border-radius: 50%;
  width: 2.8rem; height: 2.8rem;
  display: grid; place-items: center;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.24); }
.lb-prev { left: .8rem; }
.lb-next { right: .8rem; }
.lb-counter {
  position: fixed;
  bottom: 1rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  background: rgba(0,0,0,.35);
  padding: .3rem .7rem;
  border-radius: 999px;
}

/* Mensagem */
.mensagem-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: .85rem;
}
.mensagem-foto {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  border: 1px solid rgba(106,69,175,.28);
  box-shadow: 0 8px 24px rgba(45,21,110,.18);
}
.mensagem-texto { flex: 1; }
.mensagem-quote {
  margin: 0 0 .6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--ink);
  border: none;
  padding: 0;
}
.mensagem-assinatura { color: var(--brand); font-weight: 700; margin: 0; }

/* Traje */
.traje-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: .8rem 0; }
.traje-item {
  text-align: center;
  border: 1px solid rgba(106,69,175,.32);
  border-radius: 14px;
  background: rgba(252,248,255,.7);
  padding: 1.2rem .8rem;
}
.traje-icon { font-size: 2.2rem; color: var(--brand); margin-bottom: .5rem; }
.traje-item h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.traje-item p { margin: 0 0 .2rem; color: var(--ink); font-size: .95rem; font-weight: 600; }
.traje-item small { color: var(--muted); font-size: .82rem; }
.traje-aviso {
  margin: .4rem 0 0;
  font-size: .88rem;
  color: var(--muted);
  background: rgba(255,240,240,.55);
  border: 1px solid rgba(200,80,80,.22);
  border-radius: 10px;
  padding: .65rem .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  line-height: 1.5;
}
.traje-aviso i { color: #c05050; flex-shrink: 0; }

/* Modal Confirmar Presença */
.rsvp-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9600;
  background: rgba(15, 8, 35, .7);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 1rem;
}
.rsvp-overlay.open { display: flex; }
.rsvp-box {
  position: relative;
  width: min(420px, 100%);
  background: linear-gradient(160deg, #ffffff, #f1e9ff);
  border-radius: 20px;
  padding: 1.7rem 1.3rem 1.4rem;
  box-shadow: 0 30px 70px rgba(39, 18, 99, .4);
}
.rsvp-box h3 { font-size: 1.7rem; display: flex; align-items: center; gap: .5rem; margin: 0 0 .35rem; }
.rsvp-sub { color: var(--muted); margin: 0 0 1.1rem; font-size: .95rem; line-height: 1.5; }
.rsvp-label { display: block; font-weight: 800; color: #3c2f63; margin: .15rem 0 .35rem; font-size: .92rem; }
.rsvp-close {
  position: absolute; top: .7rem; right: .8rem;
  background: rgba(106, 69, 175, .12); border: none; color: var(--ink);
  width: 2rem; height: 2rem; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: .9rem;
}
.rsvp-close:hover { background: rgba(106, 69, 175, .22); }
.rsvp-feedback { display: block; margin-top: .55rem; color: var(--brand); font-weight: 700; text-align: center; min-height: 1rem; }

/* Barra inferior (só mobile) */
.bottombar { display: none; }

/* Stories estilo Instagram */
.stories-sub { margin: 0 0 .8rem; color: var(--muted); font-size: .9rem; }
.stories-row { display: flex; gap: .9rem; overflow-x: auto; padding: .3rem .1rem; scrollbar-width: none; }
.stories-row::-webkit-scrollbar { display: none; }
.story-ring {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  flex-shrink: 0; font-family: Manrope, sans-serif;
}
.story-ring-img {
  width: 70px; height: 70px; border-radius: 50%; padding: 3px; display: block;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.story-ring.seen .story-ring-img { background: rgba(106,69,175,.3); }
.story-ring-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.story-ring small { font-size: .72rem; color: var(--muted); font-weight: 700; max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.story-viewer { display: none; position: fixed; inset: 0; z-index: 9500; background: rgba(0,0,0,.92); align-items: center; justify-content: center; }
.story-viewer.open { display: flex; }
.story-content { position: relative; width: min(420px, 100vw); height: min(92vh, 760px); border-radius: 14px; overflow: hidden; background: #000; }
.story-bg { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-frase {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 3rem 1.5rem 2rem; color: #fff; pointer-events: none;
  font-family: "Cormorant Garamond", serif; font-size: 1.55rem; line-height: 1.4;
  font-style: italic; white-space: pre-line;
  background: linear-gradient(to top, rgba(0,0,0,.82), transparent);
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.story-bars { position: absolute; top: 0; left: 0; right: 0; display: flex; gap: 4px; padding: .55rem; z-index: 5; }
.story-bar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.story-bar i { display: block; height: 100%; width: 0; background: #fff; }
.story-close { position: absolute; top: .75rem; right: .7rem; z-index: 6; background: rgba(0,0,0,.3); border: none; color: #fff; font-size: 1.15rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.story-nav { position: absolute; top: 0; bottom: 0; width: 35%; background: none; border: none; cursor: pointer; z-index: 4; }
.story-nav-prev { left: 0; }
.story-nav-next { right: 0; }

/* Mural de Recados */
.recados-sub { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }
.recados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: .6rem;
  margin-top: .3rem;
}
.recado {
  border: 1px solid rgba(106,69,175,.26);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255,255,255,.85), rgba(236,223,255,.6));
  padding: .9rem 1rem;
  position: relative;
}
.recado-oculto { display: none; }
.recados-vermais {
  display: block;
  margin: .9rem auto 0;
  border: 1px solid rgba(106,69,175,.4);
  background: rgba(252,248,255,.7);
  color: var(--brand);
  font-family: Manrope, sans-serif; font-weight: 800; font-size: .9rem;
  border-radius: 999px; padding: .6rem 1.4rem; cursor: pointer;
  transition: background .15s;
}
.recados-vermais:hover { background: rgba(235,220,255,.8); }
.recados-vermais[hidden] { display: none; }
.recado-msg {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 .55rem;
}
.recado-nome {
  display: flex; align-items: center; gap: .4rem;
  color: var(--brand); font-weight: 800; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.recado-nome i { font-size: .9rem; }
.recados-vazio { color: var(--muted); font-size: .92rem; text-align: center; padding: .5rem 0; }

/* Presente via Pix */
.pix-widget {
  margin-top: .85rem;
  border: 1px solid rgba(106,69,175,.34);
  border-radius: 16px;
  padding: .9rem;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(238,226,255,.83));
}
.pix-widget h3 { font-size: 1.45rem; display: flex; align-items: center; gap: .45rem; margin: 0 0 .35rem; }
.pix-widget p { margin: 0 0 .55rem; color: var(--muted); font-weight: 600; }
.pix-suggestions { display: flex; flex-wrap: wrap; gap: .46rem; margin: 0 0 .6rem; }
.pix-chip {
  border: 1px solid rgba(106,69,175,.35);
  background: rgba(255,255,255,.85);
  color: var(--ink);
  border-radius: 999px;
  padding: .44rem .75rem;
  font-weight: 800;
  font-size: .88rem;
  cursor: pointer;
}
.pix-chip.is-active { color: #fff; border-color: transparent; background: linear-gradient(120deg, var(--brand), var(--brand-soft)); }
.pix-widget label { display: block; font-weight: 800; color: #3c2f63; margin-bottom: .3rem; }
.pix-widget input, .pix-widget textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(106,69,175,.32);
  background: rgba(255,255,255,.92);
  padding: .66rem .75rem;
  font: inherit;
}
.pix-widget input { min-height: 44px; margin-bottom: .62rem; }
.pix-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .52rem; margin-bottom: .56rem; }
.pix-generate, .pix-copy { margin: 0; width: 100%; justify-content: center; }
.pix-copy { min-height: 48px; }
.pix-widget textarea { min-height: 120px; resize: vertical; word-break: break-all; }
.pix-feedback { display: block; min-height: 1rem; margin-top: .35rem; font-weight: 700; color: var(--brand); }
.pix-warning {
  margin: .65rem 0 0;
  border: 1px solid rgba(224, 79, 161, .32);
  background: rgba(255, 236, 247, .85);
  border-radius: 12px;
  padding: .62rem .7rem;
  color: #4a2458;
  font-weight: 700;
  display: block;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.pix-warning i { color: #cc2f83; margin-right: .4rem; }
@media (max-width: 560px) { .pix-actions { grid-template-columns: 1fr; } }

/* Área de Presentes (abas Lista / Pix) */
.presentes-intro { color: var(--muted); margin: 0 0 1rem; line-height: 1.55; }
.pres-tabs { display: flex; gap: .5rem; margin-bottom: 1.1rem; }
.pres-tab {
  flex: 1;
  border: 1px solid rgba(106,69,175,.3);
  background: rgba(252,248,255,.7);
  color: var(--muted);
  font-family: Manrope, sans-serif; font-weight: 800; font-size: .9rem;
  border-radius: 12px; padding: .7rem .5rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  transition: background .15s, color .15s, box-shadow .2s;
}
.pres-tab i { font-size: 1rem; }
.pres-tab.is-active { color: #fff; border-color: transparent; background: linear-gradient(120deg, var(--brand), var(--brand-soft)); box-shadow: 0 6px 16px rgba(103,64,193,.28); }
.pres-panel.hidden { display: none; }
.pix-intro { margin: 0 0 .55rem; color: var(--muted); font-weight: 600; }

/* Campo de recado no mural */
.recado-toggle {
  width: 100%;
  border: 1px dashed rgba(106,69,175,.45);
  background: rgba(252,248,255,.6);
  color: var(--brand);
  font-family: Manrope, sans-serif; font-weight: 800;
  border-radius: 12px; padding: .72rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  margin-bottom: .85rem;
}
.recado-toggle:hover { background: rgba(235,220,255,.7); }
.recado-form { margin-bottom: .95rem; }
.recado-form.hidden { display: none; }

/* Wizard de Presentes */
.wiz-step.hidden { display: none; }
.wiz-q { font-family: "Cormorant Garamond", serif; font-size: clamp(1.1rem, 2.8vw, 1.35rem); margin: 0 0 1rem; line-height: 1.45; }
.wiz-row { display: grid; gap: .6rem; }
.wiz-choice {
  min-height: 52px;
  border: 1px solid rgba(111,74,182,.36);
  border-radius: 14px;
  background: linear-gradient(125deg, rgba(255,255,255,.88), rgba(236,223,255,.75));
  color: var(--ink);
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: .97rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .84rem 1rem;
  transition: transform .15s, box-shadow .2s;
}
.wiz-choice:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(80,49,155,.2); }
.wiz-choice i { color: var(--brand); }
.wiz-choice--ghost { background: transparent; border-color: rgba(106,69,175,.28); color: var(--muted); }
.wiz-choice--ghost i { color: var(--muted); }
.wiz-back {
  background: none; border: none; cursor: pointer;
  color: var(--brand); font-weight: 700; font-size: .88rem;
  margin-bottom: .8rem; padding: 0;
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: Manrope, sans-serif;
}
.wiz-back:hover { text-decoration: underline; }
.wiz-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.wiz-cat {
  border: 1px solid rgba(106,69,175,.3);
  border-radius: 14px;
  background: rgba(252,248,255,.7);
  cursor: pointer;
  padding: .85rem .5rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  font-family: Manrope, sans-serif; font-weight: 700; font-size: .8rem; color: var(--ink);
  transition: transform .15s, box-shadow .2s, background .15s;
  line-height: 1.3;
}
.wiz-cat:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(80,49,155,.18); background: rgba(235,220,255,.9); }
.wiz-cat i { font-size: 1.7rem; color: var(--brand); }
.wiz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.wiz-list li button {
  width: 100%; text-align: left;
  padding: .68rem .9rem;
  border: 1px solid rgba(106,69,175,.26);
  border-radius: 10px;
  background: rgba(252,248,255,.7);
  cursor: pointer;
  font-family: Manrope, sans-serif; font-size: .93rem; color: var(--ink);
  transition: background .15s, transform .12s;
  display: flex; align-items: center; gap: .55rem;
}
.wiz-list li button::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand-soft); flex-shrink: 0; }
.wiz-list li button:hover { background: rgba(220,200,255,.65); transform: translateX(3px); }
.wiz-item-taken { opacity: .45; cursor: not-allowed !important; text-decoration: line-through; }
.wiz-item-taken::before { background: #bbb !important; }
.wiz-badge {
  background: linear-gradient(120deg, var(--brand), var(--brand-soft));
  color: #fff; font-weight: 700; border-radius: 10px;
  padding: .6rem .9rem; margin-bottom: .85rem;
  display: flex; align-items: center; gap: .5rem; font-size: .95rem;
}
.wiz-input {
  width: 100%; margin-bottom: .6rem; padding: .72rem .9rem;
  border: 1px solid rgba(106,69,175,.34); border-radius: 10px;
  background: rgba(252,248,255,.85);
  font-family: Manrope, sans-serif; font-size: .95rem; color: var(--ink);
  display: block; resize: vertical; outline: none;
}
.wiz-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(111,69,230,.12); }
.wiz-send {
  width: 100%; padding: .84rem 1rem;
  background: linear-gradient(120deg, var(--brand), var(--brand-soft));
  border: none; border-radius: 14px;
  color: #fff; font-weight: 800; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: Manrope, sans-serif;
  box-shadow: 0 8px 20px rgba(103,64,193,.3);
  transition: opacity .2s;
}
.wiz-send:hover { opacity: .88; }
.wiz-hint { font-size: .8rem; color: var(--muted); margin: .5rem 0 0; text-align: center; }
.wiz-ok { text-align: center; padding: 1rem 0 .5rem; }
.wiz-ok > i { font-size: 3rem; color: var(--brand); display: block; margin-bottom: .7rem; }
.wiz-ok > p { font-family: "Cormorant Garamond", serif; font-size: 1.25rem; line-height: 1.55; margin: 0 0 1rem; }

/* Informações */
.info-list { display: grid; gap: .6rem; margin-top: .8rem; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  border: 1px solid rgba(106,69,175,.28);
  border-radius: 12px;
  background: rgba(252,248,255,.7);
  padding: .8rem;
}
.info-item > i { font-size: 1.45rem; color: var(--brand); margin-top: .05rem; flex-shrink: 0; }
.info-item h3 { font-size: 1rem; margin: 0 0 .18rem; font-family: Manrope, sans-serif; font-weight: 700; }
.info-item p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.info-item a { color: var(--brand); font-weight: 700; text-decoration: none; }
.info-item a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.8rem 1rem 2.6rem;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}
.site-footer i { color: #ffb3c6; }
.site-footer p { margin: .3rem 0; }
.footer-small { font-size: .8rem; opacity: .75; font-style: italic; }

@media (max-width: 760px) {
  .maps-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar nav { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .topbar nav::-webkit-scrollbar { display: none; }
  .traje-grid { grid-template-columns: 1fr; }
  .mensagem-inner { flex-direction: column; }
  .mensagem-foto { width: 100%; height: 220px; }
  .wiz-cats { grid-template-columns: repeat(2, 1fr); }

  /* sem topo no mobile — usa a barra inferior */
  .topbar { display: none; }
  body { padding-top: 0; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .bottombar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1000;
    justify-content: space-around;
    background: linear-gradient(180deg, #7a55cf, #5d3daa);
    border-top: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 -4px 16px rgba(39, 18, 99, .3);
    padding: .35rem .2rem calc(.35rem + env(safe-area-inset-bottom));
    /* promove a camada de GPU — mantém a barra estável durante o scroll no mobile */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .bottombar a {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; gap: .14rem;
    text-decoration: none;
    color: rgba(255,255,255,.82);
    font-size: .62rem; font-weight: 700;
    padding: .3rem 0; border-radius: 12px;
  }
  .bottombar a i { font-size: 1.4rem; line-height: 1; }
  .bottombar a:active { background: rgba(255,255,255,.16); color: #fff; }
  .hero { min-height: auto; padding: .8rem .8rem 1.4rem; }
  .hero-photo { max-height: 200px; margin-top: .85rem; }
  .stories-row { padding-right: 1.2rem; }
  .map-wrap iframe { height: 190px; }
  .hero-frame { padding: 1rem .82rem 1.2rem; border-radius: 18px; }
  .kicker { font-size: .61rem; letter-spacing: .1em; }
  h1 { font-size: clamp(2.1rem, 10vw, 3rem); }
  h2 { font-size: 1.4rem; }
  .date, .place { font-size: .94rem; }
  .hero-cta { width: 100%; justify-content: center; }
  main { margin-top: -1rem; width: 94vw; gap: .72rem; }
  .card { border-radius: 16px; padding: .85rem; }
  .count-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline-list { margin-left: .18rem; padding-left: .76rem; }
  .timeline-item::before { left: -1.06rem; }

  /* Story em tela cheia, como o Instagram */
  .story-content { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  .story-frase { font-size: 1.4rem; padding: 2.6rem 1.3rem 2rem; }
  .pix-suggestions { justify-content: space-between; }
  .pix-chip { flex: 1; text-align: center; }
}

@media (max-width: 400px) {
  h1 { font-size: clamp(2rem, 11vw, 2.6rem); }
  .hero-frame { padding: .9rem .7rem; }
  .count-box span { font-size: 1.5rem; }
  .story-ring-img { width: 60px; height: 60px; }
  .story-ring small { max-width: 64px; font-size: .68rem; }
  .tree-link { font-size: .9rem; }
}
