/* ==== MENU MOBILE - BASE GLOBAL ==== */


/* Esconde no desktop, mostra só no mobile */
.navbar-mobile {
  display: none;
}


@media (max-width: 768px) {
  .navbar-mobile {
    display: block !important;
  }
}


/* Reset básico */
.navbar-mobile ul { list-style: none; margin: 0; padding: 0; }
.navbar-mobile a { color: inherit; text-decoration: none; }

@media (max-width: 768px) {
  /* Barra topo */
  .navbar-mobile{
    display:block !important;
    position:fixed; top:0; left:0; width:100%;
    z-index: 9999;
    background:#44847C; color:#fff; font-family:'Montserrat',sans-serif;
    box-shadow:0 2px 6px rgba(0,0,0,.15);
  }
  .navbar-mobile .nav-container{
    display:flex; justify-content:space-between; align-items:center;
    padding:14px 18px;
  }
  .navbar-mobile .brand{ font-weight:600; font-size:1.2rem; }

/* 🔧 Força tamanho uniforme do botão hambúrguer em TODAS as páginas */
.navbar-mobile .menu-toggle {
  font-size: 28px !important;
  padding: 6px !important;
  line-height: 1 !important;
}

  /* ============================
   🌿 MENU MOBILE - ABRIR E FECHAR
   ============================ */

/* 🔒 Fechado por padrão */
.navbar-mobile .nav-links {
  max-height: 0;
  overflow: hidden;
  background: #366a63;
  text-align: center;
  flex-direction: column;
  transition: max-height 0.35s ease;
  opacity: 0;
  pointer-events: none;
}

/* ✅ Quando ativo */
.navbar-mobile .nav-links.active {
  max-height: none !important;
  opacity: 1;
  pointer-events: auto;
  padding: 10px 0;
}


/* 🔗 Itens */
.navbar-mobile .nav-links li {
  margin: -25px 0;
}

.navbar-mobile .nav-links a {
  color: #e1e6e7;
  font-size: 15px;
  padding: 5px 0;
  display: block;
  transition: background 0.2s;
}

.navbar-mobile .nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
}


  /* Esconde o cabeçalho no mobile (só navbar) */
  header{ display:none !important; }

  /* Ajusta o topo para a barra fixa */
  body{ padding-top:75px !important; }
}

.hidden {
  display: none !important;
}

/* Esconde completamente o menu web no mobile */
@media (max-width: 768px) {
  nav:not(.navbar-mobile),
  .navbar,
  .menu,
  .menu-desktop {
    display: none !important;
  }
}

/* Força estilo correto do botão hambúrguer */
.navbar-mobile .menu-toggle {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 28px !important;
  color: #fff !important;
}

/* ==== POLÍTICAS NO MOBILE ==== */
.nav-policies {
  margin-top: 10px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.25);
  text-align: center;
  background: #2f625e; /* mesma paleta do menu */
}

.nav-policies a {
  display: block;
  color: #fff;
  font-size: 14px;
  margin: 6px 0;
  opacity: 0.9;
  text-decoration: none;
}

.nav-policies a:hover {
  opacity: 1;
}

.menu-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin: 12px 0;
}

.menu-divider {
  width: 100%;
  height: 1px;
  margin: 10px 0;
  background: rgba(255,255,255,0.18);
  list-style: none;
}

.navbar-mobile .nav-links {
  overflow: hidden;
  transition: opacity 0.25s ease;
}
.navbar-mobile .nav-links.active {
  overflow: visible;
}

.brand-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand-link:hover {
  opacity: 0.8;
}

