/* ============================================================
   DocVero — Public Header (Navbar)
   Complements style.css .navbar classes
   ============================================================ */

/* Ensure the fixed navbar has proper height and padding for the page content */
/* body.front {
  padding-top: 4rem;
} */

.front .navbar.fixed-top {
  z-index: 1040;
}

.front .navbar .navbar-nav .nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--bs-gray-600);
  white-space: nowrap;
}
.front .navbar .navbar-nav .nav-link:hover {
  color: var(--bs-gray-900);
}

.front .navbar .navbar-toggler {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--bs-gray-700);
  cursor: pointer;
  padding: 0.25rem;
}

/* Mobile collapse behavior (mobile-first: dropdown é o padrão; navbar-expand-lg
   do Bootstrap reexibe o menu horizontal a partir de 992px) */
.front .navbar .collapse.navbar-collapse {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  background: #fff;
  flex-direction: column;
  padding: 1rem;
  box-shadow: var(--bs-box-shadow-lg);
  z-index: 1039;
}
.front .navbar .collapse.navbar-collapse.show {
  display: flex;
}
.front .navbar .navbar-nav {
  flex-direction: column;
  width: 100%;
}
.front .navbar .navbar-nav .nav-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bs-gray-100);
  width: 100%;
}
.front .navbar .navbar-nav .nav-item:last-child .nav-link {
  border-bottom: none;
}
.front .navbar .d-flex.ms-3 {
  margin-top: 0.75rem;
  margin-left: 0 !important;
}

/* >= 992px (lg): menu horizontal */
@media (min-width: 992px) {
  .front .navbar .collapse.navbar-collapse {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    z-index: auto;
  }
  .front .navbar .navbar-nav {
    flex-direction: row;
    width: auto;
  }
  .front .navbar .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-bottom: none;
    width: auto;
  }
  .front .navbar .d-flex.ms-3 {
    margin-top: 0;
    margin-left: 1rem !important;
  }
}
