.barre-nav {
    position: fixed;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 70px;
    background-color: var(--blanc);
    border-radius: 35px;
    box-shadow: var(--ombre-legere);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    transition: border-radius 0.3s ease;
}

.nav-logo {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--brun2);
}

.nav-liens {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-lien {
    font-weight: 500;
    color: var(--noir);
    transition: color var(--transition-rapide);
    position: relative;
    padding-bottom: 4px;
}

.nav-lien:hover {
    color: var(--brun2);
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* BOUTON BURGER */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu .barre {
    width: 100%;
    height: 3px;
    background-color: var(--noir);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* VERSION MOBILE */
@media (max-width: 768px) {
    .barre-nav {
        top: 15px;
        left: 20px;
        right: 20px;
        padding: 0 25px;
        height: 60px;
        border-radius: 30px;
    }

    .barre-nav.active {
        border-radius: 25px 25px 0 0;
        box-shadow: none;
    }

    .nav-logo {
        font-size: 1rem;
    }

    .burger-menu {
        display: flex;
    }

    .nav-liens {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--blanc);
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px 20px;
        border-radius: 0 0 25px 25px;
        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-5px);
        transition: all 0.3s ease;
    }

    /* BARRE SÉPARATRICE */
    .nav-liens::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 1px;
        background-color: #e5e5e5;
    }

    /* État ouvert du menu */
    .nav-liens.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Burger vs Croix */
    .burger-menu.active .barre:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger-menu.active .barre:nth-child(2) {opacity: 0;}

    .burger-menu.active .barre:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}