/* =========================================================
   PIQUE — o jogo da festa
   Mundo visual: mesa de festa infantil brasileira x placar
   ========================================================= */

/* fontes no próprio site (só o alfabeto latino). As "reserva" têm as medidas da fonte de verdade:
   enquanto ela carrega, o texto já ocupa o mesmo espaço e nada pula na tela. */
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fontes/familjen.woff2) format("woff2"); }
@font-face { font-family: "Familjen Grotesk"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fontes/familjen-italico.woff2) format("woff2"); }
@font-face { font-family: "Shrikhand"; font-style: normal; font-weight: 400; font-display: swap; src: url(fontes/shrikhand.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 400; font-display: swap; src: url(fontes/courier-400.woff2) format("woff2"); }
@font-face { font-family: "Courier Prime"; font-style: normal; font-weight: 700; font-display: swap; src: url(fontes/courier-700.woff2) format("woff2"); }
@font-face { font-family: "DotGothic16"; font-style: normal; font-weight: 400; font-display: swap; src: url(fontes/dotgothic.woff2) format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap; src: url(fontes/fredoka-600.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 800; font-display: swap; src: url(fontes/playfair-800.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 700; font-display: swap; src: url(fontes/playfair-italico-700.woff2) format("woff2"); }
@font-face { font-family: "Familjen reserva"; src: local("Arial"), local("Helvetica"); size-adjust: 94.5%; ascent-override: 108.4%; descent-override: 23.8%; line-gap-override: 0%; }
@font-face { font-family: "Shrikhand reserva"; src: local("Georgia"); size-adjust: 120%; ascent-override: 85.5%; descent-override: 36%; line-gap-override: 0%; }
@font-face { font-family: "Courier reserva"; src: local("Courier New"); size-adjust: 99.9%; ascent-override: 78.2%; descent-override: 34.2%; line-gap-override: 0%; }

:root {
  --paper: #FFF3E2;      /* papel de convite */
  --paper-2: #FBE4C6;    /* papel mais tostado */
  --card: #FFFCF6;       /* papel impresso */
  --ink: #2A160F;        /* brigadeiro */
  --ink-2: #5B3A2B;
  --red: #FF3B2F;        /* vermelho bexiga */
  --red-deep: #D92A1F;
  /* leitura: o vermelho vivo é só acento (bordas, sombras, confete).
     Fundo vermelho com texto usa o tijolo, sempre com texto claro (7,2:1 com o creme).
     Palavra vermelha em título sobre papel usa o --red-titulo (≥ 4,7:1). */
  --red-fundo: #9E2018;
  --red-titulo: #C2251A;
  --led-meio: #C9925A;   /* LED apagado mas legível (7,2:1 no painel) */
  /* granulado: usar com parcimônia */
  --g-pink: #FF8FB8;
  --g-yellow: #FFC93C;
  --g-green: #2FB36B;
  --g-blue: #3B82F6;
  --led: #FFB547;
  --led-dim: #6b4318;

  --f-display: "Shrikhand", "Shrikhand reserva", Georgia, serif;
  --f-body: "Familjen Grotesk", "Familjen reserva", Arial, sans-serif;
  --f-led: "DotGothic16", "Courier reserva", monospace;
  --f-type: "Courier Prime", "Courier reserva", monospace;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem);
  line-height: 1.5;
  overflow-x: hidden;
  /* papel com fibra leve */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .09 0 0 0 0 .06 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
b, strong { font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.board :focus-visible, .final :focus-visible { outline-color: var(--paper); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font: 700 1.05rem/1 var(--f-body);
  letter-spacing: -.01em;
  text-decoration: none;
  color: #fff;
  background: var(--red-deep);
  padding: 1.05em 1.5em;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn--small { font-size: .92rem; padding: .8em 1.15em; box-shadow: 0 3px 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 5px 0 rgba(42,22,15,.45); }
.btn--ink:hover { box-shadow: 0 7px 0 rgba(42,22,15,.45); }
.btn--big { font-size: clamp(1.05rem, 1rem + .6vw, 1.4rem); padding: 1.1em 1.6em; }

.link-arrow {
  font-weight: 700; text-decoration: none;
  border-bottom: 2.5px solid var(--ink);
  padding-bottom: 2px;
}
.link-arrow::after { content: " ↓"; }
.link-arrow:hover { color: var(--red-deep); border-color: var(--red-deep); }

.h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 6rem);
  line-height: .95;
  letter-spacing: -.01em;
}

/* ---------- granulado ---------- */
.sprinkles {
  position: absolute;
  left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  pointer-events: none;
  z-index: 0;
}
.sprinkle {
  position: absolute;
  width: 5px; height: 15px; border-radius: 3px;
}

/* =========================================================
   HEADER
   ========================================================= */
.top {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max); margin: 0 auto;
  padding: 18px var(--gutter);
}
.logo {
  position: relative;
  font-family: var(--f-display);
  font-size: 2rem; line-height: 1;
  text-decoration: none;
  color: var(--ink);
  padding-right: 6px;
}
.logo__candle {
  position: absolute; right: -6px; top: -10px;
  width: 6px; height: 18px; border-radius: 2px;
  background: repeating-linear-gradient(160deg, var(--red) 0 4px, var(--paper) 4px 7px);
  border: 1.5px solid var(--ink);
}
.logo__candle::before {
  content: ""; position: absolute; left: 50%; top: -12px;
  width: 8px; height: 11px; transform: translateX(-50%);
  background: var(--g-yellow);
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  border: 1.5px solid var(--ink);
}
/* o topo acompanha a rolagem; o fundo de papel se estende até as bordas da tela */
.top { position: sticky; top: 0; isolation: isolate; box-sizing: border-box; height: var(--topo, 76px); padding-top: 0; padding-bottom: 0; }
.top::before { /* fundo do topo de borda a borda, com a mesma textura de papel da página */
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vmax; right: -100vmax;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .09 0 0 0 0 .06 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* depois que a página rola: só uma sombra suave embaixo (sem linha e sem mudar de altura, pra nada pular) */
.top::after {
  content: ""; position: absolute; left: -100vmax; right: -100vmax; top: 100%; height: 14px; pointer-events: none;
  background: linear-gradient(rgba(42,22,15,.10), rgba(42,22,15,0)); opacity: 0; transition: opacity .25s ease;
}
.top.is-rolou::after { opacity: 1; }
:where(section[id], main) { scroll-margin-top: var(--topo, 76px); }
.top__menu {
  display: grid; align-content: center; gap: 5px; width: 46px; height: 44px; padding: 0 11px; margin-right: -6px;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.top__menu span { display: block; height: 3px; border-radius: 2px; background: currentColor; }
.top__menu span:nth-child(2) { width: 70%; justify-self: end; }
@media (min-width: 1180px) { .top__menu { display: none; } }

/* menu do celular em tela cheia */
.menu-cel {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column;
  height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--ink); color: var(--paper);
  padding: 18px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  animation: menu-entra .28s cubic-bezier(.2,.8,.3,1) both;
}
.menu-cel[hidden] { display: none; }
@keyframes menu-entra { from { opacity: 0; transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .menu-cel { animation: none; } }
.menu-cel__topo { display: flex; align-items: center; justify-content: space-between; }
.menu-cel .logo { color: var(--paper); }
.menu-cel__fechar { position: relative; width: 46px; height: 46px; margin-right: -6px; background: none; border: 0; cursor: pointer; }
.menu-cel__fechar span { position: absolute; left: 10px; right: 10px; top: 22px; height: 3px; border-radius: 2px; background: var(--paper); transform: rotate(45deg); }
.menu-cel__fechar span + span { transform: rotate(-45deg); }
.menu-cel__nav { display: grid; margin: auto 0; padding: 28px 0; }
.menu-cel__nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 10px 0; border-bottom: 1.5px dashed rgba(255,243,226,.25);
  font-family: var(--f-display); font-size: clamp(1.9rem, 1.2rem + 3.6vw, 2.8rem); line-height: 1.05;
  color: var(--paper); text-decoration: none;
}
.menu-cel__nav a small { font-family: var(--f-type); font-size: .8rem; font-weight: 700; color: var(--g-yellow); letter-spacing: .06em; }
.menu-cel__nav a:active, .menu-cel__nav a:hover { color: var(--g-yellow); }
.menu-cel__pe { display: grid; gap: 16px; justify-items: center; text-align: center; }
.menu-cel__pe .btn { width: 100%; background: var(--g-yellow); color: var(--ink); border-color: var(--paper); box-shadow: 0 5px 0 var(--paper); }
.menu-cel__entrar { font-size: .98rem; color: var(--paper); }
.menu-cel__entrar b { text-decoration: underline; text-underline-offset: 3px; }
.menu-cel__quem, .menu-cel__vip, .menu-cel__sair { display: none; }
.vip .menu-cel__criar, .vip .menu-cel__entrar { display: none; }
.vip .menu-cel__quem, .vip .menu-cel__sair { display: block; }
.vip .menu-cel__vip { display: inline-flex; }
.menu-cel__quem { font-size: .95rem; color: rgba(255,243,226,.75); overflow-wrap: anywhere; }
.menu-cel__quem b { display: block; margin-top: 2px; font-size: 1.05rem; color: var(--paper); }
.menu-cel__sair { padding: 6px; background: none; border: 0; cursor: pointer; font: inherit; font-size: .98rem; color: var(--paper); }
.menu-cel__sair b { text-decoration: underline; text-underline-offset: 3px; }
body.menu-aberto { overflow: hidden; }

.top__nav { display: none; gap: 24px; font-weight: 600; font-size: .98rem; }
.top__nav a { text-decoration: none; white-space: nowrap; }
.top__nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 1180px) { .top__nav { display: flex; } }
.top__acoes { display: flex; align-items: center; gap: 14px; flex: none; }
/* sem login: "Área VIP" vazada, com estrela, ao lado do Criar (cheio, vermelho). Mesma altura, mesma sombra dura */
.top__vip {
  display: inline-flex; align-items: center; gap: .45em; min-height: 42px; padding: 0 1.05em;
  border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper); box-shadow: 0 3px 0 var(--ink);
  font-weight: 700; font-size: .92rem; letter-spacing: .01em; text-decoration: none; color: var(--ink); white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.top__vip svg { width: 1.05em; height: 1.05em; fill: var(--g-yellow); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.top__vip:hover { background: #fff7e6; transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.top__vip:active, .top__eu:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.top .btn--small { min-height: 42px; }
/* celular: o Criar já está logo abaixo, no topo da página; no cabeçalho fica a Área VIP */
@media (max-width: 599px) { .top__acoes .btn { display: none; } }
/* celular: o botão vira "★ VIP" pra caber logo, botão e menu numa linha de 360px */
@media (max-width: 599px) {
  .top__acoes { gap: 8px; }
  .top__vip { min-height: 40px; padding: 0 .8em; gap: .35em; }
  .top__vip-area { display: none; }
}

/* logado: a conta à vista (com qual e-mail entrou) e o Sair */
.top__conta { display: none; align-items: center; gap: 10px; }
.vip .top__vip, .vip .top__criar { display: none; }
.vip .top__conta { display: flex; }
.top__eu {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 4px 16px 4px 4px;
  border: 2.5px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); box-shadow: 0 3px 0 rgba(42,22,15,.4);
  text-decoration: none; transition: transform .12s ease;
}
.top__eu:hover { transform: translateY(-1px); }
.top__ini {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--g-yellow); color: var(--ink); font: 700 .85rem/1 var(--f-body); letter-spacing: .02em;
}
.top__eu-txt { display: grid; line-height: 1.1; min-width: 0; }
.top__eu-txt small { font: 700 .66rem/1.2 var(--f-type); letter-spacing: .1em; text-transform: uppercase; color: var(--g-yellow); }
.top__eu-txt b { font-weight: 600; font-size: .86rem; max-width: 15em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top__eu { cursor: pointer; font: inherit; }
.top__seta { width: 16px; height: 16px; flex: none; margin-left: -2px; fill: none; stroke: var(--g-yellow); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s ease; }
.top__eu[aria-expanded="true"] .top__seta { transform: rotate(180deg); }
.top__conta { position: relative; }
.eu-menu {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 30; width: 290px; padding: 8px;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 var(--ink);
  animation: eu-entra .14s ease-out;
}
@keyframes eu-entra { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .eu-menu { animation: none; } }
.eu-menu__quem { display: flex; align-items: center; gap: 12px; padding: 8px 8px 14px; margin-bottom: 6px; border-bottom: 1.5px dashed rgba(42,22,15,.3); }
.eu-menu__quem > span:last-child { display: grid; min-width: 0; line-height: 1.25; }
.eu-menu__quem small { font: 700 .68rem/1.3 var(--f-type); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.eu-menu__quem b { font-size: .95rem; font-weight: 700; overflow-wrap: anywhere; }
.eu-menu a, .eu-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 10px; border-radius: 12px;
  background: none; border: 0; cursor: pointer; text-align: left; font: 600 .95rem/1.2 var(--f-body); color: var(--ink); text-decoration: none;
}
.eu-menu a:hover, .eu-menu button:hover, .eu-menu a:focus-visible, .eu-menu button:focus-visible { background: #f6e3c4; outline: none; }
.eu-menu svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.eu-menu a:first-of-type svg { fill: var(--g-yellow); stroke: var(--ink); }
.eu-menu__sair { margin-top: 4px; border-top: 1.5px dashed rgba(42,22,15,.3) !important; border-radius: 0 0 12px 12px !important; padding-top: 14px !important; color: var(--red) !important; }
.eu-menu__sair span { display: grid; gap: 2px; }
.eu-menu__sair small { font-weight: 500; font-size: .8rem; color: var(--ink-2); }
/* celular: só a bolinha e "Área VIP"; o e-mail e o Sair ficam no menu */
@media (max-width: 599px) {
  .eu-menu { right: -54px; width: min(290px, calc(100vw - 24px)); }
  .top__eu { min-height: 42px; padding-right: 13px; gap: 8px; }
  .top__ini { width: 30px; height: 30px; font-size: .78rem; }
  .top__eu-txt small { display: none; }
  .top__eu-txt b { font-size: 0; max-width: none; }
  .top__eu-txt b::after { content: "Área VIP"; font: 700 .9rem/1 var(--f-body); }
}
@media (max-width: 380px) { .top .btn--small { font-size: .82rem; padding: .75em .9em; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(18px, 4vw, 56px) var(--gutter) clamp(56px, 8vw, 120px);
  display: grid; gap: 40px;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3.3rem, 1.4rem + 8.2vw, 8.4rem);
  line-height: .9;
  letter-spacing: -.015em;
}
.hero__title span { display: block; }
.hero__title .l2 { padding-left: .55em; }
.hero__title .l3 { padding-left: .18em; }
.hero__title .l4 {
  color: var(--red);
  font-size: 1.12em;
  transform: rotate(-4deg);
  transform-origin: left bottom;
  margin-top: .12em;
  /* sombra de impressão deslocada */
  text-shadow: .045em .045em 0 var(--ink);
}
.hero__lede {
  margin-top: clamp(26px, 3vw, 40px);
  max-width: 19.27em;
  font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  line-height: 1.45;
}
.hero__lede strong { background: linear-gradient(transparent 58%, rgba(255,201,60,.75) 58%); }
/* "já tem a arte?" numa linha só, logo abaixo do texto do topo */
.hero__arte { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 1rem; line-height: 1.3; }
.hero__arte svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__arte b { background: linear-gradient(transparent 58%, rgba(255,201,60,.75) 58%); }
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero__fine { margin-top: 18px; font-size: .92rem; color: var(--ink-2); }
.hero__teste { margin-top: 16px; max-width: 34rem; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-size: 1rem; line-height: 1.45; box-shadow: 3px 3px 0 var(--ink); }
.step__teste { margin-top: 8px; font-weight: 600; }
[data-so-teste][hidden], [data-sem-teste][hidden] { display: none !important; }

.hero__stage { position: relative; min-height: 540px; z-index: 1; }

/* convite impresso */
.invite {
  position: absolute; left: 0; top: 0;
  width: min(84%, 380px);
  background: var(--card);
  padding: 12px;
  transform: rotate(-5deg);
  box-shadow: 0 1px 0 rgba(42,22,15,.08), 0 22px 34px -18px rgba(42,22,15,.45);
}
.invite__inner {
  border: 2px solid var(--red);
  outline: 1px solid var(--red); outline-offset: -7px;
  padding: 26px 22px 22px;
  text-align: center;
}
.invite__kicker { font-style: italic; font-size: .95rem; color: var(--ink-2); }
.invite__name { font-family: var(--f-display); color: var(--red); font-size: clamp(2.1rem, 1.6rem + 2vw, 2.7rem); line-height: 1; margin-top: 6px; text-shadow: 2px 2px 0 var(--ink); }
.invite__age { font-family: var(--f-display); font-size: 1.2rem; margin-top: 6px; }
.invite__age span { font-size: 2.6em; line-height: .8; vertical-align: -.18em; }
.invite__info { margin: 16px 0 0; font-size: .86rem; text-align: left; border-top: 1px dashed var(--ink); }
.invite__info div { display: grid; grid-template-columns: 4.2em 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--ink); }
.invite__info dt { font-family: var(--f-type); text-transform: lowercase; color: var(--ink-2); }
.invite__info dd { font-weight: 600; }
.invite__link { margin-top: 12px; font-family: var(--f-type); font-size: .8rem; }

.stamp {
  position: absolute; right: -6%; bottom: 18%;
  transform: rotate(-16deg);
  color: var(--red-deep);
  border: 3px solid currentColor;
  outline: 1.5px solid currentColor; outline-offset: 3px;
  border-radius: 6px;
  padding: 8px 12px 6px;
  font: 700 1.05rem/1.05 var(--f-type);
  text-transform: uppercase; letter-spacing: .04em;
  text-align: center;
  background: rgba(255,252,246,.55);
  mix-blend-mode: multiply;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stamp small { display: block; font-size: .68rem; margin-top: 4px; letter-spacing: .02em; text-transform: none; font-weight: 400; }

/* celular */
.phone {
  position: absolute; right: 0; top: 150px;
  width: min(60%, 268px);
  background: var(--ink);
  border-radius: 38px;
  padding: 10px;
  transform: rotate(5deg);
  box-shadow: 0 30px 40px -22px rgba(42,22,15,.6);
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 18px; border-radius: 12px; background: var(--ink); z-index: 2;
}
.phone__screen {
  background: var(--paper);
  border-radius: 29px;
  padding: 44px 14px 16px;
  overflow: hidden;
}
.phone__bar { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 700; margin-top: -30px; margin-bottom: 18px; padding: 0 8px; }
.phone__live { color: var(--red-deep); }
.phone__live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 5px; vertical-align: 1px; }
.phone__title { font-family: var(--f-display); font-size: 1.45rem; line-height: 1; margin-bottom: 12px; }
.phone__list li {
  display: grid; grid-template-columns: 1.6em 1fr auto; align-items: center; gap: 6px;
  padding: 7px 8px; font-size: .86rem; font-weight: 600;
  border-bottom: 1px dashed rgba(42,22,15,.3);
}
.phone__list b { font-family: var(--f-led); font-weight: 400; color: var(--ink-2); }
.phone__list em { font-style: normal; font-family: var(--f-led); }
.phone__list .is-first { background: var(--g-yellow); border-radius: 10px; border-bottom-color: transparent; font-weight: 700; position: relative; }
.phone__list .is-first span::after {
  content: ""; display: inline-block; width: 16px; height: 11px; margin-left: 6px; vertical-align: 0;
  background: var(--ink);
  clip-path: polygon(0 100%, 0 20%, 25% 55%, 50% 0, 75% 55%, 100% 20%, 100% 100%);
}
.phone__list .is-you span::after { content: " (aniversariante)"; font-weight: 400; font-size: .72rem; color: var(--ink-2); }
.phone__btn {
  margin-top: 14px; text-align: center; font-weight: 700; font-size: .88rem;
  background: var(--red); border: 2px solid var(--ink); border-radius: 999px; padding: 10px;
}

@media (min-width: 640px) {
  .hero__stage { min-height: 600px; }
  .invite { width: 380px; left: 4%; }
  .phone { right: 6%; top: 120px; }
}
@media (min-width: 1000px) {
  .hero { grid-template-columns: 1.12fr 1fr; align-items: start; gap: 24px; }
  .hero__stage { min-height: 640px; margin-top: 40px; }
  .invite { left: -4%; top: 10px; }
  .phone { right: 0; top: 150px; width: 272px; }
}

/* =========================================================
   COMO FUNCIONA — velinhas
   ========================================================= */
.how {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(90px, 10vw, 150px);
}
.how__head { display: grid; gap: 18px; position: relative; z-index: 2; }
.how__sub { max-width: 20.40em; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.how__ribbon { display: none; }

.steps { margin-top: 48px; display: grid; gap: 40px; position: relative; z-index: 2; }
.step { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; }
.step h3 { font-size: 1.3rem; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.step p { color: var(--ink-2); }

.candle { position: relative; display: block; padding-top: 34px; text-align: center; }
.candle .num {
  display: block;
  font-family: var(--f-display);
  font-size: 6.2rem; line-height: .82;
  color: transparent;
  background: repeating-linear-gradient(118deg, var(--red) 0 9px, var(--card) 9px 17px);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
}
.candle::before { /* pavio */
  content: ""; position: absolute; top: 24px; left: 50%;
  width: 2.5px; height: 14px; background: var(--ink); transform: translateX(-50%);
  border-radius: 2px;
}
.flame {
  position: absolute; left: 50%; top: 0;
  width: 18px; height: 26px; margin-left: -9px;
  background: var(--g-yellow);
  border: 2px solid var(--ink);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  transform-origin: 50% 90%;
  animation: flicker 1.8s ease-in-out infinite;
}
.flame::after {
  content: ""; position: absolute; left: 50%; bottom: 3px;
  width: 7px; height: 10px; margin-left: -3.5px;
  background: var(--red);
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
}
.step--2 .flame { animation-delay: -.4s; }
.step--3 .flame { animation-delay: -1.1s; }
.step--4 .flame { animation-delay: -.7s; }
@keyframes flicker {
  0%, 100% { transform: rotate(-4deg) scaleY(1); }
  50% { transform: rotate(5deg) scaleY(1.08); }
}

@media (min-width: 760px) {
  .how__head { grid-template-columns: auto 1fr; align-items: end; gap: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 56px 48px; }
  .step--2, .step--4 { margin-top: 70px; }
}
@media (min-width: 1100px) {
  .how__ribbon {
    display: block; position: absolute; z-index: 1;
    left: var(--gutter); right: var(--gutter); top: 300px; height: 560px; width: calc(100% - 2 * var(--gutter));
    fill: none; stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round;
  }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 56px; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step .candle { width: 110px; text-align: left; }
  .step--2 { margin-top: 110px; }
  .step--3 { margin-top: 220px; }
  .step--4 { margin-top: 330px; }
  .candle .num { font-size: 8rem; }
  .step__text { background: var(--paper); padding: 6px 0; }
}

/* =========================================================
   PLACAR — chocolate
   ========================================================= */
.board {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  margin-bottom: 70px;
}
.drip {
  position: absolute; left: 0; top: calc(100% - 1px);
  width: 100%; height: clamp(40px, 6vw, 90px);
  fill: var(--ink);
}
.board__inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 9vw, 130px) var(--gutter) clamp(56px, 7vw, 100px);
  display: grid; gap: 44px;
}
.board__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5.6rem);
  line-height: .98;
}
.board__title span { display: block; color: var(--g-yellow); }
.board__copy p { margin-top: 22px; max-width: 21.53em; color: #F3DCC4; }
.board__copy .board__note {
  margin-top: 26px; padding-left: 16px;
  border-left: 3px solid var(--red);
  font-style: italic;
}

.led {
  position: relative;
  background-color: #150904;
  background-image: radial-gradient(rgba(255,181,71,.07) 1px, transparent 1.4px);
  background-size: 6px 6px;
  border: 10px solid #3E2117;
  border-radius: 14px;
  box-shadow: inset 0 0 0 2px #0b0402, 0 0 0 2px #53301f;
  padding: 18px clamp(14px, 3vw, 28px) 16px;
  font-family: var(--f-led);
  color: var(--led);
}
.led::before, .led::after { /* parafusos */
  content: ""; position: absolute; top: -6px; width: 6px; height: 6px; border-radius: 50%; background: #8a5a3c;
}
.led::before { left: -6px; } .led::after { right: -6px; }
.led__head {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: clamp(.95rem, .85rem + .5vw, 1.25rem);
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--red);
  padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 2px dotted var(--led-dim);
}
.led__clock { color: var(--led); }
.led__rows {
  position: relative;
  --row: clamp(44px, 3.6vw + 26px, 64px);
  height: calc(var(--row) * 7);
}
.led__rows li {
  position: absolute; left: 0; right: 0; top: 0;
  height: var(--row);
  display: grid; grid-template-columns: 2.2ch 1fr auto; align-items: center; gap: 12px;
  font-size: clamp(1.15rem, .9rem + 1.3vw, 2rem);
  border-bottom: 1px dashed rgba(255,181,71,.16);
  transition: transform .7s cubic-bezier(.6,-.25,.3,1.3);
  text-shadow: 0 0 6px rgba(255,181,71,.35);
}
.led__rows .pos { color: var(--led-dim); text-shadow: none; }
.led__rows .nm { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #FFE3B5; }
.led__rows .sc { letter-spacing: .05em; font-variant-numeric: tabular-nums; }
.led__rows li.is-top .pos { color: var(--g-yellow); }
.led__rows li.is-top .nm { color: var(--g-yellow); }
.led__rows li.is-top .nm::after {
  content: ""; display: inline-block; width: .9em; height: .62em; margin-left: .35em;
  background: var(--g-yellow);
  clip-path: polygon(0 100%, 0 20%, 25% 55%, 50% 0, 75% 55%, 100% 20%, 100% 100%);
}
.led__rows li.bump .sc { color: #fff; }
.led__foot { margin-top: 12px; font-size: .9rem; color: var(--led-dim); }
.led__foot .blink { color: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (min-width: 980px) {
  .board__inner { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 64px; }
  .led { transform: rotate(-1.2deg); }
}

/* =========================================================
   PARA OS PAIS — lista de presença
   ========================================================= */
.parents {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(80px, 9vw, 140px) var(--gutter) clamp(70px, 9vw, 140px);
  display: grid; gap: 56px;
}
.parents .h2 { font-size: clamp(2.6rem, 1.5rem + 4.3vw, 5.4rem); }
.parents .quote { color: var(--red); white-space: nowrap; text-shadow: .04em .04em 0 var(--ink); }
.parents__lede { margin-top: 24px; max-width: 20.40em; font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); }
.ticks { margin-top: 30px; display: grid; gap: 16px; max-width: 26.07em; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .25em;
  width: 7px; height: 20px; border-radius: 4px;
  background: var(--c, var(--red)); transform: rotate(var(--r, 30deg));
  box-shadow: 0 0 0 1.5px var(--ink);
}
.ticks li:nth-child(1) { --c: var(--g-pink); --r: 28deg; }
.ticks li:nth-child(2) { --c: var(--g-yellow); --r: -22deg; }
.ticks li:nth-child(3) { --c: var(--g-green); --r: 52deg; }
.ticks li:nth-child(4) { --c: var(--g-blue); --r: -40deg; }

.receipt-wrap { position: relative; padding-top: 24px; max-width: 480px; width: 100%; justify-self: center; }
.clip {
  position: absolute; z-index: 3; top: 0; left: 50%; transform: translateX(-50%) rotate(2deg);
  width: 132px; height: 46px;
  background: #b9a48f;
  border: 2.5px solid var(--ink);
  border-radius: 10px 10px 4px 4px;
  box-shadow: inset 0 -8px 0 rgba(42,22,15,.15);
}
.clip::before {
  content: ""; position: absolute; left: 50%; top: -14px; transform: translateX(-50%);
  width: 44px; height: 22px; border: 2.5px solid var(--ink); border-bottom: 0; border-radius: 22px 22px 0 0;
  background: transparent;
}
.receipt {
  position: relative;
  background: var(--card);
  font-family: var(--f-type);
  font-size: .9rem;
  padding: 44px clamp(16px, 4vw, 30px) 40px;
  transform: rotate(2deg);
  box-shadow: 0 26px 40px -24px rgba(42,22,15,.55), 0 1px 0 rgba(42,22,15,.06);
  /* borda serrilhada embaixo */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 10px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 18px 10px repeat-x;
}
.receipt__head { text-align: center; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.receipt__title { font-family: var(--f-display); font-size: 1.9rem; line-height: 1.1; color: var(--ink); }
.receipt__head p:last-child { margin-top: 4px; }
.receipt__table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.receipt__table th { text-align: left; font-weight: 700; font-size: .78rem; text-transform: uppercase; padding: 8px 4px; border-bottom: 1px solid var(--ink); }
.receipt__table td { padding: 8px 4px; border-bottom: 1px dashed rgba(42,22,15,.35); vertical-align: top; }
.receipt__table td:nth-child(2) { white-space: nowrap; font-weight: 700; }
.receipt__table td:nth-child(3) { font-size: .8rem; color: var(--ink-2); }
.receipt__table .muted td { color: var(--ink-2); }
.receipt__table .dots td { text-align: center; font-style: italic; border-bottom: 0; color: var(--ink-2); }
.receipt__totals { margin-top: 10px; border-top: 2px solid var(--ink); padding-top: 8px; }
.receipt__totals div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.receipt__totals dd { font-weight: 700; }
.receipt__totals .big { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--ink); font-size: 1.1rem; font-weight: 700; align-items: center; }
.receipt__totals .big dd {
  position: relative; font-size: 1.6rem; padding: 0 10px;
}
.receipt__totals .big dd::after { /* círculo de caneta */
  content: ""; position: absolute; inset: -8px -6px -6px -8px;
  border: 2.5px solid var(--red);
  border-radius: 52% 48% 55% 45% / 58% 50% 50% 42%;
  transform: rotate(-6deg);
}
.receipt__hand {
  margin-top: 14px; text-align: right;
  font-family: var(--f-body); font-style: italic; font-weight: 600;
  color: var(--red-deep); font-size: 1rem; transform: rotate(-2deg);
}

@media (min-width: 900px) {
  .parents { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; }
  .receipt-wrap { justify-self: end; margin-right: 2%; }
}

/* =========================================================
   INGRESSOS
   ========================================================= */
.tickets {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 9vw, 130px);
  display: grid; gap: 44px;
}
.tickets__head p { margin-top: 20px; max-width: 19.27em; font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); }
.tix { display: grid; gap: 30px; }
.ticket {
  --notch: var(--paper);
  position: relative;
  display: grid; grid-template-columns: 1fr;
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 6px 0 var(--ink);
}
.ticket--main { background: var(--red); transform: rotate(-1.5deg); }
.ticket--extra { transform: rotate(1.5deg); }
.ticket__body { padding: 26px 22px 24px; }
.ticket__type { font-family: var(--f-type); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.ticket__name { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); line-height: 1; margin-top: 8px; }
.ticket__price { font-family: var(--f-display); font-size: clamp(4.2rem, 3rem + 5vw, 6.4rem); line-height: .9; margin-top: 18px; letter-spacing: -.02em; }
.ticket__price small { font-size: .32em; vertical-align: .95em; margin-right: .12em; }
.ticket__per { font-weight: 600; margin-top: 4px; }
.ticket__list { margin: 20px 0 24px; display: grid; gap: 8px; }
.ticket__list li { padding-left: 22px; position: relative; }
.ticket__list li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 10px; height: 2.5px; background: var(--ink); }
.ticket--main .btn { background: var(--paper); color: var(--ink); }
.ticket__desc { margin-top: 18px; max-width: 19.27em; }
.ticket__stub {
  position: relative;
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 2.5px dashed var(--ink);
  padding: 14px 22px;
  font-family: var(--f-type); font-size: .82rem; font-weight: 700; text-transform: uppercase;
}
.ticket__stub::before, .ticket__stub::after {
  content: ""; position: absolute; top: -14px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--notch);
  border: 2.5px solid var(--ink);
}
.ticket__stub::before { left: -15px; clip-path: inset(0 0 0 50%); }
.ticket__stub::after { right: -15px; clip-path: inset(0 50% 0 0); }
.tickets__fine { font-size: .92rem; color: var(--ink-2); }

