:root {
  --marrom: #4a2c1a;
  --vermelho: #b63a2b;
  --preto: #1a1a1a;
  --texto-claro: #f5f5f5;
  --texto-secundario: #e0e0e0;
  --destaque: #ffb347;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* FUNDO GERAL */
body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("../images/bg-site.png") center / cover no-repeat fixed;
  color: var(--texto-claro);
  line-height: 1.6;
}

/* HEADER */
header {
  background: rgba(0,0,0,0.75);
  text-align: center;
  padding: 40px 20px;
}

header img {
  max-width: 220px;
  margin-bottom: 15px;
}

header h1 {
  font-size: 2.5rem;
  color: var(--destaque);
  letter-spacing: 2px;
}

header p {
  margin-top: 8px;
  color: var(--texto-secundario);
}

/* NAVEGAÇÃO */
nav {
  margin-top: 15px;
}

nav a {
  margin: 0 12px;
  font-weight: bold;
  color: var(--destaque);
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

/* SECTION */
section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px 20px;
}

/* GRID PADRÃO */
.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* CARD DE ITEM */
.card {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.8);
}

/* TÍTULOS */
.card h3 {
  color: var(--destaque);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

/* TEXTO */
.card p {
  color: var(--texto-secundario);
  font-size: 0.95rem;
}

/* PREÇO */
.preco {
  margin-top: 10px;
  font-weight: bold;
  color: var(--destaque);
  font-size: 1.1rem;
}

/* CONTROLE DE QUANTIDADE */
.qtd {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qtd button {
  background: var(--destaque);
  color: #000;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.qtd button:hover {
  background: #ffd28a;
  transform: scale(1.1);
}

.qtd span {
  min-width: 24px;
  text-align: center;
  font-weight: bold;
}

/* FOOTER */
footer {
  background: rgba(0,0,0,0.8);
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
}

/* BOTÕES DO CARDÁPIO (HOME) */
.menu-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.menu-btn {
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("../images/bg-button.png") center / cover;
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 6px 14px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.7);
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.75);
  border-radius: 50px;
  padding: 10px 16px 10px 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.85);
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 36px rgba(0,0,0,0.95);
}

.whatsapp-float img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.whatsapp-text {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  line-height: 1.2;
}

.whatsapp-text strong {
  color: var(--destaque);
  font-size: 1rem;
}

.whatsapp-badge {
  margin-top: 4px;
  background: #2ecc71;
  color: #000;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 12px;
  width: fit-content;
  font-weight: bold;
}

/* H2 – TÍTULOS DE CATEGORIA COM MADEIRA */
section > .card {
  padding: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 10px;
}

section > .card > h2 {
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("../images/bg-button.png") center / cover;
  padding: 18px 24px;
  border-radius: 10px;
  text-align: center;
  color: var(--destaque);
  font-size: 1.6rem;
  letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.7);
}

/* ESPAÇO ENTRE CATEGORIAS */
section > .card + .info {
  margin-bottom: 50px;
}

/* MOBILE */
@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  .card {
    padding: 18px;
  }

  .whatsapp-text {
    display: none;
  }

  .whatsapp-float img {
    width: 64px;
    height: 64px;
  }
}

/* =========================
   HERO (IMAGEM PRINCIPAL)
   ========================= */
.hero {
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url("../images/hero/hero-bbq.jpg") center / cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.85);
}

.hero-overlay {
  max-width: 700px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 2.6rem;
  color: var(--destaque);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.hero p {
  color: var(--texto-secundario);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

/* =========================
   IMAGEM DE CATEGORIA
   ========================= */
.categoria-img {
  width: 100%;
  height: 180px;
  margin: 16px 0 36px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.75);
  position: relative;
  overflow: hidden;
}

.categoria-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.55)
  );
}

/* =========================
   AJUSTES FINOS DE UX
   ========================= */
.menu-btn {
  letter-spacing: 0.5px;
}

.menu-btn:active {
  transform: scale(0.97);
}

/* =========================
   MOBILE – HERO E CATEGORIA
   ========================= */
@media (max-width: 600px) {
  .hero {
    padding: 70px 16px;
    margin: 20px auto;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .categoria-img {
    height: 140px;
    margin-bottom: 28px;
  }
}

/* =========================
   AVISO BEBIDA ALCOÓLICA 18+
   ========================= */

.card[data-alcool="1"] {
  border: 1px solid rgba(255, 0, 0, 0.4);
  position: relative;
}

.card[data-alcool="1"]::before {
  content: "18+";
  position: absolute;
  top: 12px;
  right: 12px;
  background: #c0392b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

/* Texto explicativo */
.aviso-idade {
  margin: 20px 0;
  padding: 16px;
  border-radius: 10px;
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.5);
  color: #ffd6d6;
  font-size: 0.95rem;
}

/* ================= MODAL ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.modal {
  background: #111;
  color: #fff;
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.9);
}

.modal h2 {
  text-align: center;
  margin-bottom: 16px;
  color: var(--destaque);
}

.modal-section {
  margin-bottom: 14px;
}

.modal label {
  font-size: 0.9rem;
  color: var(--texto-secundario);
}

.modal input,
.modal textarea,
.modal select {
  width: 100%;
  margin-top: 6px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #222;
  color: #fff;
}

.modal textarea {
  resize: none;
  height: 70px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.btn-cancelar,
.btn-confirmar {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.btn-cancelar {
  background: #555;
  color: #fff;
}

.btn-confirmar {
  background: var(--destaque);
  color: #000;
}

/* ================= RESUMO DO PEDIDO ================= */

.resumo-pedido h3 {
  margin-bottom: 10px;
  color: var(--destaque);
  text-align: center;
}

#listaResumo {
  margin-bottom: 12px;
}

.item-resumo {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}

.linha-resumo {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.95rem;
}

.linha-resumo.total {
  font-size: 1.1rem;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px solid rgba(255,255,255,0.3);
  color: var(--destaque);
}

/* ================= AVISO DE FECHADO ================= */

.aviso-fechado {
  max-width: 1200px;
  margin: 20px auto;
  padding: 16px;
  border-radius: 12px;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.6);
  color: #ffd6d6;
  text-align: center;
  font-size: 0.95rem;
}

/* ================= BOTÃO WHATSAPP FECHADO ================= */

.whatsapp-float.fechado {
  opacity: 0.6;
  filter: grayscale(1);
  cursor: not-allowed;
}


