        /* Styles pour le sous-menu avec fond amélioré */
        .nav-item-dropdown {
            position: relative;
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            background: linear-gradient(135deg, #1e3a5f, #2c3e50);
            min-width: 220px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.3);
            border-radius: 8px;
            z-index: 1000;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            padding: 10px 0;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
            transform: translateX(-50%) translateY(-10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .nav-item-dropdown:hover .dropdown-content {
            display: block;
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }
        
        .dropdown-content a {
            color: #ecf0f1;
            padding: 12px 25px;
            text-decoration: none;
            display: block;
            text-align: left;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .dropdown-content a:hover {
            background-color: rgba(217, 0, 18, 0.2);
            color: #ffffff;
            padding-left: 30px;
        }
        
        .dropdown-content a.active {
            background-color: rgba(217, 0, 18, 0.3);
            color: #ffffff;
            font-weight: bold;
        }        
        .dropdown-content a:before {
            content: '';
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            background-color: #D90012;
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .dropdown-content a:hover:before {
            opacity: 1;
        }
        
        .dropdown-content a i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
            color: #bdc3c7;
        }
        
        .dropdown-content a:hover i {
            color: #D90012;
        }

        
        .nav-item-dropdown > a {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .nav-item-dropdown > a:after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            margin-left: 8px;
            font-size: 0.8rem;
            transition: transform 0.3s ease;
        }
        
        .nav-item-dropdown:hover > a:after {
            transform: rotate(180deg);
        }
        
 		/* ===== CORRECTIONS MENU MOBILE ===== */
/* Bouton hamburger - positionné correctement */
#mobileMenuBtn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px;
    margin-left: 15px;
    z-index: 1002;
}

/* Bouton de fermeture - stylisé correctement */
.mobile-menu-close {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(217, 0, 18, 0.9);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1003;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

/* Styles pour mobile */
@media screen and (max-width: 768px) {
    /* Afficher le bouton hamburger */
    #mobileMenuBtn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Masquer la navigation par défaut */
    #mainNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #1a1a2e, #16213e);
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 80px 0 30px;
        overflow-y: auto;
        box-shadow: -5px 0 25px rgba(0,0,0,0.4);
    }
    
    /* Afficher la navigation */
    #mainNav.active {
        right: 0;
    }
    
    /* Afficher le bouton de fermeture quand le menu est ouvert */
    #mainNav.active + .mobile-menu-close {
        display: flex;
    }
    
    /* Liste du menu */
    #mainNav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    #mainNav ul li {
        width: 100%;
        margin: 0;
    }
    
    #mainNav ul li a {
        display: block;
        padding: 16px 25px;
        color: #ecf0f1 !important;
        font-size: 1rem;
        border-left: 4px solid transparent;
        transition: all 0.3s ease;
        margin: 2px 10px;
        border-radius: 0 8px 8px 0;
    }
    
    #mainNav ul li a:hover,
    #mainNav ul li a.active {
        background: rgba(217, 0, 18, 0.15) !important;
        border-left-color: #D90012;
        color: #ffffff !important;
        padding-left: 30px;
    }
    
    /* Overlay sombre */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        display: block;
    }
    
    /* Ajustements header */
    .header-container {
        position: relative;
    }
    
    .language-selector {
        margin-left: auto;
        margin-right: 10px;
    }
    
    /* Empêcher le défilement */
    body.menu-open {
        overflow: hidden;
    }
}