/* Correção definitiva para esconder menu principal em mobile */

/* Esconder completamente o menu principal (nav) em todas as telas menores que desktop */
@media (max-width: 991px) {
    /* Esconder o nav principal e todos os seus elementos */
    header nav,
    header nav *,
    header .main-menu,
    header .main-menu *,
    header .overlay-inner,
    header .overlay-inner *,
    header .overlay-left,
    header .overlay-left *,
    header .overlay-right,
    header .overlay-right * {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    /* Garantir que nenhum texto do menu principal apareça */
    header nav ul,
    header nav ul li,
    header nav ul li a,
    header .main-menu ul,
    header .main-menu ul li,
    header .main-menu ul li a {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
        text-indent: -9999px !important;
        color: transparent !important;
    }
    
    /* Apenas o menu móvel (#mobile-menu) deve funcionar */
    #mobile-menu {
        display: none; /* Escondido por padrão */
    }
    
    #mobile-menu.active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Garantir que o botão hambúrguer funcione */
    .mobile-menu-toggle,
    #mobile-menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* Em desktop, esconder o menu móvel */
@media (min-width: 992px) {
    #mobile-menu,
    #mobile-menu.active {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}
