/* ============================================================
   VARIÁVEIS GERAIS
   ============================================================ */
:root {
  --primary: #f6d743;
  --primary-dark: #e5c52c;
  --accent: #008c9e;

  --text: #222222;
  --muted: #777777;

  --card-bg: #fffef7;
  --card-border: #f2e8b8;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
  background: #ffffff !important;
  overflow-x: hidden;
}

/* ============================================================
   ÍCONES DE PRAIA FLUTUANTES
   ============================================================ */
.beach-icon {
  position: absolute;
  width: 110px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 9999;
}

.icon-sun {
  top: 140px; /* abaixo do header */
  left: -10px;
  transform: rotate(-15deg);
}

.icon-surf {
  top: 280px;
  right: -20px;
  transform: rotate(8deg);
}

.icon-umbrella {
  top: 420px;
  left: -10px;
}

.icon-castle {
  top: 560px;
  right: 20px;
}

.icon-wave {
  top: 700px; /* 120px acima do footer */
  left: -5px;
}

/* Conteúdos acima dos ícones */
main, header, footer {
  position: relative;
  z-index: 5;
}

/* ============================================================
   CABEÇALHO
   ============================================================ */
.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.brand {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.brand-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brand-text p {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ============================================================
   BOTÕES DO MENU
   ============================================================ */
.menu-nav {
  max-width: 1100px;
  margin: 1rem auto 0;
  display: flex;
  gap: 0.6rem;
}

.nav-btn {
  flex: 1;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #d4a857;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  transition: all 0.2s ease;
}

.nav-btn.active {
  background: #fceca4;
  border-color: #c99c34;
  color: #000;
  box-shadow: 0 3px 8px rgba(200,150,40,0.3);
}

.nav-btn:hover {
  transform: translateY(-2px);
  background: #fff7d1;
}

/* ============================================================
   CONTEÚDO / SEÇÕES
   ============================================================ */
main {
  max-width: 1100px;
  margin: 1.5rem auto 3.5rem;
  padding: 0 1.5rem;
}

.menu-section {
  scroll-margin-top: 220px;
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.menu-section.active {
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* ============================================================
   GRID DE CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
}

.menu-card {
  background: linear-gradient(to bottom right, #fffef7, #fff7d1);
  border-radius: 18px;
  border: 1px solid var(--card-border);
  padding: 0.85rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 0.8rem;
}

.menu-card.highlight {
  border: 2px dashed var(--primary);
  position: relative;
}

.menu-card.highlight::after {
  content: '★ Destaque';
  position: absolute;
  top: -0.6rem;
  right: 0.8rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
}

.menu-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.menu-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-name {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.menu-price {
  background: rgba(250, 211, 90, 0.18);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.menu-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   BEBIDAS
   ============================================================ */
.drink-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.column-title {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.price-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
}

.price-list li:nth-child(odd) {
  background: rgba(246, 215, 67, 0.06);
}

.price-list span:last-child {
  font-weight: 600;
}

.drink-note {
  background: rgba(0,140,158,0.06);
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 0.8rem;
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer {
  width: 100%;
  background: #fffdf4;
  padding: 1.8rem 1rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-note {
  margin-top: 0.3rem;
  color: #999;
}

/* ============================================================
   BOTÃO VOLTAR AO TOPO
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 1.2rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(0,0,0,0.22);
  z-index: 9999;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-2px);
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-text h1 {
    font-size: 1.2rem;
  }

  .brand-logo img {
    width: 58px;
    height: 58px;
  }

  .drink-layout {
    grid-template-columns: 1fr;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 85px; /* acima do botão de voltar ao topo */
  right: 18px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

.whatsapp-float:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