@media (min-width: 760px) {
  .ticket { grid-template-columns: 1fr 96px; }
  .ticket__body { padding: 32px 34px; }
  .ticket__stub {
    flex-direction: column; justify-content: space-between; align-items: center;
    border-top: 0; border-left: 2.5px dashed var(--ink);
    writing-mode: vertical-rl; padding: 24px 12px;
  }
  .ticket__stub::before, .ticket__stub::after { left: -15px; right: auto; }
  .ticket__stub::before { top: -15px; clip-path: inset(50% 0 0 0); }
  .ticket__stub::after { top: auto; bottom: -15px; clip-path: inset(0 0 50% 0); }
}
@media (min-width: 1000px) {
  .tickets { grid-template-columns: .8fr 1.2fr; align-items: start; gap: 56px; }
  .tickets__head { position: sticky; top: 40px; padding-top: 30px; }
  .tix { gap: 0; }
  .ticket--extra { margin: -18px 0 0 18%; transform: rotate(2.5deg); }
  .ticket--main { z-index: 1; margin-right: 8%; }
}

/* =========================================================
   DÚVIDAS — programa impresso
   ========================================================= */
.program {
  max-width: 1180px; width: 100%;
  margin: 0 auto;
  background: var(--card);
  border: 2.5px solid var(--ink);
  outline: 1.5px solid var(--ink); outline-offset: -10px;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px);
}
.program__head { text-align: center; max-width: 17.00em; margin: 0 auto; }
.program__rule { color: var(--red); letter-spacing: .6em; font-size: .9rem; }
.program__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); line-height: 1; margin-top: 12px; }
.program__sub { margin-top: 12px; font-style: italic; color: var(--ink-2); }
.program__cols {
  margin-top: clamp(32px, 5vw, 56px);
  columns: 1; column-gap: 48px;
  column-rule: 1.5px dotted rgba(42,22,15,.5);
  border-top: 2px solid var(--ink);
  padding-top: 28px;
}
.qa { break-inside: avoid; margin-bottom: 26px; }
.qa h3 {
  font-family: var(--f-body); font-weight: 700;
  font-size: 1.18rem; line-height: 1.2; letter-spacing: -.01em;
  margin-bottom: 6px;
}
.qa h3::before {
  content: "P."; font-family: var(--f-display); font-weight: 400; color: var(--red-deep); margin-right: .3em;
}
.qa p { color: var(--ink-2); font-size: 1rem; }
@media (min-width: 720px) { .program__cols { columns: 2; } }
@media (min-width: 1100px) { .program__cols { columns: 3; } }

