/* ============================================================
   AURORA MARIA · 1 ANINHO — Convite encantado
   Paleta: céu azul · flor de cerejeira · dourado real
   ============================================================ */

:root {
  --azul-ceu: #5bb8ff;
  --azul-profundo: #2b6fb0;
  --rosa-flor: #ff8fc4;
  --rosa-medio: #ffb2d8;
  --rosa-claro: #ffd3e8;
  --rosa-suave: #fff0f7;
  --dourado: #f3cf6b;
  --dourado-escuro: #c9a23a;
  --branco-castelo: #fffafd;
  --roxo-real: #5b3d8f;
  --texto: #5a3a63;
  --texto-suave: #8a6d92;

  --sombra-suave: 0 18px 45px -18px rgba(91, 61, 143, .45);
  --sombra-cartao: 0 30px 60px -25px rgba(91, 61, 143, .55);
  --fonte-nome: 'Love Light', cursive;
  --fonte-titulo: 'Cinzel', serif;
  --fonte-elegante: 'Cormorant Garamond', serif;
  --fonte-texto: 'Quicksand', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-texto);
  color: var(--texto);
  background:
    linear-gradient(180deg,
      #cdeeff 0%,
      #d9f0ff 12%,
      var(--rosa-suave) 45%,
      #fff6fb 100%);
  background-color: #eaf6ff;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }

/* ===== Camadas fixas de fundo ===== */
#petalas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.brilhos {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.brilho {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  animation: cintilar var(--dur, 4s) ease-in-out infinite;
  opacity: 0;
}
.brilho::before {
  content: "";
  position: absolute;
  inset: -4px;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0%, rgba(243,207,107,.4) 40%, transparent 70%);
  border-radius: 50%;
}
@keyframes cintilar {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ============================================================
   HERO
   ============================================================ */
/* trilho alto: dá "espaço de scroll" enquanto o hero fica fixo (pin) */
.hero {
  position: relative;
  height: 220vh;
}
/* o que fica preso na tela durante a revelação das princesas */
.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(5vh, 11vh, 15vh);
  text-align: center;
  overflow: hidden;
}

.hero__cena {
  position: absolute;
  inset: 0;
}

.hero__fundo {
  position: absolute;
  inset: 0;
  /* castelo estático = fallback REAL quando o vídeo não toca (autoplay bloqueado,
     "reduzir movimento", decodificação/GPU). Enquadramento igual ao do vídeo
     (center 30% / cover) → transição imperceptível. Degradê é a última reserva. */
  background:
    url("../imagens/fundo-hero.jpg") center 30% / cover no-repeat,
    linear-gradient(180deg, #6db6ff 0%, #a9d8ff 44%, #ffd7ec 100%);
  background-color: #a9d8ff;
}

/* Vídeo de fundo: estático (sem transform) pra rodar direto na GPU = fluido */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero__video.ativo { opacity: 1; }

.hero__vinheta {
  position: absolute;
  inset: 0;
  /* topo escurecido (legibilidade do título sobre o vídeo) + base fundindo no rosa */
  background:
    linear-gradient(180deg,
      rgba(26, 30, 68, .52) 0%,
      rgba(26, 30, 68, .34) 26%,
      rgba(26, 30, 68, .17) 46%,
      rgba(26, 30, 68, .06) 58%,
      transparent 70%,
      rgba(255, 240, 247, .22) 86%,
      var(--rosa-suave) 100%);
}

.hero__conteudo {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 100%;
  padding: 2rem 1.2rem;
  animation: entradaHero 1.4s cubic-bezier(.2,.8,.2,1) both;
}
.hero__nome, .hero__saudacao { max-width: 100%; overflow-wrap: break-word; }
@keyframes entradaHero {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__saudacao {
  font-family: var(--fonte-elegante);
  font-style: italic;
  font-size: clamp(.95rem, 3.2vw, 1.7rem);
  color: #fff;
  letter-spacing: .5px;
  text-shadow: 0 1px 3px rgba(20,25,55,.6), 0 2px 14px rgba(43,111,176,.5);
  margin-bottom: .2rem;
}

.hero__nome {
  font-family: var(--fonte-nome);
  font-weight: 400;
  font-size: clamp(2.4rem, 12vw, 11rem);
  line-height: .95;
  color: #fff;
  text-shadow:
    0 1px 0 #ffe9f6,
    0 0 18px rgba(255,255,255,.85),
    0 0 42px rgba(255,143,196,.7),
    0 12px 40px rgba(43,111,176,.55);
  background: linear-gradient(180deg, #ffffff 0%, #fff2fa 55%, #ffd9ec 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(35,40,85,.5)) drop-shadow(0 8px 22px rgba(91,61,143,.4));
  animation: brilhoNome 5s ease-in-out infinite;
}
@keyframes brilhoNome {
  0%, 100% { filter: drop-shadow(0 2px 8px rgba(35,40,85,.5)) drop-shadow(0 8px 22px rgba(91,61,143,.4)) brightness(1); }
  50% { filter: drop-shadow(0 2px 8px rgba(35,40,85,.5)) drop-shadow(0 10px 28px rgba(255,143,196,.55)) brightness(1.06); }
}

.hero__divisor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin: .6rem auto 1rem;
  max-width: 340px;
}
.hero__divisor span {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dourado), transparent);
}
.coroa {
  width: 30px;
  height: 30px;
  fill: var(--dourado);
  filter: drop-shadow(0 2px 6px rgba(201,162,58,.7));
  animation: flutuar 4s ease-in-out infinite;
}

