/* =====================================================
   Language Switcher — FR / EN
   Sits inside .nav-action-blanc (desktop) and is also
   exposed on mobile as a floating chip next to the burger.
   ===================================================== */

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-right: 12px;
    padding: 3px;
    background: var(--brand-white, #fff);
    border: 1px solid var(--brand-title, #7a5c3e);
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.lang-switcher-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 6px 12px;
    font-family: var(--font-ui, "Montserrat", sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-title, #7a5c3e);
    border-radius: 999px;
    line-height: 1;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.lang-switcher-btn:hover {
    color: var(--brand-accent, #c0945e);
}

.lang-switcher-btn.active {
    background: var(--brand-title, #7a5c3e);
    color: var(--brand-white, #fff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18) inset;
}

.lang-switcher-btn:focus-visible {
    outline: 2px solid var(--brand-accent, #c0945e);
    outline-offset: 2px;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
    /* The .nav-action-blanc container is hidden on mobile,
       so we re-show only the lang switcher and float it next
       to the burger toggle. */
    .nav-action-blanc {
        display: flex !important;
        position: absolute;
        top: 50%;
        right: 60px;
        transform: translateY(-50%);
        padding: 0;
        margin: 0;
        flex: 0 0 auto;
        z-index: 5;
    }

    /* Hide the Services CTA inside the action container on mobile */
    .nav-action-blanc .btn-nav-blanc {
        display: none;
    }

    .lang-switcher {
        margin-right: 0;
        padding: 2px;
    }

    .lang-switcher-btn {
        padding: 5px 10px;
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .nav-action-blanc {
        right: 52px;
    }

    .lang-switcher-btn {
        padding: 4px 8px;
        font-size: 0.68rem;
    }
}