/* =========================================================
   CTA FINAL
   ========================================================= */
.final {
  position: relative; overflow: hidden;
  background: var(--red);
  border-top: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
}
.final__inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(70px, 10vw, 150px) var(--gutter);
}
.final__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3rem, 1.4rem + 7.4vw, 8.6rem);
  line-height: .92; max-width: 7.82em;
  color: var(--ink);
}
.final__title span { display: block; color: var(--paper); text-shadow: .045em .045em 0 var(--ink); transform: rotate(-3deg); transform-origin: left; margin-top: .1em; }
.final__lede { margin-top: 28px; max-width: 19.27em; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 500; }
.final .btn { margin-top: 32px; }
.final__fine { margin-top: 16px; font-size: .92rem; }
.balloons {
  position: absolute; z-index: 1;
  right: -40px; top: 30px; width: 170px; height: auto;
  animation: float 6s ease-in-out infinite;
}
.balloons .string { fill: none; stroke: var(--ink); stroke-width: 2; }
@keyframes float { 50% { transform: translateY(-14px) rotate(2deg); } }
@media (min-width: 760px) { .balloons { right: 6%; top: 50px; width: 230px; } }
@media (min-width: 1200px) { .balloons { right: 10%; width: 270px; top: 70px; } }
@media (max-width: 759px) { .final__inner { padding-top: 200px; } .balloons { right: 12px; top: 18px; width: 140px; } }

