/* --- NAVIGATION STYLE "INSTITUTION" (Centrée & Empilée) --- */

nav {
    background: var(--dark); /* Utilise la variable de base.css */
    padding: 0;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    flex-direction: column; /* Empile le logo et le menu */
    align-items: center;
    justify-content: center;
}

/* --- LIGNE 1 : LA MARQUE --- */
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 1;
    cursor: default;

    width: 100%;
    text-align: center;
    border-bottom: 1px solid #333; /* La ligne de séparation */
    padding: 30px 0; /* Espace vertical */
    margin-bottom: 25px; /* Espace avant le menu */
}

/* --- LIGNE 2 : LE MENU --- */
.menu {
    display: flex;
    gap: 60px; /* Grand espacement entre les liens */
    padding-bottom: 25px;
}

.menu a {
    color: #aaa; /* Gris clair par défaut */
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.menu a:hover {
    color: var(--gold);
}

/* Lien actif (page en cours) */
.menu a.active {
    color: white;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 3px;
}

/* --- ADAPTATION MOBILE --- */
@media (max-width: 900px) {
    .logo-text {
        font-size: 1.8rem;
        padding-bottom: 20px;
        margin-bottom: 20px;
        letter-spacing: 3px;
    }

    .menu {
        gap: 20px; /* On rapproche les liens */
        flex-wrap: wrap; /* Permet de passer à la ligne si écran très petit */
        justify-content: center;
    }
    
    .menu a {
        font-size: 0.7rem; /* Légèrement plus petit */
    }
}