/* 
    ESTRUTURA GLOBAL FINAL - MODEL GOLD v1.1
    Foco: Hover Total nos Bairros, Texto Branco e Logo Centralizada
*/

/* 1. CONFIGURAÇÃO DA NAVBAR (LOGO CENTRALIZADA) */
.navbar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    min-height: 80px !important;
    padding: 0 15px !important;
}

#logo { 
    max-width: 180px !important; 
    height: auto !important; 
    margin: 0 auto !important;
    display: block !important;
    z-index: 1000 !important;
}

/* 2. BOTÃO VOLTAR AO TOPO (AZUL PADRÃO) */
#toTop {
    position: fixed !important; 
    bottom: 20px !important; 
    right: 20px !important; 
    z-index: 999999 !important; 
    display: flex !important; 
    flex-direction: column !important;
    align-items: center !important; 
    justify-content: center !important; 
    background: rgba(0, 123, 255, 0.9) !important; 
    color: #ffffff !important; 
    padding: 5px !important; 
    border-radius: 10px !important; 
    text-decoration: none !important; 
    border: 1px solid #fff !important; 
    width: 80px !important; 
    height: 60px !important;
}

#toTop div { display: flex !important; flex-direction: row !important; gap: 4px !important; }
#toTop i { font-size: 16px !important; }
#toTop span { display: block !important; font-size: 11px !important; text-transform: uppercase !important; font-weight: bold !important; }

/* 3. EXTERMINADOR DE TEXTO CINZA */
body, p, span, div, li, td, .text-muted, .small {
    color: #ffffff !important;
}

/* 4. MENU DE CIDADES E BAIRROS (HOVER TOTAL CORRIGIDO) */
.dropdown-menu a, .dropdown-item, .category, .dropdown-menu li a {
    color: #ffffff !important; 
    background: transparent !important;
    display: block !important; /* Força ocupar a linha toda */
    width: 100% !important;
    padding: 8px 15px !important;
    transition: all 0.2s ease;
}

/* Efeito Azul Preenchendo tudo igual ao menu de Estados */
.dropdown-menu li:hover > a,
.dropdown-item:hover,
.category:hover,
.dropdown-menu a:hover { 
    background-color: #007BFF !important;
    color: #ffffff !important;
    border-radius: 0px; /* Quadrado igual ao print para preencher melhor */
}

/* 5. AJUSTE DE CONTRASTE (CORREÇÃO TEXTO INVISÍVEL) */
.massage, 
.massage p, 
.displaySettings p, 
.mainContent p { 
    color: #ffffff !important; 
    -webkit-text-fill-color: #ffffff !important;
}

/* Garante que o fundo desses containers seja escuro para o texto aparecer */
.displaySettings, 
.massage {
    background: rgba(0, 0, 0, 0.6) !important; /* Fundo escuro com 60% de opacidade */
    padding: 20px !important;
    border-radius: 10px !important;
    border: 1px solid #333 !important;
}

/* 6. LINKS GERAIS */
a { color: #007BFF !important; text-decoration: none !important; }

/* 7. AJUSTES RESPONSIVOS (MOBILE) */
@media (max-width: 991px) {
    html, body { overflow-x: hidden !important; }
    .navbar-toggler { 
        position: absolute !important; 
        left: 15px !important; 
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    #logo { max-width: 150px !important; margin: 0 auto !important; }
}

/* 8. CORREÇÃO DA SESSÃO PUBLICIDADE (ADAPTABILIDADE TOTAL) */
.publicidade, 
div[style*="border: 1px solid #333"], 
.banner-space {
    padding: 5px 0 !important; 
    margin: 15px auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden !important; /* Corta o que sobrar para não dar scroll lateral */
}

/* Força o banner (imagem) a nunca ser maior que a tela do celular */
.publicidade img, 
div[style*="border: 1px solid #333"] img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* 9. CORREÇÃO RADICAL PARA O POP-UP (ECA) */
/* Ataca qualquer div que apareça sobre a tela (overlay/modal) */
div[style*="background-color: #fff"], 
div[style*="background-color: white"],
.modal-content, 
.modal-body {
    background-color: #1a1a1a !important; 
    color: #ffffff !important;
}

/* Se o fundo branco for uma imagem ou estiver no estilo inline do container pai */
#msg_eca, #container_eca, .eca_overlay {
    background: #1a1a1a !important;
}

/* Garante que o texto dentro de parágrafos no pop-up não suma */
div[style*="background-color: #1a1a1a"] p,
div[style*="background-color: #1a1a1a"] span {
    color: #ffffff !important;
}

/* Ajuste nos botões para o Azul Model Gold */
.btn-confirmar, .btn-primary, button[type="submit"] {
    background-color: #007BFF !important;
    border: 1px solid #fff !important;
    color: #ffffff !important;
}

/* 10. AJUSTE FINAL POP-UP DE IDADE (ECA) */

/* Escurece o fundo que cobre o site todo */
#overlay-idade {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important; /* Quase preto para foco total */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
}

/* Caixa do conteúdo */
.box-idade {
    background: #1a1a1a !important; /* Fundo grafite escuro */
    padding: 30px !important;
    border-radius: 15px !important;
    border: 2px solid #007BFF !important; /* Borda no Azul Model Gold */
    max-width: 500px !important;
    width: 90% !important;
    text-align: center !important;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3) !important;
}

/* Ajuste das cores dos textos dentro da box */
.box-idade h2, .box-idade p, .box-idade b {
    color: #ffffff !important;
    margin-bottom: 15px !important;
}

/* Botão SIM (Azul) */
.btn-entrar {
    background-color: #007BFF !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 5px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
}

/* Botão NÃO (Cinza/Vermelho para diferenciar) */
.btn-sair {
    background-color: #444 !important;
    color: #ffffff !important;
    padding: 12px 25px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 10px !important;
    margin-left: 10px !important;
    font-size: 14px !important;
}

/* Efeito embaçado no fundo quando o banner está ativo */
.site-embaçado {
    filter: blur(8px) !important;
    pointer-events: none !important;
}


/* 11. O AJUSTE DE MESTRE: SEPARANDO AS CIDADES */

/* 1. CIDADES DA GRID (EMBAIXO DAS FOTOS) - FICAM BRANCAS */
/* Usamos a classe .grid para garantir que aqui não mude */
.grid a, .grid .listName, .grid font {
    color: #007BFF !important;
    -webkit-text-fill-color: #007BFF !important;
    text-decoration: none !important;
	font-weight: bold !important;
}

/* 2. CIDADES/LINKS DO TEXTO (RODAPÉ) - FICAM AZUIS */
/* O "p a" isola apenas o que está dentro do texto de leitura */
.displaySettings p a, 
.displaySettings li a,
.mainContent p a {
    color: #007BFF !important;
    -webkit-text-fill-color: #007BFF !important;
    text-decoration: none !important;
    font-weight: bold !important;
}
/* O EXTERMINADOR DE FUNDO DO H2 */
.displaySettings h2, 
.displaySettings h2 font, 
[class*="displaySettings"] h2 {
    background: none !important; 
    background-image: none !important; /* Pode ser que seja uma imagem cinza! */
    filter: none !important; /* Pode ser um gradiente antigo de Internet Explorer */
}