.confetti-bit {
  position: fixed; z-index: 100; pointer-events: none;
  width: 6px; height: 16px; border-radius: 3px;
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.foot {
  max-width: var(--max); margin: 0 auto;
  padding: 48px var(--gutter) 40px;
  display: grid; gap: 10px 32px;
  grid-template-columns: auto 1fr;
  align-items: baseline;
}
.foot__logo { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; }
.foot__tag { font-style: italic; color: var(--ink-2); }
.foot__nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; font-weight: 600; }
.foot__nav a { text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; }
.foot__fine { grid-column: 1 / -1; font-size: .88rem; color: var(--ink-2); margin-top: 10px; }
/* quem fez e os dados da empresa (exigência do Decreto 7.962/2013 pra loja online) */
.foot__empresa { grid-column: 1 / -1; display: grid; gap: 2px; margin-top: 18px; padding-top: 18px; border-top: 1.5px dashed rgba(42,22,15,.3); font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.foot__empresa p:first-child { font-weight: 700; color: var(--ink); }
.foot__empresa a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot__empresa a:hover { color: var(--red); }
@media (max-width: 599px) { .foot { grid-template-columns: 1fr; } }
@media (min-width: 900px) {
  .foot { grid-template-columns: auto auto 1fr; }
  .foot__nav { grid-column: auto; justify-self: end; margin-top: 0; }
}

/* =========================================================
   Movimento reduzido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Ajustes — rodada 2
   ========================================================= */
html, body { overflow-x: clip; }

/* hero: título um pouco menor no desktop pra trazer o CTA pra cima */
.hero__title { font-size: clamp(3.75rem, 1.6rem + 7.6vw, 7.1rem); }
@media (max-width: 520px) { .hero__title .l4 { font-size: 1.06em; } }

.brig { position: absolute; width: 96px; height: 90px; z-index: 3; filter: drop-shadow(0 10px 8px rgba(42,22,15,.25)); }
.brig--hero { left: 4%; bottom: 0; transform: rotate(-8deg); }
@media (min-width: 1000px) { .brig--hero { left: 18%; bottom: 10px; width: 120px; height: 112px; } }

.phone__list i {
  font-style: normal; font-size: .6rem; font-weight: 700; text-transform: uppercase;
  background: var(--red); color: var(--ink); border-radius: 4px; padding: 1px 4px; margin-left: 4px; vertical-align: 1px;
}
.phone__list .is-you span::after { content: none; }

@media (max-width: 639px) {
  .invite { left: 2%; width: 82%; }
  .phone { top: 210px; }
  .stamp { right: auto; left: 6%; bottom: -34px; }
  .hero__stage { min-height: 620px; }
}

/* velinhas: contorno por baixo, listras por cima (evita linhas internas do glifo) */
.candle .num { position: relative; -webkit-text-stroke: 0; z-index: 1; }
.candle .num::before {
  content: attr(data-n);
  position: absolute; inset: 0; z-index: -1;
  color: var(--ink);
  -webkit-text-stroke: 6px var(--ink);
  background: none;
}
.candle .num { isolation: isolate; }
.step__text { background: none !important; }

/* ingressos: canhoto vertical */
@media (min-width: 760px) {
  .ticket__stub { flex-direction: row; }
}

/* programa */
.program__head { max-width: none; }
.program__title { max-width: 9.95em; margin-left: auto; margin-right: auto; }

/* brigadeiros ao lado da lista */
.brig--a { left: -34px; bottom: -18px; transform: rotate(-12deg); }
.brig--b { left: 36px; bottom: -40px; width: 80px; height: 74px; transform: rotate(9deg); }
@media (max-width: 899px) {
  .brig--a { left: auto; right: -6px; bottom: -40px; }
  .brig--b { left: auto; right: 74px; bottom: -52px; }
}
@media (max-width: 520px) {
  .receipt { transform: rotate(1deg); font-size: .84rem; }
}

/* CTA final: folhinha de parede */
.folha { display: none; }
@media (min-width: 900px) {
  .folha {
    display: block; position: absolute; z-index: 1;
    right: 8%; bottom: 14%;
    width: 220px;
    background: var(--card);
    border: 2.5px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
    transform: rotate(5deg);
    text-align: center;
    padding-bottom: 18px;
  }
  .folha::before { /* argolas */
    content: ""; position: absolute; top: -12px; left: 24px; right: 24px; height: 22px;
    background: radial-gradient(circle at 50% 50%, var(--ink) 4px, transparent 4.5px) 0 0 / 28px 22px repeat-x;
  }
  .folha__month { background: var(--ink); color: var(--paper); font: 700 1rem/1 var(--f-type); text-transform: uppercase; letter-spacing: .14em; padding: 16px 0 12px; }
  .folha__day { font-family: var(--f-display); font-size: 6.4rem; line-height: 1; margin-top: 10px; position: relative; display: inline-block; }
  .folha__day::after {
    content: ""; position: absolute; inset: 4px -16px -2px -18px;
    border: 3px solid var(--red);
    border-radius: 48% 52% 45% 55% / 55% 48% 52% 45%;
    transform: rotate(-8deg);
  }
  .folha__week { font-family: var(--f-type); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
  .folha__note { font-style: italic; font-weight: 700; color: var(--red-deep); margin-top: 6px; transform: rotate(-4deg); }
  .balloons { right: 22%; top: 40px; width: 240px; }
}
@media (min-width: 1200px) { .balloons { right: 24%; width: 280px; } .folha { right: 9%; } }
/* velinhas v3: duas camadas em pseudo-elementos */
.candle .num, .candle .num::before, .candle .num::after { background: none; }
.candle .num { position: relative; color: transparent; -webkit-text-stroke: 0; }
.candle .num::before {
  content: attr(data-n); display: block; position: static; z-index: auto;
  color: var(--ink); -webkit-text-stroke: 6px var(--ink);
}
.candle .num::after {
  content: attr(data-n); position: absolute; left: 0; right: 0; top: 0;
  color: transparent;
  background: repeating-linear-gradient(118deg, var(--red) 0 9px, var(--card) 9px 17px);
  -webkit-background-clip: text; background-clip: text;
}
@media (min-width: 1000px) { .tickets { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); } .hero { grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); } }
@media (max-width: 359px) { .phone { width: 62%; right: 2%; } }

