/* mobile.css - VERSÃO XEQUE-MATE */

@media only screen and (max-width: 767px) {

    /* 1. FERRAMENTAS (CORREÇÃO DOS ÍCONES) */
    /* O Foundation força 'four columns' a ter largura fixa. Vamos quebrar isso. */
    html body .four.columns, 
    html body .columns, 
    html body .espaco .four {
        width: 100% !important;
        float: none !important;
        clear: both !important;
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
        display: block !important;
        left: 0 !important;
        text-align: center !important;
    }

    html body .ca-menu {
        padding: 0 !important;
        margin: 0 auto !important;
        display: block !important;
        width: 100% !important;
    }

    /* 2. FILIAIS (TÍTULOS E THUMBS) */
    /* Ataque direto para descolar o título */
    html body .filial-item {
        display: block !important;
        width: 100% !important;
        position: relative !important;
        padding-top: 10px !important;
        margin-bottom: 40px !important;
        height: auto !important;
    }

    html body .filial-item h6 {
        position: relative !important; /* Tira de cima da foto */
        display: block !important;
        top: 0 !important;
        left: 0 !important;
        margin: 0 0 15px 0 !important;
        color: #e31e24 !important;
        font-size: 18px !important;
        width: 100% !important;
        text-align: left !important;
    }

    html body .portofoliothumb {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: 250px !important;
        left: 0 !important;
        margin: 0 !important;
    }

    /* 3. MENU (GARANTIR QUE O DESKTOP SUMA) */
    html body #nav-wrap ul.sf-menu { 
        display: none !important; 
    }
    
    html body #nav-wrap {
        display: block !important;
        background: #f1f1f1 !important;
    }

    /* 4. CARROSSEL (SLIDER EI) */
    /* O seu slider é o 'ei-slider'. Ele precisa de ajuste manual de altura. */
    html body .ei-slider {
        width: 100% !important;
        height: 280px !important;
    }
    html body .ei-slider-large li img {
        width: 100% !important;
        height: auto !important;
    }

    /* 5. GERAL */
    html body .row, html body .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    html body {
        overflow-x: hidden !important;
    }
}