/*
 * A FOLHA DAS PÁGINAS DO GOOGLE (docs/site-publico/08 §8.9; a reforma da Onda 7, 29/11/2026).
 *
 * As páginas estáticas não carregam o CSS do app (332 KB): esta folha é a marca
 * inteira em poucos KB. Os tokens abaixo são COPIADOS do `src/index.css` com o
 * MESMO nome, e a prova `paginasTokens.test.ts` reprova o dia em que um valor
 * divergir do tema claro do app (o token manda, documento nenhum ganha dele).
 * Zero cor fora da paleta; zero alfa em cor de marca (alfa só em sombra e véu,
 * que são efeito).
 *
 * A REFORMA DA ONDA 7 (CEO: "botões meio 3D, com sombra... motion em cada um dos
 * cliques... paleta presente... divisão entre cada uma das seções"):
 * - A FOLHA PRETA do app atrás de todo cartão, chip e botão (o `::before`), e a
 *   FACE na frente (`.face`). No toque a face afunda na folha; o link (a caixa que
 *   recebe o dedo) fica PARADO, a lei do alvo que não foge do dedo
 *   (`BotaoVerTodasAsAvaliacoes`). No mouse, a face sobe um pixel.
 * - A cor em bloco: o azul da caixa do Boralazinho, o amarelo do fecho, e o resto
 *   em bloco pequeno (os números do topo, as bolinhas de posição, o pino da capa).
 *   A tinta segue a lei da tinta: preta sobre amarelo, verde claro e coral;
 *   off-white sobre azul e sobre preto.
 * - As seções separadas pelo traço desenhado (`.divisa`).
 *
 * O motion (a mesma curva da casa, só transform e opacity):
 * - chegada: o caminho, o título e o primeiro bloco entram em sequência (40 ms);
 *   na casa, o pino cai e pousa sobre a sombra, e as ondas saem do chão;
 * - rolar: cada bloco nasce com opacidade 0,4 e 8 px abaixo (nunca invisível) e
 *   chega quando aparece, e a folha preta desliza para trás dele; o cabeçalho
 *   ganha o fio e o logotipo se ajusta; os números do topo contam;
 * - tocar: a face afunda na folha em 120 ms;
 * - movimento reduzido: tudo nasce no lugar, só o fade de 160 ms fica.
 */

:root {
  --background: 74 60% 92%;
  --foreground: 0 0% 4%;
  --muted: 74 25% 88%;
  --muted-foreground: 0 0% 38%;
  --border: 80 12% 82%;
  --ring: 212 97% 43%;
  --brand-blue: 212 97% 43%;
  --brand-yellow: 52 91% 63%;
  --brand-red: 0 86% 62%;
  --brand-red-tint: 0 85% 93%;
  --brand-red-ink: 0 86% 46%;
  --brand-green-mid: 150 88% 26%;
  --success: 144 95% 37%;
  --shadow-md: 0 4px 16px hsl(0 0% 0% / 0.08);
  --curva: cubic-bezier(0.22, 1, 0.36, 1);
  --raio: 24px;
  --traco: 1.5px;
}

