/* Sélecteur de langue */
.lang-switch {
    position: relative;
    font-family: Outfit, Arial, sans-serif;
}
.lang-switch summary {
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e6e7ea;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #3d4148;
    cursor: pointer;
    list-style: none;
}
.lang-switch summary::-webkit-details-marker {
    display: none;
}
.lang-switch img {
    border-radius: 50%;
}
.lang-menu {
    position: absolute;
    right: 0;
    top: 42px;
    z-index: 40;
    min-width: 150px;
    padding: 6px;
    border: 1px solid #e6e7ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(20, 20, 50, .12);
}
.lang-menu a {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    font-size: 13px;
    color: #1f2329;
    text-decoration: none;
}
.lang-menu a:hover {
    background: #f4f5f6;
}
.lang-menu a.active {
    background: #eceefc;
    color: #4b33d1;
}
.nx-lang {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 5;
}

/* Pied de page : pastille d'origine (.locale, website.css) + petit menu au-dessus */
.locale-switch {
    position: relative;
    display: inline-block;
}
.locale-switch summary {
    list-style: none;
    cursor: pointer;
}
.locale-switch summary::-webkit-details-marker {
    display: none;
}
.locale-switch[open] summary svg {
    transform: rotate(180deg);
}
.locale-menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 6px);
    z-index: 40;
    min-width: 130px;
    padding: 4px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.locale-menu a {
    display: block;
    padding: 7px 10px;
    border-radius: 4px;
    font-size: 13px;
    color: #242034;
    text-decoration: none;
}
.locale-menu a:hover,
.locale-menu a.active {
    background: #f1effa;
}

/* En-tête public sur mobile : drapeau seul, boutons sur une ligne */
.nav-actions a {
    white-space: nowrap;
}
@media (max-width: 480px) {
    .nav-actions .lang-switch summary {
        padding: 0 8px;
        gap: 0;
        font-size: 0;
    }
}
