/* ========================================
   CARDÁPIO INTERATIVO
======================================== */

.cardapio {
  position: relative;
  padding: 120px 7%;
  background:
    radial-gradient(circle at top left, rgba(212,160,23,0.10), transparent 30%),
    linear-gradient(180deg, #f7f4ef 0%, #ffffff 100%);
  overflow: hidden;
}

.cardapio-header {
  max-width: 850px;
  margin: 0 auto 55px;
  text-align: center;
}

.cardapio-tag {
  display: inline-block;
  color: #b8860b;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
  margin-bottom: 18px;
}

.cardapio-header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.7rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 0.95;
  margin-bottom: 22px;
  color: #1a1a1a;
}

.cardapio-header p {
  color: rgba(0,0,0,0.72);
  line-height: 1.9;
  font-size: 1.05rem;
}

/* ========================================
   TABS
======================================== */

.cardapio-tabs {
  max-width: 1000px;
  margin: 0 auto 48px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cardapio-tab {
  border: 1px solid rgba(212,160,23,0.18);
  background: rgba(255,255,255,0.85);
  color: #1a1a1a;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.cardapio-tab:hover,
.cardapio-tab.active {
  background: linear-gradient(135deg, #d4a017, #f4c95d);
  color: #1b1200;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(212,160,23,0.22);
}

/* ========================================
   CONTENT
======================================== */

.cardapio-content {
  max-width: 1250px;
  margin: 0 auto;
  min-height: 430px;
}

.cardapio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  animation: cardapioFade 0.45s ease both;
}

.cardapio-item {
  position: relative;
  min-height: 390px;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(212,160,23,0.18);
  box-shadow: 0 18px 45px rgba(0,0,0,0.14);
  transition: 0.35s ease;
}

.cardapio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.08) 0%,
      rgba(0,0,0,0.25) 45%,
      rgba(0,0,0,0.88) 100%
    );
  z-index: 2;
}

.cardapio-item:hover {
  transform: translateY(-10px);
  border-color: rgba(212,160,23,0.48);
  box-shadow:
    0 26px 60px rgba(0,0,0,0.22),
    0 0 28px rgba(212,160,23,0.14);
}

.cardapio-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cardapio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
  transition: 0.5s ease;
}

.cardapio-item:hover .cardapio-img img {
  transform: scale(1.08);
}

.cardapio-info {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: 100%;
  padding: 34px 28px;
}

.cardapio-info h3 {
  color: #fff;
  font-size: 1.55rem;
  margin-bottom: 10px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.85);
}

.cardapio-info p {
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  font-size: 0.98rem;
  text-shadow: 0 3px 14px rgba(0,0,0,0.85);
}

/* ========================================
   ANIMAÇÃO
======================================== */

@keyframes cardapioFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVO
======================================== */

@media (max-width: 1000px) {

  .cardapio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 680px) {

  .cardapio {
    padding: 90px 24px;
  }

  .cardapio-grid {
    grid-template-columns: 1fr;
  }

  .cardapio-tab {
    width: 100%;
  }

  .cardapio-item {
    height: 340px;
  }

}