/* ===== TOKENS ===== */
:root {
  --azul-escuro: #1B4B57;
  --azul-texto: #16404A;
  --terracota: #E8734A;
  --terracota-escuro: #D9622F;
  --areia: #F6E8CB;
  --areia-clara: #FBF3E1;
  --branco: #FFFFFF;
  --texto-suave: #5A6B6E;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--azul-texto);
  line-height: 1.5;
}

.wave { color: var(--terracota); font-style: normal; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--terracota);
  color: var(--branco);
  box-shadow: 0 8px 20px rgba(232, 115, 74, 0.35);
}
.btn-primary .wave { color: var(--branco); }
.btn-primary:hover { background: var(--terracota-escuro); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--azul-escuro);
  color: var(--azul-escuro);
}
.btn-outline:hover { background: var(--azul-escuro); color: var(--branco); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: top 0.3s ease, padding 0.3s ease;
}
.navbar.scrolled {
  top: 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--branco);
  border-radius: 999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: border-radius 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}
.navbar.scrolled .nav-container {
  border-radius: 0;
  margin: 0;
  max-width: 100%;
  padding: 8px 22px;
}
.logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 19px;
  color: var(--azul-escuro);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 22px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--azul-escuro);
}

/* ===== DROPDOWN "IDIOMAS" ===== */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--azul-escuro);
  display: flex;
  align-items: center;
  gap: 4px;
}
.chevron {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.nav-dropdown.open .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: var(--branco);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
  padding: 8px;
  display: flex;
  flex-direction: column;
  min-width: 170px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--azul-texto);
  padding: 10px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s ease;
}
.lang-option:hover { background: var(--areia); }
.lang-option.active {
  background: var(--areia);
  font-weight: 700;
  color: var(--terracota-escuro);
}

/* ===== NAV TOGGLE (não usado mais — mantido oculto) ===== */
.nav-toggle { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 720px;
  padding: 140px 80px 100px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(20,55,65,0.15), rgba(20,55,65,0.05)),
              url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat;
  overflow: hidden;
}
.hero-content {
  max-width: 620px;
  z-index: 2;
}
.eyebrow {
  color: var(--azul-escuro);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 58px;
  line-height: 1.1;
  color: var(--azul-escuro);
  margin: 12px 0 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--texto-suave);
  margin-bottom: 32px;
}

.hero-sign {
  position: absolute;
  right: 60px;
  top: 130px;
  z-index: 3;
}
.sign-circle {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #C88A4E, #8B5A2B);
  border: 8px solid #6E4223;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  color: var(--branco);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  flex-direction: column;
  gap: 6px;
}
.sign-wave { color: var(--branco); font-size: 20px; }

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.divider-icon {
  display: block;
  color: var(--terracota);
  font-size: 20px;
  margin-bottom: 10px;
}
.section-title h2, .drinks-intro h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  color: var(--azul-escuro);
  border-bottom: 3px solid var(--terracota);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 14px;
}
.section-title p {
  color: var(--texto-suave);
  font-size: 16px;
}

/* ===== MENU ===== */
.menu {
  background: var(--areia);
  padding: 90px 80px;
}
.menu-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.menu-card {
  background: var(--areia-clara);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  transition: transform 0.25s ease;
}
.menu-card:hover { transform: translateY(-6px); }
.menu-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.menu-card-body { padding: 20px; }
.menu-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--azul-escuro);
  margin-bottom: 8px;
}
.menu-card-body p {
  font-size: 14px;
  color: var(--texto-suave);
  margin-bottom: 14px;
  min-height: 60px;
}
.price {
  font-weight: 700;
  color: var(--terracota);
  font-size: 18px;
}

/* ===== BEBIDAS ===== */
.drinks {
  background: var(--areia);
  padding: 40px 80px 120px;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.drinks-intro { text-align: left; max-width: 260px; }
.drinks-intro h2 { display: block; }
.drinks-intro p {
  color: var(--texto-suave);
  margin-bottom: 20px;
}
.drinks-grid {
  display: flex;
  gap: 40px;
  flex: 1;
  flex-wrap: wrap;
}
.drink-item {
  text-align: center;
}
.drink-item img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}
.drink-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--azul-escuro);
  margin-bottom: 4px;
}
.drink-item span {
  color: var(--terracota);
  font-weight: 600;
  font-size: 14px;
}

