/* Formatura da Emily Rafaella — identidade visual da página
   Escala tipográfica: 15 / 18 / 24 / 36 / 56 / 88
   Escala de espaço:   8 / 16 / 24 / 40 / 64 / 104
   Paleta: papel, tinta, tinta suave, UM acento (vinho). Preto só nas tarjas de censura. */

:root {
  --papel: #EEF3E8;
  --tinta: #12261A;
  --suave: #55695B;
  --vinho: #1E6B45;
  --fita: #DDE6D0;

  /* o motor lê essas duas para o fundo/tinta da página */
  --fx-fundo: #EEF3E8;
  --fx-tinta: #12261A;

  --f-display: "Abril Fatface", Georgia, serif;
  --f-texto: "DM Sans", system-ui, sans-serif;
  --lado: max(8vw, calc((100vw - 1360px) / 2)); /* margem lateral: cresce em telas enormes */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
main { overflow-x: clip; } /* faixas inclinadas não geram rolagem lateral */
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }

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

.rotulo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vinho);
}
.s-pico .rotulo { color: inherit; }

/* dados de exemplo: fácil de achar com busca por class="ph" */
.ph { text-decoration: underline dotted rgba(30, 107, 69, 0.45); text-underline-offset: 4px; }

/* ───────── abas fixas ───────── */
.abas {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #EEF3E8;
  border: 2px solid #12261A;
  border-radius: 999px;
  box-shadow: 4px 4px 0 #12261A;
}
.aba {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #12261A;
  text-decoration: none;
}
.aba.is-on { background: var(--vinho); color: #EEF3E8; }

/* ───────── estrelas ───────── */
.estrela {
  position: absolute;
  width: 40px; height: 40px;
  background: var(--vinho);
  clip-path: polygon(50% 0, 62% 36%, 100% 38%, 70% 60%, 80% 100%, 50% 76%, 20% 100%, 30% 60%, 0 38%, 38% 36%);
  animation: gira 14s linear infinite;
}
.e1 { top: 18%; right: 8%; width: 56px; height: 56px; }
.e2 { top: 56%; left: 3%; width: 32px; height: 32px; animation-duration: 20s; }
.e3 { bottom: 12%; right: 40%; width: 24px; height: 24px; animation-direction: reverse; }
.e4 { top: 14%; left: 6%; width: 48px; height: 48px; }
.e5 { top: 30%; right: 7%; width: 32px; height: 32px; animation-direction: reverse; }
@keyframes gira { to { rotate: 360deg; } }

/* ───────── stickers (hamster, cachorro) ───────── */
.sticker { position: relative; width: 168px; height: 168px; display: grid; place-items: center; }
.sticker .base { font-size: 140px; line-height: 1; filter: drop-shadow(0 0 0 #fff) drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); }
.sticker .capelo { position: absolute; top: -8px; left: 50%; translate: -50% 0; font-size: 72px; rotate: -8deg; }

.sticker-img {
  width: 168px; height: 168px;
  border: 5px solid #fff; border-radius: 28px;
  overflow: hidden;
  background: #E5E5E5;
  box-shadow: 0 2px 0 rgba(18, 38, 26, 0.15), 0 14px 24px -12px rgba(18, 38, 26, 0.45);
}
.sticker-img img { width: 100%; height: 100%; object-fit: cover; }
.hamster img { transform: scale(1.3); transform-origin: 50% 58%; object-position: 50% 55%; }
.hamster-lado img { transform: scale(1.3); transform-origin: 50% 58%; object-position: 50% 55%; }
.cachorro { width: 200px; height: 200px; }
.cachorro img { object-position: 50% 55%; }

/* ───────── polaroid ───────── */
.polaroid {
  position: relative;
  margin: 0;
  padding: 12px 12px 8px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(18, 38, 26, 0.15), 0 14px 24px -12px rgba(18, 38, 26, 0.35);
}
.polaroid img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.polaroid figcaption { padding: 12px 4px 4px; font-weight: 700; font-size: 15px; text-align: center; color: var(--tinta); }
.fita {
  position: absolute; top: -14px; left: 50%;
  width: 96px; height: 28px; translate: -50% 0; rotate: -4deg;
  background: var(--fita); opacity: 0.92;
}

/* ───────── censura ───────── */
.censura {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 0 4px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  vertical-align: bottom;
}
.censura-texto { display: inline-block; }
.censura-tarja {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 0 8px;
  background: #0B0B0B;
  color: #EEF3E8;
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.7, 0, 0.3, 1);
}
.censura:hover .censura-tarja { background: #1c1c1c; }
.censura.aberta { cursor: default; }
.censura.aberta .censura-tarja { transform: scaleX(0); }
.censura:focus-visible { outline: 3px solid var(--vinho); outline-offset: 2px; }
.censura-mini { font-size: 15px; }

/* ───────── cena 1 · abertura ───────── */
.s-abertura {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  padding: 104px var(--lado) 64px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
.abertura-texto h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--vinho);
  text-transform: uppercase;
  margin: 16px 0 16px;
}
.sub-fatface {
  font-family: var(--f-display);
  font-size: clamp(24px, 3vw, 40px);
  text-transform: uppercase;
  color: var(--suave);
  letter-spacing: 0.01em;
}
.nome-formanda {
  margin-top: 24px;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.aviso-censurado { margin-top: 40px; font-size: 18px; max-width: 46ch; }
.aviso-censurado .censura-texto { font-weight: 700; }

.abertura-figuras { position: relative; min-height: 420px; }
.abertura-figuras .hamster { position: absolute; top: 4%; left: 6%; rotate: -6deg; }
.legenda-pov {
  position: absolute; top: 47%; left: 0; z-index: 2;
  max-width: 190px;
  font-weight: 800; font-size: 24px; line-height: 1.15;
  color: #fff;
  -webkit-text-stroke: 5px #111; paint-order: stroke fill;
  text-align: center;
}
.abertura-figuras .solta { position: absolute; right: 0; bottom: -20%; width: min(230px, 56%); rotate: 7deg; }

/* ───────── cena 2 · trilho ───────── */
.s-trilho .fx-palco { justify-content: flex-start; }
.trilho {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 40px;
  padding-left: var(--lado);
}
.trilho > * { flex: 0 0 auto; }
.trilho-fim { width: 8vw; height: 1px; }
.painel-intro { width: min(520px, 80vw); }
.tripla {
  margin: 16px 0 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  font-weight: 800; font-size: clamp(24px, 3.4vw, 36px); letter-spacing: 0.08em; text-transform: uppercase;
}
.tripla i { color: var(--vinho); font-style: normal; font-size: 0.7em; }
.trilho .polaroid { width: min(320px, 68vw); }
.trilho .polaroid:nth-child(2) { rotate: -3deg; }
.trilho .polaroid:nth-child(3) { rotate: 2.5deg; margin-top: 56px; }
.trilho .polaroid:nth-child(4) { rotate: -2deg; }
.trilho .polaroid:nth-child(5) { rotate: 4deg; margin-top: 40px; }

/* ───────── cena 3 · info ───────── */
.s-info {
  padding: 104px var(--lado);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.info-cartao {
  max-width: 560px;
  padding: 40px;
  background: #fff;
  border: 2px solid var(--tinta);
  box-shadow: 8px 8px 0 var(--tinta);
  color: var(--tinta);
}
.info-lista { margin: 24px 0 0; }
.info-lista > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px;
  padding: 16px 0; border-top: 1px dashed rgba(18, 38, 26, 0.35);
}
.info-lista dt { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--suave); padding-top: 4px; }
.info-lista dd { margin: 0; font-weight: 700; font-size: 24px; line-height: 1.25; }
.info-lista .censura-texto { font-size: 18px; font-weight: 700; }
.info-lado { position: relative; }
.bilhete {
  max-width: 360px;
  padding: 24px;
  background: #FBE9A6;
  color: #12261A;
  rotate: 3deg;
  font-size: 24px; font-weight: 500; line-height: 1.3;
  box-shadow: 0 14px 24px -14px rgba(18, 38, 26, 0.5);
}
.bilhete-riscado { display: block; margin-top: 8px; font-family: var(--f-display); font-size: 36px; color: var(--vinho); text-decoration: line-through; text-decoration-thickness: 4px; }
.info-lado .cachorro { margin: 40px 0 0 56px; rotate: 5deg; }

/* ───────── faixas (marquee) ───────── */
.faixa { overflow: hidden; background: #0B0B0B; color: #EEF3E8; padding: 12px 0; rotate: -1.2deg; margin: 40px -2vw; }
.faixa-vinho { background: var(--vinho); rotate: 1.2deg; }
.faixa-fita { display: flex; width: max-content; font-weight: 800; letter-spacing: 0.14em; font-size: 18px; white-space: pre; animation: corre 26s linear infinite; }
.faixa-rev { animation-direction: reverse; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ───────── cena 4 · pico ───────── */
.s-pico .fx-palco { flex-direction: column; justify-content: center; }
.pico-miolo { width: 100%; padding: 0 5vw; text-align: center; }
.pico-kicker { font-family: var(--f-display); font-size: clamp(18px, 3vh, 36px); letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.9; }
.ob-linhas { display: flex; flex-direction: column; align-items: center; margin: 8px 0; }
.ob {
  display: block;
  font-family: var(--f-display);
  font-size: min(14vw, 7.6vh);
  line-height: 0.92;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-transform: uppercase;
}
.ob-vazado { color: transparent; -webkit-text-stroke: 2px var(--fx-tinta); }
.ob-lista {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px;
}
.ob-lista li {
  padding: 8px 16px;
  background: #EEF3E8; color: var(--vinho);
  font-weight: 800; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 4px;
}
.ob-obs { margin: 16px auto 0; max-width: 52ch; font-size: 18px; font-weight: 500; }
.voa { position: absolute; font-size: 56px; }
.v1 { left: 6%; top: 40%; } .v2 { right: 7%; top: 50%; } .v3 { right: 20%; top: 12%; }

/* ───────── cena 5 · regras ───────── */
.s-regras { padding: 104px var(--lado) 64px; }
.regras-topo { position: relative; max-width: 900px; }
.regras-topo h2 {
  margin-top: 8px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(48px, 8vw, 104px); line-height: 0.95;
  text-transform: uppercase;
}
.selo-verde {
  position: absolute; right: 0; top: 0;
  width: 128px; height: 128px; rotate: 12deg;
  display: grid; place-items: center;
}
.selo-verde::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 8px solid var(--vinho);
  background: linear-gradient(to top right, transparent calc(50% - 5px), var(--vinho) calc(50% - 5px), var(--vinho) calc(50% + 5px), transparent calc(50% + 5px));
}
.selo-bolinha { display: none; }
.selo-texto { font-family: var(--f-display); font-size: 24px; text-transform: uppercase; color: #2f8f4e; }

.regras-caixa { margin-top: 64px; max-width: 880px; }
.regras-abas { display: flex; flex-wrap: wrap; gap: 8px; }
.regras-abas button {
  padding: 16px 24px;
  border: 2px solid var(--tinta); border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: transparent;
  font-weight: 800; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase;
  cursor: pointer;
}
.regras-abas button[aria-selected="true"] { background: var(--vinho); border-color: var(--vinho); color: #EEF3E8; }
.regras-abas button:focus-visible { outline: 3px solid var(--vinho); outline-offset: 2px; }
.regras-painel {
  padding: 40px;
  background: #fff; color: var(--tinta);
  border: 2px solid var(--tinta);
  box-shadow: 8px 8px 0 var(--tinta);
  min-height: 360px;
}
.regras-lista { margin: 0; padding-left: 24px; display: grid; gap: 24px; font-size: 24px; line-height: 1.3; }
.regras-lista li::marker { font-family: var(--f-display); color: var(--vinho); }
.regras-lista .censura-texto { font-size: 24px; }

/* ───────── memes oficiais ───────── */
.s-memes { padding: 104px var(--lado) 64px; }
.memes-topo h2 {
  margin-top: 8px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 6vw, 88px); line-height: 0.95; text-transform: uppercase;
}
.memes-grade { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: start; }
.meme {
  background: #fff; color: var(--tinta);
  border: 2px solid var(--tinta); box-shadow: 6px 6px 0 var(--tinta);
  overflow: hidden;
}
.m-drake { rotate: -1.5deg; }
.m-exp { rotate: 1.2deg; }
.m-distraido { rotate: 1deg; }
.m-confusa { rotate: -1deg; }
.meme-legenda { padding: 16px 24px; font-weight: 800; font-size: 24px; line-height: 1.2; text-transform: uppercase; text-align: center; }
.m-confusa .censura { margin: 0 24px 24px; }

.drake-linha { display: grid; grid-template-columns: 160px 1fr; min-height: 160px; }
.drake-linha + .drake-linha { border-top: 2px solid var(--tinta); }
.drake-rosto { aspect-ratio: 1; background: url("memes/Drake.jpg") no-repeat; background-size: 200% 200%; border-right: 2px solid var(--tinta); }
.drake-nao { background-position: 0 0; }
.drake-sim { background-position: 0 100%; }
.drake-linha p { padding: 16px 24px; align-self: center; font-weight: 800; font-size: 24px; line-height: 1.2; }
.drake-linha.nega p { text-decoration: line-through; text-decoration-color: var(--vinho); text-decoration-thickness: 3px; color: var(--suave); }

.m-exp { display: grid; grid-template-columns: 1fr 1fr; }
.exp-lado { padding: 24px 16px; text-align: center; display: grid; gap: 8px; align-content: start; }
.exp-real { background: var(--vinho); color: #EEF3E8; }
.exp-rotulo { font-size: 15px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.exp-emoji { font-size: 56px; line-height: 1.1; }
.exp-lado > p:last-child { font-weight: 700; font-size: 18px; line-height: 1.3; }

.dist-foto { position: relative; border-bottom: 2px solid var(--tinta); }
.dist-foto img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.etq { position: absolute; translate: -50% -50%; padding: 4px 8px; background: #0B0B0B; color: #EEF3E8; font-weight: 800; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.etq-bar { left: 27%; top: 72%; }
.etq-voce { left: 58%; top: 82%; }
.etq-dig { left: 84%; top: 66%; }

.conf-palco { border-bottom: 2px solid var(--tinta); }
.conf-palco img { width: 100%; height: 240px; object-fit: cover; object-position: 50% 30%; }
@keyframes boia { 50% { transform: translateY(-10px) rotate(4deg); } }

.pikachu { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.pikachu > img { width: 88px; height: auto; }
.pikachu .legenda-pov { position: static; font-size: 18px; max-width: 220px; color: #fff; }

/* ───────── cena 6 · confirmar ───────── */
.s-confirmar { position: relative; padding: 104px var(--lado) 104px; min-height: 100vh; overflow: hidden; }
.recorte { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: clamp(36px, 10vw, 120px); line-height: 1; }
.recorte .palavra { display: inline-flex; gap: 2px; }
.recorte .letra { display: inline-block; padding: 0 0.06em; line-height: 1.05; }
.recorte .l0 { font-family: var(--f-display); background: #EEF3E8; color: var(--vinho); rotate: -3deg; border: 2px solid var(--tinta); }
.recorte .l1 { font-family: var(--f-texto); font-weight: 800; background: var(--vinho); color: #EEF3E8; rotate: 2deg; }
.recorte .l2 { font-family: var(--f-display); background: #FBE9A6; color: var(--tinta); rotate: -1.5deg; }
.recorte .l3 { font-family: var(--f-texto); font-weight: 800; background: var(--tinta); color: #EEF3E8; rotate: 3deg; }
.recorte .l4 { font-family: var(--f-display); background: #fff; color: var(--tinta); rotate: -2.5deg; border: 2px solid var(--vinho); }

.confirmar-lado { position: absolute; right: var(--lado); top: 52%; width: 240px; }
.hamster-lado { rotate: 6deg; margin-left: 40px; }
.legenda-lado { position: static; margin-top: 16px; max-width: 240px; }
.confirmar-prazo { margin-top: 24px; max-width: 52ch; font-size: 18px; }

.rsvp { margin-top: 40px; max-width: 640px; display: grid; gap: 24px; }
.linha-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.campo { display: grid; gap: 8px; }
.campo span { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.campo input, .campo select {
  width: 100%;
  padding: 16px;
  background: #fff; color: var(--tinta);
  border: 2px solid var(--tinta); border-radius: 0;
  font-size: 18px;
}
.campo input:focus-visible, .campo select:focus-visible { outline: 3px solid var(--vinho); outline-offset: 2px; }
.erro-form { color: var(--vinho); font-weight: 700; }

.acoes { position: relative; min-height: 220px; }
.btn-vou {
  padding: 24px 40px;
  background: var(--vinho); color: #EEF3E8;
  border: 2px solid var(--tinta); box-shadow: 6px 6px 0 var(--tinta);
  font-family: var(--f-display); font-size: 36px;
  cursor: pointer;
  transition: transform 0.15s;
}
.btn-vou:hover { transform: translate(-2px, -2px); }
.btn-vou:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--tinta); }
.btn-vou:focus-visible { outline: 3px solid var(--tinta); outline-offset: 4px; }
.btn-nao {
  position: absolute; left: 0; top: 0;
  padding: 12px 24px;
  background: transparent; color: var(--tinta);
  border: 2px dashed var(--suave);
  font-weight: 700; font-size: 15px;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  touch-action: none;
}
.bolha {
  position: absolute; left: 0; bottom: 0;
  max-width: 340px; padding: 16px 24px;
  background: #0B0B0B; color: #EEF3E8;
  border-radius: 16px 16px 16px 0;
  font-weight: 800; font-size: 24px; line-height: 1.2;
}
.sucesso {
  margin-top: 40px; max-width: 640px; padding: 40px;
  background: #fff; color: var(--tinta);
  border: 2px solid var(--tinta); box-shadow: 8px 8px 0 var(--vinho);
}
.sucesso h3 { font-family: var(--f-display); font-weight: 400; font-size: 56px; line-height: 1; margin: 8px 0 16px; color: var(--vinho); }
.sucesso p { margin-bottom: 16px; }

/* ───────── carteirinha (hero) ───────── */
.carteirinha {
  padding: 16px;
  background: #fff; color: var(--tinta);
  border: 2px solid var(--tinta); border-radius: 12px;
  box-shadow: 6px 6px 0 var(--tinta);
}
.cart-topo { font-size: 15px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vinho); }
.cart-corpo { display: flex; align-items: center; gap: 16px; margin: 8px 0; }
.cart-avatar { display: grid; place-items: center; flex: none; width: 64px; height: 64px; font-size: 32px; background: #DDE6D0; border: 2px solid var(--tinta); border-radius: 8px; }
.cart-rotulo { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--suave); }
.cart-nome { font-family: var(--f-display); font-size: 24px; line-height: 1.1; }
.cart-serie { font-size: 15px; }
.cart-selo { display: inline-block; margin-top: 8px; padding: 2px 16px; border: 2px solid var(--vinho); color: var(--vinho); font-weight: 800; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; rotate: -3deg; }

/* ───────── sugestões de traje ───────── */
.s-trajes { padding: 104px var(--lado) 64px; }
.trajes-topo h2 {
  margin: 8px 0 16px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 6vw, 88px); line-height: 0.95; text-transform: uppercase;
}
.trajes-grade { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; align-items: start; }
.traje {
  position: relative;
  padding: 12px 12px 24px; background: #fff; color: var(--tinta);
  border: 2px solid var(--tinta); box-shadow: 6px 6px 0 var(--tinta);
}
.traje:nth-child(3n+1) { rotate: -1.5deg; }
.traje:nth-child(3n+2) { rotate: 1.2deg; }
.traje:nth-child(3n) { rotate: -0.8deg; }
.traje-foto { position: relative; aspect-ratio: 4 / 5; background: #DDE6D0; overflow: hidden; display: grid; place-items: center; }
.traje-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.traje-emoji { font-size: 72px; line-height: 1; }
.traje-foto:not(.sem-img) .traje-emoji { display: none; }
.traje-foto.sem-img img { display: none; }
.traje h3 { margin: 16px 8px 4px; font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.traje p { margin: 0 8px; font-size: 15px; color: var(--suave); }
.selo {
  position: absolute; top: 24px; right: -8px;
  padding: 4px 16px;
  background: #fff; color: var(--tinta); border: 2px solid var(--tinta);
  font-weight: 800; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase;
  rotate: 6deg;
}
.selo-ok { background: var(--tinta); color: #EEF3E8; }
.selo-nao { background: var(--vinho); color: #EEF3E8; border-color: var(--vinho); }
.traje-verde .traje-foto::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 4px), var(--vinho) calc(50% - 4px), var(--vinho) calc(50% + 4px), transparent calc(50% + 4px));
  opacity: 0.85;
}

/* ───────── fim do open bar ───────── */
.ob-fim { margin: 8px auto 0; max-width: 56ch; font-size: 15px; line-height: 1.35; }
.ob-fim strong { display: block; margin-top: 4px; font-size: 18px; }

/* ───────── caramelo dançante ───────── */
.caramelo {
  position: fixed; left: 0; bottom: 0; z-index: 55;
  width: 96px; pointer-events: none;
  will-change: transform;
}
.caramelo-danca { transform-origin: 50% 100%; animation: danca 0.7s ease-in-out infinite; }
.caramelo img { display: block; width: 100%; height: auto; }
.caramelo-emoji { display: none; font-size: 72px; line-height: 1; text-align: center; }
.caramelo.sem-img img { display: none; }
.caramelo.sem-img .caramelo-emoji { display: block; }
@keyframes danca {
  0%, 100% { transform: translateY(0) rotate(-8deg) scale(1, 0.94); }
  25% { transform: translateY(-14px) rotate(8deg) scale(1, 1.04); }
  50% { transform: translateY(0) rotate(-8deg) scale(1, 0.94); }
  75% { transform: translateY(-14px) rotate(8deg) scale(1, 1.04); }
}

/* ───────── rodapé ───────── */
.rodape { padding: 64px var(--lado) 104px; text-align: center; }
.rodape strong { font-family: var(--f-display); font-weight: 400; font-size: 24px; }

/* ───────── trilha sonora ───────── */
.btn-som {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: #EEF3E8; color: #12261A;
  border: 2px solid #12261A; border-radius: 999px; box-shadow: 4px 4px 0 #12261A;
  font-weight: 800; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer;
}
.btn-som[hidden] { display: none; }
.btn-som[aria-pressed="false"] { animation: pulsa 1.8s ease-in-out infinite; }
.btn-som[aria-pressed="true"] { background: var(--vinho); color: #EEF3E8; }
.btn-som:focus-visible { outline: 3px solid var(--vinho); outline-offset: 3px; }
@keyframes pulsa { 50% { transform: scale(1.06); } }
.som-icone { font-size: 18px; line-height: 1; }

/* ───────── pop-ups chatos ───────── */
#popups { position: fixed; right: 16px; bottom: 16px; z-index: 80; display: grid; gap: 16px; max-width: calc(100vw - 32px); }
.popup {
  width: min(340px, 100%);
  background: #EEF3E8; color: #12261A;
  border: 2px solid #12261A; box-shadow: 6px 6px 0 #12261A;
  animation: sobe 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes sobe { from { transform: translateY(40px) scale(0.9); opacity: 0; } }
.popup-barra {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px;
  background: var(--vinho); color: #EEF3E8;
  font-weight: 800; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
}
.popup-x {
  position: relative;
  width: 32px; height: 32px; padding: 0;
  background: #EEF3E8; color: #12261A; border: 2px solid #12261A;
  font-weight: 800; font-size: 18px; line-height: 1;
  cursor: pointer;
  transition: transform 0.2s;
}
.popup-corpo { padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.popup-emoji { font-size: 40px; line-height: 1; }
.popup-msg { font-size: 18px; font-weight: 700; line-height: 1.3; }
.popup-ok {
  margin: 0 16px 16px auto; display: block;
  padding: 8px 24px;
  background: #fff; border: 2px solid #12261A;
  font-weight: 800; font-size: 15px; cursor: pointer;
}

/* ───────── celular ───────── */
@media (max-width: 820px) {
  body { font-size: 18px; }
  .abas { top: 8px; }
  .aba { padding: 8px 12px; font-size: 15px; letter-spacing: 0.02em; }
  .s-abertura { grid-template-columns: 1fr; gap: 24px; padding: 88px 24px 64px; align-content: start; }
  .abertura-figuras { min-height: 340px; }
  .abertura-figuras .hamster { left: 0; }
  .legenda-pov { font-size: 18px; max-width: 220px; top: 56%; }
  .abertura-figuras .solta { width: 150px; bottom: -4%; }
  .sticker { width: 128px; height: 128px; }
  .sticker .base { font-size: 104px; }
  .sticker .capelo { font-size: 56px; }
  .s-info { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  .info-cartao { padding: 24px; }
  .info-lista > div { grid-template-columns: 1fr; gap: 0; }
  .info-lista dd { font-size: 24px; }
  .trilho { padding-left: 24px; gap: 24px; }
  .s-regras { padding: 64px 24px; }
  .selo-verde { width: 72px; height: 72px; top: -48px; }
  .selo-texto { font-size: 15px; }
  .regras-painel { padding: 24px; }
  .regras-lista { font-size: 18px; }
  .regras-lista .censura-texto { font-size: 18px; }
  .regras-abas button { padding: 12px 16px; }
  .s-confirmar { padding: 88px 24px 64px; }
  .confirmar-lado { display: none; }
  .e1 { top: auto; bottom: 36%; right: 6%; width: 36px; height: 36px; } /* longe do título */
  .linha-campos { grid-template-columns: 1fr; }
  .btn-vou { font-size: 24px; padding: 16px 24px; }
  .sucesso { padding: 24px; }
  .sucesso h3 { font-size: 36px; }
  .ob-lista li { padding: 4px 8px; font-size: 15px; }
  .ob-obs { font-size: 15px; }
  .voa { font-size: 36px; }
  #popups { left: 16px; right: 16px; bottom: 8px; justify-items: center; }
}

/* tablet em pé: mantém hero em duas colunas */
@media (min-width: 600px) and (max-width: 820px) {
  .s-abertura { grid-template-columns: 1.15fr 0.85fr; padding: 104px 6vw 64px; align-content: center; }
  .abertura-texto h1 { font-size: clamp(40px, 7vw, 60px); }
  .abertura-figuras { min-height: 400px; }
  .abertura-figuras .solta { bottom: -30%; width: min(190px, 56%); }
  .legenda-pov { font-size: 18px; max-width: 160px; }
  .s-info { grid-template-columns: 1fr 0.8fr; gap: 24px; }
  .info-cartao { padding: 24px; }
  .info-lista > div { grid-template-columns: 80px 1fr; }
  .info-lista dd { font-size: 18px; }
  .bilhete { font-size: 18px; padding: 16px; }
}

@media (max-width: 820px) {
  .s-memes { padding: 64px 24px; }
  .memes-grade { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .drake-linha { grid-template-columns: 88px 1fr; min-height: 110px; }
  .drake-rosto { font-size: 48px; }
  .drake-linha p, .meme-legenda { font-size: 18px; }
  .exp-emoji { font-size: 44px; }
  .etq { font-size: 15px; padding: 2px 6px; }
  .drake-linha { grid-template-columns: 112px 1fr; min-height: 112px; }
  .sticker-img { width: 128px; height: 128px; }
  .cachorro { width: 150px; height: 150px; }
}

/* celulares estreitos (até 400px) */
@media (max-width: 400px) {
  .recorte { font-size: 10.5vw; gap: 2px 8px; }
  .abertura-texto h1 { font-size: 11.5vw; }
  .aba { padding: 8px 10px; }
  .bolha { font-size: 18px; max-width: 80%; }
  .selo-verde { right: 8px; }
}

/* ───────── movimento reduzido ───────── */
@media (prefers-reduced-motion: reduce) {
  .btn-som { animation: none !important; }
  html { scroll-behavior: auto; }
  .estrela, .faixa-fita, .popup { animation: none; }
  .censura-tarja, .btn-nao, .btn-vou { transition: none; }
}
.fx-reduzido .s-trilho { height: auto !important; padding: 104px 8vw; }
.fx-reduzido .trilho { padding-left: 0; flex-wrap: wrap; row-gap: 40px; }
.fx-reduzido .s-pico { height: auto !important; padding: 64px 0; }
.fx-reduzido .s-pico .fx-palco { padding: 40px 0; }
.fx-reduzido .voa { display: none; }

@media (max-width: 820px) {
  .s-trajes { padding: 64px 24px; }
  .trajes-grade { grid-template-columns: 1fr 1fr; gap: 32px 16px; margin-top: 40px; }
  .traje { padding: 8px 8px 16px; }
  .traje h3 { font-size: 18px; margin: 12px 4px 4px; }
  .traje p { margin: 0 4px; }
  .traje-emoji { font-size: 48px; }
  .selo { font-size: 12px; padding: 2px 8px; right: -4px; top: 16px; }
  .caramelo { width: 72px; }
  .caramelo-emoji { font-size: 56px; }
}
@media (max-width: 480px) {
  .trajes-grade { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .caramelo-danca { animation: none; } }

/* ajustes finos */
.traje-foto { aspect-ratio: 1 / 1.05; }
.abertura-figuras .solta { width: min(270px, 78%); }
.cart-nome { font-size: 20px; }
@media (max-width: 480px) { .traje-foto { aspect-ratio: 4 / 3; } }

/* fotos reais dos trajes */
.traje:nth-child(1) .traje-foto img { object-position: 50% 28%; }
.traje:nth-child(2) .traje-foto img { object-position: 50% 30%; }
.traje:nth-child(5) .traje-foto img { object-position: 50% 35%; background: #DDE6D0; }
.traje-verde .traje-foto { background: #fff; }
.traje-verde .traje-foto img { object-fit: contain; }
.traje-verde .traje-foto::after { display: none; } /* a vovó já fala por si */

/* caramelo: o GIF tem fundo preto, então vira um sticker de tela */
.caramelo img { border: 3px solid #fff; border-radius: 16px; box-shadow: 0 6px 16px -6px rgba(18, 38, 26, 0.6); background: #000; }
/* vovó: corta embaixo (marca d'água do banco de imagens) */
.traje-verde .traje-foto img { object-fit: cover; object-position: 50% 6%; }

/* regras (lista nova com emoji) */
.regras-lista { list-style: none; padding: 0; gap: 16px; font-size: 18px; line-height: 1.4; }
.regras-lista li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.regras-lista .em { font-size: 24px; line-height: 1.2; text-align: center; }
.regras-lista .censura-texto { font-size: 18px; }
.regras-aviso {
  display: flex; gap: 16px; align-items: flex-start;
  max-width: 880px; margin-top: 40px; padding: 24px;
  background: #FBE9A6; color: var(--tinta);
  border: 2px solid var(--tinta); box-shadow: 6px 6px 0 var(--tinta);
  font-size: 18px; line-height: 1.4;
  rotate: -0.6deg;
}
.regras-aviso > span:first-child { font-size: 24px; }
.confirmar-termos { font-size: 15px; color: var(--suave); max-width: 52ch; }

/* trajes: ajustes por foto */
.traje:nth-child(1) .traje-foto img { object-position: 50% 28%; }
.traje:nth-child(2) .traje-foto img { object-position: 50% 30%; }
.traje:nth-child(3) .traje-foto img { object-position: 50% 12%; }
.traje:nth-child(4) .traje-foto img { object-position: 50% 35%; background: #DDE6D0; }
.traje:nth-child(5) .traje-foto img { object-position: 50% 30%; }
.traje:nth-child(5) .traje-foto { background: #DDE6D0; }
@media (max-width: 820px) { .regras-lista li { grid-template-columns: 32px 1fr; gap: 8px; } .regras-aviso { padding: 16px; } }

/* expectativa x realidade com fotos */
.exp-lado { padding: 16px; gap: 12px; }
.exp-lado img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 2px solid var(--tinta); }
.exp-real img { border-color: #EEF3E8; }
.exp-lado > p:last-child { font-size: 18px; }

/* foto "depois das 00:00h" no open bar */
.ob-obs { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 16px auto 0; max-width: 640px; font-size: 18px; font-weight: 500; text-align: left; }
.ob-obs p { margin: 0; }
.ob-bebada { flex: none; margin: 0; padding: 6px 6px 4px; background: #fff; color: var(--tinta); box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.6); rotate: 4deg; }
.ob-bebada img { width: 128px; aspect-ratio: 4 / 3; object-fit: cover; }
.ob-bebada figcaption { padding-top: 2px; text-align: center; font-weight: 800; font-size: 12px; letter-spacing: 0.08em; }
@media (max-width: 820px) {
  .ob-obs { gap: 12px; font-size: 15px; }
  .ob-bebada img { width: 96px; }
}

/* open bar em telas baixas: sobra espaço pro menu e pro texto final */
@media (max-width: 820px) {
  .pico-miolo { padding-top: 48px; }
  .ob { font-size: min(13.5vw, 6.6vh); }
}
@media (max-height: 700px) {
  .pico-miolo { padding-top: 56px; }
  .ob { font-size: min(12vw, 5.6vh); }
  .ob-lista li { padding: 4px 8px; }
  .ob-bebada img { width: 72px; }
  .ob-obs, .ob-fim { font-size: 12px; }
  .ob-fim strong { font-size: 15px; }
}

/* caramelo agora é GIF com fundo transparente: solto, sem moldura */
.caramelo { width: 110px; }
.caramelo img { border: 0; border-radius: 0; box-shadow: none; background: transparent; filter: drop-shadow(0 4px 6px rgba(18, 38, 26, 0.35)); }
@media (max-width: 820px) { .caramelo { width: 80px; } }

/* foto maior da bebada */
.ob-bebada img { width: 190px; }
.ob-obs { max-width: 720px; }
@media (max-width: 820px) { .ob-bebada img { width: 128px; } }
@media (max-height: 700px) { .ob-bebada img { width: 88px; } }

/* ajuste fino: foto grande sem empurrar o título pra trás do menu */
@media (min-width: 821px) {
  .ob { font-size: min(14vw, 7vh); }
  .ob-bebada img { width: 170px; }
}

@media (min-width: 821px) {
  .pico-miolo { padding-top: 56px; }
}
@media (min-width: 821px) and (max-height: 820px) {
  .ob { font-size: min(14vw, 6.3vh); }
  .ob-bebada img { width: 140px; }
  .ob-lista li { padding: 4px 16px; }
}

/* ───────── playlist da festa (só Spotify) ───────── */
.s-playlist { padding: 104px var(--lado) 64px; display: grid; grid-template-columns: 1fr; gap: 40px; }
.s-playlist h2 {
  margin: 8px 0 16px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 6vw, 88px); line-height: 0.95; text-transform: uppercase;
}
.pl-sub { max-width: 46ch; font-size: 18px; }
@media (max-width: 820px) { .s-playlist { padding: 64px 24px; gap: 24px; } }


/* título da seção de data e local */
.info-topo { grid-column: 1 / -1; }
.info-topo h2 {
  margin-top: 8px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 6vw, 88px); line-height: 0.95; text-transform: uppercase;
}
.s-info { padding-top: 64px; }
@media (max-width: 820px) { .s-info { padding-top: 40px; } }
.info-cartao .info-lista { margin-top: 0; }
.info-lista > div:first-child { border-top: 0; padding-top: 0; }

/* ───────── spotify (playlist colaborativa) ───────── */
.pl-spotify {
  grid-column: 1 / -1;
  margin-top: 0; padding: 24px;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center;
  background: #fff; color: var(--tinta);
  border: 2px solid var(--tinta); box-shadow: 8px 8px 0 var(--tinta);
}
.pl-spotify[hidden] { display: none; }
.pl-spotify h3 { margin: 8px 0; font-family: var(--f-display); font-weight: 400; font-size: 36px; line-height: 1.05; }
.pl-spotify-texto > p:not(.rotulo):not(.pl-spotify-nota) { margin-bottom: 24px; max-width: 40ch; }
.btn-spotify {
  display: inline-block; padding: 16px 24px;
  background: var(--vinho); color: #EEF3E8; text-decoration: none;
  border: 2px solid var(--tinta); box-shadow: 4px 4px 0 var(--tinta);
  font-family: var(--f-display); font-size: 24px;
}
.btn-spotify:hover { transform: translate(-2px, -2px); }
.btn-spotify:focus-visible { outline: 3px solid var(--tinta); outline-offset: 4px; }
.pl-spotify-nota { margin-top: 24px; font-size: 15px; color: var(--suave); }
@media (max-width: 820px) {
  .pl-spotify { grid-template-columns: 1fr; gap: 24px; padding: 16px; }
  .pl-spotify h3 { font-size: 24px; }
}

/* ───────── hero: foto dela com itens de formatura ───────── */
.abertura-figuras { display: grid; place-items: center; min-height: 560px; }
.hero-foto { position: relative; margin: 0; width: min(330px, 100%); }
.hf-disco {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  width: 112%; aspect-ratio: 1; border-radius: 50%;
  background: #FBE9A6; border: 2px solid var(--tinta);
  clip-path: inset(0 0 0 0);
  z-index: 0;
}
.hf-moldura {
  position: relative; z-index: 1;
  aspect-ratio: 361 / 542; overflow: visible;
}
.hf-moldura img {
  position: absolute; left: 0; top: 0; width: 100%; height: auto;
  margin-top: -41.5%;               /* corta o espaço vazio de cima do PNG */
  filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff) drop-shadow(0 12px 16px rgba(18, 38, 26, 0.35));
}
.hf-chapeu { position: absolute; left: 30%; top: -3%; width: 42%; rotate: -8deg; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25)); }
.hf-confete { position: absolute; inset: -6% -30% -4% -30%; z-index: 2; pointer-events: none; }
.hf-confete i {
  position: absolute; left: var(--x); top: var(--y);
  width: 10px; height: 6px; background: var(--c); rotate: var(--r);
  animation: cai var(--d) linear infinite; animation-delay: var(--dl);
}
.hf-confete i.redondo { width: 7px; height: 7px; border-radius: 50%; }
@keyframes cai {
  0% { transform: translate(0, -60px) rotate(0); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translate(14px, 70px) rotate(300deg); opacity: 0; }
}
.abertura-figuras .hamster { position: absolute; top: 2%; left: -6%; z-index: 3; }
.abertura-figuras .legenda-pov { z-index: 3; }
.abertura-figuras .solta { z-index: 3; }
@media (max-width: 820px) {
  .abertura-figuras { min-height: 480px; }
  .hero-foto { width: min(260px, 70%); }
  .hf-confete { inset: -6% -20% -4% -20%; }
}
@media (prefers-reduced-motion: reduce) { .hf-confete i { animation: none; } }

/* hero: acabamentos */
.hf-moldura img { -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent 100%); mask-image: linear-gradient(to bottom, #000 86%, transparent 100%); }
.abertura-figuras .legenda-pov { top: 36%; left: -2%; max-width: 160px; font-size: 20px; }
@media (max-width: 820px) {
  .abertura-figuras { min-height: 560px; }
  .abertura-figuras .legenda-pov { display: none; }
  .abertura-figuras .hamster { display: none; }
  .abertura-figuras .solta { width: 200px; right: -3%; bottom: -2%; padding: 12px; }
  .abertura-figuras .cart-nome { font-size: 16px; }
  .abertura-figuras .cart-avatar { width: 48px; height: 48px; font-size: 24px; }
  .abertura-figuras .cart-serie { font-size: 12px; }
  .abertura-figuras .cart-rotulo { font-size: 10px; }
  .abertura-figuras .cart-selo { font-size: 12px; padding: 0 8px; }
}

/* trajes em telas pequenas: a foto aparece inteira, sem cortar */
@media (max-width: 820px) {
  .traje-foto { aspect-ratio: auto; }
  .traje-foto img { position: static; width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: #DDE6D0; }
  .traje-foto.sem-img { aspect-ratio: 1 / 1; }
  /* vovó: corta embaixo de propósito (marca d'água do banco de imagens) */
  .traje-verde .traje-foto { aspect-ratio: 168 / 245; }
  .traje-verde .traje-foto img { position: absolute; inset: 0; height: 100%; max-height: none; object-fit: cover; object-position: 50% 0; }
}

/* abas das regras: sempre lado a lado (no celular o texto encolhe pra caber) */
.regras-abas { flex-wrap: nowrap; gap: 4px; }
.regras-abas button { flex: 1 1 0; min-width: 0; white-space: nowrap; text-align: center; }
@media (max-width: 820px) {
  .regras-abas button { padding: 12px 4px; font-size: clamp(11px, 3.3vw, 15px); letter-spacing: 0.04em; }
}
@media (min-width: 821px) {
  .regras-abas button { flex: 0 0 auto; }
}

/* ───────── câmera: popup triste e seção "olha a cara" ───────── */
.popup.triste { box-shadow: 6px 6px 0 #4A4A52; border-color: #4A4A52; filter: saturate(0.5); }
.popup.triste .popup-barra { background: #4A4A52; }
.popup.triste .popup-emoji { display: inline-block; font-size: 56px; animation: soluca 1.4s ease-in-out infinite; }
.popup.triste .popup-msg { font-size: 24px; font-style: italic; }
@keyframes soluca { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(5px) rotate(4deg); } }

.s-pt { padding: 104px var(--lado); text-align: center; }
.s-pt[hidden] { display: none; }
.s-pt h2 {
  max-width: 18ch; margin: 8px auto 40px;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px); line-height: 1; text-transform: uppercase;
}
.pt-moldura {
  position: relative; margin: 0 auto; width: min(420px, 100%);
  padding: 16px 16px 8px; background: #fff; color: var(--tinta);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.6);
  rotate: -2deg;
}
.pt-tela { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.pt-tela video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.pt-carimbo {
  position: absolute; right: 8px; bottom: 16px;
  padding: 4px 16px;
  border: 4px solid var(--vinho); border-radius: 8px;
  background: rgba(255, 255, 255, 0.88); color: var(--vinho);
  font-family: var(--f-display); font-size: 28px; text-transform: uppercase;
  rotate: -9deg;
}
.pt-moldura figcaption { padding: 16px 8px 8px; font-family: var(--f-display); font-size: 24px; }
.pt-nota { margin: 40px auto 0; max-width: 46ch; font-size: 15px; opacity: 0.8; }
@media (max-width: 820px) { .s-pt { padding: 64px 24px; } .pt-carimbo { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .popup.triste .popup-emoji { animation: none; } }

/* pop-up com o rosto da pessoa */
.popup.rosto { rotate: 1deg; width: min(360px, 100%); }
.popup.rosto .popup-barra span::before { content: "● REC  "; color: #ff6b6b; }
.popup.rosto .popup-corpo { grid-template-columns: 1fr; gap: 8px; }
.popup.rosto .popup-emoji { display: none; }
.popup.rosto .popup-msg { font-size: 24px; text-align: center; line-height: 1.2; }
.popup-video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: scaleX(-1); background: #111; border: 2px solid var(--tinta); }

/* foto da confirmação + botão trocar + NÃO gigante */
.pt-tela img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pt-moldura figcaption { font-family: var(--f-texto); font-weight: 700; font-size: 18px; line-height: 1.3; padding: 16px 8px 8px; }
.btn-trocar {
  margin-top: 40px; padding: 16px 24px;
  background: #EEF3E8; color: var(--vinho);
  border: 2px solid #EEF3E8; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45);
  font-family: var(--f-display); font-size: 24px; cursor: pointer;
}
.btn-trocar:hover { transform: translate(-2px, -2px); }
.btn-trocar:focus-visible { outline: 3px solid #EEF3E8; outline-offset: 4px; }
.pt-nota { margin-top: 24px; }

.nao { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(238, 243, 232, 0.96); color: var(--vinho); overflow: hidden; cursor: pointer; }
.nao[hidden] { display: none; }
.nao-texto { position: relative; z-index: 1; font-family: var(--f-display); font-size: clamp(140px, 42vw, 520px); line-height: 0.9; }
.nao.ativo .nao-texto { animation: nao-treme 0.1s linear infinite alternate, nao-entra 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.nao-risadas span { position: absolute; z-index: 2; font-weight: 800; color: var(--tinta); opacity: 0; animation: ri 2.4s ease-out forwards; }
@keyframes nao-treme { from { transform: translate(-6px, 3px) rotate(-1.5deg); } to { transform: translate(6px, -3px) rotate(1.5deg); } }
@keyframes nao-entra { from { scale: 0.2; opacity: 0; } }
@keyframes ri { 0% { opacity: 0; transform: translateY(24px) scale(0.6); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-80px) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .nao.ativo .nao-texto, .nao-risadas span { animation: none; } .nao-risadas span { opacity: 1; } }

/* botão enquanto envia (continua clicável para a piada do clique duplo) */
.btn-vou.enviando { opacity: 0.75; cursor: progress; }

/* caramelo: parado (1º quadro do GIF) até a trilha tocar */
.caramelo-parado { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 6px rgba(18, 38, 26, 0.35)); }
.caramelo:not(.danca-on) .caramelo-danca { animation: none; }
.caramelo.tem-parado:not(.danca-on) img { display: none; }
.caramelo.danca-on .caramelo-parado { display: none; }
