/* ============================================== */
/* === 1. CONFIGURAÇÕES GLOBAIS E RESET === */
/* ============================================== */

/* A cor Azul principal do logo é #419DDC */

html {
    scroll-behavior: smooth; 
}

body {
    background-color: #FFFFFF !important;
    color: #333333;
    text-align: center; 
    font-family: Arial, sans-serif; 
    margin: 0; 
    padding: 0;
}

/* Links em Geral */
a {
    color: #419DDC;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Imagens em Geral */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Linha Divisória */
hr {
    border: 0;
    height: 1px;
    background-color: #EEEEEE;
    margin: 30px auto;
    width: 80%;
}

/* ============================================== */
/* === 2. TIPOGRAFIA E ELEMENTOS DE CONTEÚDO === */
/* ============================================== */

/* Estilo para Títulos H1 Azuis */
.titulo-azul {
    color: #419DDC;
    font-size: 2.5em; 
    font-weight: 700;
}

/* Botões de Destaque (WhatsApp) */
.btn-elilimpa-whatsapp {
    display: inline-block;
    background-color: #25d366;
    color: #FFF;
    padding: 10px 20px;
    margin: 15px 0;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none; /* Garante que não sublinhe no clique/foco */
}

.btn-elilimpa-whatsapp:hover {
    background-color: #128C7E;
    text-decoration: none;
}

/* Estilo para o Contêiner do Mapa (Responsividade) */
.map-container {
    width: 90%; /* Limita a largura do container */
    max-width: 900px; /* Impede que fique gigante em telas grandes */
    margin: 20px auto; /* Centraliza horizontalmente e adiciona margem vertical */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adiciona uma sombra para destacar */
}

/* O iframe dentro do container irá herdar 100% da largura, mas o limite será o max-width do container. */



/* ============================================== */
/* === 3. HEADER E NAVEGAÇÃO === */
/* ============================================== */

.header-nav {
    background-color: #419DDC;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 60px;
    width: auto;
    margin: 0; 
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
    display: block;
}

.nav-links a:hover {
    background-color: #FFFFFF;
    color: #419DDC;
    text-decoration: none;
}

/* Botão de Destaque no Menu (.nav-btn) */
.nav-btn {
    background-color: #FFFFFF;
    color: #419DDC !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none !important; /* CORREÇÃO DO SUBLINHADO NO HOVER/FOCUS */
}

.nav-btn:hover,
.nav-btn:focus {
    background-color: #F0F0F0;
    color: #419DDC !important;
    text-decoration: none !important;
}

/* ============================================== */
/* === 4. RODAPÉ (FOOTER) === */
/* ============================================== */

.main-footer {
    background-color: #F8F8F8;
    padding: 30px 0;
    margin-top: 50px;
    color: #555555;
}

.copyright-bar {
    background-color: #419DDC;
    color: #FFFFFF;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9em;
}

/* ============================================== */
/* === 5. BOTÕES FLUTUANTES (WHATSAPP E TOPO) === */
/* ============================================== */

/* Estilos Comuns */
.whatsapp-float, .top-float {
    position: fixed;
    right: 20px; 
    width: 60px; 
    height: 60px; 
    border-radius: 50px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    z-index: 1000; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0; 
    margin: 0; 
    text-decoration: none !important;
}

/* Estilo WhatsApp */
.whatsapp-float {
    bottom: 20px; /* POSICIONAMENTO FINAL (MAIS ABAIXO) */
    background-color: #25d366; 
}

.whatsapp-float img {
    width: 35px; 
    height: 35px;
    padding: 0;
    margin: 0;
    display: block;
    transform: translateX(-2px); /* AJUSTE FINO (manter) */
}

.whatsapp-float:hover {
    background-color: #128C7E;
}

/* Estilo Topo */
.top-float {
    bottom: 90px; /* POSICIONAMENTO FINAL (MAIS ACIMA) */
    background-color: #BBBBBB;
    color: #333; 
    font-size: 20px; /* TAMANHO DA SETA (ajustado de 30px) */
    line-height: 1; 
    transform: translateX(-2px); /* AJUSTE FINO (manter) */
}

.top-float:hover {
    background-color: #999999;
    text-decoration: none !important;
}

/* ============================================== */
/* === 6. RESPONSIVIDADE (MEDIA QUERIES) === */
/* ============================================== */

/* Regra para a rolagem da âncora (Compensa a altura do menu fixo) */
#como-chegar {
    scroll-margin-top: 100px; 
}

@media (max-width: 768px) {
    
    /* Compensação da âncora para mobile */
    #como-chegar {
        scroll-margin-top: 250px; 
    }
    
    /* Navegação em Mobile (Empilhada) */
    .header-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }
    
    .logo-container {
        width: 100%;
        justify-content: flex-start;
        margin-bottom: 10px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        margin-top: 10px;
        align-items: flex-start;
    }

    .nav-links li {
        margin-left: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .nav-links a {
        padding: 8px 10px;
        width: 100%;
        text-align: left;
    }
    
    .nav-btn {
        text-align: center;
        width: calc(100% - 30px);
    }

    /* Ajuste de Título em Mobile */
    .titulo-azul {
        font-size: 1.8em;
    }
}

/*Estilos CSS Ajustados (Versão 2.0)*/
/* Container que permite sobreposição */
.banner-container {
    position: relative;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto 20px auto;
}

/* Garante que a imagem se ajuste à largura */
.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Camada de texto sobreposta */
.banner-text-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 10px;
}

/* Estilo do Título da Categoria - CORRIGIDO (Cor e Fonte) */
.categoria-titulo {
    /* Cor do texto: Azul do logo + ~10% mais escuro */
    color: #003F80; /* Exemplo: #004AAD (anterior) escurecido para um azul mais profundo */
    
    font-family: Arial, sans-serif; /* Mantido por ser universalmente legível */
    font-size: 2.2vw; /* Mantido para responsividade no banner largo */
    font-weight: 600; /* AJUSTADO: Menos "gordo", mais elegante que 900 */
    line-height: 1.1;
    
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 5px;
}

/* Media Query para telas menores (smartphones) */
@media (max-width: 768px) {
    .categoria-titulo {
        font-size: 4vw;
        left: 3%;
        text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.9);
    }
}