/* ---------- rodada 3 ---------- */
/* velinhas em Fredoka (o "4" do Shrikhand parecia "24") */
.candle .num { font-family: "Fredoka", var(--f-display); font-weight: 600; }
.candle .num::before { -webkit-text-stroke: 7px var(--ink); }
.candle .num::after { background: repeating-linear-gradient(118deg, var(--red) 0 10px, var(--card) 10px 19px); -webkit-background-clip: text; background-clip: text; }
@media (min-width: 1100px) { .candle .num { font-size: 8.4rem; } }

/* ingressos */
.tickets .h2 { font-size: clamp(2.6rem, 1.2rem + 3.2vw, 4.2rem); }
@media (max-width: 999px) { .tickets .h2 { font-size: clamp(2.6rem, 1.5rem + 4.3vw, 5.4rem); } }
@media (min-width: 1000px) { .ticket--extra { margin-top: 26px; } }

/* CTA final: balões amarrados na folhinha */
.final__deco { position: absolute; z-index: 1; right: 12px; top: 18px; width: 150px; pointer-events: none; }
.final__deco .balloons { position: static; width: 100%; height: auto; right: auto; top: auto; animation: float 6s ease-in-out infinite; transform-origin: 50% 100%; }
.final__deco .folha { display: none; }
@media (min-width: 760px) and (max-width: 899px) { .final__deco { width: 200px; right: 6%; top: 40px; } }
@media (min-width: 900px) {
  .final__deco { right: 8%; top: auto; bottom: 10%; width: 240px; }
  .final__deco .balloons { width: 220px; margin: 0 auto -14px; position: relative; z-index: 0; }
  .final__deco .folha { display: block; position: relative; right: auto; bottom: auto; margin: 0 auto; z-index: 1; }
}
@media (min-width: 1200px) { .final__deco { right: 10%; } }
@keyframes float { 50% { transform: translateY(-10px) rotate(1.5deg); } }
@media (min-width: 760px) and (max-width: 999px) { .how__head { grid-template-columns: 1fr; gap: 18px; } }
.folha__day { font-family: "Fredoka", var(--f-display) !important; font-weight: 600; }
@media (min-width: 1200px) { .final__deco { width: 290px; } .final__deco .balloons { width: 270px; } }
@media (max-width: 899px) { .sprinkles--final { display: none; } }
@media (min-width: 900px) { .final__title { font-size: clamp(3rem, 1rem + 6.6vw, 7.4rem); } }

/* =========================================================
   JOGOS — cardápio + tela de abertura com a foto
   ========================================================= */
.menu {
  position: relative;
  background: var(--paper-2);
  padding: clamp(70px, 8vw, 120px) var(--gutter) clamp(70px, 8vw, 120px);
}
.menu::before { /* borda de toalha de festa, recortada */
  content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 18px;
  background: radial-gradient(circle at 18px 18px, var(--paper-2) 17px, transparent 18px) 0 0 / 36px 18px repeat-x;
}
.menu__inner {
  max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto;
  display: grid; gap: 64px;
}
.menu .h2 { font-size: clamp(2.6rem, 1.5rem + 4.3vw, 5.4rem); }
.menu .h2 span { display: block; color: var(--red); text-shadow: .04em .04em 0 var(--ink); }
.menu__lede { margin-top: 24px; max-width: 21.53em; font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); }

.cardapio {
  margin-top: 40px; max-width: 560px;
  background: var(--card);
  border: 2.5px solid var(--ink); border-radius: 6px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 26px clamp(18px, 4vw, 34px) 22px;
  transform: rotate(-1deg);
}
.cardapio__title {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-display); font-size: 1.5rem; line-height: 1;
}
.cardapio__title::before, .cardapio__title::after { content: ""; flex: 1; border-top: 2px solid var(--ink); }
.cardapio__list { margin-top: 18px; }
.cardapio__list li {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px;
  padding: 12px 0; border-bottom: 1px dashed rgba(42,22,15,.35);
}
.cardapio__list b { font-size: 1.12rem; }
.cardapio__list i { border-bottom: 2px dotted rgba(42,22,15,.45); transform: translateY(-4px); }
.cardapio__list span { grid-column: 1 / -1; font-family: var(--f-type); font-size: .88rem; color: var(--ink-2); }
.cardapio__list .is-picked b { position: relative; z-index: 0; }
.cardapio__list .is-picked b::after { /* círculo de caneta */
  content: ""; position: absolute; z-index: -1; inset: -7px -12px -6px -10px;
  border: 2.5px solid var(--red);
  border-radius: 52% 48% 55% 45% / 58% 50% 50% 42%;
  transform: rotate(-3deg);
}
.pick {
  position: absolute; right: 0; top: 8px;
  font-style: italic; font-weight: 600; font-size: .95rem;
  color: var(--red-deep); transform: rotate(-4deg);
}
.cardapio__fine { margin-top: 14px; font-size: .92rem; color: var(--ink-2); }

/* celular com a tela de abertura */
.menu__stage { position: relative; display: flex; justify-content: center; padding: 10px 0 70px; }
.opening {
  position: relative; z-index: 1;
  width: min(78%, 300px);
  background: var(--ink); border-radius: 40px; padding: 11px;
  transform: rotate(-4deg);
  box-shadow: 0 30px 40px -22px rgba(42,22,15,.6);
}
.opening::before {
  content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 18px; border-radius: 12px; background: var(--ink); z-index: 2;
}
.opening__screen {
  background: var(--red); color: var(--paper);
  border-radius: 30px; padding: 52px 20px 22px; text-align: center; overflow: hidden;
}
.opening__game {
  display: inline-block; font-family: var(--f-type); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em;
  border: 1.5px solid var(--paper); border-radius: 999px; padding: 4px 12px;
}
.opening__photo {
  width: 74%; margin: 20px auto 0; aspect-ratio: 1;
  border: 6px solid var(--paper); border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 3px var(--ink), 6px 8px 0 3px var(--ink);
}
.opening__photo svg { width: 100%; height: 100%; }
.opening__name {
  font-family: var(--f-display); font-size: clamp(3.2rem, 2.6rem + 2vw, 4rem); line-height: 1;
  margin-top: 18px; text-shadow: .05em .05em 0 var(--ink);
}
.opening__age { font-family: var(--f-display); font-size: 1.2rem; margin-top: 2px; }
.opening__age span { font-size: 1.9em; line-height: .8; vertical-align: -.12em; color: var(--g-yellow); text-shadow: 2px 2px 0 var(--ink); }
.opening__btn {
  margin-top: 18px; background: var(--paper); color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 999px; padding: 11px;
  font-weight: 700; font-size: .95rem; box-shadow: 0 4px 0 var(--ink);
}
.opening__note {
  position: absolute; z-index: 2;
  font-style: italic; font-weight: 600; font-size: 1rem; color: var(--red-deep);
  white-space: nowrap;
}
.opening__note::before { /* setinha de caneta */
  content: ""; position: absolute; width: 46px; height: 26px;
  border: 2.5px solid var(--red); border-color: var(--red) transparent transparent transparent;
  border-radius: 50%;
}
.opening__note--photo { left: 2%; top: 0; transform: rotate(-5deg); }
.opening__note--photo::before { left: 70%; top: 14px; transform: rotate(160deg); }
.opening__note--name { right: 2%; bottom: 8px; transform: rotate(-3deg); }
.opening__note--name::before { left: -10px; top: -26px; transform: rotate(-30deg); }
.menu__stage { padding-top: 46px; }
.pick { background: var(--card); padding: 0 4px 0 8px; }

@media (max-width: 520px) {
  .pick { position: static; display: block; grid-column: 1 / -1; margin-top: 4px; padding: 0; background: none; }
}
@media (min-width: 960px) {
  .menu__inner { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; }
  .menu__stage { order: -1; padding: 10px 0 40px; }
  .opening__note { white-space: normal; width: 7.2em; line-height: 1.2; }
  .opening__note--photo { left: 0; top: 30%; text-align: right; }
  .opening__note--photo::before { left: auto; right: -40px; top: 10px; transform: rotate(200deg); }
  .opening__note--name { right: 0; bottom: auto; top: 60%; }
  .opening__note--name::before { left: -44px; top: 6px; transform: rotate(-20deg); }
}
.logo { white-space: nowrap; }
@media (max-width: 420px) { .logo { font-size: 1.6rem; } }