.hero__idade {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: clamp(1.4rem, 5vw, 2.6rem);
  letter-spacing: clamp(6px, 3vw, 16px);
  text-transform: uppercase;
  color: var(--dourado);
  text-shadow:
    0 2px 6px rgba(18, 22, 52, .75),
    0 2px 16px rgba(201, 162, 58, .7),
    0 0 2px rgba(255, 255, 255, .9);
  padding-left: clamp(6px, 3vw, 16px);
}

/* Dica "deslize para cima" — aparece só no topo e some ao rolar (via JS) */
.hero__dica {
  position: absolute;
  bottom: clamp(16px, 4.5vh, 38px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  max-width: min(90vw, 560px);
  text-align: center;
  color: #fff;
  font-family: var(--fonte-elegante);
  font-style: italic;
  font-size: clamp(.9rem, 3.2vw, 1.15rem);
  line-height: 1.25;
  letter-spacing: .3px;
  text-shadow: 0 1px 3px rgba(8,12,35,.92), 0 2px 10px rgba(8,12,35,.7), 0 0 24px rgba(8,12,35,.55);
  pointer-events: none;
  transition: opacity .45s ease;
  animation: dicaFlutua 2.4s ease-in-out infinite;
}
.hero__dica-seta {
  width: clamp(22px, 6vw, 28px);
  height: clamp(22px, 6vw, 28px);
  fill: #fff;
  filter: drop-shadow(0 1px 4px rgba(8,12,35,.85));
}
@keyframes dicaFlutua {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================================
   PRINCESAS NO HERO (surgem em cascata ao rolar)
   ============================================================ */
.hero__princesas {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: min(1300px, 100%);
  padding: 0;
  z-index: 3;
  pointer-events: none;
}
/* altura em vw (não vh) → a fileira sempre cabe na largura, sem cortar as pontas */
.hero__princesa {
  height: clamp(90px, 26vw, 300px);
  width: auto;
  margin: 0 -2%;
  filter: drop-shadow(0 16px 20px rgba(91, 61, 143, .4));
  /* estado inicial escondido; o scroll controla opacidade/posição (via JS) */
  opacity: 0;
  transform: translateY(90px) scale(.95);
  will-change: transform, opacity;
}
.hero__princesa--destaque {
  height: clamp(108px, 31vw, 360px);
  z-index: 2;
  filter: drop-shadow(0 20px 24px rgba(91, 61, 143, .5))
          drop-shadow(0 0 18px rgba(255, 143, 196, .5));
}

/* ============================================================
   SEÇÕES GERAIS
   ============================================================ */
.secao {
  position: relative;
  z-index: 4;
  padding: clamp(3.5rem, 9vw, 7rem) 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titulo {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: clamp(1.7rem, 5.5vw, 3rem);
  color: var(--roxo-real);
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  position: relative;
}
.titulo::after {
  content: "✦";
  display: block;
  color: var(--dourado);
  font-size: .6em;
  margin-top: .4rem;
}
.titulo--claro { color: #fff; text-shadow: 0 3px 16px rgba(43,111,176,.5); }

/* ===== Cartão padrão (branco, limpo, com fitinha dourada no topo) ===== */
.cartao {
  position: relative;
  background: #fffafd;
  border: 1px solid rgba(236, 199, 108, .35);
  border-radius: 24px;
  padding: clamp(2rem, 4.5vw, 2.8rem) clamp(1.4rem, 4vw, 2rem);
  box-shadow: 0 22px 44px -26px rgba(91, 61, 143, .55);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cartao:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 50px -24px rgba(91, 61, 143, .6);
}
.cartao::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(44px, 32%, 96px);
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, transparent, var(--rosa-flor), transparent);
}
.cartao h3 {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  color: var(--roxo-real);
  font-size: 1.15rem;
  letter-spacing: 1px;
  margin-bottom: .5rem;
}

/* Ícone circular dourado — padrão de ícones do site */
.icone-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.85rem;
  margin-bottom: 1rem;
  background: linear-gradient(150deg, #ffffff, #ffe3f1);
  border: 1.5px solid rgba(255, 143, 196, .5);
  box-shadow: 0 10px 20px -10px rgba(216, 79, 146, .5), inset 0 2px 4px rgba(255, 255, 255, .85);
}
.icone-badge--grande { width: 86px; height: 86px; font-size: 2.5rem; }

.texto {
  font-family: var(--fonte-elegante);
  font-size: clamp(1.1rem, 3.2vw, 1.4rem);
  line-height: 1.6;
  color: var(--texto);
  margin-bottom: 1rem;
}
.texto strong { color: var(--roxo-real); font-weight: 600; }

/* ============================================================
   SEÇÃO UNIDA (laço + convite + contagem)
   ============================================================ */
/* Seção branca única (o laço fica na costura no topo dela) */
.celebracao {
  position: relative;
  padding-top: clamp(7rem, 16vw, 11rem);   /* espaço pra metade de baixo do laço (maior) */
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 85%, transparent 100%);
}

/* Conteúdo do convite: foto + texto, timer embaixo (sem "caixa") */
.convite-card {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.convite-card__corpo {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 4vw, 3.2rem);
  align-items: center;
}
.convite-card__foto {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.convite-card__foto img {
  width: 100%;
  max-width: 360px;
  background: #fff;   /* mesmo branco da seção → funde sem moldura */
}
.convite-card__texto { text-align: left; }
.convite-card__nome-linha {
  margin: 0 0 .8rem;
  line-height: 1;
}
.convite-card__texto .texto:last-child { margin-bottom: 0; }

.contagem-bloco {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(1.8rem, 5vw, 2.8rem);
  padding-top: clamp(1.6rem, 4vw, 2.4rem);
  border-top: 1px solid rgba(217, 79, 146, .22);
}
.contagem__titulo {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  letter-spacing: 1px;
  color: var(--roxo-real);
  margin-bottom: 1.4rem;
  text-align: center;
}

/* Timer compacto embaixo do texto (coluna da direita) */
.convite-card__texto .contagem-bloco {
  align-items: flex-start;
  width: 100%;
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
  padding-top: clamp(1.4rem, 3.5vw, 2rem);
  border-top: 1px solid rgba(217, 79, 146, .22);
}
.convite-card__texto .contagem__titulo {
  text-align: left;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  margin-bottom: 1rem;
}
.convite-card__texto .relogio { gap: clamp(.25rem, 1.2vw, .55rem); perspective: 600px; }
.convite-card__texto .relogio__num {
  font-size: clamp(1.3rem, 4.2vw, 2.1rem);
  min-width: 1.5em;
  border-radius: 12px;
  padding: .26em .3em;
}
.convite-card__texto .relogio__sep {
  font-size: clamp(1.1rem, 3.5vw, 1.7rem);
  margin-top: .3em;
}
.convite-card__texto .relogio__rot {
  font-size: clamp(.55rem, 1.8vw, .72rem);
  letter-spacing: 1px;
}

@media (max-width: 720px) {
  .convite-card__corpo { grid-template-columns: 1fr; }
  .convite-card__texto { text-align: center; }
  .convite-card__texto .contagem-bloco { align-items: center; }
  .convite-card__texto .contagem__titulo { text-align: center; }
}

/* ============================================================
   CONTAGEM REGRESSIVA
   ============================================================ */
.contagem {
  background:
    linear-gradient(180deg, transparent, rgba(91,61,143,.06)),
    radial-gradient(120% 90% at 50% 0%, rgba(255,143,196,.18), transparent 60%);
}
.relogio {
  display: flex;
  align-items: center;
  gap: clamp(.3rem, 2vw, 1rem);
  perspective: 800px;
}
.relogio__bloco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.relogio__num {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 4rem);
  color: var(--roxo-real);
  background: linear-gradient(180deg, #ffffff, var(--rosa-claro));
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px;
  padding: .3em .35em;
  min-width: 1.8em;
  box-shadow: var(--sombra-cartao), inset 0 2px 6px rgba(255,255,255,.9);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  transform-style: preserve-3d;
}
.relogio__num.vira { animation: virar .6s ease; }
@keyframes virar {
  0% { transform: rotateX(0); }
  50% { transform: rotateX(-90deg); }
  100% { transform: rotateX(0); }
}
.relogio__rot {
  font-family: var(--fonte-texto);
  font-weight: 600;
  font-size: clamp(.7rem, 2.5vw, .95rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--texto-suave);
}
.relogio__sep {
  font-size: clamp(1.6rem, 7vw, 3rem);
  font-weight: 700;
  color: var(--rosa-flor);
  align-self: flex-start;
  margin-top: .3em;
  animation: piscar 1s steps(1) infinite;
}
@keyframes piscar { 50% { opacity: .25; } }

.contagem__msg {
  margin-top: 1.6rem;
  font-family: var(--fonte-elegante);
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  color: var(--roxo-real);
  font-style: italic;
  text-align: center;
}

/* ============================================================
   LAÇO GRANDE (coroa o cartão do convite)
   ============================================================ */
.laco-grande {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 44vw, 480px);
  z-index: 4;
  filter: drop-shadow(0 12px 20px rgba(236, 95, 164, .42));
}
.laco-grande__svg { display: block; width: 100%; height: auto; }
.laco-grande__conteudo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 39%;
  text-align: center;
  pointer-events: none;
}
.laco-grande__selo {
  display: block;
  color: var(--dourado);
  font-size: clamp(.62rem, 1.7vw, 1.05rem);
  line-height: 1;
  margin-bottom: .1em;
  text-shadow: 0 1px 4px rgba(140, 28, 84, .5);
}
.laco-grande__titulo {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  color: #fff;
  font-size: clamp(.76rem, 2.8vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: .5px;
  margin: 0;
  text-shadow: 0 2px 6px rgba(140, 28, 84, .55);
}
.retrato__nome {
  display: block;
  font-family: var(--fonte-nome);
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  color: var(--roxo-real);
  line-height: 1;
}
.retrato__sub {
  display: block;
  font-family: var(--fonte-elegante);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--texto);
  margin-top: .1rem;
}

