/* ══════════════════════════════════════════
   CARDÁPIO DIGITAL — TELEPIZZA
   Estilos exclusivos desta página (QR code / mesa)
   ══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body { font-family: 'Poppins', sans-serif; }

/* Cabeçalho fixo com leve blur, acompanha o scroll */
.cardapio-header {
  background: rgba(17,17,17,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Compensa o header sticky ao pular para uma âncora */
.menu-section {
  scroll-margin-top: 7.5rem;
}

/* ── Botões redondos do cabeçalho (voltar / whatsapp) ── */
.back-btn,
.whatsapp-icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #e5e5e5;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.back-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #F5A623;
}

.whatsapp-icon-btn {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.whatsapp-icon-btn:hover {
  background: #22c55e;
  transform: scale(1.05);
}

/* ── Navegação rápida por seção ── */
.tabs-scroll {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tabs-scroll::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  color: #a3a3a3;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tab-btn:hover {
  background: rgba(245,166,35,0.12);
  border-color: rgba(245,166,35,0.3);
  color: #FFBE4F;
}

.tab-btn.is-active {
  background: #F5A623;
  border-color: #F5A623;
  color: #111111;
}

/* ── Itens do cardápio ── */
.menu-item {
  padding: 1rem 0.15rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.menu-item-name {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.3;
}

.menu-item-desc {
  color: #9ca3af;
  font-size: 0.82rem;
  margin-top: 0.2rem;
  line-height: 1.4;
}

.menu-item-num {
  color: #F5A623;
  font-weight: 700;
  margin-right: 0.35rem;
}

.badge-novidade {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111111;
  background: #F5A623;
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* Preço único (esfihas, lanches, porções) */
.menu-item-price {
  flex-shrink: 0;
  font-weight: 700;
  color: #F5A623;
  font-size: 0.95rem;
  white-space: nowrap;
  padding-top: 0.1rem;
}

/* Preço duplo (pizzas: Grande / Broto) */
.menu-item-prices {
  flex-shrink: 0;
  display: flex;
  gap: 1rem;
  padding-top: 0.1rem;
}

.menu-item-prices span {
  width: 3.5rem;
  text-align: right;
  font-weight: 700;
  color: #F5A623;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Acessibilidade: foco visível */
.tab-btn:focus-visible,
.back-btn:focus-visible,
.whatsapp-icon-btn:focus-visible,
a:focus-visible {
  outline: 2px solid #F5A623;
  outline-offset: 2px;
}

/* Reduz movimento se o usuário preferir */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}