/* ============================================================
   O AÇAIZEIRO — ESTILOS PRINCIPAIS
   Paleta: Roxo profundo + Amarelo dourado + Branco
   ============================================================ */

:root {
  --roxo-900: #1a0a2e;
  --roxo-800: #2a1144;
  --roxo-700: #3d1a5c;
  --roxo-600: #5c2a85;
  --roxo-500: #7b3fae;
  --roxo-400: #9b5cd6;
  --roxo-300: #c490e8;
  --amarelo:  #f5c518;
  --amarelo-claro: #ffd966;
  --branco: #ffffff;
  --cinza-claro: rgba(255,255,255,0.12);
  --sombra: 0 8px 32px rgba(0,0,0,0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--roxo-900);
  color: var(--branco);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--roxo-900); }
::-webkit-scrollbar-thumb { background: var(--roxo-500); border-radius: 3px; }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--roxo-800) 0%, #4a1870 100%);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(245,197,24,0.3);
}

.header-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 2.4rem;
  filter: drop-shadow(0 0 12px rgba(245,197,24,0.7));
  animation: pulse-icon 3s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Pacifico', cursive;
  font-size: 1.7rem;
  color: var(--amarelo);
  text-shadow: 0 2px 10px rgba(245,197,24,0.5);
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.header-slogan {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
}

/* Navegação por abas */
.tab-nav {
  display: flex;
  gap: 4px;
  padding: 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
  max-width: 700px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 8px 14px;
  border: none;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
}

.tab-btn:hover {
  background: rgba(255,255,255,0.16);
  color: var(--branco);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--amarelo) 0%, #e8a800 100%);
  color: var(--roxo-900);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245,197,24,0.45);
  transform: translateY(-2px);
}

/* ============================================================
   MAIN CONTAINER
   ============================================================ */
.main-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
  position: relative;
  background: linear-gradient(135deg, #3d1a5c 0%, #2a0e42 50%, #1a0a2e 100%);
  border-radius: 0 0 32px 32px;
  padding: 48px 32px;
  margin-bottom: 40px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 220px;
  border-bottom: 3px solid rgba(245,197,24,0.2);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: float-up linear infinite;
  background: var(--amarelo);
}

@keyframes float-up {
  0%   { transform: translateY(0) scale(1); opacity: 0.15; }
  100% { transform: translateY(-200px) scale(0); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: rgba(255,255,255,0.9);
}

.hero-title strong {
  font-family: 'Pacifico', cursive;
  color: var(--amarelo);
  font-weight: 400;
  display: block;
  text-shadow: 0 0 30px rgba(245,197,24,0.5);
}

.hero-sub {
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.hero-btn {
  margin-top: 20px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--amarelo), #e8a800);
  color: var(--roxo-900);
  border: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 6px 20px rgba(245,197,24,0.4);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245,197,24,0.5);
}

.hero-image-area {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.hero-bowl {
  font-size: 6rem;
  filter: drop-shadow(0 0 30px rgba(245,197,24,0.4));
  animation: float-bowl 4s ease-in-out infinite;
}

@keyframes float-bowl {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%       { transform: translateY(-12px) rotate(5deg); }
}

.floating-chip {
  position: absolute;
  background: rgba(245,197,24,0.18);
  border: 1px solid rgba(245,197,24,0.5);
  color: var(--amarelo);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  animation: float-chip 3s ease-in-out infinite;
}

.chip-1 { top: 0;    right: 90px; animation-delay: 0s; }
.chip-2 { top: 50%;  right: -10px; animation-delay: 0.8s; }
.chip-3 { bottom: 10px; right: 80px; animation-delay: 1.5s; }

@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ============================================================
   MENU SECTION
   ============================================================ */
.menu-section { margin-top: 0; }

/* Panels */
.category-panel { display: none; }
.category-panel.active { display: block; animation: fade-in 0.4s ease; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.panel-header {
  text-align: center;
  margin-bottom: 32px;
  padding-top: 8px;
}

.panel-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--amarelo);
  text-shadow: 0 0 20px rgba(245,197,24,0.3);
}

.panel-header p {
  margin-top: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  max-width: 500px;
  margin-inline: auto;
}

/* ============================================================
   GRADE DE TAMANHOS (Copos e Salada)
   ============================================================ */
.tamanhos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

