body {
  font-family: Arial, sans-serif;
  background: linear-gradient(100deg, #1e3c71, #2ca149);
  color: #fff;
}
.navbar {
  background: #fff;
  width: 100%;
}
.foto_destaque img {
  box-shadow: none !important;
}
.navbar li:hover {
  background: #1e954d;
}
.navbar a:hover {
  color: #fff;
}
.navbar a {
  color: #002855 !important;
  font-weight: 600;
}
.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}
.foto_destaque iframe {
  width: 100%;
  display: block;
}
.hero .btn-custom {
  background: #ffd500;
  color: #002855;
  font-weight: 600;
}
.botao_padrao {
  border: none;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s;
  min-height: 150px;
  align-items: center;
  font-size: 120%;
}
.col-4 a {
  text-decoration: none;
}
.botao_padrao:hover {
  transform: translateY(-5px);
}
.botao_padrao i {
  font-size: 200%;
}
.highlight {
  color: #ffd500;
}
.pergunta {
  margin-bottom: 15px;
}
.texto_grande {
  color: #fff;
  text-align: left;
}
/********************* Filtro Cidades *********************/
/* ADIÇÃO COMPLETA: Estilo do balãozinho (tooltip) */
tbody tr:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.85em;
  z-index: 10;
  /* Posicionamento do balão */
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 5px;
  /* Efeito de fade-in */
  opacity: 1;
  transition: opacity 0.2s;
  /* --- AJUSTES DE LARGURA E QUEBRA DE TEXTO --- */
  max-width: 300px; /* 1. Limita a largura máxima como você pediu */
  white-space: normal; /* 2. Permite que o texto quebre a linha */
  text-align: center; /* 3. Centraliza o texto quebrado para um visual mais limpo */
  line-height: 1.4; /* 4. Melhora a legibilidade do texto em múltiplas linhas */
}
.container_cidade {
  width: 100%;
  max-width: 1320px;
  margin: auto;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
h1 {
  text-align: center;
  color: #0056b3;
  font-size: 1.5em;
}
.filtros {
  display: flex;
  flex-direction: column; /* Filtros empilhados no mobile */
  gap: 15px;
  margin-bottom: 15px;
}
.filtro-item {
  width: 100%;
}
label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-size: 16px;
  box-sizing: border-box;
}
#limpar-filtros-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #1e954d;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background-color 0.3s;
}
#limpar-filtros-btn:hover {
  background-color: #366e48;
}
.tabela-container {
  width: 100%;
  overflow-x: auto; /* Permite rolagem horizontal da tabela no mobile */
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}
th,
td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 0.9em;
  color: #000000;
}
thead {
  background-color: #103c79;
  color: #fff !important;
}
tbody tr {
  /* ADICIONADO: Posição relativa para o balão tooltip */
  position: relative;
  transition: background-color 0.2s;
}
tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}
tbody tr:hover {
  background-color: #e9ecef; /* Cor de destaque mais forte no hover */
  /* ADICIONADO: Cursor de ponteiro para indicar que é clicável */
  cursor: pointer;
}
/* ADIÇÃO COMPLETA: Estilo do balãozinho (tooltip) */
tbody tr:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 0.8em;
  white-space: nowrap;
  z-index: 10;
  /* Posicionamento do balão */
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 5px;
  /* Efeito de fade-in */
  opacity: 1;
  transition: opacity 0.2s;
}
.footer {
  min-height: 50px;
  background-color: #fff;
  margin-top: 10px;
  color: #000;
  padding-top: 15px;
}
/* Estilos para Telas Maiores (Desktops, Tablets) */
@media (min-width: 768px) {
  .container_cidade {
    padding: 20px;
  }
  h1 {
    font-size: 2em;
  }
  .titulo_tabela {
    color: #fff;
  }
  .filtros {
    flex-direction: row; /* Filtros lado a lado em telas maiores */
    gap: 20px;
  }
  #limpar-filtros-btn {
    width: auto;
    padding: 10px 20px;
  }
  th,
  td {
    padding: 12px;
    font-size: 1em;
  }
  .botao_padrao {
  }
}
@media (max-width: 500px) {
  .col-4 {
    width: 100%;
    display: block;
    margin-bottom: 5px;
  }
}
