/* Japidinho v2 (10/11/2026): brand book (Maven Pro; vermelho 711 C, amarelo 116 C, preto Black C), fundo claro, referência Papila Deli */
:root {
  --ground: #fff8ec;   /* creme claro */
  --surface: #ffffff;
  --ink: #2d2926;      /* preto da marca */
  --muted: #6b625a;
  --red: #cb333b;      /* vermelho da marca */
  --red-dark: #a8262d;
  --yellow: #ffcd00;   /* amarelo da marca */
  --wa: #1a7f45;      /* verde do WhatsApp mais escuro: texto branco fica fácil de ler */
  --line: #ecdfcb;
  --focus: #1f5fb4;
  --font: "Maven Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --r1: 6px; --r2: 14px; --r3: 22px;
  --sombra: 4px 4px 0 var(--ink); /* sombra deslocada dos botões (referência Papila) */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 500 16px/1.5 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(100% - 32px, 1080px); margin-inline: auto; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: var(--s3) var(--s5); border-radius: var(--r2);
  font: 700 16px/1.2 var(--font); text-decoration: none; text-align: center;
  border: 2px solid var(--ink); box-shadow: var(--sombra);
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.btn--wa { background: var(--wa); color: #fff; width: 100%; min-height: 60px; font-size: 20px; font-weight: 900; }
.btn--ifood { background: var(--red); color: #fff; }
.btn--mapa { background: var(--surface); color: var(--ink); }
.btn--wa-p { background: var(--wa); color: #fff; }
.btn--linha { background: var(--surface); color: var(--ink); }

/* ---------- topo ---------- */
.topo { padding-bottom: var(--s6); overflow: hidden; }
.mosaico {
  position: relative; display: grid; gap: var(--s2); padding: var(--s4) var(--s4) 0;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr));
  height: clamp(220px, 34vh, 300px); max-width: 1080px; margin-inline: auto;
}
.mosaico img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r3); border: 2px solid var(--ink); }
.mosaico__a { grid-row: 1 / 3; }
/* assinatura: os quadradinhos amarelos do ícone, espalhados em volta das fotos (o hashi saiu em 10/11: tampava o sushi) */
.q { position: absolute; width: 18px; height: 18px; background: var(--yellow); border-radius: 4px; border: 2px solid var(--ink); }
.q1 { top: 6px; left: 34%; transform: rotate(18deg); }
.q2 { top: 46%; left: 6px; transform: rotate(-14deg); }
.q3 { bottom: -6px; left: 50%; transform: rotate(30deg); }
.q4 { top: 10px; right: 8px; transform: rotate(-24deg); }
.topo__texto { display: grid; justify-items: center; text-align: center; gap: var(--s2); margin-top: var(--s4); }
.logo { margin: 0; }
.logo img { width: min(62vw, 230px); }
.chamada { margin: 0; font-size: 32px; line-height: 1.05; font-weight: 900; color: var(--red); letter-spacing: -0.01em; }
.sub { margin: 0 0 var(--s2); font-size: 16px; color: var(--muted); max-width: 30ch; }
.topo .btn--wa { max-width: 420px; }
.mini { margin: var(--s3) 0 0; font-size: 14px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.atalhos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); width: 100%; max-width: 520px; }
.chip {
  display: grid; place-items: center; min-height: 52px; padding: var(--s2); border-radius: var(--r2);
  background: var(--yellow); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font-weight: 900; font-size: 15px; line-height: 1.15; text-decoration: none;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.chip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- títulos de seção ---------- */
.titulo { margin: 0 0 var(--s5); font-size: 28px; line-height: 1.1; font-weight: 900; }

/* ---------- três blocos ---------- */
.blocos { padding: var(--s7) 0; background: var(--surface); border-block: 2px solid var(--line); }
.blocos__lista { display: grid; gap: var(--s4); }
.bloco {
  display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: stretch; overflow: hidden;
  background: var(--red); color: #fff; text-decoration: none;
  border: 2px solid var(--ink); border-radius: var(--r3); box-shadow: var(--sombra);
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease);
}
.bloco:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.bloco:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.bloco img { width: 100%; height: 100%; min-height: 132px; object-fit: cover; border-right: 2px solid var(--ink); }
.bloco__txt { display: grid; align-content: center; gap: var(--s1); padding: var(--s4); }
.bloco__txt strong { font-size: 22px; line-height: 1.1; font-weight: 900; }
.bloco__txt span { font-size: 15px; line-height: 1.35; opacity: 0.95; }
.bloco__txt em { font-style: normal; font-weight: 900; font-size: 15px; margin-top: var(--s1); }
.bloco__txt em::after { content: " →"; }
.bloco--amarelo { background: var(--yellow); color: var(--ink); }
.bloco--preto { background: var(--ink); color: #fff; }

/* ---------- unidades ---------- */
.unidades { padding: var(--s7) 0 var(--s8); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.card {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r3);
  padding: var(--s5) var(--s4); scroll-margin-top: var(--s4);
}
.card h3 { margin: 0; font-size: 24px; font-weight: 900; }
.card p { margin: var(--s1) 0 var(--s4); color: var(--muted); font-size: 15px; }
.card__acoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.card__acoes .btn { padding: var(--s2); font-size: 15px; box-shadow: 3px 3px 0 var(--ink); }

/* ---------- rodapé ---------- */
.rodape { background: var(--surface); border-top: 2px solid var(--line); padding: var(--s7) 0; }
.rodape__in { display: grid; justify-items: center; gap: var(--s4); text-align: center; }
.rodape__logo { width: 140px; }
.redes { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); }
.redes a { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 700; text-decoration: none; min-height: 44px; }
.redes svg { width: 24px; height: 24px; color: var(--red); }
.rodape__copy { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- telas maiores ---------- */
@media (min-width: 768px) {
  .mosaico { height: 480px; padding: var(--s5) var(--s5) 0; }
  .chamada { font-size: 56px; }
  .logo img { width: 300px; }
  .sub { font-size: 18px; }
  .titulo { font-size: 40px; text-align: center; }
  .blocos__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bloco { grid-template-columns: minmax(0, 1fr); grid-template-rows: 200px auto; }
  .bloco img { min-height: 0; border-right: 0; border-bottom: 2px solid var(--ink); }
  .bloco__txt { align-content: start; padding: var(--s5); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card__acoes { grid-template-columns: minmax(0, 1fr); }
  .card { display: flex; flex-direction: column; }
  .card p { flex: 1; }
}
@media (min-width: 1100px) {
  .topo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; max-width: 1180px; margin-inline: auto; padding: var(--s6) var(--s5) var(--s8); gap: var(--s6); }
  .mosaico { height: 560px; padding: 0; width: 100%; }
  .topo__texto { margin: 0; width: 100%; }
}

/* ---------- botão flutuante do WhatsApp ---------- */
.flutuante {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease), box-shadow 150ms var(--ease);
}
.flutuante svg { width: 32px; height: 32px; fill: currentColor; }
.flutuante:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
/* some enquanto o botão grande do topo está na tela (começa escondido no HTML; o app.js mostra quando a pessoa rola) */
.flutuante.escondido { opacity: 0; transform: scale(0.6); pointer-events: none; }
.rodape { padding-bottom: 96px; } /* espaço para o botão não cobrir o fim da página */

@media (prefers-reduced-motion: reduce) {
  .btn, .chip, .bloco, .flutuante { transition: none; }
}

/* Perguntas frequentes (11/11/2026) */
.faq { padding: var(--s7) 0 var(--s8); border-top: 2px solid var(--line); }
.faq__lista { display: grid; gap: var(--s3); max-width: 760px; }
.faq__item { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r2); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  min-height: 56px; padding: var(--s3) var(--s4); font-weight: 700; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--yellow); font-weight: 900; font-size: 20px; line-height: 1;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--r2); }
.faq__item p { margin: 0; padding: 0 var(--s4) var(--s4); color: var(--muted); }
.faq__mais { margin: var(--s5) 0 0; color: var(--muted); }
