/* Tranquerinha. Só as quatro cores da apresentação da marca (página 7):
   verde #007C3B, laranja #EA602C, preto #1D1D1B e bege #FFF8D7. Nenhum tom novo. */
@font-face { font-family: "Londrina"; src: url("fontes/londrina-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Londrina"; src: url("fontes/londrina-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fontes/archivo.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --verde: #007C3B;
  --laranja: #EA602C;
  --preto: #1D1D1B;
  --creme: #FFF8D7;
  --raio: 10px;
  --dente: 14px;
  --barra-altura: 0px;
  --titulo: "Londrina", "Arial Narrow", Impact, sans-serif;
  --texto: "Archivo", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--creme); color: var(--preto); font-family: var(--texto); font-size: 1.0625rem; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--preto); outline-offset: 3px; border-radius: 4px; }

/* Primeira tela: abertura e faixa cabem juntas */
.primeira-tela { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--creme); overflow: hidden; }

.topo { position: absolute; inset: 0 0 auto 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px clamp(20px, 4vw, 56px); }
.logo img { width: clamp(150px, 15vw, 208px); }
.menu { display: flex; gap: 32px; font-family: var(--titulo); font-size: 1.5rem; line-height: 1; }
.menu a { color: var(--creme); text-decoration: none; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 3px no-repeat; transition: background-size .25s ease; }
.menu a:hover { background-size: 100% 3px; }

.abertura { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); min-height: 0; }

.painel { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 92px clamp(24px, 4vw, 56px) 36px; }
.lettering { width: min(90%, 820px, calc((100dvh - 412px) * 1.8)); min-width: 300px; }
.frase { margin: 22px 0 0; max-width: 27em; font-size: clamp(1.0625rem, 1.35vw, 1.5rem); font-weight: 600; line-height: 1.35; text-wrap: balance; }
.hora { margin: 8px 0 24px; font-size: clamp(1rem, 1.2vw, 1.3125rem); font-weight: 500; line-height: 1.35; }

.botoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.bt { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 28px; border-radius: var(--raio); font-family: var(--titulo); font-weight: 900; font-size: 1.625rem; line-height: 1; letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.bt:hover { transform: translateY(-3px); }
.bt:active { transform: translateY(1px); }
.bt-pedir { background: var(--laranja); color: var(--creme); }
.bt-rota { color: var(--verde); font-weight: 400; box-shadow: inset 0 0 0 2px var(--verde); }
.bt-rota:hover { background: var(--verde); color: var(--creme); }

/* Painel verde com a borda serrilhada do saquinho */
.cena { position: relative; min-height: 0; container-type: size; }
.painel-verde { position: absolute; inset: 0; background: var(--verde);
  --m: conic-gradient(from 45deg at left, #000 90deg, #0000 0) left / var(--dente) calc(var(--dente) * 2) repeat-y, linear-gradient(#000 0 0) right / calc(100% - var(--dente) + 1px) 100% no-repeat;
  -webkit-mask: var(--m); mask: var(--m); }
.lanche { position: absolute; z-index: 2; left: 50%; bottom: 0; width: auto; max-width: none; height: min(90cqh, 126cqw); transform: translateX(-50%); }
.capetinha { position: absolute; z-index: 3; right: clamp(18px, 2.2vw, 40px); bottom: 26px; width: clamp(104px, 10.5vw, 160px); transform: rotate(8deg); }

/* Xadrez e faixa que corre */
.xadrez { --q: 12px; height: calc(var(--q) * 2); background: conic-gradient(var(--verde) 25%, var(--creme) 0 50%, var(--verde) 0 75%, var(--creme) 0) 0 0 / calc(var(--q) * 2) calc(var(--q) * 2); position: relative; z-index: 3; }
.faixa { background: var(--verde); color: var(--creme); overflow: hidden; position: relative; z-index: 3; }
.faixa-trilho { display: flex; width: max-content; }
.faixa span { display: flex; align-items: center; font-family: var(--titulo); font-weight: 900; font-size: 1.875rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; padding: 12px 0 13px; }
.faixa i { width: 22px; height: 22px; margin: 0 28px; background: conic-gradient(var(--creme) 25%, transparent 0 50%, var(--creme) 0 75%, transparent 0); }

/* Cabeçalho que aparece depois da abertura (só computador) */
.fixa { position: fixed; inset: 0 0 auto 0; z-index: 9; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px clamp(20px, 4vw, 56px); background: var(--creme); border-bottom: 3px solid var(--verde); transform: translateY(-110%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
.fixa.aparece { transform: none; visibility: visible; transition: transform .3s ease; }
.fixa .logo img { width: 168px; }
.fixa nav { display: flex; align-items: center; gap: 28px; font-family: var(--titulo); font-size: 1.375rem; line-height: 1; }
.fixa nav a:not(.bt) { text-decoration: none; color: var(--verde); padding: 8px 0; }
.fixa nav a:not(.bt):hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.fixa .bt { min-height: 46px; padding: 0 20px; font-size: 1.375rem; }

/* Seções */
.miolo { width: min(1600px, 100%); margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }
section, .rodape { scroll-margin-top: 62px; }
h2 { margin: 0; font-family: var(--titulo); font-weight: 900; font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: .95; text-transform: uppercase; color: var(--verde); text-wrap: balance; }
h3, h4, p, ul, dl, dd, address { margin: 0; }
ul { padding: 0; list-style: none; }

/* Cardápio em quadros */
.cardapio { padding: clamp(56px, 8vw, 104px) 0; }
.quadros { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 38px 22px; margin-top: clamp(40px, 5vw, 60px); }
.quadro { position: relative; border: 3px solid var(--verde); border-radius: var(--raio); padding: 42px 26px 24px; background: var(--creme); }
.rotulo { position: absolute; top: 0; left: 22px; transform: translateY(-50%); max-width: calc(100% - 44px); padding: 8px 14px 9px; border-radius: 8px; background: var(--verde); color: var(--creme); font-family: var(--titulo); font-weight: 900; font-size: clamp(1rem, 1.65vw, 1.4375rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; }
.quadro li + li { margin-top: 18px; padding-top: 18px; border-top: 2px dotted var(--verde); }
.quadro h4 { font-family: var(--titulo); font-weight: 900; font-size: 1.75rem; line-height: 1; text-transform: uppercase; }
.quadro p { margin-top: 6px; line-height: 1.4; max-width: 46ch; }
.quadro .apelido { color: var(--verde); font-weight: 700; }
.q-classicos { grid-column: span 7; grid-row: span 2; }
.q-dobro { grid-column: span 5; }
.q-combos { grid-column: span 5; background: var(--laranja); border-color: var(--laranja); color: var(--creme); }
.q-combos .rotulo { background: var(--creme); color: var(--laranja); box-shadow: 0 0 0 3px var(--laranja); }
.q-combos .conta { margin: 0 0 8px; font-family: var(--titulo); font-weight: 900; font-size: clamp(1.75rem, 2.7vw, 2.375rem); line-height: 1; text-transform: uppercase; max-width: none; }
.q-combos p { font-size: 1.1875rem; font-weight: 700; }
.q-foto { grid-column: span 5; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 40% 60%; border-radius: var(--raio); }
.q-dividir { grid-column: span 7; background: var(--verde); color: var(--creme); }
.q-dividir .rotulo { background: var(--creme); color: var(--verde); box-shadow: 0 0 0 3px var(--verde); }
.q-dividir li + li { border-top-color: var(--creme); }
.q-p { grid-column: span 4; }
.q-p h4 { font-size: 1.5rem; }
.q-bebidas { grid-column: span 12; padding-bottom: 26px; }
.curta { display: flex; flex-wrap: wrap; gap: 8px 0; }
.curta li { font-weight: 600; padding-right: 22px; }
.quadro .curta li + li { margin-top: 0; padding-top: 0; padding-left: 22px; border-top: 0; border-left: 2px dotted var(--verde); }
.fecho { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 26px; margin-top: clamp(36px, 5vw, 56px); font-weight: 600; font-size: 1.125rem; }

/* Faixa verde */
.tranquilo { background: var(--verde); color: var(--creme); padding: clamp(60px, 8vw, 110px) 0; }
.tranquilo .miolo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 72px); }
.tranquilo h2 { color: var(--creme); align-self: end; }
.tranquilo p { margin-top: 22px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; max-width: 34em; }
.tranquilo .fotos { grid-column: 2; grid-row: 1 / span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; }
.tranquilo .fotos img { width: 100%; border: 7px solid var(--creme); border-radius: var(--raio); }
.tranquilo .fotos img:last-child { margin-top: 64px; }

/* A loja */
.loja { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); }
.fachada { width: 100%; height: 100%; min-height: 560px; max-height: 760px; object-fit: cover; object-position: 40% 50%; background: var(--preto); }
.dados { align-self: center; padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 80px); }
.dados address { margin-top: 20px; font-style: normal; font-weight: 600; font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.4; }
.dados dl { margin-top: 22px; max-width: 21em; }
.dados dl div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-top: 2px dotted var(--verde); }
.dados dt { font-weight: 600; }
.dados dl + p { margin-top: 18px; max-width: 30em; }
.rotas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.rotas .bt { min-height: 50px; padding: 0 18px; font-size: 1.3125rem; }

