/* ========================================
   RESPONSIVE MOBILE - TOUT LE SITE
   ======================================== */

/* Bouton burger - caché sur desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

/* Responsive Mobile */
@media (max-width: 992px) {
    /* Cacher le header principal sur mobile */
    body > header.d-flex,
    body > header {
        display: none !important;
    }
    
    /* Forcer le sticky header à être visible dès le début */
    #v4-sticky-header {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
        justify-content: space-between !important;
        align-items: center !important;
        background-color: #2c3e50 !important;
        padding: 6px 15px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    #v4-sticky-header .navbar-brand {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        margin: 0 !important;
    }
    
    #v4-sticky-header .navbar-brand img {
        height: 45px !important;
    }
    
    #v4-sticky-header .title-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    #v4-sticky-header .main-title {
        font-size: 1.2rem !important;
        margin: 0 !important;
        line-height: 1.1 !important;
    }
    
    #v4-sticky-header .subtitle {
        font-size: 0.75rem !important;
        margin: 0 !important;
        line-height: 1.1 !important;
    }
    
    body {
        padding-top: 60px !important;
    }
    
    .page-header {
        margin-top: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .page-header > div,
    .page-header .header-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Afficher le bouton burger sur mobile */
    .menu-toggle {
        display: block !important;
    }
    
    /* Menu caché par défaut */
    .nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #2c3e50;
        flex-direction: column;
        gap: 0;
        padding: 0;
        z-index: 1000;
    }
    
    .nav.active {
        display: flex !important;
    }
    
    .nav-item {
        width: 100%;
        margin: 0;
    }
    
    .nav-link {
        padding: 0.8rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: center;
        display: block;
        width: 100%;
        font-size: 1.3rem !important;
    }
    
    .search-container {
        width: 100%;
    }
    
    header {
        flex-wrap: wrap;
        position: relative;
        padding: 6px 15px !important;
    }
    
    .navbar-brand {
        gap: 5px !important;
    }
    
    .navbar-brand img {
        height: 45px;
    }
    
    .title-container {
        gap: 0 !important;
    }
    
    .main-title {
        font-size: 1.2rem;
        margin-bottom: 0 !important;
        line-height: 1.1 !important;
    }
    
    .subtitle {
        font-size: 0.75rem;
        line-height: 1.1 !important;
    }
    
    .title-container {
        gap: 0 !important;
    }
    
    /* Forcer affichage Visual Composer */
    body .wpb_wrapper,
    body .vc_row,
    body .vc_column_container,
    body .vc_column-inner,
    body .wpb_content_element,
    body .wpb_text_column,
    body .wpb_single_image,
    body .vc_custom_heading {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    body .vc_row {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    body .wpb_content_element,
    body .wpb_text_column {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
}