@font-face {
  font-family: 'Roca One';
  src: url('/fonts/RocaOne-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roca One';
  src: url('/fonts/RocaOne-Rg.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
/* o `hidden` vence o `display` das peças (o cupom do dia nasce escondido, e o "Criar conta grátis" some para quem já tem conta) */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "sonar-sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; border-radius: 12px; }
.so-leitor {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── pular para o conteúdo ── */
.pular {
  position: absolute; left: 12px; top: 12px; z-index: 30;
  padding: 10px 16px; border-radius: 999px;
  background: hsl(var(--foreground)); color: hsl(var(--background));
  font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms var(--curva);
}
.pular:focus { transform: none; }

/* ═══════════════════════ A FOLHA PRETA (a receita do app) ═══════════════════════ */
/* Quem tem a folha: o elemento é a caixa (o alvo do dedo, que nunca se move), o `::before` é a folha preta deslocada, e a `.face` de
   dentro é a superfície que se vê. A margem de baixo e da direita guarda o lugar da folha, para ela não encostar no vizinho. */
.cartao, .chip, .botao, .numero, .amigos, .bloco-nota, .frase, .link-lista, .capa-chegar, .conta, .lupa, .bloco-cupom, .busca-moldura, .foto-da-casa {
  --fx: 4px; --fy: 5px;
  position: relative; isolation: isolate;
  display: block; margin: 0 var(--fx) var(--fy) 0;
  border-radius: var(--raio);
  text-decoration: none; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.chip, .botao, .capa-chegar, .conta, .lupa, .busca-moldura { --fx: 3px; --fy: 4px; border-radius: 999px; }
.amigos, .bloco-nota { --fx: 5px; --fy: 7px; border-radius: 32px; }
.cartao::before, .chip::before, .botao::before, .numero::before, .amigos::before, .bloco-nota::before, .frase::before, .link-lista::before,
.capa-chegar::before, .conta::before, .lupa::before, .bloco-cupom::before, .busca-moldura::before, .foto-da-casa::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; background: hsl(var(--foreground));
  transform: translate(var(--fx), var(--fy));
}
.face {
  position: relative; display: block;
  border: var(--traco) solid hsl(var(--foreground));
  border-radius: inherit;
  background: hsl(var(--background));
  transition: transform 140ms var(--curva);
}
/* o toque: a face afunda na folha (o alvo fica parado) */
a:active > .face, button:active > .face { transform: translate(var(--fx), var(--fy)); transition-duration: 90ms; }
@media (hover: hover) {
  a:hover > .face, button:hover > .face { transform: translate(-1px, -1px); }
  a:active > .face, button:active > .face { transform: translate(var(--fx), var(--fy)); }
}
button.botao, button.chip { padding: 0; border: 0; background: none; text-align: inherit; }

/* ═══════════════════════════════ O CABEÇALHO ═══════════════════════════════ */
.topo { position: sticky; top: 0; z-index: 20; background: hsl(var(--background)); }
.topo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: hsl(var(--foreground)); opacity: 0;
  transition: opacity 200ms var(--curva);
}
.rolou .topo::after { opacity: 1; }
.topo-miolo {
  max-width: 1040px; margin: 0 auto; padding: 0 16px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: env(safe-area-inset-top, 0);
}
.marca { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.marca img { display: block; height: 24px; width: auto; transform-origin: left center; transition: transform 200ms var(--curva); }
.rolou .marca img { transform: scale(0.92); }
.topo-acoes { display: flex; align-items: center; gap: 6px; }

/* a lupa do Boralazinho (só com o visitante ao vivo): o disco amarelo; no computador, a pílula com o texto */
.lupa .face {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; min-width: 42px; padding: 0 10px;
  background: hsl(var(--brand-yellow)); font-size: 14px; font-weight: 700; white-space: nowrap;
}
.lupa .icone { flex: none; }
.lupa-texto { display: none; }

/* o chip da conta: "Entrar" sem conta; com a conta aberta neste navegador, a foto (o script troca) */
.conta .face {
  display: flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 14px 0 6px; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.conta-foto {
  position: relative; display: grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
  background: hsl(var(--foreground)); color: hsl(var(--background));
  font-family: "Roca One", Georgia, serif; font-weight: 700; font-size: 15px;
}
.conta-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 240ms var(--curva); }
.conta-foto img.pronta { opacity: 1; }
.conta[data-logado] .face { padding: 0 6px; }
.conta[data-logado] .conta-texto { display: none; }
.conta.trocou .face { animation: aparecer-chip 280ms var(--curva) both; }

/* ═══════════════════════════════ O MIOLO ═══════════════════════════════ */
.miolo { max-width: 1040px; margin: 0 auto; padding: 4px 16px 0; }
.miolo:focus { outline: none; }
[data-pagina="casa"] .miolo, [data-pagina="guia"] .miolo, [data-pagina="saida"] .miolo { max-width: 760px; }

.caminho { font-size: 14px; color: hsl(var(--muted-foreground)); margin: 0 -16px; }
.caminho ol {
  display: flex; align-items: center; gap: 0; padding: 0 16px;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none; -ms-overflow-style: none;
}
.caminho ol::-webkit-scrollbar { display: none; }
.caminho li { display: inline-flex; align-items: center; }
.caminho a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: inherit; }
.caminho a[aria-current="page"] { color: hsl(var(--foreground)); font-weight: 700; }
.caminho-sep { padding: 0 8px; }

/* ── o título ── */
.cabeca { margin: 10px 0 4px; }
h1 {
  font-family: "Roca One", Georgia, "Times New Roman", serif;
  font-weight: 700; font-size: 36px; line-height: 1.06; letter-spacing: -0.01em;
  text-wrap: balance;
}
.heroi::after { content: ''; display: block; clear: both; }
.heroi-desenho {
  float: right; width: 92px; height: 92px; object-fit: contain;
  margin: -4px -6px 6px 10px; transform: rotate(-8deg); pointer-events: none;
}
.abertura { margin-top: 12px; font-size: 17px; line-height: 1.5; max-width: 60ch; }
.abertura + .abertura { margin-top: 6px; }
h2 {
  font-family: "Roca One", Georgia, "Times New Roman", serif;
  font-weight: 700; font-size: 25px; line-height: 1.15; letter-spacing: -0.005em;
  margin-bottom: 16px; text-wrap: balance;
}

/* ── os números do topo: três blocos pequenos de cor, cada um com a folha ── */
.numeros { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
.numero { --fx: 3px; --fy: 4px; border-radius: 20px; }
.numero .face { height: 100%; padding: 12px 10px 11px; display: flex; flex-direction: column; gap: 4px; }
.numero-amarelo .face { background: hsl(var(--brand-yellow)); }
.numero-verde .face { background: hsl(var(--success)); }
.numero-coral .face { background: hsl(var(--brand-red)); }
.numero-valor {
  font-family: "Roca One", Georgia, serif; font-weight: 700; font-size: 26px; line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.numero-rotulo { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.numeros-nota { margin-top: 12px; font-size: 15px; }

/* ── o traço que separa as seções ── */
.divisa { display: flex; justify-content: center; margin: 44px 0 0; color: hsl(var(--foreground)); }
.divisa svg { display: block; overflow: visible; }
.divisa + .secao, .divisa + .busca, .divisa + .fecho { margin-top: 26px; }
.secao { margin-top: 44px; }
.secao-texto { font-size: 17px; max-width: 60ch; }
.mais { margin-top: 20px; }
.convite-texto { margin-top: 32px; font-size: 16px; }

/* ═══════════════════════════════ OS CARTÕES ═══════════════════════════════ */
.lista { display: grid; gap: 14px; }
.cartao .face { overflow: hidden; }
.foto { position: relative; display: block; overflow: hidden; background: hsl(var(--muted)); }
.foto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--curva); }
@media (hover: hover) { a:hover .foto img { transform: scale(1.04); } }
.foto-desenho { position: absolute; inset: 0; display: grid; place-items: center; background: hsl(var(--muted)); }
.foto .foto-desenho-img { width: 44%; height: 44%; object-fit: contain; transform: rotate(-6deg); }
.foto-linha .foto-desenho-img { width: 64%; height: 64%; }

/* o cartão grande (as três primeiras): a foto em cima, o corpo embaixo */
.cartao-grande .face { display: flex; flex-direction: column; }
.foto-grande { aspect-ratio: 16 / 10; border-bottom: var(--traco) solid hsl(var(--foreground)); }
.cartao-grande .item-corpo { padding: 14px 16px 16px; }
.cartao-topo { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cartao-grande .item-nome { font-family: "Roca One", Georgia, serif; font-size: 21px; line-height: 1.15; }
.nota-pilula {
  flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 999px;
  background: hsl(var(--foreground)); color: hsl(var(--background));
  font-family: "Roca One", Georgia, serif; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums;
}

/* a bolinha da posição: as três primeiras em cor, da quarta em diante no off-white */
.selo {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: var(--traco) solid hsl(var(--foreground)); background: hsl(var(--background));
  font-family: "Roca One", Georgia, serif; font-weight: 700; font-size: 19px; line-height: 1; font-variant-numeric: tabular-nums;
}
.selo-1 { background: hsl(var(--brand-yellow)); }
.selo-2 { background: hsl(var(--success)); }
.selo-3 { background: hsl(var(--brand-red)); }
.foto-prato {
  position: absolute; left: 10px; bottom: 10px; z-index: 1; max-width: calc(100% - 20px);
  padding: 5px 11px; border-radius: 999px; background: hsl(var(--foreground)); color: hsl(var(--background));
  font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* a linha (da quarta em diante, e as listas sem posição): a foto quadrada ao lado */
.cartao-linha .face { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 10px 14px 10px 10px; }
.foto-linha { flex: none; width: 80px; height: 80px; border-radius: 14px; border: var(--traco) solid hsl(var(--foreground)); overflow: visible; background: none; }
.foto-linha > img, .foto-linha > .foto-desenho { border-radius: 12.5px; overflow: hidden; }
.foto-linha > img { width: 100%; height: 100%; }
.foto-linha .selo { left: -8px; top: -8px; width: 30px; height: 30px; font-size: 15px; }
.cartao-linha .icone { flex: none; color: hsl(var(--foreground)); transition: transform 150ms var(--curva); }
@media (hover: hover) { a:hover .icone { transform: translateX(2px); } }

.item-corpo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.item-nome { font-size: 17px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.item-meta { font-size: 14px; color: hsl(var(--muted-foreground)); }
.item-nota { font-size: 14px; }
.item-frase { margin-top: 4px; font-size: 15px; font-style: italic; line-height: 1.45; }
.cartao-linha .item-frase { display: none; }
.item-cupom {
  align-self: flex-start; margin-top: 6px; padding: 3px 10px; border-radius: 999px;
  background: hsl(var(--brand-yellow)); border: var(--traco) solid hsl(var(--foreground));
  font-size: 13px; font-weight: 700;
}

/* os grupos (as casas das cidades sem página) */
.grupos { display: grid; gap: 22px; }
.grupo-titulo { font-size: 15px; font-weight: 700; margin-bottom: 10px; }

/* ── os chips (o tipo de comida, as cidades): a pílula com a folha ── */
.fileira {
  display: flex; gap: 6px; margin: 0 -16px; padding: 2px 16px 8px;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; scroll-padding: 0 16px;
}
.fileira::-webkit-scrollbar { display: none; }
.fileira li { flex: none; }
.chip .face {
  display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 16px;
  white-space: nowrap; font-size: 15px; font-weight: 700; color: hsl(var(--foreground));
}
.chip-com-n .face { padding-right: 8px; }
.chip-n {
  display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; margin-left: 8px; padding: 0 8px;
  border-radius: 999px; background: hsl(var(--foreground)); color: hsl(var(--background));
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
}

/* ── o "Pelo bolso": dois blocos de cor cheia ── */
.bolso { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.bolso-cartao .face { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; padding: 18px 12px 14px 18px; min-height: 112px; }
.bolso-verde .face { background: hsl(var(--success)); }
.bolso-coral .face { background: hsl(var(--brand-red)); }
.bolso-titulo { grid-column: 1 / -1; font-family: "Roca One", Georgia, serif; font-weight: 700; font-size: 21px; line-height: 1.15; }
.bolso-n { font-size: 14px; font-weight: 700; }

/* ── os links em cartão (os outros guias, a saída) ── */
.links { display: grid; gap: 12px; }
.link-lista .face { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 16px 10px 12px; font-size: 16px; font-weight: 700; }
.link-desenho { flex: none; width: 44px; height: 44px; object-fit: contain; }
.link-texto-do-guia { flex: 1; min-width: 0; }
.link-lista .icone { flex: none; transition: transform 150ms var(--curva); }

/* ═══════════════════════════════ OS BOTÕES ═══════════════════════════════ */
.botao { display: inline-block; vertical-align: top; max-width: 100%; }
.botao .face {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 0 20px; font-size: 16px; font-weight: 700; line-height: 1.2;
}
.botao-com-seta .face { padding: 0 5px 0 20px; }
.botao-texto { min-width: 0; }
.botao-claro .face { background: hsl(var(--background)); color: hsl(var(--foreground)); }
.botao-amarelo .face { background: hsl(var(--brand-yellow)); color: hsl(var(--foreground)); }
.botao-preto .face { background: hsl(var(--foreground)); color: hsl(var(--background)); }
.botao-disco {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: hsl(var(--foreground)); color: hsl(var(--background));
  transition: transform 200ms var(--curva);
}
.botao-preto .botao-disco { background: hsl(var(--brand-yellow)); color: hsl(var(--foreground)); }
.botao-amarelo .botao-disco { background: hsl(var(--foreground)); color: hsl(var(--brand-yellow)); }
@media (hover: hover) { a:hover .botao-disco { transform: translateX(2px); } }
.paginacao { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.link-texto {
  display: inline-flex; align-items: center; min-height: 44px;
  color: hsl(var(--foreground)); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}

/* ═══════════════════════ A CAIXA DO BORALAZINHO (o azul) ═══════════════════════ */
.busca {
  position: relative; margin-top: 44px; padding: 26px 20px 22px;
  border-radius: 32px; background: hsl(var(--brand-blue)); color: hsl(var(--background));
}
.busca-desenho { position: absolute; top: 18px; right: 12px; width: 104px; height: auto; pointer-events: none; transform: rotate(-4deg); }
.busca-titulo {
  font-family: "Roca One", Georgia, serif; font-weight: 700; font-size: 25px; line-height: 1.12; letter-spacing: -0.01em;
  max-width: calc(100% - 112px); text-wrap: balance;
}
.busca-texto { margin-top: 10px; font-size: 16px; line-height: 1.45; max-width: 52ch; }
.busca-form { display: flex; flex-wrap: wrap; gap: 10px 8px; margin-top: 18px; }
.busca-moldura { flex: 1 1 220px; min-width: 0; border-radius: 999px; }
.busca-moldura::before { background: hsl(var(--foreground)); }
.busca-campo {
  position: relative; display: block; width: 100%; height: 52px; padding: 0 20px;
  border: var(--traco) solid hsl(var(--foreground)); border-radius: 999px;
  background: hsl(var(--background)); color: hsl(var(--foreground));
  font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
  transition: transform 140ms var(--curva);
}
.busca-campo::placeholder { color: hsl(var(--muted-foreground)); }
.busca-campo:focus-visible { outline: 2px solid hsl(var(--brand-yellow)); outline-offset: 3px; }
.busca-enviar .face { height: 52px; min-height: 52px; gap: 8px; padding: 0 20px 0 16px; }
.busca-rotulo { margin-top: 18px; font-size: 14px; font-weight: 700; }
.busca-ideias { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip-ideia .face { min-height: 40px; padding: 0 14px; font-size: 14px; white-space: normal; text-align: left; }
.busca-gratis { margin-top: 14px; font-size: 13px; font-weight: 700; }
.busca :focus-visible { outline-color: hsl(var(--brand-yellow)); }
.busca-curta .botao { margin-top: 16px; }

/* ═══════════════════════════════ A CASA ═══════════════════════════════ */
/* a capa do app: a terra, o mapa (o script põe), o véu que leva ao off-white, o pino que cai e pousa na sombra, e o "Como chegar" */
.capa { position: relative; height: 232px; margin: 4px -16px 0; overflow: hidden; background: hsl(var(--muted)); }
.capa-terra { position: absolute; inset: 0; background: hsl(var(--muted)); }
.capa-mapa {
  position: absolute; left: 50%; max-width: none; pointer-events: none; user-select: none;
  transform: translate(-50%, -50%); opacity: 0; transition: opacity 420ms var(--curva);
}
.capa-mapa.pronto { opacity: 1; }
.capa-veu { position: absolute; left: 0; right: 0; bottom: 0; height: 88px; background: linear-gradient(to bottom, transparent, hsl(var(--background))); pointer-events: none; }
.pino { position: absolute; left: 50%; top: calc(100% - 80px); width: 0; height: 0; }
.pino-sombra {
  position: absolute; left: -24px; top: -7px; width: 48px; height: 14px; border-radius: 50%;
  background: hsl(var(--foreground)); opacity: 0.2;
}
.pino-onda {
  position: absolute; left: -24px; top: -7px; width: 48px; height: 14px; border-radius: 50%;
  border: 2px solid hsl(var(--foreground)); opacity: 0;
}
.pino-queda { position: absolute; left: 0; top: -46px; }
.pino-disco {
  position: absolute; left: -36px; top: -36px; display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  border: 2px solid hsl(var(--foreground)); background: hsl(var(--brand-yellow));
}
.pino-disco img { display: block; width: 50px; height: auto; }
.capa-chegar { position: absolute; right: 12px; top: 12px; z-index: 2; margin: 0; }
.capa-chegar .face {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px 0 11px;
  background: hsl(var(--brand-red-tint)); font-size: 13px; font-weight: 700; white-space: nowrap;
}
.capa-chegar .icone { color: hsl(var(--brand-red-ink)); }

.casa-cabeca { margin-top: -6px; position: relative; }
.casa-tipo { margin-top: 10px; font-size: 16px; font-weight: 700; }
.casa-preco-um { margin-top: 4px; font-size: 15px; color: hsl(var(--muted-foreground)); }
.casa-endereco { margin-top: 8px; display: flex; align-items: flex-start; gap: 6px; font-size: 15px; color: hsl(var(--muted-foreground)); }
.casa-endereco .icone { flex: none; margin-top: 2px; color: hsl(var(--brand-green-mid)); }

/* o convite dos amigos */
.amigos { margin-top: 22px; }
.amigos .face { padding: 20px 18px 18px; }
.amigos-icone {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: var(--traco) solid hsl(var(--foreground)); background: hsl(var(--success));
}
.amigos-titulo { margin-top: 12px; font-family: "Roca One", Georgia, serif; font-weight: 700; font-size: 22px; line-height: 1.15; text-wrap: balance; }
.amigos-texto { margin-top: 8px; font-size: 15px; line-height: 1.45; }
.amigos-botoes { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 16px; }
.amigos-botoes .botao { display: block; }
.amigos-botoes .botao-texto { white-space: normal; }

/* a nota */
.bloco-nota { margin-top: 26px; }
/* depois do convite dos amigos, o desenho da nota vaza para o vão (e não por cima do cartão de cima) */
.amigos + .bloco-nota { margin-top: 48px; }
.bloco-nota .face { padding: 22px 20px 20px; }
.ilustra {
  position: absolute; top: -34px; right: -8px; width: 112px; height: 112px; object-fit: contain;
  transform: rotate(-6deg); pointer-events: none;
}
.nota-grande { margin: 0; }
.nota-numero {
  font-family: "Roca One", Georgia, serif; font-weight: 700; font-size: 60px; line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.nota-fonte { margin-top: 6px; font-size: 16px; max-width: calc(100% - 96px); }
.nota-sem-numero { font-family: "Roca One", Georgia, serif; font-size: 22px; line-height: 1.2; margin-top: 0; }
.nota-local { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.nota-local .icone { color: hsl(var(--brand-green-mid)); flex: none; }
.nota-criterios { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; margin-top: 16px; }
.nota-criterios li {
  display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 16px;
  border: var(--traco) solid hsl(var(--foreground));
}
.criterio-nome { font-size: 13px; font-weight: 700; }
.criterio-nota { font-family: "Roca One", Georgia, serif; font-weight: 700; font-size: 20px; line-height: 1.1; }

/* as fotos de quem foi: a fileira que rola para o lado */
.fotos {
  display: flex; gap: 10px; margin: 0 -16px; padding: 2px 16px 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; scroll-padding: 0 16px;
}
.fotos::-webkit-scrollbar { display: none; }
.foto-da-casa { flex: none; width: min(62vw, 240px); border-radius: 24px; scroll-snap-align: start; }
.foto-quadro { aspect-ratio: 4 / 5; border-radius: inherit; border: var(--traco) solid hsl(var(--foreground)); }
.foto-prato-solta { left: 10px; bottom: 10px; }

/* o que disseram */
.frases { display: grid; gap: 14px; }
.frase .face { padding: 18px 18px 16px; }
.frase blockquote { margin: 0; }
.frase blockquote p { font-size: 18px; line-height: 1.5; font-style: italic; }
.frase-assinatura { margin-top: 10px; font-size: 14px; font-weight: 700; color: hsl(var(--muted-foreground)); }

.queixas li, .pratos li { padding: 12px 0; border-bottom: var(--traco) solid hsl(var(--border)); font-size: 16px; }
.queixas li:last-child, .pratos li:last-child { border-bottom: 0; }

.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; }
.etiqueta { padding: 7px 15px; border: var(--traco) solid hsl(var(--foreground)); border-radius: 999px; background: hsl(var(--brand-yellow)); font-size: 15px; font-weight: 700; }

.bloco-cupom { margin-top: 32px; }
.bloco-cupom .face { padding: 20px; display: grid; gap: 14px; justify-items: start; background: hsl(var(--brand-yellow)); }
.bloco-cupom p { font-weight: 700; font-size: 17px; }
.bloco-cupom.aparece, .item-cupom.aparece { animation: entrar 320ms var(--curva) both; }

/* ═══════════════════════════════ O FECHO (o amarelo) ═══════════════════════════════ */
.fecho {
  position: relative; margin-top: 44px; padding: 24px 20px 22px;
  border-radius: 32px; background: hsl(var(--brand-yellow)); color: hsl(var(--foreground));
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
}
.fecho-icone { width: 64px; height: 64px; border-radius: 16px; border: 2px solid hsl(var(--foreground)); transform: rotate(-5deg); }
.fecho-texto { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.fecho-chapeu { font-size: 14px; font-weight: 700; }
.fecho-frase { font-family: "Roca One", Georgia, serif; font-weight: 400; font-size: 21px; line-height: 1.25; max-width: 32ch; }
.fecho .botao { margin-top: 6px; }

/* ═══════════════════════════════ O RODAPÉ (o preto) ═══════════════════════════════ */
.rodape { margin-top: 56px; background: hsl(var(--foreground)); color: hsl(var(--background)); }
.rodape-miolo { max-width: 1040px; margin: 0 auto; padding: 30px 16px calc(40px + env(safe-area-inset-bottom, 0)); }
.rodape-marca { display: inline-flex; min-height: 44px; align-items: center; }
.rodape-marca img { display: block; height: 26px; width: auto; }
.rodape-frase { margin-top: 2px; font-family: "Roca One", Georgia, serif; font-size: 22px; line-height: 1.2; }
.rodape-frase em { font-style: italic; }
.rodape-links { display: flex; flex-wrap: wrap; column-gap: 20px; margin-top: 18px; }
.rodape-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: none; transition: opacity 150ms var(--curva); }
.rodape-links a:active { opacity: 0.6; }
@media (hover: hover) { .rodape-links a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.rodape-data { margin-top: 14px; font-size: 13px; }
.rodape-empresa { margin-top: 4px; font-size: 12px; }
.rodape :focus-visible { outline-color: hsl(var(--brand-yellow)); }

/* ═══════════════════════════════ OS GUIAS ═══════════════════════════════ */
.guia-assinatura { margin-top: 10px; font-size: 14px; color: hsl(var(--muted-foreground)); }
.guia-resposta { margin-top: 28px; }
.guia-resposta p { font-size: 18px; line-height: 1.55; }
.guia-vao { float: right; width: 100px; height: 56px; }
.guia-texto p, .guia-texto li { font-size: 17px; line-height: 1.6; max-width: 62ch; }
.guia-texto p + p, .guia-texto p + ul, .guia-texto ul + p { margin-top: 14px; }
.guia-texto ul:not(.links):not(.frases) { margin-top: 14px; padding-left: 22px; list-style: disc; display: grid; gap: 8px; }
.guia-texto h3 { font-family: "Roca One", Georgia, "Times New Roman", serif; font-weight: 700; font-size: 20px; line-height: 1.2; margin: 24px 0 6px; }
.guia-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.guia-texto .links, .guia-texto .frases { margin-top: 14px; }
.guia-texto .frase a { font-weight: 700; }
.guia-texto .frase-assinatura { font-size: 14px; line-height: 1.45; }
/* a frase de um usuário dentro do guia (o molde do guia a escreve sem a face): o traço e a folha no próprio item */
.guia-texto .frase { padding: 16px 18px; border: var(--traco) solid hsl(var(--foreground)); background: hsl(var(--background)); }

/* ═══════════════════════════════ O MOTION ═══════════════════════════════ */
@keyframes entrar { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes aparecer-chip { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes queda {
  0% { opacity: 0; transform: translateY(-170px) rotate(-12deg); }
  14% { opacity: 1; }
  64% { transform: translateY(7px) rotate(3deg); }
  80% { transform: translateY(-6px) rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes sombra-pousa { from { opacity: 0; transform: scale(0.35); } to { opacity: 0.2; transform: none; } }
@keyframes onda { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.entra { animation: entrar 320ms var(--curva) both; animation-delay: calc(var(--i, 0) * 40ms); }
.js .revela { opacity: 0.4; transform: translateY(8px); transition: opacity 260ms var(--curva), transform 260ms var(--curva); }
.js .revela.visto { opacity: 1; transform: none; }
/* a folha desliza para trás do cartão quando ele chega (nasce colada na face e se afasta) */
.js .revela:not(.visto) :is(.cartao, .chip, .botao, .link-lista)::before, .js .revela.frase:not(.visto)::before, .js .revela.foto-da-casa:not(.visto)::before { transform: none; }
.js .revela :is(.cartao, .chip, .botao, .link-lista)::before, .js .revela.frase::before, .js .revela.foto-da-casa::before { transition: transform 360ms var(--curva) 120ms; }
/* o pino cai, a sombra pousa, as ondas saem do chão (só para gente, e só com movimento) */
.js .pino-queda { animation: queda 920ms var(--curva) 260ms both; }
.js .pino-sombra { animation: sombra-pousa 620ms var(--curva) 520ms both; }
.js .pino-onda { animation: onda 2200ms var(--curva) 1300ms infinite; }
.js .pino-onda-2 { animation-delay: 2400ms; }

/* ═══════════════════════════════ O COMPUTADOR ═══════════════════════════════ */
@media (min-width: 600px) {
  .lupa .face { padding: 0 16px 0 12px; }
  .lupa-texto { display: inline; }
}
@media (min-width: 640px) {
  h1 { font-size: 46px; }
  h2 { font-size: 28px; }
  .abertura { font-size: 18px; }
  .heroi-desenho { width: 150px; height: 150px; margin: -10px -10px 10px 24px; }
  .numeros { gap: 12px; max-width: 640px; }
  .numero .face { padding: 16px 16px 14px; }
  .numero-valor { font-size: 36px; }
  .numero-rotulo { font-size: 14px; }
  .ilustra { width: 136px; height: 136px; top: -44px; right: -14px; }
  .bloco-nota .face { padding: 26px 28px 24px; }
  .guia-vao { width: 124px; height: 66px; }
  .nota-numero { font-size: 68px; }
  .fileira { margin: 0; padding: 2px 0 8px; flex-wrap: wrap; overflow: visible; }
  .busca { padding: 32px 32px 28px; border-radius: 40px; }
  .busca-desenho { width: 150px; top: 22px; right: 28px; }
  .busca-titulo { font-size: 32px; max-width: calc(100% - 190px); }
  .busca-texto { font-size: 17px; }
  .fecho { padding: 30px 30px 28px; border-radius: 40px; gap: 22px; }
  .fecho-icone { width: 84px; height: 84px; border-radius: 20px; }
  .fecho-frase { font-size: 25px; }
  .capa { margin: 8px 0 0; height: 280px; border-radius: 40px; border: var(--traco) solid hsl(var(--foreground)); }
  .casa-cabeca { margin-top: 18px; }
  .amigos .face { padding: 24px 26px 22px; }
  .amigos-botoes { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .amigos-botoes .botao { display: inline-block; }
  .foto-da-casa { width: 240px; }
  .fotos { margin: 0; padding: 2px 0 10px; }
}
@media (min-width: 760px) {
  .lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .lista > li.destaque { grid-column: 1 / -1; }
  .destaque .cartao-grande .face { flex-direction: row; }
  .destaque .foto-grande { flex: 0 0 56%; aspect-ratio: auto; min-height: 300px; border-bottom: 0; border-right: var(--traco) solid hsl(var(--foreground)); }
  .destaque .cartao-grande .item-corpo { padding: 22px 24px; justify-content: center; }
  .destaque .cartao-grande .item-nome { font-size: 28px; }
  .destaque .item-frase { font-size: 17px; }
  .cartao-grande .item-nome { font-size: 22px; }
}
@media (min-width: 1000px) {
  h1 { font-size: 54px; }
}
@media (max-width: 359px) {
  h1 { font-size: 31px; }
  .heroi-desenho { width: 72px; height: 72px; }
  .numeros { gap: 6px; }
  .numero .face { padding: 10px 8px 9px; }
  .numero-valor { font-size: 22px; }
  .numero-rotulo { font-size: 11.5px; }
  .ilustra { width: 88px; height: 88px; top: -26px; }
  .nota-numero { font-size: 50px; }
  .paginacao { flex-direction: column; }
  .busca-desenho { width: 84px; top: 16px; right: 8px; }
  .busca-titulo { font-size: 22px; max-width: calc(100% - 88px); }
  .fecho { grid-template-columns: 1fr; }
  .conta .face { padding-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  @keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
  .entra, .bloco-cupom.aparece, .item-cupom.aparece, .conta.trocou .face { animation: aparecer 160ms linear both; animation-delay: 0ms; }
  .js .revela { opacity: 1; transform: none; transition: none; }
  .js .pino-queda, .js .pino-sombra, .js .pino-onda { animation: none; }
  .face, .foto img, .marca img, .topo::after, .pular, .botao-disco, .icone, .capa-mapa, .conta-foto img, .busca-campo { transition: none; }
  a:active > .face, button:active > .face, a:hover > .face, button:hover > .face { transform: none; }
  @media (hover: hover) { a:hover .foto img, a:hover .icone, a:hover .botao-disco { transform: none; } }
  .js .revela :is(.cartao, .chip, .botao, .link-lista)::before, .js .revela.frase::before, .js .revela.foto-da-casa::before { transition: none; transform: translate(var(--fx), var(--fy)); }
}