/* ============================================================
   DETALHES
   ============================================================ */
/* Subtítulo de seção */
.secao__sub {
  font-family: var(--fonte-elegante);
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--texto-suave);
  text-align: center;
  max-width: 600px;
  margin: -1rem auto 2.4rem;
}

/* Detalhes — faixa editorial (3 colunas abertas, sem caixas) */
.detalhes-linha {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 4vw, 2.5rem);
  width: 100%;
  max-width: 820px;
}
.detalhe-item {
  text-align: center;
  padding: 0 clamp(.3rem, 2vw, 1rem);
}
.detalhe-item + .detalhe-item {
  border-left: 1px solid rgba(216, 79, 146, .22);
}
.detalhe-item__ic {
  display: inline-block;
  font-size: 2.3rem;
  margin-bottom: .55rem;
  filter: drop-shadow(0 5px 8px rgba(216, 79, 146, .3));
}
.detalhe-item h3 {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  color: var(--roxo-real);
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  margin-bottom: .35rem;
}

/* Presentes — painel rosa único com lista */
.presentes-painel {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(160deg, #fff5fb, #ffe7f3);
  border: 1px solid rgba(216, 79, 146, .18);
  border-radius: 26px;
  box-shadow: 0 22px 44px -26px rgba(91, 61, 143, .5);
  padding: clamp(1.6rem, 4.5vw, 2.4rem) clamp(1.4rem, 4.5vw, 2.6rem);
}
.presentes-painel__intro {
  font-family: var(--fonte-elegante);
  font-size: clamp(1.1rem, 3.2vw, 1.3rem);
  font-style: italic;
  color: var(--texto);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 1.3rem;
}
.presentes-lista { list-style: none; }
.presentes-lista li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .95rem .2rem;
  font-family: var(--fonte-texto);
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: var(--texto);
}
.presentes-lista li + li { border-top: 1px dashed rgba(216, 79, 146, .3); }
.presente__ic {
  flex: none;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  border-radius: 50%;
  background: rgba(255, 143, 196, .16);
}
.presente__txt strong { color: var(--roxo-real); font-weight: 700; }
.detalhe__valor {
  font-family: var(--fonte-elegante);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--texto);
}
.detalhe__sub {
  font-size: .95rem;
  color: var(--texto-suave);
  margin-top: .2rem;
}

