:root {
    --bg: #f5f5f5; /* fundo cinza claro */
    --navy: #0c2b3a; /* azul do rodapé */
    --text: #0b1f2a;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
}
/* Main ocupa o espaço e empurra o footer para baixo */
main.main {
    flex: 1;
}

/* Footer azul no padrão do arquivo de referência */
footer.site-footer {
    background: var(--navy);
    color: #e2ecf5;
}

    footer.site-footer a {
        color: #e8f2ff;
        text-decoration: none;
    }

        footer.site-footer a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* Navbar: menu alinhado à esquerda */
.navbar .navbar-nav {
    margin-right: auto;
}

</style >

<style >
.header {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.search-bar {
    display: none !important;
}
/* remove a faixa branca */
main {
    padding-top: 72px;
}
/* ajuste conforme a altura do header */
</style >
</head >

<style >
/* 1) Some com a faixa branca do tema */
.search-bar {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
}

.header {
    background: #fff;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.navbar {
    border: 0 !important;
    box-shadow: none !important;
}

    .header::before, .header::after,
    .navbar::before, .navbar::after {
        content: none !important;
        display: none !important;
    }

/* 2) Menu alinhado à esquerda */
#mainNav.collapse.navbar-collapse {
    justify-content: flex-start;
}

#mainNav .navbar-nav {
    margin-right: auto;
}

/* 3) Espaço do header fixo (ajuste a altura se mudar a logo) */
:root {
    --header-h: 72px;
}

main {
    padding-top: var(--header-h);
}

@media (max-width: 991.98px) {
    :root {
        --header-h: 64px;
    }
}

/* (Opcional) tira qualquer micro-gap entre header e o primeiro bloco */
.main > .container, .main > .container-xxl {
    margin-top: .25rem;
}

/* Turbo no menu */
:root {
    --nav-color: #1b3140;
    --nav-color-active: #053242; /* azul FUNARPEN */
}


/* nav */


.navbar .nav-link {
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 500;
    font-size: .94rem;
    letter-spacing: .2px;
    color: var(--nav-color, #1b3140);
    padding: .6rem .75rem;
    position: relative;
    text-decoration: none;
    transition: color .18s ease;
}

    .navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        width: 28px;
        height: 2px;
        bottom: .20rem;
        background: var(--nav-active, #053242);
        border-radius: 2px;
        transform: translateX(-50%) scaleX(0);
        transition: transform .18s ease;
    }





    .navbar .dropdown.show > .nav-link,
    .navbar .nav-link.active {
        color: #053242;
        background: #f3f7fb; /* preenchimento leve */
        border-radius: .5rem;
        box-shadow: inset 0 0 0 2px #b8cbe3; /* “borda” interna sem empurrar layout */
    }






    .navbar .nav-link.active,
    .navbar .dropdown.show > .nav-link {
        color: #fff;
        background: #053242;
        border-radius: .5rem;
        box-shadow: none;
        font-weight: 600;
    }



/* teste */

/* ===== Menu ativo mais forte (sem sublinhado) ===== */
:root {
    --nav-active-bg: #ca2525; /* +escuro que antes */
    --nav-active-bd: #df0fab; /* borda mais marcada */
    --nav-active-fg: #053242; /* azul FUNARPEN */
}

.navbar .nav-link.active,
.navbar .dropdown.show > .nav-link {
    background: var(--nav-active-bg);
    border-radius: .5rem;
    box-shadow: inset 0 0 0 2px var(--nav-active-bd);
    font-weight: 600;
}

/* Itens do dropdown: ativo e hover mais visíveis */
.dropdown-menu .dropdown-item.active {
    color: #053242;
    border-radius: .5rem;
    box-shadow: inset 0 0 0 2px #25e413;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background: #a3c6e2; /* Cor do fundo do menu corrente (mouse) */
    color: #053242;
}