/* Perguntas */
.perguntas { padding: clamp(56px, 8vw, 104px) 0; border-top: 3px solid var(--verde); }
.perguntas .miolo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.lista details { border-bottom: 2px dotted var(--verde); }
.lista summary { position: relative; padding: 18px 44px 18px 0; font-family: var(--titulo); font-weight: 900; font-size: clamp(1.4375rem, 2.2vw, 1.75rem); line-height: 1.1; cursor: pointer; list-style: none; }
.lista summary::-webkit-details-marker { display: none; }
.lista summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--laranja); font-size: 2.25rem; line-height: 1; }
.lista details[open] summary::after { content: "-"; }
.lista p { padding: 0 44px 22px 0; max-width: 60ch; }

/* Fim */
.rodape { background: var(--verde); color: var(--creme); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.chamada { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.rodape h2 { color: var(--creme); }
.rodape .bt-rota { color: var(--creme); box-shadow: inset 0 0 0 2px var(--creme); }
.rodape .bt-rota:hover { background: var(--creme); color: var(--verde); }
.links { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 34px; font-weight: 700; }
.links a { text-underline-offset: 5px; text-decoration-thickness: 2px; }
.miudo { margin-top: 18px; font-size: .9375rem; max-width: 70ch; }
.nome-grande { width: min(1488px, 100% - 2 * clamp(20px, 4vw, 56px)); max-width: none; margin: clamp(36px, 5vw, 64px) auto 0; padding-bottom: clamp(28px, 4vw, 60px); }

/* Página de erro */
.perdida { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; text-align: center; }
.perdida main { display: grid; justify-items: center; }
.perdida img { width: min(420px, 80vw); }
.perdida h1 { margin: 30px 0 0; font-family: var(--titulo); font-weight: 900; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1; color: var(--verde); text-transform: uppercase; }
.perdida p { margin: 12px 0 26px; font-weight: 600; font-size: 1.125rem; }

.barra { display: none; }

/* Celular */
@media (max-width: 859px) {
  :root { --barra-altura: calc(78px + env(safe-area-inset-bottom, 0px)); --dente: 11px; }
  body { padding-bottom: var(--barra-altura); }
  .primeira-tela { min-height: 0; }
  .topo { position: static; justify-content: center; padding: 18px 20px 6px; }
  .menu { display: none; }
  .logo img { width: 156px; }
  .abertura { flex: none; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); height: calc(100svh - 62px - var(--barra-altura)); min-height: 460px; overflow: hidden; }
  .painel { padding: 14px 20px 0; }
  .lettering { width: min(76vw, 440px, calc((100svh - 430px) * 1.25)); min-width: 200px; }
  .frase { margin: 16px 0 0; max-width: 23em; font-size: 1rem; line-height: 1.3; }
  .hora { margin: 5px 0 0; font-size: .9375rem; }
  .painel .botoes { display: none; }
  .painel-verde { inset: clamp(40px, 9svh, 92px) 0 0; --m: conic-gradient(from 135deg at top, #000 90deg, #0000 0) top / calc(var(--dente) * 2) var(--dente) repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--dente) + 1px) no-repeat; }
  .lanche { bottom: auto; top: 14px; height: auto; width: max(min(86cqw, 470px), (100cqh - 14px) * .78); }
  .capetinha { right: 12px; bottom: 12px; width: clamp(78px, 22vw, 104px); transform: rotate(7deg); }
  .xadrez { --q: 9px; }
  .faixa span { font-size: 1.5rem; padding: 10px 0 11px; }
  .faixa i { width: 16px; height: 16px; margin: 0 20px; }

  .fixa { display: none; }
  section, .rodape { scroll-margin-top: 0; }
  .quadros { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .quadros > * { grid-column: auto; grid-row: auto; }
  .quadro { padding: 38px 20px 22px; }
  .rotulo { left: 16px; max-width: calc(100% - 32px); font-size: clamp(.9375rem, 4.9vw, 1.25rem); padding-inline: 12px; }
  .q-foto { height: auto; aspect-ratio: 16 / 10; margin-block: -12px; }
  .curta { flex-direction: column; gap: 0; }
  .curta li { padding-right: 0; }
  .quadro .curta li + li { margin-top: 9px; padding: 9px 0 0; border-left: 0; border-top: 2px dotted var(--verde); }
  .fecho { flex-direction: column; text-align: center; }
  .tranquilo .miolo { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .tranquilo .fotos { grid-column: 1; grid-row: auto; gap: 12px; margin-top: 34px; }
  .tranquilo .fotos img { border-width: 5px; }
  .tranquilo .fotos img:last-child { margin-top: 36px; }
  .perguntas .miolo { grid-template-columns: minmax(0, 1fr); }
  .loja { grid-template-columns: minmax(0, 1fr); }
  .fachada { min-height: 0; height: auto; max-height: none; aspect-ratio: 5 / 4.4; }
  .chamada { flex-direction: column; align-items: flex-start; }
  .rodape .botoes { display: none; }

  .barra { position: fixed; inset: auto 0 0 0; z-index: 10; display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--verde); }
  .barra .bt { min-height: 58px; padding: 0 10px; font-size: 1.4375rem; }
  .barra .bt-pedir { background: var(--laranja); color: var(--creme); }
  .barra .bt-rota { color: var(--creme); box-shadow: inset 0 0 0 2px var(--creme); }
}

/* Movimento leve. Nada começa escondido: sem animação, a página aparece inteira. */
@media (prefers-reduced-motion: no-preference) {
  .faixa-trilho { animation: correr 26s linear infinite; }
  .lettering { animation: chegar .7s cubic-bezier(.2, 1.4, .4, 1); transform-origin: 40% 60%; }
  .lanche { animation: subir .8s cubic-bezier(.16, 1, .3, 1); }
  .capetinha { animation: espiar .8s .15s cubic-bezier(.2, 1.4, .4, 1) backwards; }
  @keyframes correr { to { transform: translateX(-25%); } }
  @keyframes chegar { from { transform: rotate(-5deg) scale(.93); } }
  @keyframes subir { from { translate: 0 7%; } }
  @keyframes espiar { from { translate: 0 34%; rotate: -10deg; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