/* ============================================================
   LOCAL + MAPA
   ============================================================ */
.local__wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.8rem;
  width: 100%;
  max-width: 1020px;
  align-items: stretch;
}
.cartao--local {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.cartao--local h3 { font-size: 1.3rem; margin-top: .2rem; }
.cartao--local .texto { font-size: 1.15rem; margin-bottom: 0; }
.botao {
  display: inline-block;
  margin-top: 1.4rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  background: linear-gradient(145deg, var(--rosa-flor), var(--rosa-medio));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--fonte-texto);
  letter-spacing: .5px;
  box-shadow: 0 12px 26px -10px rgba(255,143,196,.9);
  transition: transform .25s ease, box-shadow .25s ease;
}
.botao:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 32px -10px rgba(255,143,196,1);
}
.botao--cta {
  margin-top: 1.6rem;
  padding: 1rem 2.6rem;
  font-size: 1.1rem;
  background: linear-gradient(145deg, var(--rosa-flor), #ff6fb2 60%, var(--roxo-real));
  box-shadow: 0 16px 30px -10px rgba(216, 79, 146, .95);
  cursor: pointer;
  border: none;
}
.botao--cta:hover { box-shadow: 0 22px 38px -10px rgba(216, 79, 146, 1); }
.local__mapa {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--sombra-cartao);
  border: 4px solid rgba(255,255,255,.9);
}
.local__mapa iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.local__mapa-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  font-family: var(--fonte-elegante);
  font-size: 1.2rem;
  color: var(--texto-suave);
  background: linear-gradient(145deg, var(--rosa-suave), #eaf6ff);
}

