/* Música — barra de línguas e ajustes para as páginas traduzidas (árabe da direita para a esquerda, chinês)
   Gerado com construcao/grupo/musica_linguas.py · © Aprecisa.com · Gaspar do Amaral · 27/10/2026 · com recurso a IA */
.faixa-idiomas { background: #581F21; font-size: .8rem; }
.faixa-idiomas .contentor { display: flex; justify-content: flex-end; }
.idiomas { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; padding: 4px 0; }
.idiomas a { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; min-width: 24px; color: rgba(255,252,246,.8); padding: 3px 9px; border-radius: 4px; letter-spacing: .04em; font-weight: 600; white-space: nowrap; text-decoration: none; }
.idiomas a:hover { color: #fff; background: rgba(255,252,246,.12); }
.idiomas a[aria-current="true"] { color: #581F21; background: #EADAB9; }
@media (max-width: 480px) {
  .faixa-idiomas .contentor { justify-content: center; }
  .idiomas { justify-content: center; gap: 0; }
  .idiomas a { padding: 3px 4px; letter-spacing: 0; font-size: .72rem; min-height: 28px; }
}

/* Título original com tradução breve */
.glosa { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--texto-3); margin-top: 2px; }
h1 .glosa { font-size: 1.05rem; margin-top: 6px; }
.nota-lingua { font-size: .9rem; color: var(--texto-3); margin: 14px 0 0; }

/* Chinês simplificado */
:lang(zh) body, html:lang(zh) { font-family: "Source Sans 3", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif; }
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { font-family: "Source Serif 4", "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", "SimSun", serif; }
html:lang(zh) .etiqueta-gratis, html:lang(zh) .etiqueta-venda { letter-spacing: .02em; }

/* Árabe: da direita para a esquerda */
html[dir="rtl"] body { font-family: "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .marca { font-family: "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", Tahoma, serif; }
html[dir="rtl"] .idiomas a, html[dir="rtl"] .etiqueta-gratis, html[dir="rtl"] .etiqueta-venda { letter-spacing: 0; }
html[dir="rtl"] .faixa-idiomas .contentor { justify-content: flex-start; }
html[dir="rtl"] .pacote .itens { padding-left: 0; padding-right: 1.1em; }
html[dir="rtl"] .video-titulo { text-align: right; }
html[dir="rtl"] .salto { left: auto; right: -9999px; }  /* à esquerda, em RTL, criaria deslocamento horizontal */
html[dir="rtl"] .salto:focus { right: 16px; }
html[dir="rtl"] .ampliar-fechar { right: auto; left: -14px; }
[dir="rtl"] bdi[dir="ltr"], [dir="rtl"] [lang="pt"], [dir="rtl"] [lang="pt-PT"] { unicode-bidi: isolate; }
