/* ============================================
 * yoyaku-common.css — shared primitives for yoyaku.fr subpages
 * Loaded from: berlin / chapelle / atelier14 / interwave / objects / contact / jobs
 * Last update: 2026-05-17 (extracted from inline duplicates)
 * ============================================ */

/* Accessibility — visually hidden, screen-reader accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Language switcher (FR / EN / DE) — drop inside nav, after the nav links */
.lang-switch {
    display: flex;
    gap: 8px;
    margin-left: 20px;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switch button {
    font-family: 'Pixeled', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.lang-switch button:hover { color: rgba(255, 255, 255, 0.8); }
.lang-switch button.active { color: #fff; }

/* Tighter variant used on contact/jobs (.main-nav uses smaller gap) */
.main-nav .lang-switch {
    margin-left: 12px;
    padding-left: 16px;
    align-self: center;
}

.main-nav .lang-switch button {
    padding: 4px 6px;
}
