/* ==========================================================================
   ALIMENTAÇÃO — visual acolhedor e "de app": creme, tomate, verde,
   cantos redondos, adesivos, cardápio em lista com foto à direita
   ========================================================================== */

body { background: var(--creme); color: var(--texto); font-size: 16px; }
h1, h2, h3, .marca { font-family: var(--fonte-titulos); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.botao { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primaria); color: #fff; font-weight: 800; padding: 15px 28px; border-radius: 16px; transition: transform .15s; }
.botao:hover { transform: translateY(-2px); }
.botao:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.botao.pequeno { padding: 9px 16px; font-size: .9rem; border-radius: 12px; }
.botao.largo { width: 100%; }
.botao.whats { background: #1f9d55; }

section { padding: 80px 6vw; }

/* ---------- Status + topo ---------- */
.status { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; font-size: .88rem; text-align: center; }
.status.aberto { background: #e3f3e6; color: #1d5a2c; }
.status.fechado { background: #fbe4e0; color: #8f2a1c; }
.ponto { width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status.aberto .ponto { animation: piscar 1.6s infinite; }
@keyframes piscar { 50% { opacity: .3; } }

.topo { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 28px; padding: 14px 6vw; background: var(--creme); border-bottom: 2px solid var(--linha); }
.marca { font-size: 1.4rem; margin-right: auto; }
.topo-nav { display: flex; gap: 24px; font-weight: 700; color: var(--suave); }
.topo-nav a:hover { color: var(--primaria); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5vw; align-items: center; padding-top: 56px; }
.adesivo { display: inline-block; background: var(--verde); color: #fff; font-weight: 800; padding: 6px 14px; border-radius: 10px; transform: rotate(-3deg); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 5.8vw, 4.4rem); margin-bottom: 18px; }
.hero h1 span { color: var(--primaria); }
.hero p { color: var(--suave); font-size: 1.12rem; margin-bottom: 20px; max-width: 520px; }
.hero-info { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero-info span { background: var(--papel); border: 2px solid var(--linha); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .88rem; }
.hero-prato { position: relative; }
.hero-prato img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 12px solid var(--papel); box-shadow: 0 30px 60px rgba(43, 29, 20, .15); }
.do-dia { position: absolute; left: -4%; bottom: 8%; background: var(--papel); border-radius: 20px; padding: 16px 18px; box-shadow: 0 16px 36px rgba(43, 29, 20, .16); display: flex; flex-direction: column; gap: 2px; max-width: 250px; transform: rotate(-2deg); }
.do-dia small { color: var(--primaria); font-weight: 800; text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; }
.do-dia b { font-family: var(--fonte-titulos); font-size: 1.2rem; }
.do-dia button { align-self: flex-start; margin-top: 6px; color: var(--primaria); font-weight: 800; }

/* ---------- Cardápio ---------- */
.cardapio { background: var(--papel); border-radius: 36px 36px 0 0; }
.abas { position: sticky; top: 64px; z-index: 50; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; background: var(--papel); margin-bottom: 12px; scrollbar-width: none; }
.abas a { padding: 8px 18px; border-radius: 999px; background: var(--creme); font-weight: 800; white-space: nowrap; color: var(--suave); }
.abas a.ativa { background: var(--texto); color: #fff; }
.categoria { padding-top: 24px; scroll-margin-top: 140px; }
.categoria h2 { margin-bottom: 18px; }
.lista { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prato { display: flex; gap: 16px; justify-content: space-between; padding: 18px; border: 2px solid var(--linha); border-radius: 22px; }
.prato.destaque { border-color: var(--primaria); background: #fff5f3; }
.prato-texto { display: flex; flex-direction: column; gap: 6px; }
.selo { align-self: flex-start; background: var(--primaria); color: #fff; font-weight: 800; font-size: .72rem; padding: 3px 10px; border-radius: 999px; }
.prato h3 { font-size: 1.2rem; }
.prato p { color: var(--suave); font-size: .92rem; }
.prato-texto b { margin-top: auto; font-size: 1.1rem; }
.prato-foto { position: relative; flex-shrink: 0; }
.prato-foto img { width: 118px; height: 118px; object-fit: cover; border-radius: 18px; }
.mais { position: absolute; right: -8px; bottom: -8px; width: 40px; height: 40px; border-radius: 50%; background: var(--primaria); color: #fff; font-size: 1.5rem; font-weight: 800; line-height: 1; box-shadow: 0 6px 14px rgba(217, 65, 43, .4); transition: transform .15s; }
.mais:hover { transform: scale(1.1); }

/* ---------- Motivos / cozinha ---------- */
.motivos { text-align: center; }
.motivos h2 { margin-bottom: 36px; }
.motivos > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.motivos article { background: var(--papel); border-radius: 24px; padding: 28px; }
.motivos span { font-size: 2.4rem; }
.motivos h3 { font-size: 1.25rem; margin: 8px 0 6px; }
.motivos p { color: var(--suave); }

.cozinha { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5vw; align-items: center; background: var(--verde); color: #f5efe4; }
.cozinha p { color: #d9e6da; margin: 14px 0 24px; font-size: 1.05rem; }
.recados { display: flex; flex-direction: column; gap: 12px; }
.recados blockquote { background: rgba(255,255,255,.08); border-radius: 16px; padding: 14px 18px; font-size: .98rem; }
.recados cite { font-style: normal; font-weight: 800; color: #fff; }
.cozinha-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cozinha-fotos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 22px; }
.cozinha-fotos img:last-child { margin-top: 48px; }

.onde { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5vw; align-items: center; }
.onde p { color: var(--suave); margin-top: 10px; }
.onde .horario { color: var(--texto); font-weight: 700; }
.onde iframe { width: 100%; min-height: 320px; border: 0; border-radius: 24px; }

.rodape { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 28px 6vw 96px; color: var(--suave); border-top: 2px solid var(--linha); }
.rodape a { text-decoration: underline; }

/* ---------- Barra da sacola ---------- */
.barra-sacola { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 890; width: min(520px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; background: var(--primaria); color: #fff; font-weight: 800; padding: 14px 18px; border-radius: 18px; box-shadow: 0 16px 36px rgba(217, 65, 43, .4); font-size: 1.02rem; }
.barra-sacola b { margin-left: auto; }
.qtd-bola { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,.22); padding: 0 6px; }
.barra-sacola.pulo { animation: pulo .35s ease; }
@keyframes pulo { 50% { transform: translateX(-50%) scale(1.05); } }
body.com-faixa .barra-sacola { bottom: 72px; }

/* ---------- Folhas (opções e sacola) ---------- */
.folha-fundo { position: fixed; inset: 0; z-index: 1000; background: rgba(43, 29, 20, .5); }
.folha { position: fixed; z-index: 1001; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100% - 24px)); max-height: calc(100vh - 40px); overflow: auto; background: var(--papel); border-radius: 26px; }
.folha > img { width: 100%; height: 190px; object-fit: cover; }
.folha .fechar { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--papel); font-size: 1.4rem; line-height: 1; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.folha-corpo { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.folha-corpo h3 { font-size: 1.5rem; }
.folha-corpo > p { color: var(--suave); }
.rotulo { font-weight: 800; margin-top: 8px; }
.op-lista { display: flex; flex-direction: column; border: 2px solid var(--linha); border-radius: 16px; overflow: hidden; }
.op-lista label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--linha); cursor: pointer; }
.op-lista label:last-child { border: 0; }
.op-lista input { accent-color: var(--primaria); width: 18px; height: 18px; }
.op-lista span { flex: 1; font-weight: 700; }
.op-lista b { color: var(--suave); font-size: .9rem; }
.folha textarea, .checkout input, .checkout select { width: 100%; border: 2px solid var(--linha); border-radius: 12px; padding: 10px 12px; background: #fff; }
.op-rodape { display: flex; gap: 12px; align-items: center; margin-top: 8px; }
.op-rodape .botao { flex: 1; }
.passo { display: flex; align-items: center; border: 2px solid var(--linha); border-radius: 14px; }
.passo button { width: 40px; height: 44px; font-size: 1.3rem; font-weight: 800; color: var(--primaria); }
.passo output { min-width: 26px; text-align: center; font-weight: 800; }
.passo.pequeno button { width: 30px; height: 32px; font-size: 1.1rem; }

.folha.grande { display: flex; flex-direction: column; width: min(520px, calc(100% - 24px)); height: min(760px, calc(100vh - 40px)); overflow: hidden; }
.sacola-topo { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 2px solid var(--linha); }
.sacola-topo h3 { font-size: 1.5rem; }
.sacola-topo .fechar { position: static; box-shadow: none; }
.sacola-rolagem { flex: 1; overflow: auto; padding: 0 22px; }
.vazia { text-align: center; color: var(--suave); padding: 48px 0; }
.sacola-itens li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--linha); }
.si-nome { flex: 1; display: flex; flex-direction: column; }
.si-nome small { color: var(--suave); font-size: .82rem; }
.checkout { display: flex; flex-direction: column; gap: 12px; padding: 18px 0; }
.checkout label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: .9rem; }
.alternar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.alternar label { position: relative; }
.alternar input { position: absolute; opacity: 0; }
.alternar span { display: block; text-align: center; padding: 11px; border: 2px solid var(--linha); border-radius: 12px; cursor: pointer; }
.alternar input:checked + span { border-color: var(--primaria); background: #fff5f3; color: var(--primaria); }
.sacola-final { padding: 14px 22px 20px; border-top: 2px solid var(--linha); display: flex; flex-direction: column; gap: 6px; background: var(--creme); }
.sacola-final .linha { display: flex; justify-content: space-between; color: var(--suave); }
.sacola-final .total { color: var(--texto); font-weight: 800; font-size: 1.2rem; }
.aviso { color: #8f2a1c; font-weight: 700; font-size: .88rem; }
.aviso-erro { color: #b91c1c; font-weight: 700; font-size: .85rem; min-height: 1.1em; }
.sacola-final small { text-align: center; color: var(--suave); font-size: .8rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero, .cozinha, .onde { grid-template-columns: 1fr; }
  .hero-prato { max-width: 420px; margin: 0 auto; }
  .lista, .motivos > div { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 64px 16px; }
  .topo { padding: 12px 16px; gap: 12px; }
  .topo-nav { display: none; }
  .marca { font-size: 1.2rem; }
  .abas { top: 58px; }
  .prato { padding: 14px; }
  .prato-foto img { width: 96px; height: 96px; }
  .do-dia { left: 0; bottom: 0; }
  .folha, .folha.grande { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; border-radius: 26px 26px 0 0; max-height: 92vh; }
  .folha.grande { height: 92vh; }
  body.com-faixa .barra-sacola { bottom: 136px; }
}
