/* Conteneur principal du sélecteur */
.lang-dropdown {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px; /* Espace après le bouton Contact */
}

/* Le bouton affichant la langue active */
.lang-btn {
    background: transparent;
    color: inherit; /* Prend la couleur du texte de votre menu actuel */
    border: 1px solid rgba(0, 0, 0, 0.15); /* Bordure très discrète */
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

/* Si votre menu a un fond sombre, changez la bordure ci-dessus par : solid rgba(255,255,255,0.2) */

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.05); /* Léger effet au survol */
}

.lang-btn .arrow {
    font-size: 9px;
    opacity: 0.7;
}

/* Le contenu caché par défaut */
.lang-content {
    display: none;
    position: absolute;
    right: 0; /* Aligne le menu déroulant sur le bord droit du bouton */
    background-color: #ffffff;
    min-width: 50px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Les liens à l'intérieur du menu déroulant */
.lang-content a {
    color: #333333 !important; /* Force un texte foncé lisible sur fond blanc */
    padding: 6px 12px;
    text-decoration: none;
    display: block;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: background 0.15s ease;
}

/* Effet au survol des langues cachées */
.lang-content a:hover {
    background-color: #f5f5f5;
}

/* Affichage magique du menu au survol de la souris */
.lang-dropdown:hover .lang-content {
    display: block;
}