/* ============================================================
   CONFIRMAR PRESENÇA (RSVP) + MODAL
   ============================================================ */
.rsvp__card {
  background: #fffafd;
  border: 1px solid rgba(236, 199, 108, .35);
  border-radius: 28px;
  box-shadow: 0 26px 50px -28px rgba(91, 61, 143, .6);
  padding: clamp(2.4rem, 6vw, 3.6rem) clamp(1.5rem, 5vw, 3rem);
  max-width: 600px;
  width: 100%;
  text-align: center;
}
.rsvp__card .titulo { margin-bottom: 1rem; }
.rsvp__card .texto { margin-bottom: 1.6rem; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal.aberto { opacity: 1; visibility: visible; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 42, 90, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal__caixa {
  position: relative;
  z-index: 1;
  background: #fffafd;
  border: 1px solid rgba(236, 199, 108, .4);
  border-radius: 26px;
  box-shadow: 0 30px 60px -20px rgba(58, 42, 90, .7);
  padding: clamp(1.8rem, 5vw, 2.6rem);
  width: 100%;
  max-width: 440px;
  text-align: center;
  transform: translateY(16px) scale(.98);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  max-height: 92vh;
  overflow-y: auto;
}
.modal.aberto .modal__caixa { transform: translateY(0) scale(1); }
.modal__fechar {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--texto-suave);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.modal__fechar:hover { background: rgba(216, 79, 146, .12); color: var(--roxo-real); }
.modal__titulo {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  color: var(--roxo-real);
  font-size: 1.5rem;
  letter-spacing: .5px;
  margin-bottom: .3rem;
}
.modal__texto {
  font-family: var(--fonte-elegante);
  font-size: 1.15rem;
  color: var(--texto-suave);
  margin-bottom: 1.4rem;
}
.modal__aviso {
  font-family: var(--fonte-texto);
  font-size: .84rem;
  line-height: 1.45;
  color: var(--texto-suave);
  background: var(--rosa-suave);
  border: 1px dashed rgba(216, 79, 146, .35);
  border-radius: 12px;
  padding: .55rem .75rem;
  margin: -.7rem 0 1.3rem;
}
.modal__aviso strong { color: var(--rosa-flor); font-weight: 700; }
.modal__form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.modal__campo { display: flex; flex-direction: column; gap: .35rem; }
.modal__campo > span {
  font-family: var(--fonte-texto);
  font-weight: 600;
  font-size: .9rem;
  color: var(--roxo-real);
}
.modal__campo input,
.modal__campo textarea {
  font-family: var(--fonte-texto);
  font-size: 1rem;
  color: var(--texto);
  padding: .8rem 1rem;
  border: 1.5px solid rgba(216, 79, 146, .3);
  border-radius: 14px;
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.modal__campo input:focus,
.modal__campo textarea:focus {
  border-color: var(--rosa-flor);
  box-shadow: 0 0 0 3px rgba(255, 143, 196, .25);
}
.modal__campo textarea { resize: vertical; min-height: 58px; }
.modal__form .botao--cta { margin-top: .4rem; width: 100%; }

/* ============================================================
   ABERTURA / CAPA DO CONVITE
   ============================================================ */
html.sem-scroll, body.sem-scroll { overflow: hidden; }
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.intro--saindo { opacity: 0; visibility: hidden; }
.intro__fundo {
  position: absolute;
  inset: -24px;
  background:
    url("../imagens/fundo-hero.jpg") center 30% / cover no-repeat,
    linear-gradient(180deg, #6db6ff, #a9d8ff 44%, #ffd7ec);
  background-color: #a9d8ff;
  filter: blur(6px) brightness(.92);
  transform: scale(1.06);
}
.intro__veu {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 38%, rgba(43, 30, 74, .22), rgba(43, 30, 74, .58));
}
.intro__cartao {
  position: relative;
  z-index: 2;
  width: min(92vw, 430px);
  max-width: 100%;
  margin: auto;
  max-height: 92vh;
  overflow-y: auto;
  text-align: center;
  padding: clamp(1.9rem, 7vw, 3.1rem) clamp(1.4rem, 6vw, 2.3rem);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .93), rgba(255, 244, 250, .93));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(243, 207, 107, .6);
  box-shadow: 0 30px 70px -25px rgba(43, 30, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .7);
  animation: introEntra 1s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes introEntra {
  from { opacity: 0; transform: translateY(24px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.intro__selo {
  width: 42px; height: 42px; margin: 0 auto .5rem;
  fill: var(--dourado);
  filter: drop-shadow(0 2px 5px rgba(201, 162, 58, .6));
  animation: flutuar 4s ease-in-out infinite;
}
.intro__eyebrow {
  font-family: var(--fonte-elegante);
  font-style: italic;
  font-size: clamp(.95rem, 3.4vw, 1.15rem);
  line-height: 1.35;
  color: var(--texto-suave);
  max-width: 22em;
  margin: 0 auto .2rem;
}
.intro__nome {
  font-family: var(--fonte-nome);
  font-weight: 400;
  font-size: clamp(2.8rem, 14vw, 4.4rem);
  line-height: .92;
  color: var(--roxo-real);
  margin: .1rem 0 .1rem;
  text-shadow: 0 3px 12px rgba(91, 61, 143, .22);
}
.intro__idade {
  font-family: var(--fonte-titulo);
  font-weight: 600;
  letter-spacing: clamp(4px, 2.4vw, 8px);
  text-transform: uppercase;
  font-size: clamp(.92rem, 4vw, 1.2rem);
  color: var(--dourado-escuro);
  padding-left: clamp(4px, 2.4vw, 8px);
}
.intro__divisor {
  width: 62%; height: 1px; margin: 1.1rem auto;
  background: linear-gradient(90deg, transparent, rgba(216, 79, 146, .5), transparent);
}
.intro__botao {
  font-family: var(--fonte-texto);
  font-weight: 700;
  font-size: clamp(1rem, 4.2vw, 1.15rem);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .95rem 2.2rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--rosa-flor), var(--roxo-real));
  box-shadow: 0 14px 30px -10px rgba(91, 61, 143, .65), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: introPulsa 2.4s ease-in-out infinite;
}
.intro__botao:hover { transform: translateY(-2px) scale(1.03); }
.intro__botao:active { transform: scale(.97); }
.intro__botao:focus-visible { outline: 3px solid rgba(255, 255, 255, .85); outline-offset: 3px; }
@keyframes introPulsa {
  0%, 100% { box-shadow: 0 14px 30px -10px rgba(91, 61, 143, .65), inset 0 1px 0 rgba(255, 255, 255, .4); }
  50%      { box-shadow: 0 14px 34px -8px rgba(255, 143, 196, .7), 0 0 0 6px rgba(255, 143, 196, .16), inset 0 1px 0 rgba(255, 255, 255, .4); }
}
.intro__musica {
  margin-top: 1rem;
  font-family: var(--fonte-texto);
  font-size: .82rem;
  color: var(--texto-suave);
}
@media (prefers-reduced-motion: reduce) {
  .intro__cartao, .intro__botao, .intro__selo { animation: none; }
}
/* telas de altura curta (celular em paisagem) — compacta a capa pra caber sem rolar */
@media (max-height: 520px) {
  .intro { padding: .7rem; }
  .intro__cartao { padding: 1.1rem 1.6rem; max-height: 96vh; border-radius: 20px; }
  .intro__selo { width: 30px; height: 30px; margin-bottom: .2rem; }
  .intro__eyebrow { font-size: .86rem; line-height: 1.25; margin-bottom: 0; }
  .intro__nome { font-size: clamp(2rem, 11vh, 3rem); }
  .intro__idade { font-size: .86rem; letter-spacing: 5px; }
  .intro__divisor { margin: .5rem auto; }
  .intro__botao { padding: .65rem 1.8rem; font-size: .95rem; }
  .intro__musica { margin-top: .45rem; font-size: .72rem; }
}

/* ============================================================
   BOTÃO DE MÚSICA (flutuante)
   ============================================================ */
.musica-btn {
  position: fixed;
  right: clamp(14px, 3.5vw, 26px);
  bottom: clamp(14px, 3.5vw, 26px);
  z-index: 50;
  width: clamp(48px, 12vw, 58px);
  height: clamp(48px, 12vw, 58px);
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--rosa-flor) 0%, var(--roxo-real) 100%);
  box-shadow: 0 10px 24px -8px rgba(91, 61, 143, .65), inset 0 1px 0 rgba(255, 255, 255, .4);
  -webkit-tap-highlight-color: transparent;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: musicaDica 3s ease-in-out infinite;
}
.musica-btn:hover { transform: translateY(-2px) scale(1.05); }
.musica-btn:active { transform: scale(.95); }
.musica-btn:focus-visible { outline: 3px solid rgba(255, 143, 196, .7); outline-offset: 3px; }
.musica-btn__nota { position: relative; z-index: 2; width: 46%; height: 46%; }
.musica-btn__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 175, 214, .85);
  opacity: 0;
  pointer-events: none;
}
/* tocando → para a dica, liga o anel pulsante e a nota "respira" */
.musica-btn.tocando { animation: none; }
.musica-btn.tocando .musica-btn__ring { animation: musicaAnel 1.9s ease-out infinite; }
.musica-btn.tocando .musica-btn__nota { animation: musicaNota 1.9s ease-in-out infinite; }
.musica-btn:not(.tocando) .musica-btn__nota { opacity: .8; }
/* traço de "sem som" quando está mudo (não tocando) */
.musica-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58%;
  height: 3px;
  border-radius: 3px;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: #fff;
  box-shadow: 0 0 0 1.5px rgba(91, 61, 143, .9);
  z-index: 3;
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events: none;
}
.musica-btn:not(.tocando)::after { opacity: 1; }
@keyframes musicaAnel {
  0%   { opacity: .85; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.85); }
}
@keyframes musicaNota {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-1.5px) rotate(-5deg); }
}
@keyframes musicaDica {
  0%, 88%, 100% { box-shadow: 0 10px 24px -8px rgba(91, 61, 143, .65), inset 0 1px 0 rgba(255, 255, 255, .4); }
  94%           { box-shadow: 0 10px 24px -8px rgba(91, 61, 143, .65), 0 0 0 7px rgba(255, 143, 196, .22), inset 0 1px 0 rgba(255, 255, 255, .4); }
}
@media (prefers-reduced-motion: reduce) {
  .musica-btn, .musica-btn__ring, .musica-btn__nota { animation: none !important; }
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.rodape {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 4rem 1.2rem 3rem;
  background: linear-gradient(180deg, transparent, rgba(91,61,143,.08));
}
.rodape__coroa { font-size: 2.4rem; animation: flutuar 4s ease-in-out infinite; }
.rodape__nome {
  font-family: var(--fonte-nome);
  font-size: clamp(3rem, 10vw, 5rem);
  color: var(--roxo-real);
  line-height: 1;
  margin: .2rem 0;
}
.rodape__sub {
  font-family: var(--fonte-elegante);
  font-size: 1.2rem;
  color: var(--texto);
}
.rodape__credito {
  margin-top: 1.4rem;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--texto-suave);
}

