header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-self: stretch;
    font-family: "Bebas Neue", sans-serif;

    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;

    padding: 8px 20px;
    margin-bottom: 6px;

    background: linear-gradient(rgba(18,17,16,0.99), rgba(24,23,20,0.97));
    border-bottom: 1px solid rgba(58, 124, 46, 0.4);
    box-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 0 30px rgba(58, 124, 46, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 0 0 10px 10px;
}

/* Navs------------------------------------------------------- */
header nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

header nav a {
    text-decoration: none;
    color: white;
    font-size: clamp(0.75rem, 1.4vw, 1.1rem);
    letter-spacing: 0.06em;
    padding: 7px 14px;
    border-radius: 7px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    border-radius: 2px;
    transition: all 0.25s ease;
}

/* Pages (vertes) */
.nav_pages a {
    background: linear-gradient(135deg, #3a6e28, #2a5020);
    border: 1px solid rgba(92,184,63,0.3);
}
.nav_pages a::after { background: var(--vert-neon, #6dd14a); }
.nav_pages a:hover {
    background: linear-gradient(135deg, #4c8e36, #355f28);
    box-shadow: 0 0 14px rgba(92,184,63,0.45);
    transform: translateY(-2px);
    border-color: rgba(109,209,74,0.5);
}
.nav_pages a:hover::after { left: 10%; right: 10%; }

/* Compte (dorées) */
.nav_account a {
    background: linear-gradient(135deg, #7a5a20, #5a3e10);
    border: 1px solid rgba(201,148,58,0.35);
    color: #f5d98a;
}
.nav_account a::after { background: #f0c060; }
.nav_account a:hover {
    background: linear-gradient(135deg, #9a7030, #7a5020);
    box-shadow: 0 0 14px rgba(201,148,58,0.5);
    transform: translateY(-2px);
    border-color: rgba(240,192,96,0.5);
    color: white;
}
.nav_account a:hover::after { left: 10%; right: 10%; }



/* ─────────────────────── MOBILE ─────────────────────────── */
@media (max-width: 765px) {
    header {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 10px;
        justify-content: center;
    }

    header nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    header nav a {
        padding: 5px 10px;
        font-size: 3.5vw;
    }


}