/* ===== FOOTER WAVE ===== */
.footer-wave {
  height: 80px;
  background: var(--areia);
  position: relative;
}
.footer-wave::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--azul-escuro);
  clip-path: polygon(0 40%, 5% 30%, 10% 40%, 15% 50%, 20% 40%, 25% 30%, 30% 40%, 35% 50%, 40% 40%, 45% 30%, 50% 40%, 55% 50%, 60% 40%, 65% 30%, 70% 40%, 75% 50%, 80% 40%, 85% 30%, 90% 40%, 95% 50%, 100% 40%, 100% 100%, 0 100%);
}

.contato {
  text-align: center;
  padding: 60px 2rem 80px;
  max-width: 500px;
  margin: 0 auto;
}

.contato h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--azul-escuro);
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.contato p {
  opacity: 0.75;
  margin-bottom: 1.5rem;
  color: var(--texto-suave);
}

.link-social {
  display: inline-block;
  text-decoration: none;
  background: var(--azul-escuro);
  color: var(--branco);
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.link-social:hover {
  background: var(--terracota);
}

footer {
  text-align: center;
  padding: 24px;
  background: var(--azul-escuro);
  color: var(--areia-clara);
  font-size: 13px;
}

/* ===== MODAL DE CONFIRMAÇÃO ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 64, 74, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.modal-overlay.aberto {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--branco);
  padding: 2rem 1.8rem;
  border-radius: 12px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  transform: translateY(10px);
  transition: transform 0.2s ease;
}

.modal-overlay.aberto .modal-box {
  transform: translateY(0);
}

.modal-texto {
  color: var(--azul-escuro);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal-botoes {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.modal-btn {
  border: none;
  padding: 0.6rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.modal-btn:hover {
  opacity: 0.85;
}

.modal-btn--cancelar {
  background: var(--areia);
  color: var(--azul-escuro);
}

.modal-btn--confirmar {
  background: var(--terracota);
  color: var(--branco);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-container {
    flex-wrap: wrap;
    row-gap: 10px;
    justify-content: center;
    padding: 12px 18px;
  }
  .logo { flex: 1 1 auto; }

  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: static;
    max-height: none;
    opacity: 1;
    visibility: visible;
    background: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }
  .nav-links a {
    background: var(--azul-escuro);
    color: var(--branco);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11px;
    border-bottom: none;
  }

  .nav-dropdown-toggle {
    background: var(--azul-escuro);
    color: var(--branco);
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11px;
    width: auto;
    justify-content: center;
  }
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    right: auto;
    display: flex;
    background: var(--branco);
    box-shadow: 0 14px 30px rgba(0,0,0,0.14);
    border-radius: 14px;
    min-width: 170px;
  }
  .nav-dropdown.open .dropdown-menu {
    transform: translateX(-50%) translateY(0);
  }
  .lang-option { padding: 10px 12px; border-radius: 8px; }
  .nav-dropdown { border-bottom: none; }

  .hero { padding: 120px 20px 50px; text-align: left; min-height: auto; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .hero-sign { display: none; }

  .section-title h2, .drinks-intro h2 { font-size: 30px; }

  .menu { padding: 50px 20px; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .menu-card img { height: 130px; }
  .menu-card-body h3 { font-size: 17px; }
  .menu-card-body p { min-height: auto; font-size: 13px; }

  .drinks { padding: 30px 20px 60px; flex-direction: column; text-align: center; }
  .drinks-intro { max-width: 100%; text-align: center; }
  .drinks-grid { justify-content: center; gap: 24px; }
  .drink-item img { width: 90px; height: 90px; }

  .contato { padding: 40px 1.2rem 60px; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .logo { font-size: 17px; }
  .nav-container { padding: 12px 16px; }
}