/* ============================================================
   ANIMAÇÕES UTILITÁRIAS
   ============================================================ */
@keyframes flutuar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
/* Reveal ao rolar */
.reveal {
  opacity: 0;
  transform: translateY(45px) scale(.97);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.reveal.visivel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
/* Desktop: sobe o texto do hero */
@media (min-width: 900px) {
  .hero__sticky { padding-top: 2vh; }
}

/* Tablet: convite empilha (foto em cima, texto+timer embaixo) */
@media (max-width: 820px) {
  .convite-card__corpo { grid-template-columns: 1fr; gap: 1.4rem; justify-items: center; }
  .convite-card__texto { text-align: center; max-width: 480px; }
  .convite-card__texto .contagem-bloco { align-items: center; }
  .convite-card__texto .contagem__titulo { text-align: center; }
  .convite-card__foto img { max-width: 280px; }
}
@media (max-width: 780px) {
  .local__wrap { grid-template-columns: 1fr; }
  .local__mapa { min-height: 260px; }
}

/* Celular (público principal) */
@media (max-width: 640px) {
  .detalhes-linha { grid-template-columns: 1fr; max-width: 320px; gap: 0; }
  .detalhe-item { padding: 1.25rem 0; }
  .detalhe-item + .detalhe-item { border-left: none; border-top: 1px solid rgba(216, 79, 146, .22); }
  .laco-grande { width: clamp(238px, 66vw, 340px); }
  .celebracao { padding-top: clamp(4.5rem, 23vw, 7.5rem); }
  .cartao--local .texto { font-size: 1.05rem; }
  /* Hero: sobe o texto e usa fontes que cabem em telas pequenas */
  .hero__sticky { padding-top: 3.5vh; }
  /* princesas um pouco maiores no celular (ainda cabendo na largura) */
  .hero__princesa { height: clamp(90px, 30vw, 300px); }
  .hero__princesa--destaque { height: clamp(108px, 35vw, 360px); }
  .hero__saudacao { font-size: clamp(.8rem, 3.2vw, 1.1rem); }
  .hero__nome { font-size: clamp(2.2rem, 11.5vw, 3.6rem); }
  .hero__idade { font-size: clamp(1.05rem, 4.6vw, 1.6rem); letter-spacing: clamp(4px, 2.4vw, 10px); padding-left: clamp(4px, 2.4vw, 10px); }
}
@media (max-width: 460px) {
  .relogio { gap: .15rem; }
  .relogio__sep { font-size: 1.4rem; margin-top: .2em; }
  .relogio__num { border-radius: 12px; font-size: clamp(1.15rem, 8vw, 1.7rem); }
  .icone-badge { width: 58px; height: 58px; font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
