/* MENU DE ZÉRO - SIMPLE ET FONCTIONNEL */

/* NAVBAR */
.navbar {
    background: linear-gradient(135deg, #E63946 0%, #d62839 100%);
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* HAMBURGER À GAUCHE */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    order: -1;
    position: relative;
    z-index: 99999;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* BRAND */
.navbar-brand {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
}

/* MENU DESKTOP */
.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    margin-left: auto;
}

.navbar-menu li {
    list-style: none;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s;
}

.navbar-menu a:hover {
    background: rgba(255,255,255,0.15);
}

/* MOBILE */
@media (max-width: 991px) {
    .hamburger {
        display: flex !important;
    }
    
    .navbar-brand {
        flex: 1;
        text-align: center;
    }
    
    .navbar-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 0;
        margin: 0;
        overflow-y: auto;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    
    .navbar-menu.active {
        display: flex;
    }
    
    .navbar-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-menu a {
        color: #333;
        padding: 20px 24px;
        font-size: 1.05rem;
    }
    
    .navbar-menu a:hover {
        background: #f8f9fa;
        padding-left: 30px;
    }
    
    /* Dernier bouton en rouge */
    .navbar-menu li:last-child {
        border-bottom: none;
    }
    
    .navbar-menu li:last-child a {
        background: linear-gradient(135deg, #E63946 0%, #d62839 100%);
        color: white;
        margin: 12px;
        border-radius: 12px;
        font-weight: 700;
    }
    
    .navbar-menu li:last-child a:hover {
        background: linear-gradient(135deg, #d62839 0%, #c41e3a 100%);
        padding-left: 24px;
    }
}
