/*En-tête*/
header {
    position: relative;
}
.en-tete__icone {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 32px;
}

.en-tete {
    background: var(--couleur-primaire);
    color: var(--arriere-plan-secondaire);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    z-index: 5;
}

/* Logo et nom */
.logo__lien {
    display: flex;
    align-items: center;
}

.en-tete__logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.en-tete__nom {
    color: var(--couleur-texte);
    font-size: 1.5em;
    font-weight: 600;
}

/* Menu de navigation */
.navigation ul {
    list-style: none;
    flex-wrap: wrap;
    display: flex;
    padding: 0;
}

.navigation__lien {
    color: var(--couleur-secondaire);
    text-decoration: none;
    font-weight: 400;
    margin: 0 10px;
}

/* Boutons d'authentification */
.authentification {
    display: flex;
    gap: 10px;
}

.authentification__bouton {
    background: var(--couleur-accent);
    color: var(--couleur-texte);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.menu-gauche {
    position: absolute;
    left: 5%;
    top: 10%;
    background: var(--couleur-accent);
    color: var(--couleur-texte);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.menu-gauche ul {
    list-style: none;
    padding: 0;
}

.menu-droit {
    position: absolute;
    right: 5%;
    top: 10%;
    background: var(--couleur-accent);
    color: var(--couleur-texte);
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

/* ===== Desktop (large écran) ===== */
@media (min-width: 769px) {
    .menu-gauche,
    .menu-droit {
        display: none;
    }
}

/* ===== Mobile (petit écran) ===== */
@media (max-width: 768px) {
    .navigation,
    .authentification {
        display: none;
    }
    .en-tete {
        justify-content: center;
        padding: 10% 0;
    }
    .logo__lien {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .authentification-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    }
}