html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.conteudo-publico {
  flex: 1;
}



/* ===== NAVBAR ===== */

.navbar {
    background: #161f2e !important;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Links */
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  transition: 0.2s;
}

.navbar-nav .nav-link:hover {
  color: #fff !important;
}

/* Botão área restrita */
.navbar .btn {
  background: #ffffff;
  color: #1e3a8a;
  border-radius: 20px;
  padding: 5px 15px;
  font-weight: 500;
}

.navbar .btn:hover {
  background: #e5e7eb;
}

.navbar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 0;
    padding: 8px 0;
    min-width: 220px;
    margin-top: 8px !important;
    box-shadow:
      0 10px 30px rgba(0,0,0,0.08);
}

.dropdown-menu .dropdown-item {
    color: #222 !important;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    padding: 10px 18px;
    transition: 0.2s;
}

.dropdown-menu .dropdown-item:hover {
    background: #f5f5f5;
    color: #000 !important;
}



/* ===== HERO (TOPO DA HOME) ===== */
.home-hero {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  box-shadow: inset 0 -5px 20px rgba(0, 0, 0, 0.2);
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: 15px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ===== BOTÕES ===== */
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

/* ===== FOOTER ===== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.footer a {
  color: #94a3b8;
}

.footer a:hover {
  color: #ffffff;
}

/* HERO */
.home-hero {
  background: #1f2937;
}

.home-hero h1 {
  font-size: 2rem;
}

.texto-hero {
  font-size: 1rem;
  opacity: 0.9;
}

.brasao {
  height: 80px;
  width: auto;
}

.nome-camara {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* Badge */
.badge-hero {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
}

/* Campo busca */
.home-hero .form-control {
  border-radius: 0;
  box-shadow: none;
}

/* Botão buscar */
.btn-buscar {
  background: #2563eb;
  color: #fff;
  border: none;
}

.btn-buscar:hover {
  background: #1d4ed8;
}

/* Card lateral */
.card-hero {
  border-radius: 15px;
  transition: 0.3s;
}

.card-hero:hover {
  transform: translateY(-3px);
}

.busca-hero {

  max-width: 520px;

}