/* ================================================
   NAVBAR — Barra de Navegação
   ================================================ */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(32, 130, 100, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s ease;
}

#navbar.scrolled {
  background: #1e7d60;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 4px 20px rgba(0,0,0,0.18);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.68);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.80);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Menu Mobile ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, #208264 0%, #176650 100%);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px;
}
.mobile-menu.open { display: flex; }

.mobile-menu-logo {
  position: static;
  display: flex;
  margin-bottom: 8px;
}
.mobile-menu-logo img {
  height: 52px;
  width: auto;
}

.mobile-menu a:not(.mobile-menu-logo):not(.btn) {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  transition: color 0.2s;
}
.mobile-menu a:not(.mobile-menu-logo):not(.btn):hover {
  color: #fff;
}

.mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.65);
  padding: 8px;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-close:hover { color: #fff; }
