/* Marmitaria Romana – estilos (mobile first) */
:root {
  --vermelho: #b3131c;
  --vermelho-escuro: #8a0d14;
  --vinho: #5e0a0f;
  --ouro: #c89a3c;
  --verde: #3d7a2a;
  --creme: #fbf5ec;
  --papel: #ffffff;
  --tinta: #2a1b17;
  --suave: #6d5c55;
  --linha: #ecdfd2;
  --sombra: 0 1px 2px rgba(60, 20, 10, .06), 0 6px 20px rgba(60, 20, 10, .08);
  --raio: 18px;
  --serifa: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --topo: 64px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 60px); }
body {
  margin: 0; background: var(--creme); color: var(--tinta);
  font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; display: block; }
a { color: var(--vermelho); }
h1, h2, h3 { margin: 0; line-height: 1.2; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--ouro); outline-offset: 2px; }
.pular { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--papel); padding: 8px 12px; border-radius: 8px; }
.pular:focus { left: 8px; }
body.travado { overflow: hidden; }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top);
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linha);
}
.topo-inner { height: var(--topo); max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topo-menu, .topo-whats span, .hero-legenda, .hero-acoes, .lateral { display: none; }
.topo-marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); min-width: 0; }
.topo-marca img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ouro); background: #fff; object-fit: cover; }
.topo-marca span { display: flex; flex-direction: column; min-width: 0; }
.topo-marca strong { font-family: var(--serifa); font-size: 1.08rem; color: var(--vermelho); letter-spacing: .01em; white-space: nowrap; }
.topo-marca small { font-size: .78rem; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topo-whats {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #1fa855; color: #fff; box-shadow: 0 4px 12px rgba(31, 168, 85, .35);
}
.topo-whats svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-foto { height: 230px; overflow: hidden; background: #3a1b12; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; }
.hero-cartao {
  position: relative; margin: -56px 16px 0; padding: 14px 18px 18px;
  background: var(--papel); border-radius: 22px; box-shadow: var(--sombra); text-align: center;
}
.hero-logo { width: min(100%, 330px); height: auto; margin: 0 auto 6px; }
.hero h1 {
  font-family: var(--serifa); font-weight: 800; font-size: 1.7rem; color: var(--vinho); letter-spacing: -.01em;
}
.hero-lead { margin: 6px auto 12px; color: var(--suave); font-size: .97rem; max-width: 34ch; }
.status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 12px; border-radius: 99px;
  font-weight: 600; font-size: .9rem;
}
.status .ponto { flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status.aberto { background: #e7f4e1; color: #2f6b1f; }
.status.aberto .ponto { box-shadow: 0 0 0 0 rgba(47, 107, 31, .5); animation: pulso 2s infinite; }
.status.fechado { background: #f8e5e3; color: var(--vermelho-escuro); }
@keyframes pulso { 70% { box-shadow: 0 0 0 8px rgba(47, 107, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 107, 31, 0); } }
.selos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.selos li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px;
  background: var(--creme); border: 1px solid var(--linha); font-size: .82rem; color: var(--tinta);
}
.selos .selo-destaque { background: #e7f4e1; border-color: #b9dcaa; color: #2f6b1f; font-weight: 700; }
.selos .selo-destaque svg { stroke: #2f6b1f; }
.totais .gratis { color: #2f6b1f; }
.selos svg { width: 16px; height: 16px; fill: none; stroke: var(--vermelho); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Abas ---------- */
.abas {
  position: sticky; top: var(--topo); z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px 16px; margin-top: 12px; max-width: 760px; margin-left: auto; margin-right: auto; background: linear-gradient(var(--creme) 80%, rgba(251, 245, 236, 0));
}
.abas::-webkit-scrollbar { display: none; }
.abas a {
  flex: none; padding: 8px 14px; border-radius: 99px; text-decoration: none; font-weight: 600; font-size: .9rem;
  color: var(--tinta); background: var(--papel); border: 1px solid var(--linha);
}
.abas a.ativa { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }

/* ---------- Seções ---------- */
.secao, .layout, .dupla { max-width: 760px; margin-left: auto; margin-right: auto; }
.secao { padding: 8px 16px 20px; }
.secao-cabeca { margin: 4px 0 12px; }
.sobretitulo { margin: 0 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro); }
.secao h2 { font-family: var(--serifa); font-size: 1.5rem; color: var(--vinho); }
.aviso { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: #fff3d6; border: 1px solid #f0d58e; color: #5b4206; font-size: .94rem; }
.aviso-suave { background: var(--papel); border-color: var(--linha); color: var(--suave); }
.vazio { padding: 18px; background: var(--papel); border-radius: var(--raio); color: var(--suave); text-align: center; }

/* ---------- Lista de pratos ---------- */
.lista-pratos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.prato {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 112px;
  background: var(--papel); border-radius: var(--raio); box-shadow: var(--sombra); transition: transform .15s ease;
}
.prato:active { transform: scale(.985); }
.prato-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.prato h3 { font-size: 1.04rem; font-weight: 700; color: var(--tinta); }
.prato-desc { font-size: .87rem; color: var(--suave); line-height: 1.35; }
.prato-preco { margin-top: 4px; font-weight: 700; color: var(--vermelho); font-size: .95rem; }
.prato-foto { flex: none; width: 96px; height: 96px; border-radius: 14px; object-fit: cover; background: var(--creme); }
.sem-foto { display: grid; place-items: center; background: linear-gradient(145deg, #fff1e6, #f6e1cf); }
.sem-foto svg { width: 46px; height: 46px; fill: none; stroke: var(--vermelho); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.sem-foto.divisorias { background: linear-gradient(145deg, #fdf0dc, #f3dcc0); }
.mais {
  position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: var(--vermelho); color: #fff; font-size: 1.4rem; line-height: 1; font-weight: 600;
  box-shadow: 0 3px 10px rgba(179, 19, 28, .35);
}
.mais::after { content: ""; position: absolute; inset: -400px; } /* área de toque cobre o cartão */
.prato { overflow: hidden; }
.mais:disabled { background: #b9aaa3; box-shadow: none; cursor: not-allowed; }
.prato.esgotado { opacity: .62; }
.prato.esgotado .prato-preco { color: var(--suave); }
.etiqueta {
  align-self: flex-start; padding: 2px 8px; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; background: #fbe4e2; color: var(--vermelho-escuro);
}
.etiqueta.verde { background: #e4f2dc; color: #2f6b1f; }
.etiqueta.ouro { background: #fbefd5; color: #7a5410; }
.destaque-lista .prato { border: 1px solid #f0dcc4; }

/* ---------- Preços ---------- */
.combos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.combo { background: var(--papel); border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden; }
.combo h3 { padding: 10px 12px; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--vermelho); }
.combo-gourmet h3 { background: #4e6b2c; }
.combo-executiva h3 { background: #a8682a; }
.combo-lasanha h3 { background: var(--vinho); }
.combo-foto { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--creme); }
.combo-desc { margin: 8px 12px 0; font-size: .8rem; color: var(--suave); line-height: 1.3; }
.combo dl { margin: 6px 0 10px; padding: 0 12px; }
.combo dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding: 5px 0; border-bottom: 1px dashed var(--linha); }
.combo dl div:last-child { border-bottom: 0; }
.combo dt { font-size: .92rem; }
.combo dt small { display: block; font-size: .7rem; color: var(--suave); }
.combo dd { margin: 0; font-weight: 800; color: var(--vermelho); white-space: nowrap; }
.guarnicoes { margin-top: 12px; padding: 14px 16px; background: var(--papel); border-radius: var(--raio); box-shadow: var(--sombra); }
.guarnicoes h3 { font-family: var(--serifa); color: var(--vinho); font-size: 1.2rem; margin-bottom: 4px; }
.guarnicoes p { margin: 0 0 6px; color: var(--suave); font-size: .94rem; }
.guarnicoes .obs { margin: 0; }
.guarnicoes strong { color: var(--vermelho); }

/* ---------- Como pedir ---------- */
.passos { list-style: none; counter-reset: p; margin: 0; padding: 0; display: grid; gap: 10px; }
.passos li {
  counter-increment: p; position: relative; padding: 14px 14px 14px 62px; background: var(--papel); border-radius: var(--raio); box-shadow: var(--sombra);
  display: flex; flex-direction: column;
}
.passos li::before {
  content: counter(p); position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--creme); border: 2px solid var(--ouro); color: var(--vermelho); font-weight: 800;
}
.passos span { color: var(--suave); font-size: .92rem; }

/* ---------- Sobre ---------- */
.sobre { display: flex; gap: 14px; align-items: center; }
.sobre img { width: 104px; height: 104px; border-radius: 50%; border: 3px solid var(--ouro); background: #fff; flex: none; }
.sobre h2 { font-size: 1.25rem; }
.sobre p:not(.sobretitulo) { margin: 6px 0 0; color: var(--suave); font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--papel); border-radius: 14px; box-shadow: var(--sombra); }
.faq summary { list-style: none; padding: 14px 44px 14px 16px; font-weight: 600; position: relative; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--vermelho); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--suave); }

/* ---------- Rodapé ---------- */
.rodape { margin-top: 24px; padding: 32px 16px calc(110px + env(safe-area-inset-bottom)); background: var(--vinho); color: #f3dcd6; font-size: .93rem; }
.rodape-inner { max-width: 1200px; margin: 0 auto; display: grid; gap: 24px; }
.rodape-marca img { width: 230px; height: auto; padding: 10px 14px; background: #fff; border-radius: 16px; }
.rodape-marca p { margin: 12px 0 0; max-width: 34ch; }
.rodape h2 { font-family: var(--serifa); font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.rodape address { font-style: normal; }
.rodape-col { line-height: 1.7; }
.rodape-col p { margin: 0; }
.rodape strong { color: #fff; }
.rodape a { color: #fff; }
.redes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; line-height: 1.2; }
.rede { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: background .15s, transform .15s; }
.rede:hover { background: rgba(255, 255, 255, .16); transform: translateY(-1px); }
.rede:focus-visible { outline: 2px solid var(--ouro); outline-offset: 2px; }
.rede-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.rede-ico svg { width: 20px; height: 20px; }
.rede-whats .rede-ico { background: #25d366; }
.rede-insta .rede-ico { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.rede-google .rede-ico { background: #fff; }
.rede-google .rede-ico svg { width: 19px; height: 19px; }
.rede-txt { display: flex; flex-direction: column; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.rede-txt small { font-weight: 400; font-size: .72rem; color: #d9b8b0; letter-spacing: .02em; }
.rodape .copy { max-width: 1200px; margin: 28px auto 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .82rem; color: #d9b8b0; }
.rodape .copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.rodape .copy p { margin: 0; }
.rodape .credito a { color: #d9b8b0; text-decoration: none; }
.rodape .credito a:hover { color: #fff; text-decoration: underline; }

/* ---------- Barra da sacola ---------- */
.barra-sacola {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(251, 245, 236, 0), var(--creme) 35%);
}
.barra-sacola[hidden] { display: none; }
.barra-sacola button {
  width: 100%; max-width: 728px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 56px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--vermelho); color: #fff; font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 24px rgba(138, 13, 20, .35);
  animation: sobe .25s ease;
}
.barra-sacola .qtd { min-width: 28px; height: 28px; padding: 0 6px; border-radius: 99px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; font-size: .9rem; }
@keyframes sobe { from { transform: translateY(16px); opacity: 0; } }

/* ---------- Folha (bottom sheet) ---------- */
.folha-fundo { position: fixed; inset: 0; z-index: 50; background: rgba(30, 10, 5, .5); opacity: 0; transition: opacity .2s; }
.folha-fundo.visivel { opacity: 1; }
.folha {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh;
  display: flex; flex-direction: column; background: var(--papel); border-radius: 22px 22px 0 0; overflow: hidden;
  transform: translateY(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.folha.visivel { transform: none; }
.folha[hidden], .folha-fundo[hidden] { display: none; }
.folha-corpo { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; flex: 1; }
.folha-alca { position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255, 255, 255, .85); z-index: 2; box-shadow: 0 0 4px rgba(0,0,0,.2); }
.folha-fechar {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .95); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); font-size: 1.3rem; line-height: 1; color: var(--tinta);
}
.folha-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--creme); }
.folha-cab { padding: 18px 16px 6px; }
.folha-cab.sem-img { padding-top: 26px; padding-right: 60px; }
.folha-cab h2 { font-family: var(--serifa); font-size: 1.45rem; color: var(--vinho); }
.folha-cab p { margin: 6px 0 0; color: var(--suave); font-size: .94rem; }
.folha-cab .preco-base { color: var(--vermelho); font-weight: 700; }

.grupo { border: 0; margin: 0; padding: 0; }
.grupo-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; background: #f6efe6; position: sticky; top: 0; z-index: 1; }
.grupo-cab strong { display: block; font-size: .98rem; }
.grupo-cab small { color: var(--suave); font-size: .8rem; }
.selo-obrig { flex: none; padding: 3px 8px; border-radius: 6px; background: var(--tinta); color: #fff; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.selo-obrig.ok { background: var(--verde); }
.opcao { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--linha); cursor: pointer; }
.opcao:last-child { border-bottom: 0; }
.opcao-texto { flex: 1; display: flex; flex-direction: column; }
.opcao-texto small { color: var(--suave); font-size: .8rem; }
.opcao-preco { font-weight: 700; color: var(--tinta); white-space: nowrap; }
.opcao input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--vermelho); }
.opcao.desativada { opacity: .45; cursor: not-allowed; }
.subgrupo { padding: 8px 16px 4px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ouro); }
.campo { padding: 12px 16px 16px; }
.campo label, .rotulo { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.campo textarea, .campo input, .campo select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--linha); background: #fffdfa; font-size: 16px;
}
.campo textarea { min-height: 76px; resize: vertical; }
.campo textarea:focus, .campo input:focus, .campo select:focus { outline: none; border-color: var(--ouro); box-shadow: 0 0 0 3px rgba(200, 154, 60, .2); }
.contador { display: block; text-align: right; font-size: .75rem; color: var(--suave); margin-top: 4px; }

.folha-rodape {
  display: flex; gap: 10px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--linha); background: var(--papel);
}
.qtd-ctrl { display: flex; align-items: center; border: 1.5px solid var(--linha); border-radius: 14px; height: 52px; flex: none; }
.qtd-ctrl button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.4rem; color: var(--vermelho); }
.qtd-ctrl button:disabled { color: #cdbfb8; }
.qtd-ctrl output { min-width: 26px; text-align: center; font-weight: 700; }
.btn-principal {
  flex: 1; height: 52px; border: 0; border-radius: 14px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: var(--vermelho); color: #fff; font-weight: 700; font-size: 1rem;
}
.btn-principal:disabled { background: #cbbab2; cursor: not-allowed; justify-content: center; }
.btn-whats { background: #1fa855; justify-content: center; }
.btn-whats svg { width: 22px; height: 22px; }

/* Sacola */
.sacola-itens { list-style: none; margin: 0; padding: 0 16px; }
.sacola-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.sacola-item .info { flex: 1; min-width: 0; }
.sacola-item strong { display: block; }
.sacola-item .det { font-size: .84rem; color: var(--suave); line-height: 1.4; }
.sacola-item .valor { font-weight: 700; color: var(--vermelho); margin-top: 4px; }
.sacola-item .acoes { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; }
.qtd-mini { display: flex; align-items: center; gap: 2px; border: 1.5px solid var(--linha); border-radius: 10px; }
.qtd-mini button { width: 34px; height: 34px; border: 0; background: none; color: var(--vermelho); font-size: 1.15rem; }
.qtd-mini span { min-width: 20px; text-align: center; font-weight: 700; font-size: .95rem; }
.link-btn { border: 0; background: none; padding: 4px 0; color: var(--vermelho); font-weight: 600; font-size: .9rem; text-decoration: underline; }
.totais { padding: 14px 16px; display: grid; gap: 4px; }
.totais div { display: flex; justify-content: space-between; }
.totais .total { font-size: 1.15rem; font-weight: 800; }
.totais small { color: var(--suave); }
.segmentado { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: 14px; background: #f3ebe1; }
.segmentado label { position: relative; }
.segmentado input { position: absolute; opacity: 0; inset: 0; }
.segmentado span { display: block; padding: 10px; border-radius: 10px; text-align: center; font-weight: 600; font-size: .95rem; }
.segmentado input:checked + span { background: var(--papel); color: var(--vermelho); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.segmentado input:focus-visible + span { outline: 3px solid var(--ouro); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 99px; border: 1.5px solid var(--linha); font-size: .92rem; font-weight: 600; background: #fff; }
.chips input:checked + span { border-color: var(--vermelho); background: #fdeceb; color: var(--vermelho-escuro); }
.chips input:focus-visible + span { outline: 3px solid var(--ouro); }
.nota { margin: 0 16px 12px; padding: 10px 12px; border-radius: 12px; background: #fff3d6; color: #5b4206; font-size: .88rem; }
.nota.info { background: #f3ebe1; color: var(--suave); }
.erro-campo { border-color: #d0342c !important; }
.oculto { display: none !important; }

.aviso-toast {
  position: fixed; left: 50%; bottom: 92px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 18px; border-radius: 12px; background: var(--tinta); color: #fff; font-weight: 600; font-size: .92rem; white-space: nowrap;
  transition: opacity .2s, transform .2s;
}
.aviso-toast.visivel { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Telas maiores ---------- */
@media (min-width: 640px) {
  .hero-foto { height: 340px; }
  .hero-cartao { max-width: 640px; margin: -90px auto 0; padding: 20px 28px 24px; }
  .hero h1 { font-size: 2.1rem; }
  .abas { justify-content: center; }
  .combos { grid-template-columns: repeat(4, 1fr); }
  .lista-pratos { grid-template-columns: 1fr 1fr; }
  .passos { grid-template-columns: repeat(3, 1fr); }
  .rodape-inner { grid-template-columns: 1fr 1fr; }
  .folha { left: 50%; right: auto; bottom: 50%; width: 560px; max-height: 88vh; border-radius: 22px; transform: translate(-50%, 60%); opacity: 0; transition: transform .25s, opacity .2s; }
  .folha.visivel { transform: translate(-50%, 50%); opacity: 1; }
}

/* Computador */
@media (min-width: 1024px) {
  :root { --topo: 76px; }
  html { scroll-padding-top: calc(var(--topo) + 24px); }

  /* topo com menu */
  .topo-inner { padding: 0 32px; }
  .topo-marca img { width: 50px; height: 50px; }
  .topo-marca strong { font-size: 1.25rem; }
  .topo-menu { display: flex; gap: 4px; margin-left: auto; }
  .topo-menu a { padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--tinta); font-weight: 600; font-size: .95rem; }
  .topo-menu a:hover { background: var(--creme); color: var(--vermelho); }
  .topo-whats { width: auto; height: 44px; padding: 0 18px 0 14px; border-radius: 99px; gap: 8px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; }
  .topo-whats span { display: inline; }
  .topo-whats:hover { background: #18914a; }

  /* destaque em duas colunas */
  .hero { background: radial-gradient(700px 520px at 88% 45%, #f4dcc4 0%, rgba(244, 220, 196, 0) 70%), linear-gradient(180deg, #fff 0%, #fff 62%, var(--creme) 100%); border-bottom: 1px solid var(--linha); }
  .folha-alca { display: none; }
  .hero-inner { max-width: 1200px; margin: 0 auto; padding: 48px 32px 56px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
  .hero-foto { order: 2; position: relative; height: 480px; border-radius: 32px; box-shadow: 0 30px 60px -20px rgba(94, 10, 15, .45); }
  .hero-foto::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
  .hero-legenda {
    display: flex; flex-direction: column; position: absolute; left: 20px; bottom: 20px; margin: 0; padding: 12px 18px; border-radius: 16px;
    background: rgba(255, 255, 255, .95); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); font-weight: 700; color: var(--tinta);
  }
  .hero-legenda span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro); }
  .hero-cartao { order: 1; max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; text-align: left; }
  .hero-logo { width: 380px; margin: 0 0 18px -8px; mix-blend-mode: multiply; }
  .hero h1 { font-size: 3.4rem; line-height: 1.05; }
  .hero-lead { margin: 14px 0 18px; max-width: 44ch; font-size: 1.12rem; }
  .selos { justify-content: flex-start; }
  .selos li { background: #fff; font-size: .88rem; padding: 7px 12px; }
  .hero-acoes { display: flex; gap: 12px; margin-top: 26px; }
  .botao { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 14px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s; }
  .botao:hover { transform: translateY(-2px); }
  .botao svg { width: 22px; height: 22px; }
  .botao-principal { background: var(--vermelho); color: #fff; box-shadow: 0 10px 24px -8px rgba(179, 19, 28, .6); }
  .botao-whats { background: #fff; color: #178a45; border: 1.5px solid #bfe5cc; }

  /* cardápio + sacola lateral */
  .secao, .layout, .dupla { max-width: 1200px; padding-left: 32px; padding-right: 32px; }
  .secao { padding-top: 40px; padding-bottom: 8px; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
  .layout .secao { padding-left: 0; padding-right: 0; max-width: none; }
  .layout .secao:first-of-type { padding-top: 16px; }
  .abas { max-width: none; margin: 0; padding: 18px 0 12px; justify-content: flex-start; background: linear-gradient(var(--creme) 85%, rgba(251, 245, 236, 0)); }
  .abas a:hover { border-color: var(--vermelho); color: var(--vermelho); }
  .abas a.ativa:hover { color: #fff; }
  .secao h2 { font-size: 2rem; }
  .sobretitulo { font-size: .82rem; }
  .prato { min-height: 128px; padding: 16px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
  .prato:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(60, 20, 10, .06), 0 14px 30px rgba(60, 20, 10, .12); }
  .prato-foto { width: 104px; height: 104px; }
  .mais:hover { background: var(--vermelho-escuro); }

  .lateral { display: block; position: sticky; top: calc(var(--topo) + 18px); margin-top: 18px; }
  .lateral-caixa { background: var(--papel); border-radius: 20px; box-shadow: var(--sombra); padding: 20px; max-height: calc(100vh - var(--topo) - 160px); overflow-y: auto; }
  .lateral-caixa h2 { font-family: var(--serifa); color: var(--vinho); font-size: 1.35rem; display: flex; justify-content: space-between; align-items: baseline; }
  .lateral-caixa h2 small { font-family: var(--sans); font-size: .85rem; color: var(--suave); font-weight: 500; }
  .lateral-vazia { text-align: center; padding: 22px 8px 8px; color: var(--suave); }
  .lateral-vazia svg { width: 56px; height: 56px; fill: none; stroke: var(--ouro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .lateral-vazia p { margin: 8px 0 0; font-size: .92rem; }
  .lateral-itens { list-style: none; margin: 12px 0 8px; padding: 0; }
  .lateral-itens li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--linha); font-size: .92rem; }
  .li-qtd { font-weight: 800; color: var(--vermelho); }
  .li-nome { font-weight: 600; line-height: 1.3; }
  .li-nome small { display: block; font-weight: 400; color: var(--suave); font-size: .8rem; }
  .li-preco { font-weight: 700; white-space: nowrap; }
  .li-remover { border: 0; background: none; color: var(--suave); font-size: 1.2rem; line-height: 1; padding: 0 2px; }
  .li-remover:hover { color: var(--vermelho); }
  .lateral-linha { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }
  .lateral-linha.total { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; }
  .lateral-caixa .btn-principal { width: 100%; }
  .lateral-caixa .btn-principal:hover { background: var(--vermelho-escuro); }
  .lateral-info { list-style: none; margin: 12px 0 0; padding: 14px 18px; border-radius: 16px; background: #f4ebdf; font-size: .86rem; color: var(--suave); display: grid; gap: 6px; }
  .lateral-info strong { color: #2f6b1f; }
  .barra-sacola { display: none !important; }
  .aviso-toast { bottom: 32px; }

  /* preços, passos, sobre + dúvidas */
  .combos { gap: 16px; }
  .combo h3 { padding: 12px 16px; font-size: .95rem; }
  .combo-desc, .combo dl { margin-left: 16px; margin-right: 16px; padding: 0; }
  .combo dt { font-size: 1rem; }
  .combo dd { font-size: 1.1rem; }
  .guarnicoes { display: grid; grid-template-columns: 200px 1fr; gap: 4px 24px; align-items: center; padding: 20px 24px; }
  .guarnicoes h3 { grid-row: span 2; margin: 0; font-size: 1.5rem; }
  .passos { gap: 16px; }
  .passos li { padding: 22px 22px 22px 74px; }
  .passos li::before { left: 22px; top: 20px; width: 38px; height: 38px; }
  .dupla { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
  .dupla .secao { padding-left: 0; padding-right: 0; max-width: none; }
  .sobre { flex-direction: column; align-items: flex-start; background: var(--papel); border-radius: 24px; box-shadow: var(--sombra); padding: 28px !important; margin-top: 40px; }
  .sobre img { width: 132px; height: 132px; }
  .sobre h2 { font-size: 1.6rem; }
  .faq summary:hover { color: var(--vermelho); }

  /* rodapé */
  .rodape { padding: 56px 32px 28px; margin-top: 56px; }
  .rodape-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .rodape .copy { margin-top: 40px; }
}
@media (min-width: 1280px) {
  .hero h1 { font-size: 3.8rem; }
  .layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Artigos ---------- */
.topo-menu a[aria-current="page"] { color: var(--vermelho); background: var(--creme); }
.cartoes-artigos { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cartao-artigo { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; background: var(--papel); border-radius: var(--raio); box-shadow: var(--sombra); transition: transform .15s, box-shadow .15s; }
.cartao-artigo:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(60, 20, 10, .06), 0 12px 28px rgba(60, 20, 10, .12); }
.cartao-artigo img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; }
.cartao-artigo h2, .cartao-artigo h3 { font-family: var(--serifa); font-size: 1.05rem; line-height: 1.25; color: var(--vinho); }
.cartao-artigo a { color: inherit; text-decoration: none; }
.cartao-artigo a::after { content: ""; position: absolute; inset: 0; border-radius: var(--raio); }
.cartao-artigo a:hover { color: var(--vermelho); }
.cartao-artigo p { margin: 4px 0 0; font-size: .88rem; color: var(--suave); line-height: 1.4; }

.artigo-pagina { max-width: 760px; margin: 0 auto; padding: 12px 16px 32px; }
.trilha ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; padding: 0; font-size: .82rem; color: var(--suave); }
.trilha li + li::before { content: "›"; margin-right: 4px; color: var(--ouro); }
.trilha a { color: var(--suave); }
.artigo-cabeca { margin-bottom: 16px; }
.artigo-cabeca h1 { font-family: var(--serifa); font-size: 1.85rem; line-height: 1.15; color: var(--vinho); }
.artigo-meta, .artigo-intro { margin: 10px 0 0; color: var(--suave); font-size: .88rem; }
.artigo-intro { font-size: 1rem; }
.artigo-meta a { color: var(--suave); }
.artigo-foto { margin: 0 -16px 20px; }
.artigo-foto img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.artigo-corpo { font-size: 1.04rem; line-height: 1.7; }
.artigo-corpo h2 { font-family: var(--serifa); font-size: 1.4rem; color: var(--vinho); margin: 28px 0 8px; }
.artigo-corpo p { margin: 0 0 14px; }
.artigo-corpo ul, .artigo-corpo ol { margin: 0 0 16px; padding-left: 22px; }
.artigo-corpo li { margin-bottom: 6px; }
.artigo-corpo li::marker { color: var(--vermelho); font-weight: 700; }
.artigo-corpo strong { color: var(--tinta); }
.tabela-rolagem { overflow-x: auto; margin: 0 0 16px; border-radius: 14px; box-shadow: var(--sombra); }
.tabela-precos { width: 100%; border-collapse: collapse; background: var(--papel); font-size: .95rem; }
.tabela-precos th { text-align: left; padding: 10px 14px; background: var(--vinho); color: #fff; font-weight: 600; }
.tabela-precos th:last-child, .tabela-precos td:last-child { text-align: right; white-space: nowrap; }
.tabela-precos td { padding: 9px 14px; border-top: 1px solid var(--linha); }
.tabela-precos td:last-child { font-weight: 800; color: var(--vermelho); }
.tabela-precos small { color: var(--suave); }

.artigo-cta { margin: 28px 0; padding: 22px 18px; border-radius: var(--raio); background: linear-gradient(135deg, var(--vinho), var(--vermelho)); color: #fff; text-align: center; }
.artigo-cta h2 { font-family: var(--serifa); font-size: 1.5rem; }
.artigo-cta p { margin: 6px 0 16px; color: #f6dcd6; }
.artigo-cta-botoes { display: grid; gap: 10px; }
.artigo-cta .botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 700; text-decoration: none; }
.artigo-cta .botao svg { width: 22px; height: 22px; }
.artigo-cta .botao-principal { background: #fff; color: var(--vermelho); box-shadow: none; }
.artigo-cta .botao-whats { background: #25d366; color: #fff; border: 0; }
.artigo-faq h2, .artigos-relacionados h2 { font-family: var(--serifa); font-size: 1.4rem; color: var(--vinho); margin: 0 0 12px; }
.artigos-relacionados { margin-top: 32px; }

.rodape-artigos { max-width: 1200px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); }
.rodape-artigos h2 { font-size: 1rem; margin-bottom: 6px; }
.rodape-artigos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; }
.rodape-artigos a { color: #f3dcd6; text-decoration: none; }
.rodape-artigos a:hover { color: #fff; text-decoration: underline; }
.rodape-artigos + .copy { margin-top: 18px; }

@media (min-width: 640px) {
  .cartoes-artigos { grid-template-columns: 1fr 1fr; }
  .artigo-foto { margin: 0 0 24px; }
  .artigo-foto img { border-radius: var(--raio); }
  .artigo-cta-botoes { display: flex; justify-content: center; flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  #artigos .cartoes-artigos { grid-template-columns: repeat(3, 1fr); }
  .cartao-artigo { grid-template-columns: 110px 1fr; padding: 14px; }
  .cartao-artigo img { width: 110px; height: 110px; }
  .artigo-pagina { padding: 28px 32px 56px; }
  .artigo-cabeca h1 { font-size: 2.6rem; }
  .artigo-corpo h2 { font-size: 1.65rem; }
  .lista-completa { grid-template-columns: 1fr 1fr; }
}
