/* Chrome compartilhado do portal (faixa + topo + rodapé).
   Vale para o índice e para todos os guias: edite AQUI, nunca copiado nas páginas. */
.faixa { background: var(--azul); color: #fff; }
.faixa p { margin: 0 auto; max-width: 1200px; padding: 7px 24px; font-size: 0.78rem; text-align: center; }
.faixa a { color: #fff; font-weight: 700; }
.topo { border-bottom: 1px solid var(--line); line-height: 1.5; }
.topo-linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.marca { display: inline-flex; align-items: center; gap: 8px; padding: 12px 0; text-decoration: none; color: var(--ink); font-weight: 800; }
.marca svg { width: 22px; height: 22px; color: var(--azul); flex: none; }
.topo-dir { display: flex; align-items: center; gap: 14px; }
.topo-info { margin: 0 0 0 auto; font-size: 0.8rem; color: var(--muted); }
.tema-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: none; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 50%; cursor: pointer; padding: 0; }
.tema-btn:hover { border-color: var(--azul); color: var(--azul); }
.tema-btn svg { width: 18px; height: 18px; }
.tema-btn .sol { display: none; }
[data-theme="dark"] .tema-btn .sol { display: block; }
[data-theme="dark"] .tema-btn .lua { display: none; }
[data-theme="dark"] .faixa, [data-theme="dark"] .cta { background: #1d4ed8; }
[data-theme="dark"] .cta:hover { background: #1e40af; }
[data-theme="dark"] .cta { color: #fff; }
.cta { background: var(--azul); color: #fff; font-weight: 700; font-size: 0.84rem; text-decoration: none; padding: 9px 18px; border-radius: 6px; white-space: nowrap; }
.cta:hover { background: #1e3a8a; }
.cta-curta, .faixa-curta { display: none; }
.topo, .faixa, .cta, .tema-btn { transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease; }
.rodape { border-top: 1px solid var(--line); margin-top: 36px; padding: 18px 0 30px; font-size: 0.82rem; color: var(--muted); }
.rodape ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 0; padding: 0; }
.rodape ul:empty { display: none; }
.rodape a { font-size: 0.82rem; }
.rodape-linha { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; flex-wrap: wrap; margin-top: 8px; }
.rodape-linha .credito { margin: 0 0 0 auto; text-align: right; }
.rodape .credito strong { font-weight: 800; }
.rodape .credito a { font-weight: 700; }
@media (max-width: 768px) {
  .faixa p { padding: 5px 18px; font-size: 0.72rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .faixa-long { display: none; }
  .faixa-curta { display: inline; }
  .topo-linha { flex-wrap: nowrap; align-items: center; gap: 10px; height: 56px; }
  .marca { flex: none; padding: 0; font-size: 0.95rem; white-space: nowrap; }
  .marca svg { width: 20px; height: 20px; }
  .topo-dir { flex: none; gap: 8px; margin-left: auto; flex-wrap: nowrap; }
  .topo-info { display: none; }
  .cta { padding: 6px 12px; font-size: 0.8rem; }
  .cta-long { display: none; }
  .cta-curta { display: inline; }
  .tema-btn { width: 32px; height: 32px; }
  .rodape-linha { flex-direction: column; align-items: flex-start; gap: 6px; }
  .rodape-linha .credito { margin: 0; text-align: left; }
  .rodape ul { gap: 8px 14px; }
}
