/* Seletor de idioma compartilhado — PT | EN */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid color-mix(in oklab, currentColor 18%, transparent);
  border-radius: 3px;
  overflow: hidden;
  line-height: 1;
}

.lang-switcher a,
.lang-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.45rem 0.55rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.15s, background 0.15s;
}

.lang-switcher a:hover,
.lang-switcher button:hover {
  opacity: 0.85;
}

.lang-switcher a.is-active,
.lang-switcher button.is-active,
.lang-switcher a[aria-current="true"],
.lang-switcher button[aria-current="true"] {
  opacity: 1;
  background: color-mix(in oklab, currentColor 10%, transparent);
  font-weight: 600;
}

.lang-switcher__sep {
  width: 1px;
  align-self: stretch;
  background: color-mix(in oklab, currentColor 18%, transparent);
  pointer-events: none;
}
