/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #c82333;
  --primary-hover: #a71d2a;
  --secondary-color: #f8b400;
  --text-dark: #2b2b2b;
  --text-light: #666666;
  --bg-light: #fdfbf7;
  --white: #ffffff;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}

body {
  font-family: "Nunito", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

h1,
h2,
h3,
.logo span {
  font-family: "Fredoka", sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.cart-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.2s;
}

.cart-btn:hover {
  background-color: var(--primary-hover);
}

.cart-count {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  padding: 2px 8px;
  border-radius: 50%;
  font-size: 0.85rem;
}

/* HERO SECTION */
.hero {
  padding: 60px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.badge {
  background-color: #fde8e8;
  color: var(--primary-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 15px;
}

.hero-text h1 {
  font-size: 2.8rem;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-text p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 0.2s,
    background-color 0.2s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.vovo-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.05));
}

/* CARDÁPIO */
.menu-section {
  padding: 60px 0;
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: #f1f1f1;
  border: none;
  padding: 10px 22px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
  font-family: "Nunito", sans-serif;
  color: var(--text-light);
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
}

/* Seletor de Quantidade */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f7f5f0;
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid #ebdccb;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background-color: #f8b400;
  color: #2b2b2b;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.1s ease,
    background-color 0.2s ease;
  line-height: 1;
}

.qty-btn:hover {
  background-color: #e0a200;
}

.qty-btn:active {
  transform: scale(0.92);
}

.qty-value {
  font-weight: 700;
  font-size: 0.95rem;
  color: #2b2b2b;
  min-width: 20px;
  text-align: center;
}

/* SOBRE NÓS */
.about-section {
  padding: 60px 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.team-silhouettes {
  width: 100%;
  max-width: 440px;
  height: auto;
  opacity: 0.85;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.features {
  display: flex;
  gap: 20px;
  margin-top: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary-color);
}

/* CONTATO */
.info-section {
  padding: 60px 0;
  background-color: var(--white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.info-card {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: var(--radius);
}

.info-card i {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.info-card h3 {
  margin-bottom: 10px;
}

/* FOOTER */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  text-align: center;
  padding: 25px 0;
}

/* MODAL CARRINHO */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.cart-modal.open {
  display: flex;
}

.cart-modal-content {
  background-color: var(--white);
  width: 90%;
  max-width: 450px;
  border-radius: var(--radius);
  padding: 25px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-light);
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  padding: 10px;
  border-radius: 8px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-item-price {
  color: var(--primary-color);
  font-weight: 800;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-summary {
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-bottom: 15px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.summary-line.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color);
}

.btn-checkout {
  width: 100%;
  background-color: #25d366;
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-checkout:hover {
  background-color: #1eb956;
}

/* Notificação Flutuante (Toast) */
.toast-notification {
  position: fixed;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #382319;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border: 1px solid #e5a73c;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.toast-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .hero-content,
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .features {
    justify-content: center;
  }

  .nav-menu {
    display: none;
  }
}
