/* =========================================================
   AJUSTES DE LAYOUT FLUIDO — COMPATÍVEL COM BASE ORIGINAL
   ========================================================= */

/* Garante fluidez horizontal sem cortar conteúdo */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* === TOPBAR FLUIDA === */
.topbar {
  width: 100%;
  background: var(--brand);
  color: var(--light);
  font-size: .85rem;
  padding: .45rem 0;
  border-bottom: .9px solid #000000;
}
.topbar .site-container {
  max-width: none !important;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}
.topbar .topbar-right {
  color: var(--light);
  text-align: right;
  font-weight: 600;
}
.topbar .topbar-right a {
  color: #fff;
  text-decoration: underline;
}
.topbar .topbar-right a:hover {
  text-decoration: none;
}

/* === HEADER FLUIDO === */
.header .site-container {
  max-width: none !important;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.header img {
  height: 60px;
  transition: all .2s ease;
}
.main-menu {
  flex-wrap: wrap;
  justify-content: center !important;
  gap: 10px;
}
.main-menu .nav-link {
  white-space: nowrap;
}
.header .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* === SUBNAV FLUIDA === */
.mainnav .site-container {
  max-width: none !important;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* === MELHORIAS DE RESPONSIVIDADE === */
@media (max-width: 1200px) {
  .main-menu {
    gap: 6px;
  }
  .main-menu .nav-link {
    font-size: .92rem;
    padding: .25rem .5rem;
  }
}
@media (max-width: 991.98px) {
  .header img {
    height: 48px;
  }
  .topbar {
    font-size: .8rem;
  }
  .topbar .site-container {
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
  }
  .topbar .topbar-right {
    width: 100%;
    text-align: left;
  }
}
@media (max-width: 575.98px) {
  .topbar .site-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .3rem;
  }
  .topbar .topbar-right {
    text-align: center;
    font-size: .85rem;
  }
}

/* === AJUSTE VISUAL GERAL === */
.header, .mainnav {
  width: 100%;
}
.site-container {
  overflow-x: hidden;
}