/* promoção ligada no admin */
/* fixa no pé da tela: ela chega depois do carregamento (vem do servidor) e assim não empurra a página */
.promo-faixa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper);
  box-shadow: 0 -6px 20px rgba(42,22,15,.25);
  animation: promo-sobe .45s cubic-bezier(.2,.8,.3,1) both;
  font-weight: 600; font-size: .95rem; text-align: center; text-decoration: none; line-height: 1.35;
}
.promo-faixa b { color: var(--g-yellow); }
.promo-faixa em { font-style: normal; }
.promo-faixa b::after { content: " ·"; color: var(--paper); }
.promo-faixa i { font-style: normal; }
@media (max-width: 599px) { .promo-faixa { font-size: .9rem; gap: 2px 8px; } .promo-faixa i { display: none; } }
@keyframes promo-sobe { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .promo-faixa { animation: none; } }
body.tem-promo { padding-bottom: 64px; }
.promo-faixa span { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.ticket__de { margin-top: 14px; font-weight: 700; font-size: 1.05rem; }
.ticket__de s { text-decoration-thickness: 2px; opacity: .75; }
.ticket__de + .ticket__price { margin-top: 2px; }

/* =========================================================
   Leitura — rodada 4
   Regra única: superfície vermelha com texto = --red-fundo + texto claro.
   Shrikhand só em título grande e no nome; Courier/DotGothic só em
   carimbo, folhinha e números do placar.
   ========================================================= */

/* botões vermelhos: tijolo com texto branco (7,9:1) */
.btn { background: var(--red-fundo); }
.btn--ink { background: var(--ink); }

/* palavras vermelhas dos títulos, sobre papel */
.hero__title .l4,
.parents .quote,
.menu .h2 span,
.invite__name { color: var(--red-titulo); }

/* texto pequeno em vermelho: tijolo */
.phone__live { color: var(--red-fundo); font-size: .76rem; }
.opening__note { color: var(--red-fundo); }
.program__rule { color: var(--red-deep); }

/* texto miúdo: no mínimo 16px no celular */
.hero__fine, .tickets__fine, .cardapio__fine, .final__fine, .foot__fine { font-size: 1rem; line-height: 1.5; }

/* convite impresso do hero */
.invite__age { font-family: var(--f-body); font-weight: 700; font-size: 1.15rem; }
.invite__age span { font-family: var(--f-display); font-weight: 400; }
.invite__info { font-size: .92rem; }
.invite__info dt { font-family: var(--f-body); font-weight: 600; }
.invite__link { font-family: var(--f-body); font-weight: 600; font-size: .86rem; color: var(--ink-2); overflow-wrap: anywhere; }

/* celular do hero */
.phone__btn { background: var(--red-fundo); color: var(--paper); }
.phone__list i { background: var(--red-fundo); color: var(--paper); font-size: .64rem; }

/* cardápio: descrição dos jogos é texto de leitura */
.cardapio__list span { font-family: var(--f-body); font-size: .95rem; line-height: 1.4; }

/* tela de abertura (maquete) */
.opening__screen { background: var(--red-fundo); }
.opening__game { font-family: var(--f-body); font-size: .8rem; letter-spacing: .06em; }
.opening__age { font-family: var(--f-body); font-weight: 700; font-size: 1.15rem; }
.opening__age span { font-family: var(--f-display); font-weight: 400; }

/* LED: rodapé e posições legíveis; o relógio continua aceso */
.led__foot { color: var(--led-meio); font-size: .95rem; }
.led__rows .pos { color: var(--led-meio); }
.led__clock { color: var(--led); }

/* lista de presença: texto de leitura em Familjen */
.receipt { font-family: var(--f-body); font-size: .95rem; }
.receipt__table th { font-size: .8rem; letter-spacing: .04em; }
.receipt__table td:nth-child(3) { font-size: .88rem; }
@media (max-width: 520px) { .receipt { font-size: .92rem; } }

/* ingresso principal: tijolo com texto creme */
.ticket--main { background: var(--red-fundo); color: var(--paper); }
.ticket--main .ticket__list li::before { background: var(--paper); }
.ticket--main .ticket__stub { border-top-color: rgba(255,243,226,.55); }
.ticket--main .ticket__de s { opacity: .85; }
.ticket__type { font-family: var(--f-body); font-size: .82rem; letter-spacing: .1em; }
.ticket__price small { font-family: var(--f-body); font-weight: 700; font-size: .3em; }
.ticket__stub { font-family: var(--f-body); font-size: .82rem; letter-spacing: .06em; }
@media (min-width: 760px) { .ticket--main .ticket__stub { border-left-color: rgba(255,243,226,.55); } }

/* CTA final: tijolo, título creme com o "Dá tempo." em amarelo */
.final { background: var(--red-fundo); color: var(--paper); }
.final__title { color: var(--paper); }
.final__title span { color: var(--g-yellow); }
.final__lede { font-weight: 500; }
.final .balloons .string { stroke: var(--paper); }
.final .folha { color: var(--ink); }   /* a folhinha é papel: texto escuro */

/* linha que diz o que é o produto, dentro do h1 (busca e quem chega pela primeira vez) */
.hero__title .hero__kicker {
  font: 700 clamp(.95rem, .85rem + .4vw, 1.15rem)/1.3 var(--f-body);
  letter-spacing: 0; color: var(--ink-2); max-width: 17.00em; margin-bottom: .9rem;
}

/* celular do topo: lista de quem vai (o produto é a lista; o jogo é brinde) */
.phone__list--rsvp li { grid-template-columns: 1.4em 1fr auto; }
.phone__list--rsvp b { font-family: var(--f-body); font-weight: 700; color: var(--g-green); text-align: center; }
.phone__list--rsvp em { font-family: var(--f-body); font-weight: 600; font-size: .78rem; color: var(--ink-2); }
.phone__list--rsvp small { display: block; font-size: .7rem; font-weight: 500; color: var(--red-fundo); }
.phone__list--rsvp .is-novo { background: var(--g-yellow); border-radius: 10px; border-bottom-color: transparent; }
.phone__list--rsvp .is-novo b { color: var(--ink); }
.phone__list--rsvp .is-espera b { color: var(--ink-2); }
.phone__list--rsvp .is-nao { opacity: .6; }
.phone__list--rsvp .is-nao b { color: var(--red-fundo); }
.phone__live::before { background: var(--g-green); }
.phone__bar .phone__live { color: #1F7A47; }
.phone__list--rsvp em { white-space: nowrap; font-size: .74rem; }
.phone__list--rsvp span { min-width: 0; }
.phone__total { display: inline-block; vertical-align: .15em; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: #1F7A47; color: #fff; font: 700 .8rem/1.2 var(--f-body); }
/* título do topo: "quem vai." numa linha só, sem passar da tela no celular estreito */
.hero__title .l4 { font-size: 1em; white-space: nowrap; }
.hero__title .l1, .hero__title .l2, .hero__title .l3 { white-space: nowrap; }
@media (max-width: 360px) { .hero__title { font-size: 3.05rem; } }
@media (max-width: 400px) { .hero { overflow-x: clip; } }

/* =========================================================
   EVENTOS — cada cartão é um convite de um evento diferente
   ========================================================= */
.eventos {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(64px, 8vw, 120px);
}
.eventos__head { display: grid; gap: 18px; }
.eventos .h2 span { display: block; color: var(--red); text-shadow: .04em .04em 0 var(--ink); }
.eventos__sub { max-width: 21.53em; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
/* cada cartão é um convite pronto, impresso e levemente torto, como em cima da mesa */
.eventos__grade { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
.evento {
  --r: -1.2deg;
  overflow: hidden; background: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(var(--r)); transition: transform .2s ease;
}
.evento:nth-child(even) { --r: 1.1deg; }
.evento:nth-child(3n) { --r: -.5deg; }
.evento:hover { transform: rotate(0) translateY(-4px); }
.evento img { display: block; width: 100%; height: auto; aspect-ratio: 1792 / 2400; }
/* celular: duas colunas deixariam o texto da arte miúdo; vira uma fileira de arrastar, um convite grande por vez */
@media (max-width: 759px) {
  .eventos__grade {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 22px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .eventos__grade::-webkit-scrollbar { display: none; }
  .evento { flex: 0 0 74%; scroll-snap-align: start; }
}
.eventos__arraste { display: none; }
@media (max-width: 759px) { .eventos__arraste { display: block; margin-top: 4px; font: 700 .72rem/1 var(--f-type); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); } }
.eventos__mais { margin-top: 34px; max-width: 34.00em; font-size: 1rem; color: var(--ink-2); }
@media (min-width: 760px) {
  .eventos__head { grid-template-columns: auto 1fr; align-items: end; gap: 48px; }
  .eventos__grade { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; }
}

/* cartão do evento é um botão: abre o convite de exemplo no iPhone (visão do convidado) */
.evento__abrir {
  display: block; position: relative; width: 100%; padding: 0; margin: 0;
  border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left;
}
.evento__abrir:focus-visible { outline-offset: -6px; outline-color: var(--paper); }
.evento__ver {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; align-items: center; justify-content: center; gap: .45em;
  padding: .62em .8em; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink); box-shadow: 0 3px 0 var(--ink);
  font: 700 .82rem/1.15 var(--f-body); text-align: center;
  transition: transform .2s ease, background .2s ease;
}
.evento__ver::before {
  content: ""; flex: none; width: 1.1em; height: 1.1em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='3'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2' width='12' height='20' rx='3'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.evento__abrir:hover .evento__ver { background: var(--g-yellow); transform: translateY(-2px); }

/* =========================================================
   iPHONE — moldura de celular com o convite de verdade dentro (iframe).
   A tela é desenhada no tamanho de um iPhone (390 x 844) e encolhida por --k,
   assim o convite se arruma como num celular de verdade.
   ========================================================= */
.iphone {
  --k: .74;
  position: relative; flex: none;
  padding: 11px; border-radius: calc(55px * var(--k) + 11px);
  background: #1d1d1f;
  box-shadow:
    inset 0 0 0 2px #4a4a4f, inset 0 0 0 4px #111,
    0 0 0 2.5px var(--ink), 10px 12px 0 var(--ink), 0 40px 70px -30px rgba(42,22,15,.6);
}
.iphone__botao { position: absolute; width: 4px; border-radius: 2px; background: #2c2c2e; border: 1.5px solid var(--ink); }
.iphone__botao--acao { left: -5px; top: 17%; height: 4.5%; }
.iphone__botao--vol1 { left: -5px; top: 25%; height: 8.5%; }
.iphone__botao--vol2 { left: -5px; top: 35.5%; height: 8.5%; }
.iphone__botao--lado { right: -5px; top: 28%; height: 13%; }
.iphone__tela {
  position: relative; overflow: hidden; isolation: isolate;
  width: calc(390px * var(--k)); height: calc(844px * var(--k));
  border-radius: calc(55px * var(--k)); background: #F2F2F7;
}
.iphone__ui {
  position: absolute; left: 0; top: 0; width: 390px; height: 844px;
  transform: scale(var(--k)); transform-origin: 0 0;
  display: flex; flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  color: #000;
}
.iphone__status {
  flex: none; height: 54px; padding: 0 30px 0 52px;
  display: flex; align-items: center; justify-content: space-between; position: relative;
}
.iphone__hora { font-size: 17px; font-weight: 600; letter-spacing: -.02em; padding-top: 4px; }
.iphone__ilha { position: absolute; left: 50%; top: 11px; width: 125px; height: 37px; margin-left: -62.5px; border-radius: 20px; background: #000; }
.iphone__icones { display: flex; align-items: center; gap: 6px; padding-top: 4px; }
.iphone__icones svg { width: 18px; height: 12px; fill: #000; }
.iphone__icones svg + svg { width: 16px; }
.iphone__bateria { position: relative; width: 26px; height: 13px; border: 1.5px solid rgba(0,0,0,.4); border-radius: 4px; padding: 1.5px; }
.iphone__bateria::after { content: ""; position: absolute; right: -4px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: rgba(0,0,0,.4); }
.iphone__bateria i { display: block; width: 78%; height: 100%; border-radius: 1.5px; background: #000; }
.iphone__url {
  flex: none; height: 36px; margin: 0 14px 6px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(118,118,128,.14); font-size: 15px; color: #000;
}
.iphone__url svg { width: 11px; height: 13px; fill: none; stroke: #000; stroke-width: 1.6; }
.iphone__app { flex: 1; width: 100%; border: 0; display: block; background: var(--paper); }
/* a área da barrinha de baixo, da cor do menu do convite (que no celular de verdade desce até a borda) */
.iphone__home { flex: none; position: relative; height: 26px; background: var(--card); pointer-events: none; }
.iphone__home::after {
  content: ""; position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px;
  border-radius: 3px; background: #000; opacity: .85;
}

/* =========================================================
   VISÃO DO CONVIDADO — seção com o iPhone e o convite de exemplo
   ========================================================= */
.visao { padding: clamp(56px, 7vw, 100px) var(--gutter); }
.visao__inner { max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; display: grid; gap: 48px; align-items: center; }
.visao__copy { display: grid; gap: 22px; align-content: start; }
.visao__kicker {
  justify-self: start; display: inline-flex; align-items: center; gap: .5em;
  padding: .5em .95em; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--g-yellow); box-shadow: 0 3px 0 var(--ink);
  font: 700 .8rem/1 var(--f-type); letter-spacing: .08em; text-transform: uppercase;
}
.visao__kicker svg, .visao-modal__tit svg { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.visao .h2 span { display: block; color: var(--red); text-shadow: .04em .04em 0 var(--ink); }
.visao__lede { max-width: 30em; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.visao__escolha { display: flex; flex-wrap: wrap; gap: 8px; max-width: 36em; }
.visao__escolha button {
  font: 700 .92rem/1 var(--f-body); color: var(--ink); cursor: pointer;
  padding: .7em 1em; border: 2px solid var(--ink); border-radius: 999px; background: var(--card);
  transition: background .15s ease, transform .15s ease;
}
.visao__escolha button:hover { transform: translateY(-1px); background: var(--paper-2); }
.visao__escolha button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.visao__passos { display: grid; gap: 12px; counter-reset: passo; max-width: 32em; }
.visao__passos li { position: relative; padding-left: 46px; counter-increment: passo; }
.visao__passos li::before {
  content: counter(passo); position: absolute; left: 0; top: -.1em;
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--red-deep); color: #fff;
  font: 400 1rem/1 var(--f-display);
}
.visao__stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 30px 0 10px; }
.visao__selo {
  position: absolute; z-index: 2; right: max(0px, calc(50% - 230px)); top: 0;
  padding: .7em 1em; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--card);
  box-shadow: 4px 4px 0 var(--ink); transform: rotate(5deg);
  font: 400 1rem/1.05 var(--f-display); color: var(--red-titulo); text-align: center;
}
.visao__dica { margin-top: 26px; font: 700 .76rem/1 var(--f-type); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 599px) {
  .visao .iphone { --k: .66; }
  .visao__selo { right: 0; top: 4px; font-size: .9rem; }
}
@media (min-width: 960px) {
  .visao__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 64px; }
  .visao__stage { padding: 30px 60px 10px; }
  .visao .iphone { --k: .8; }
}

/* a mesma visão, aberta pelo cartão do evento */
.visao-modal {
  width: min(100% - 24px, 460px); max-width: none; max-height: calc(100dvh - 24px);
  margin: auto; padding: 0; border: 2.5px solid var(--ink); border-radius: 22px;
  background: var(--paper); color: var(--ink); box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
}
.visao-modal::backdrop { background: rgba(42,22,15,.72); }
.visao-modal[open] { animation: visao-entra .22s ease both; }
@keyframes visao-entra { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.visao-modal__caixa { display: flex; flex-direction: column; max-height: calc(100dvh - 30px); }
.visao-modal__topo {
  flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px;
  background: var(--g-yellow); border-bottom: 2.5px solid var(--ink);
}
.visao-modal__tit { flex: 1; display: flex; align-items: center; gap: 10px; }
.visao-modal__tit span { display: grid; gap: 2px; }
.visao-modal__tit b { font: 700 .82rem/1 var(--f-type); letter-spacing: .08em; text-transform: uppercase; }
.visao-modal__tit small { font-size: .9rem; line-height: 1.25; }
.visao-modal__fechar {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink);
}
.visao-modal__fechar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.visao-modal__corpo { flex: 1; min-height: 0; overflow: auto; display: flex; justify-content: center; padding: 18px 16px 22px; }
.visao-modal__pe {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-top: 2px dashed rgba(42,22,15,.3); font-size: .88rem; color: var(--ink-2);
}
.visao-modal__pe p { flex: 1 1 14em; }
body.visao-aberta { overflow: hidden; }
@media (max-width: 599px) {
  .visao-modal__corpo { padding: 12px 10px 14px; }
  .visao-modal__pe { padding: 10px 12px; }
  .visao-modal__pe p { display: none; }
  .visao-modal__pe .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .visao-modal[open] { animation: none; } }

/* =========================================================
   SUA ARTE — a capa que a família manda
   ========================================================= */
.arte {
  position: relative;
  background: var(--paper-2);
  padding: clamp(70px, 8vw, 120px) var(--gutter);
}
.arte::before { /* borda de toalha de festa, recortada */
  content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 18px;
  background: radial-gradient(circle at 18px 18px, var(--paper-2) 17px, transparent 18px) 0 0 / 36px 18px repeat-x;
}
.arte__inner { max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; display: grid; gap: 40px; }
.arte .h2 { font-size: clamp(2.6rem, 1.5rem + 4.3vw, 5.4rem); }
.arte .h2 span { display: block; color: var(--red); text-shadow: .04em .04em 0 var(--ink); }
.arte__lede { margin-top: 24px; max-width: 21.53em; font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); }

.arte__stage { position: relative; display: flex; justify-content: center; padding: 96px 0 64px; }
.opening--arte { transform: rotate(3deg); }
.opening--arte .opening__screen { padding: 46px 14px 18px; }
.opening--arte .opening__btn { margin-top: 14px; padding: 10px; font-size: .9rem; }
.opening--arte .opening__btn--ink { margin-top: 10px; background: rgba(42, 22, 15, .9); color: var(--paper); }
/* a arte de exemplo: um convite "de gráfica", de propósito diferente do resto da página */
.cartaz {
  position: relative; padding: 26px 14px 22px; text-align: center; color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  border: 3px solid var(--paper); border-radius: 10px; box-shadow: 0 6px 0 rgba(42, 22, 15, .35);
  background:
    radial-gradient(circle at 16% 86%, rgba(233, 185, 73, .5) 0 13px, transparent 14px),
    radial-gradient(circle at 30% 94%, rgba(233, 140, 60, .4) 0 9px, transparent 10px),
    radial-gradient(circle at 78% 88%, rgba(233, 140, 60, .42) 0 18px, transparent 19px),
    radial-gradient(circle at 62% 76%, rgba(233, 185, 73, .26) 0 9px, transparent 10px),
    radial-gradient(circle at 90% 70%, rgba(233, 185, 73, .32) 0 7px, transparent 8px),
    linear-gradient(#1F4A35, #0F271C);
}
.cartaz::before { content: ""; position: absolute; inset: 8px; border: 1.5px solid #E9B949; border-radius: 3px; pointer-events: none; }
.cartaz__kicker { font-style: italic; font-weight: 700; color: #E9B949; font-size: 1.05rem; }
.cartaz__titulo { font-weight: 800; font-size: clamp(1.45rem, 1.25rem + .7vw, 1.8rem); line-height: 1.05; text-transform: uppercase; margin-top: 4px; }
.cartaz__sub { font-style: italic; font-weight: 700; color: #E9B949; font-size: 1.8rem; line-height: 1.05; }
.cartaz__data { font-family: var(--f-body); font-weight: 700; font-size: .8rem; margin-top: 16px; }
.cartaz__local { font-family: var(--f-body); font-size: .8rem; opacity: .85; }
.cartaz__pe { font-style: italic; color: #E9B949; font-size: .9rem; margin-top: 18px; }
/* o arquivo que a família escolheu */
.arquivo {
  position: absolute; z-index: 2; left: 0; top: 4px;
  display: grid; grid-template-columns: 40px auto; column-gap: 10px; align-items: center;
  background: var(--card); border: 2px solid var(--ink); border-radius: 10px;
  padding: 8px 14px 8px 8px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-4deg);
}
.arquivo__thumb { grid-row: span 2; position: relative; width: 40px; height: 50px; border-radius: 4px; background: linear-gradient(#1F4A35, #0F271C); border: 1.5px solid var(--ink); }
.arquivo__thumb::before { content: ""; position: absolute; inset: 4px; border: 1px solid #E9B949; }
.arquivo__nome { font-family: var(--f-type); font-weight: 700; font-size: .82rem; line-height: 1.2; }
.arquivo__info { font-size: .74rem; color: var(--ink-2); line-height: 1.2; }
.arte__note--arte { right: 2%; top: 30px; transform: rotate(4deg); }
.arte__note--arte::before { left: 10px; top: 22px; transform: rotate(200deg); }
.arte__note--btn { left: 0; bottom: 6px; transform: rotate(-3deg); }
.arte__note--btn::before { right: -46px; top: -16px; transform: rotate(10deg); }
@media (max-width: 520px) { .arte__note--arte { display: none; } }
@media (min-width: 960px) {
  .arte__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .arte__stage { padding: 40px 0; }
  .arquivo { left: 0; top: 18%; }
  .arte__note--arte { right: 0; top: 14%; width: 7.2em; white-space: normal; line-height: 1.2; }
  .arte__note--arte::before { left: -44px; top: 20px; transform: rotate(-30deg); }
  .arte__note--btn { left: auto; right: calc(50% + 168px); bottom: 14%; width: 8em; white-space: normal; line-height: 1.2; text-align: right; }
  .arte__note--btn::before { right: -48px; top: 4px; transform: rotate(200deg); }
}

/* festa infantil: o selo em cima do título */
.menu__kicker {
  display: inline-block; margin-bottom: 16px;
  font-family: var(--f-type); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
  border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px; background: var(--g-yellow);
}

/* =========================================================
   SEÇÕES: cada uma com uma cor só, de ponta a ponta e com pelo menos uma tela de altura.
   Ritmo calmo: papel e papel tostado se alternando; marrom só no placar e vermelho só no fim.
   ========================================================= */
:root { --topo: 76px; }
@media (max-width: 599px) { :root { --topo: 64px; } }
main > section { min-height: calc(100vh - var(--topo)); min-height: calc(100svh - var(--topo)); }
.hero, .parents, .tickets { align-content: center; }
.eventos, .visao, .how, .arte, .menu, .board, .duvidas, .final { display: flex; flex-direction: column; justify-content: center; }
.visao__inner, .arte__inner, .menu__inner, .board__inner, .final__inner { width: 100%; }
/* o tostado vai até as bordas da tela mesmo nas seções com largura máxima */
.eventos, .duvidas { position: relative; isolation: isolate; }
.duvidas { background: var(--paper-2); }
.eventos::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vmax; right: -100vmax; background: var(--paper-2); }
.eventos::before, .duvidas::before { /* a mesma borda recortada de toalha das outras seções tostadas */
  content: ""; position: absolute; left: -100vmax; right: -100vmax; top: -17px; height: 18px;
  background: radial-gradient(circle at 18px 18px, var(--paper-2) 17px, transparent 18px) 0 0 / 36px 18px repeat-x;
}
.eventos { margin-top: 18px; padding-top: clamp(56px, 7vw, 100px); }
.duvidas { padding: clamp(56px, 7vw, 100px) var(--gutter); }
.tickets { padding-bottom: clamp(56px, 7vw, 100px); }

/* o site é só claro: sem isso o Android em modo escuro (Chrome e Samsung Internet) recolore a página e as paletas do convite */
:root { color-scheme: only light; }

/* =========================================================
   PÁGINAS POR EVENTO (convite-*.html, geradas por paginas/gerar.mjs)
   ========================================================= */
.lp-hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(18px, 4vw, 48px) var(--gutter) clamp(48px, 7vw, 96px);
  display: grid; gap: 36px; align-items: center;
}
.lp-hero__texto { display: grid; gap: 20px; min-width: 0; }
.lp-trilha { font-size: .92rem; color: var(--ink-2); }
.lp-trilha a { color: var(--ink-2); }
.lp-hero__titulo {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.2rem);
  line-height: .95; letter-spacing: -.01em; text-wrap: balance; max-width: 11em;
}
.lp-hero__titulo span { display: block; color: var(--red-titulo); margin-top: .12em; font-size: .62em; line-height: 1.05; }
.lp-hero__lede { max-width: 30em; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.5; }
.lp-hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.lp-ver::after { content: " →"; }
.lp-hero__fine { font-size: .92rem; color: var(--ink-2); }
.lp-hero__convite { justify-self: center; width: min(78vw, 360px); display: block; transform: rotate(2.5deg); transition: transform .2s ease; }
.lp-hero__convite:hover { transform: rotate(0deg) translateY(-4px); }
.lp-hero__convite img { display: block; width: 100%; height: auto; border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); background: var(--card); }
@media (min-width: 900px) { .lp-hero { grid-template-columns: 1fr auto; gap: 56px; } }

.lp-h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1; text-wrap: balance; }

.lp-passos { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(48px, 7vw, 96px); display: grid; gap: 28px; }
.lp-passos ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.lp-passos li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; min-width: 0; }
.lp-passos__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--g-yellow); border: 2.5px solid var(--ink); font: 400 1.6rem/1 var(--f-display); }
.lp-passos h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.2; margin-bottom: 4px; }
.lp-passos p { color: var(--ink-2); }
@media (min-width: 760px) { .lp-passos ol { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; } }
@media (min-width: 1180px) { .lp-passos ol { grid-template-columns: repeat(4, 1fr); } }

.lp-guia {
  max-width: calc(44rem + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
  border-top: 2.5px dashed rgba(42,22,15,.25);
  display: grid; gap: 14px;
}
.lp-guia h2 { margin-bottom: 10px; }
.lp-guia h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.2; margin-top: 18px; }
.lp-guia p { color: var(--ink-2); max-width: 40em; }
.lp-guia__extra { background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 16px 18px; color: var(--ink) !important; font-weight: 500; margin-top: 18px; }
.lp-guia__cta { margin-top: 22px; }

.pagina-evento .duvidas { background: var(--paper-2); }

.lp-outros { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter); display: grid; gap: 22px; }
.lp-outros ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.lp-outros a { display: inline-block; padding: .65em 1.1em; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); font-weight: 600; text-decoration: none; }
.lp-outros a:hover { background: var(--g-yellow); }

@media (max-width: 759px) { .pagina-evento .final__inner { padding-top: clamp(70px, 10vw, 150px); } }

/* rodapé: atalhos para as páginas por evento (em todas as páginas) */
.foot__eventos { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .95rem; }
.foot__eventos b { width: 100%; font-weight: 700; }
.foot__eventos a { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .lp-hero__convite, .lp-hero__convite:hover { transform: none; transition: none; } }
/* páginas por evento são de leitura: sem o "uma tela por seção" da página inicial */
.pagina-evento main > section { min-height: 0; }
.pagina-evento .lp-passos, .pagina-evento .lp-guia { align-content: start; }

/* páginas por evento: blocos de referência (por idade, tabelas, listas) */
.lp-carta { max-width: calc(44rem + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 6vw, 72px); display: grid; gap: 14px; }
.lp-carta p { font-size: clamp(1.12rem, 1rem + .5vw, 1.4rem); line-height: 1.55; }
.lp-carta p:first-child::first-letter { font-family: var(--f-display); font-size: 3.1em; float: left; line-height: .8; padding: .08em .1em 0 0; color: var(--red-titulo); }
.lp-secao { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gutter); display: grid; gap: 18px; border-top: 2.5px dashed rgba(42,22,15,.25); }
.lp-secao__intro { max-width: 40em; color: var(--ink-2); font-size: 1.08rem; }
.lp-secao__nota { font-size: .92rem; color: var(--ink-2); font-style: italic; max-width: 46em; }
.lp-cartoes { display: grid; gap: 18px; margin-top: 10px; }
/* a grade fecha sem buraco: 2 colunas (o último ímpar ocupa a linha) e, no largo, 3 + 2 ou 2 + 2 */
@media (min-width: 760px) and (max-width: 1179px) {
  .lp-cartoes { grid-template-columns: repeat(2, 1fr); }
  .lp-cartao:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (min-width: 1180px) {
  .lp-cartoes { grid-template-columns: repeat(6, 1fr); }
  .lp-cartao { grid-column: span 2; }
  .lp-cartao:nth-last-child(2):nth-child(3n+1), .lp-cartao:last-child:nth-child(3n+2) { grid-column: span 3; }
  .lp-cartao:first-child:nth-last-child(4), .lp-cartao:first-child:nth-last-child(4) ~ .lp-cartao { grid-column: span 3; }
}
.lp-cartao { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 20px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.lp-cartao header { display: grid; gap: 6px; }
.lp-cartao__selo { justify-self: start; font: 700 .78rem/1 var(--f-type); text-transform: uppercase; letter-spacing: .08em; background: var(--g-yellow); border: 1.5px solid var(--ink); border-radius: 999px; padding: .4em .8em; }
.lp-cartao h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1.05; }
.lp-cartao dl { margin: 0; display: grid; gap: 6px; border-top: 1.5px dashed rgba(42,22,15,.3); padding-top: 10px; }
.lp-cartao dl div { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; font-size: .95rem; }
.lp-cartao dt { font-weight: 700; }
.lp-cartao dd { margin: 0; color: var(--ink-2); }
.lp-cartao p { color: var(--ink-2); font-size: 1rem; }
.lp-tabela { overflow-x: auto; border: 2px solid var(--ink); border-radius: 16px; background: var(--card); }
.lp-tabela table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 34rem; font-variant-numeric: tabular-nums; }
.lp-tabela th, .lp-tabela td { text-align: left; padding: 12px 14px; border-bottom: 1.5px dashed rgba(42,22,15,.2); vertical-align: top; }
.lp-tabela thead th { background: var(--paper-2); font-weight: 700; border-bottom: 2px solid var(--ink); }
.lp-tabela tbody th { font-weight: 700; }
.lp-tabela tbody tr:last-child th, .lp-tabela tbody tr:last-child td { border-bottom: 0; }
.lp-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 46em; }
.lp-lista li { padding-left: 1.4em; position: relative; color: var(--ink-2); }
.lp-lista li::before { content: "✦"; position: absolute; left: 0; color: var(--red); }
.lp-lista b { color: var(--ink); }
