@media screen and (max-width: 768px) {
    /* 1. Estrutura geral do topo em coluna organizada */
    .cabecalho-flex-total, 
    .elementor-element-a775f69, 
    .e-con-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        gap: 12px !important;
        position: relative !important;
    }

    /* 2. Logotipo centralizado e com tamanho adequado */
    .elementor-element-f933a46 img, .logo img {
        max-width: 120px !important;
        height: auto !important;
        margin: 0 auto !important;
    }

    /* 3. Menu de navegação organizado em bloco centralizado */
    #menu-1-4c66d2e, .elementor-nav-menu {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px 14px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        text-align: center !important;
    }
    
    #menu-1-4c66d2e li a, .elementor-nav-menu a {
        font-size: 14px !important;
    }

    /* 4. Ícones sociais perfeitamente alinhados lado a lado */
    .social-wrapper-premium-colors, .redes-codigo-direto {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 5px 0 !important;
        width: 100% !important;
    }

    /* 5. Organiza os botões em bloco vertical espaçado (sem sobreposição) */
    .header-right-container-custom {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        gap: 10px !important;
        margin-top: 5px !important;
    }

    /* Garante que cada botão tenha espaço próprio sem flutuar em cima de nada */
    .btn-premium-header-custom, 
    .elementor-widget-button, 
    .elementor-button {
        position: static !important;
        transform: none !important;
        width: 85% !important;
        max-width: 260px !important;
        height: 42px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Otimização de renderização de fundos pesados em telas menores */
.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload) * {
    background-image: none !important;
}
@media screen and (max-height: 1024px) {
    .e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload),
    .e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload) * {
        background-image: none !important;
    }
}
@media screen and (max-height: 640px) {
    .e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload),
    .e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload) * {
        background-image: none !important;
    }
}
