/* RESET EXCLUSIVO DO HEADER */
.site-header-custom, 
.site-header-custom * {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
}

/* CONTAINER DO HEADER (DESKTOP) */
.site-header-custom {
    background-color: #2D4EA2 !important;
    width: 100% !important;
    height: 100px !important;
    position: sticky !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
}

.site-header-custom .header-inner {
    max-width: 1280px !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* LOGO NATIVO WP E FALLBACK */
.site-header-custom .custom-logo-link,
.site-header-custom .brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 280px !important;
    height: auto !important;
    text-decoration: none !important;
    gap: 10px !important;
}

.site-header-custom .custom-logo {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.site-header-custom .brand-name {
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    line-height: 1 !important;
}

.site-header-custom .brand-badge {
    background-color: #53B128 !important;
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* MENU DESKTOP */
.site-header-custom .main-navigation {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.site-header-custom .nav-menu-list {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 36px !important;
    height: 100% !important;
}

.site-header-custom .nav-menu-list li {
    list-style: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.site-header-custom .nav-menu-list a {
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    border: none !important;
    background: none !important;
    line-height: 1 !important;
    transition: opacity 0.2s ease !important;
}

.site-header-custom .nav-menu-list a:hover {
    opacity: 0.75 !important;
}

/* ÁREA DE AÇÕES / REDES SOCIAIS */
.site-header-custom .header-actions-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

.site-header-custom .social-links-desktop {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
}

.site-header-custom .social-links-desktop a {
    color: #FFFFFF !important;
    font-size: 1.25rem !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    transition: opacity 0.2s ease !important;
}

.site-header-custom .social-links-desktop a:hover {
    opacity: 0.75 !important;
}

.site-header-custom .fab {
    color: #65D6FF !important;
}

/* BOTÃO HAMBÚRGUER (OCULTO NO DESKTOP) */
.site-header-custom .mobile-menu-toggle {
    display: none !important;
    background: none !important;
    border: none !important;
    color: #FFFFFF !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    padding: 4px !important;
    line-height: 1 !important;
}


/* ==========================================================================
   BREAKPOINT MOBILE / TABLET (MÁXIMO 991PX)
   ========================================================================== */
@media (max-width: 991px) {

    .site-header-custom {
        height: 70px !important;
    }

    .site-header-custom .header-inner {
        padding: 0 16px !important;
        position: relative !important;
    }

    /* Reduz o logo no mobile */
    .site-header-custom .custom-logo-link,
    .site-header-custom .brand-logo {
        max-width: 150px !important;
    }

    /* Exibe o botão do hambúrguer */
    .site-header-custom .mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Redes sociais visíveis lado a lado com o hambúrguer */
    .site-header-custom .social-links-desktop {
        gap: 14px !important;
    }

    .site-header-custom .social-links-desktop a {
        font-size: 1.1rem !important;
    }

    /* PAINEL SUSPENSO MOBILE COM CAMADA E FUNDO SÓLIDO */
    .site-header-custom .main-navigation {
        display: none !important;
        position: absolute !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        background-color: #2D4EA2 !important; /* Cor exata do header */
        padding: 16px 24px 24px 24px !important;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4) !important;
        z-index: 9999999 !important;
        height: auto !important;
    }

    /* Classe ativada via JavaScript ao clicar no hambúrguer */
    .site-header-custom .main-navigation.is-active {
        display: block !important;
    }

    .site-header-custom .nav-menu-list {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
        height: auto !important;
    }

    .site-header-custom .nav-menu-list li {
        width: 100% !important;
        height: auto !important;
    }

    .site-header-custom .nav-menu-list a {
        font-size: 1rem !important;
        width: 100% !important;
        padding: 14px 0 !important;
        display: block !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .site-header-custom .nav-menu-list li:last-child a {
        border-bottom: none !important;
    }
}