/* Card de produto / tamanho */
.produto-card {
  position: relative;
  background: linear-gradient(145deg, var(--roxo-800), #3a1860);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.produto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245,197,24,0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.produto-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,197,24,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,197,24,0.2);
}

.produto-card:hover::before { opacity: 1; }

.produto-card.destaque {
  border-color: rgba(245,197,24,0.5);
  background: linear-gradient(145deg, #4a1a78, #3a1460);
  box-shadow: 0 0 0 1px rgba(245,197,24,0.2), 0 8px 30px rgba(0,0,0,0.4);
}

.badge-destaque {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--amarelo);
  color: var(--roxo-900);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-emoji {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.card-tamanho {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--amarelo);
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.card-nome {
  font-size: 1rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: 16px;
}

.card-preco {
  font-family: 'Pacifico', cursive;
  font-size: 1.7rem;
  color: var(--amarelo);
  text-shadow: 0 0 20px rgba(245,197,24,0.4);
}

.card-cta {
  display: block;
  margin-top: 14px;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--amarelo), #e8a800);
  color: var(--roxo-900);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: all 0.2s;
}

.card-cta:hover { transform: scale(1.05); }

/* ============================================================
   ADICIONAIS GRÁTIS
   ============================================================ */
.adicionais-section { margin-top: 8px; }

.adicionais-gratis-card {
  background: linear-gradient(135deg, rgba(245,197,24,0.12), rgba(245,197,24,0.05));
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 20px;
  padding: 24px 28px;
}

.adicionais-titulo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--amarelo);
  margin-bottom: 16px;
  text-align: center;
}

.adicionais-titulo .fas { margin-right: 8px; }

.adicionais-gratis-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.adicional-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s;
}

.adicional-chip:hover {
  background: rgba(245,197,24,0.2);
  border-color: rgba(245,197,24,0.5);
  color: var(--amarelo);
  transform: scale(1.05);
}

/* ============================================================
   MILK SHAKE GRID
   ============================================================ */
.milkshake-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.ms-card {
  position: relative;
  background: linear-gradient(145deg, var(--roxo-800), #3a1860);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.ms-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,197,24,0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.ms-card.destaque {
  border-color: rgba(245,197,24,0.5);
  background: linear-gradient(145deg, #4a1a78, #3a1460);
}

.ms-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.ms-emoji {
  font-size: 2.4rem;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.ms-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--branco);
  line-height: 1.3;
}

.ms-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.ms-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ms-tamanho {
  font-size: 0.75rem;
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--amarelo);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.ms-preco {
  font-family: 'Pacifico', cursive;
  font-size: 1.4rem;
  color: var(--amarelo);
  text-shadow: 0 0 15px rgba(245,197,24,0.4);
}

/* ============================================================
   ADICIONAIS ESPECIAIS
   ============================================================ */
.adicionais-especiais-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.ae-section {
  background: linear-gradient(145deg, var(--roxo-800), #3a1860);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 24px;
  overflow: hidden;
}

.ae-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--amarelo);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ae-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s;
  border-radius: 8px;
  padding-inline: 6px;
  cursor: default;
}

.ae-item:last-child { border-bottom: none; }

.ae-item:hover {
  background: rgba(255,255,255,0.04);
  padding-inline: 10px;
}

.ae-nome {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.ae-preco {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--amarelo);
  background: rgba(245,197,24,0.1);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(245,197,24,0.25);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
  animation: fade-in 0.3s ease;
}

.modal-overlay.hidden { display: none; }

.modal-box {
  position: relative;
  background: linear-gradient(145deg, var(--roxo-700), var(--roxo-800));
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 24px;
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  animation: slide-up 0.35s ease;
}

@keyframes slide-up {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover { background: rgba(255,0,0,0.3); }

.modal-emoji { font-size: 4rem; text-align: center; display: block; margin-bottom: 12px; }

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amarelo);
  text-align: center;
  margin-bottom: 4px;
}

.modal-tamanho {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.modal-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
}

.modal-preco-box {
  text-align: center;
  padding: 16px;
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 16px;
  margin-bottom: 20px;
}

.modal-preco-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.modal-preco-valor {
  font-family: 'Pacifico', cursive;
  font-size: 2.5rem;
  color: var(--amarelo);
  line-height: 1;
  text-shadow: 0 0 20px rgba(245,197,24,0.5);
}

.modal-btn-pedido {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #25d366, #128c4b);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.modal-btn-pedido:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.5);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(135deg, var(--roxo-900), #0e0520);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
}

.footer-brand {
  font-family: 'Pacifico', cursive;
  color: var(--amarelo);
  font-size: 1.1rem;
}

.footer-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-whats {
  font-size: 0.85rem;
  font-weight: 600;
  color: #25d366;
}

.footer-whats .fab { margin-right: 6px; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 640px) {
  .hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }

  .hero-image-area { margin-top: 10px; }

  .floating-chip { display: none; }

  .logo-main { font-size: 1.4rem; }

  .panel-header h2 { font-size: 1.5rem; }

  .modal-box { padding: 28px 20px; }

  .modal-preco-valor { font-size: 2rem; }
}
