/*
  LEONIO ADVENTURE i18n : styles du switcher de langue (FR / EN)
  Adapté de LEONIO classique pour la palette Adventure (Fraunces / Manrope / marine).
*/

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--white, #fff);
  border: 1px solid var(--line, rgba(10,25,41,0.10));
  border-radius: 999px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(10, 25, 41, 0.06);
}

.lang-switch .lang-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: var(--text-2, #4A5867);
  font-family: 'Space Mono', 'Manrope', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.lang-switch .lang-btn:hover {
  color: var(--marine-ink, #0A1929);
}

.lang-switch .lang-btn.is-active {
  background: var(--marine, #0A2540);
  color: var(--white, #fff);
}

.lang-switch .lang-btn:focus-visible {
  outline: 2px solid var(--coral, #FF4D2E);
  outline-offset: 2px;
}

/* Variante "on-dark" : pour le footer marine ou le cover */
.lang-switch.on-dark {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.lang-switch.on-dark .lang-btn { color: rgba(255, 255, 255, 0.72); }
.lang-switch.on-dark .lang-btn:hover { color: var(--white, #fff); }
.lang-switch.on-dark .lang-btn.is-active {
  background: var(--white, #fff);
  color: var(--marine-ink, #0A1929);
}

/* Variante "minimal" footer-bottom */
.lang-switch.lang-switch--minimal {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  gap: 6px;
}
.lang-switch.lang-switch--minimal .lang-btn {
  background: transparent;
  color: inherit;
  opacity: 0.55;
  padding: 2px 4px;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}
.lang-switch.lang-switch--minimal .lang-btn:hover {
  opacity: 1; color: inherit;
}
.lang-switch.lang-switch--minimal .lang-btn.is-active {
  background: transparent; color: inherit; opacity: 1;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.lang-switch.lang-switch--minimal .lang-sep {
  opacity: 0.35; font-size: 0.85em; user-select: none;
}
