/* css/style.css */


/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'arial', sans-serif;
    background: #f4f6f8;
    color: #333;
    line-height: 1.2;
    font-size: 14px;
}

/* Links */
a {
    text-decoration: none;
    color: #0056B3;
    transition: color 0.3s;
}

/* Container principal */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Header */
header {
    background: linear-gradient(135deg, #0056B3, #0056b3);
    color: #fff;
}
.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
}
.logo a {
    /* Texto removido; será exibida apenas a imagem */
    font-size: 2em;
    font-weight: 700;
    color: #fff;
}
.logo img {
    width: 200px;
    max-height: 80px;
    display: block;
    margin: 0 auto;
}

/* Menu Hamburger (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Navegação */
.navbar {
    background: #004A93;
}
.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
}
.nav-list li {
    margin: 0 20px;
    position: relative;
}
.nav-list li a {
    display: block;
    padding: 15px 0;
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
}

/* Dropdown Menu */
.nav-list li.dropdown > a::after {
    content: " ▼";
    font-size: 0.8em;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #004A93;
    padding: 10px 0;
    display: none;
    min-width: 200px;
    z-index: 1000;
    list-style: none;
}
.dropdown-menu li {
    margin: 0;
    list-style: none;
}
.dropdown-menu li a {
    padding: 8px 15px;
    display: block;
    color: #fff;
    font-size: 0.95em;
}
.dropdown-menu li a:hover {
    background: #0078CE;
}
/* Exibe dropdown ao passar o mouse */
.nav-list li.dropdown:hover > .dropdown-menu {
    display: block;
}

/* Footer */
footer {
    background: #333;
    color: #ddd;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Footer Columns */
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}
.footer-column {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}
.footer-column h4 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #fff;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column ul li {
    margin-bottom: 8px;
}
.footer-column ul li a {
    color: #ddd;
    font-size: 0.95em;
}
.footer-column ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Disclaimer no footer */
.footer-disclaimer {
    font-size: 0.85em;
    color: #aaa;
    margin: 15px 0;
}

/* Tabelas */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95em;
}
table th, table td {
    padding: 10px 10px;
    text-align: left;
	font-size:14px;
}
table thead {
    background-color: #0056B3;
    color: #fff;
    border-radius: 4px 4px 0 0;
}
table tbody tr {
    border-bottom: 1px solid #ddd;
}
table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}
table tbody tr:last-of-type {
    border-bottom: 2px solid #0056B3;
}

/* Headings */
h1, h2, h3 {
    margin-bottom: 15px;
    color: #333;
}
h1 {
    font-size: 1.3em;
    font-weight: 700;
}
h2 {
    font-size: 1.1em;
    font-weight: 500;
}
h3 {
    font-size: 1.0em;
    font-weight: 500;
}

/* Estilos para formulários */
form label {
    display: block;
    margin-top: 15px;
    font-weight: 500;
}
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"],
form textarea,
form select {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}
form button {
    margin-top: 20px;
    padding: 12px 20px;
    background: #0056B3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s;
}
form button:hover {
    background: #0056b3;
}

/* Mensagens de erro e sucesso */
.error {
    color: #d9534f;
    margin-top: 10px;
}
.success {
    color: #5cb85c;
    margin-top: 10px;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
        display: none;
    }
    .nav-list li {
        margin: 0;
    }
    .nav-list li a {
        padding: 12px;
        border-top: 1px solid #ddd;
    }
    .nav-list.active {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        width: 100%;
        display: none;
    }
    .nav-list.active {
        display: flex;
    }
}

/* ============ Novas classes para a home ============ */

/* Parágrafo introdutório */
.intro-text {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

/* Bloco de resultados para cada estado */
.result-block {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Título dentro do bloco de resultado */
.result-block h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

/* Sub-info abaixo do título */
.sub-info {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 10px;
}

/* Links para as bancas (quando existirem) */
.banca-links a {
    color: #0056B3;
    text-decoration: none;
    margin-right: 8px;
}
.banca-links a:hover {
    text-decoration: underline;
}

/* Link para o Estado na homepage */
.state-link a {
    display: inline-block;
    margin-top: 5px;
    background: #0056B3;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.3s;
}
.state-link a:hover {
    background: #0056b3;
}

/* Links para bancas na homepage (caso use a classe bancas-links) */
.bancas-links a {
    display: inline-block;
    margin-top: 5px;
    background: #0056B3;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.3s;
}
.bancas-links a:hover {
    background: #0056b3;
}

/* Remove as bolinhas dos itens de lista dentro da home */
.info-content li {
    list-style: none;
    padding-left: 0;
}

/* Garante que os <ul> no menu não mostrem bolinhas */
.nav-list, .dropdown-menu {
    list-style: none;
	
	
}

.dropdown-header {
    font-weight: bold;
    padding: 8px 15px;
    color: #fff;
    background: #0056B3;
}

/* Estilos para a lista de resultados das bancas */

.resultado-dia {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.resultado-dia:hover {
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.resultado-header h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #0056b3;
}

.resultado-header a {
    display: inline-block;
    font-weight: 500;
    color: #0056B3;
    transition: color 0.3s ease;
}

.resultado-header a:hover {
    color: #003d82;
    text-decoration: underline;
}

/* Linha separadora personalizada (em vez do <hr>) */
.resultado-dia + hr {
    border: none;
    border-top: 2px dashed #e1e8f0;
    margin: 20px 0;
}


.page-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  text-align: center;
}

.sub-title {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  color: #555;
}

.state-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.state-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1 1 200px;
  max-width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
}

.state-item a {
  display: block;
  color: #0056B3;
  font-size: 1.2em;
  text-decoration: none;
  font-weight: bold;
}

.state-item:hover {
  transform: scale(1.05);
}
/* ============================
   Novos estilos para a homepage
   ============================ */

/* Container principal específico para a homepage */
.homepage {
  padding: 20px;
}

/* Seção de Introdução */
.homepage .intro-section {
  text-align: center;
  margin-bottom: 30px;
}

.homepage .sub-title {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #0056B3;
}

/* Seção de Estados - layout em grid */
.homepage .states-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

/* Cartão de cada Estado */
.homepage .state-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.homepage .state-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.homepage .state-card .card-header h2 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #0056b3;
}

.homepage .state-card .card-body {
  text-align: center;
}

/* Botão para ver resultados do Estado */
.homepage .btn-state {
  display: inline-block;
  margin: 10px 0;
  padding: 10px 15px;
  background: #0056B3;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.homepage .btn-state:hover {
  background: #0056b3;
}

/* Botões das Bancas */
.homepage .bancas {
  margin-top: 15px;
}

.homepage .banca-btn {
  display: inline-block;
  margin: 5px;
  padding: 8px 12px;
  background: #0056b3;
  color: #fff;
  border-radius: 4px;
  font-size: 0.9em;
  text-decoration: none;
  transition: background 0.3s ease;
}

.homepage .banca-btn:hover {
  background: #003d82;
}

/* Seção de Informações Adicionais */
.homepage .info-section {
  background: #f9fafc;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-top: 30px;
}

.homepage .info-section h2 {
  margin-bottom: 15px;
  color: #0056B3;
}

.homepage .info-section p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.homepage .info-section .info-content {
  margin-bottom: 20px;
  padding-left: 20px;
}
