/* =========================================================
   CARDAPIO.CSS
   Estilos exclusivos da página do cardápio (cardapio.html).
   Depende de base.css (variáveis de cor e reset).
========================================================= */

body{ padding-bottom: 50px; }

.wrap{ max-width: 840px; } /* cardápio usa um container mais estreito que a home */

/* ---------- Barra superior (voltar pra home) ---------- */
.topbar{ background:var(--wine-deep); color:var(--cream); padding:14px 0; }
.topbar .wrap{ display:flex; align-items:center; justify-content:space-between; }
.back{ font-size:13px; display:flex; align-items:center; gap:6px; opacity:.85; transition:opacity .2s; }
.back:hover{ opacity:1; }
.topbar .brand-logo{ height:24px; }

/* ---------- Cabeçalho do cardápio ---------- */
header.menu-hero{
  background:var(--wine); color:var(--cream);
  text-align:center; padding:46px 20px 34px;
  position:relative; overflow:hidden;
}
header.menu-hero::before{
  content:""; position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 4 C42 4 56 18 56 30 C56 42 42 56 30 56 C18 56 4 42 4 30 C4 18 18 4 30 4 Z' fill='none' stroke='%238FB37B' stroke-width='1' opacity='.14'/%3E%3C/svg%3E");
  background-size:60px 60px;
  opacity:.5;
}
header.menu-hero .inner{ position:relative; }
.kicker-light{ font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--green); font-weight:700; margin-bottom:10px; }
header.menu-hero h1{ font-size:clamp(32px,5vw,46px); color:var(--cream); }
header.menu-hero .meta{ margin-top:16px; font-size:13.5px; color:rgba(251,247,240,.78); display:flex; justify-content:center; gap:22px; flex-wrap:wrap; }
header.menu-hero .meta span{ display:flex; align-items:center; gap:6px; }

/* ---------- Navegação por categorias (fixa no topo) ---------- */
.cat-nav{
  position:sticky; top:0; z-index:50;
  background:var(--cream);
  padding:16px 0 12px;
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 10px rgba(61,30,27,.04);
}
.cat-scroll{ display:flex; gap:8px; overflow-x:auto; padding:0 24px 4px; scrollbar-width:none; }
.cat-scroll::-webkit-scrollbar{ display:none; }
.cat-chip{
  flex:0 0 auto; padding:9px 17px; border-radius:999px; font-size:13px; font-weight:600;
  background:var(--white); color:var(--text); border:1px solid var(--line); white-space:nowrap;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.cat-chip.active, .cat-chip:hover{ background:var(--wine); color:var(--cream); border-color:var(--wine); }

/* ---------- Seções do cardápio ---------- */
main{ margin-top:6px; }
.menu-section{ padding:44px 0 10px; }
.sec-head{ display:flex; align-items:center; gap:16px; margin-bottom:22px; }
.sec-head .thumb{ width:64px; height:64px; border-radius:14px; overflow:hidden; flex:0 0 auto; box-shadow:0 8px 18px rgba(61,30,27,.14); }
.sec-head .thumb img{ width:100%; height:100%; object-fit:cover; }
.sec-head .thumb.icon{ display:flex; align-items:center; justify-content:center; background:var(--green-soft); font-size:26px; }
.sec-head h2{ font-size:22px; color:var(--wine-deep); }
.sec-head .count{ font-size:12px; color:var(--text-soft); margin-top:2px; }

.subgroup{ margin-top:20px; }
.subgroup h3{
  font-size:12.5px; text-transform:uppercase; letter-spacing:.1em; color:var(--green-dark); font-weight:700;
  margin-bottom:6px; padding-top:10px; border-top:1px dashed var(--line);
}
.subgroup:first-child h3{ border-top:none; padding-top:0; }

/* Cada item usa uma "linha pontilhada" (leader) entre o nome e o preço,
   igual ao estilo clássico de cardápio impresso. */
.item{ display:flex; align-items:baseline; gap:8px; padding:10px 0; }
.item .name{ font-size:14.5px; font-weight:500; color:var(--text); white-space:nowrap; }
.item .leader{ flex:1; border-bottom:1.5px dotted var(--line); transform:translateY(-4px); margin:0 2px; }
.item .price{ font-family:'Fraunces',serif; font-weight:600; font-size:14.5px; color:var(--wine); white-space:nowrap; }
.item .note{ display:block; font-size:11px; color:var(--text-soft); font-style:italic; margin-top:1px; }
.item-wrap{ border-bottom:1px solid var(--line); }
.item-wrap:last-child{ border-bottom:none; }
.item-inner{ display:flex; flex-direction:column; }

.wifi-banner{
  margin-top:36px; background:var(--green-soft); border-radius:18px; padding:22px;
  display:flex; align-items:center; gap:16px;
}
.wifi-banner .ic{ font-size:30px; }
.wifi-banner h4{ font-size:15px; color:var(--wine-deep); font-family:'Fraunces',serif; }
.wifi-banner p{ font-size:12.5px; color:var(--text-soft); margin-top:2px; }

/* ---------- Rodapé ---------- */
footer{ margin-top:50px; text-align:center; padding:26px 20px 0; }
footer .loc-btn{ display:inline-block; background:var(--wine); color:var(--cream); padding:13px 28px; border-radius:12px; font-weight:600; font-size:14px; }
footer .loc-btn:hover{ background:var(--wine-deep); }
footer p{ margin-top:16px; font-size:12px; color:var(--text-soft); }
footer .brand-logo{ height:22px; margin:20px auto 0; }

/* ---------- Responsivo ---------- */
@media (min-width:640px){
  .item .name{ font-size:15px; }
}
