/* ═══════════════════════════════════════════════════════════
   JUSTIX — Folha de Estilo Integrada (v2.0)
   Davi Azevedo — Portal, Livro Secreto, Bethor & Justix
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Superfícies e paleta */
  --plano:          #08080c;
  --superficie:     #111118;
  --superficie-2:   #181824;
  --superficie-3:   #222234;
  --borda:          rgba(255, 255, 255, 0.08);
  --borda-forte:    rgba(255, 255, 255, 0.15);
  --border-glass:   rgba(255, 255, 255, 0.08);

  --texto:          #ffffff;
  --texto-2:        #c3c2b7;
  --texto-3:        #8a8a80;
  --text-primary:   #ffffff;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  /* Identidade Visual Davi Azevedo & Justix */
  --marca:          #b8f36a;
  --marca-escura:   #0f1c05;
  --gold-primary:   #d4a843;
  --gold-light:     #f0d078;
  --red-primary:    #ef4444;
  --link:           #3987e5;

  /* Escala do índice — paleta de status */
  --justo-muito:    #10b981;
  --justo:          #f59e0b;
  --injusto:        #f97316;
  --injusto-muito:  #ef4444;

  /* Séries categóricas do gráfico */
  --serie-1: #3987e5;
  --serie-2: #d95926;
  --serie-3: #10b981;
  --serie-4: #c98500;

  --raio: 8px;
  --fonte: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fonte-display: 'Space Grotesk', sans-serif;
  --fonte-num: 'Roboto Mono', 'SF Mono', Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--fonte);
  background: var(--plano);
  color: var(--texto);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

button, input, select, textarea { font-family: inherit; font-size: inherit; }
a { color: var(--link); }

/* ════════════ TOP BAR GLOBAL ════════════ */
.l-top-bar {
  background: rgba(8, 8, 12, 0.95);
  border-bottom: 1px solid var(--borda);
  padding: 0.35rem 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  position: relative;
  z-index: 10006;
}

.l-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.l-top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.l-top-bar__text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.l-top-bar__badge {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  font-family: var(--fonte-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.l-top-bar__socials {
  display: flex;
  gap: 1rem;
}

.l-top-bar__socials a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.75rem;
  transition: color 0.2s ease;
}

.l-top-bar__socials a:hover {
  color: var(--gold-light);
}

/* ════════════ NAVIGATION (MENU SUPERIOR GLOBAL) ════════════ */
.l-nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 10005;
  padding: 0.75rem 0;
  background: rgba(10, 10, 15, 0.94);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-glass);
}

.l-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.l-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--fonte-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: transform 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.l-nav__logo:hover {
  transform: translateY(-1px);
}

.l-nav__logo-icon-svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.45));
  transition: transform 0.3s ease;
}

.l-nav__logo:hover .l-nav__logo-icon-svg {
  transform: scale(1.08);
}

.l-logo-red {
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

.l-nav__links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  white-space: nowrap;
}

.l-nav__links li {
  white-space: nowrap;
  flex-shrink: 0;
}

.l-nav__links a {
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.3rem 0;
}

.l-nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ef4444, #d4a843);
  transition: width 0.3s ease;
}

.l-nav__links a:hover,
.l-nav__links a.active {
  color: var(--text-primary);
}

.l-nav__links a:hover::after,
.l-nav__links a.active::after {
  width: 100%;
}

.l-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10007;
}

.l-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ════════════ LOGIN / RESTRITO ════════════ */
.login-tela {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.login-caixa {
  width: 100%;
  max-width: 420px;
  background: var(--superficie);
  border: 1px solid rgba(184, 243, 106, 0.25);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(184, 243, 106, 0.08);
}

.login-icone {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 8px;
}

.login-marca {
  font-family: var(--fonte-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 4px;
}

.login-marca span {
  color: var(--marca);
}

.login-sub {
  text-align: center;
  color: var(--texto-3);
  font-size: 0.82rem;
  margin-bottom: 24px;
}

.login-nota {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--borda);
  font-size: 0.76rem;
  color: var(--texto-3);
  text-align: center;
  line-height: 1.5;
}

/* ════════════ LAYOUT JUSTIX (SIDEBAR LATERAL ESQUERDA + MAIN) ════════════ */
.justix-layout {
  display: flex;
  min-height: calc(100vh - 90px);
  width: 100%;
}

/* ─── Sidebar Lateral Esquerda ─── */
.justix-sidebar {
  width: 260px;
  min-width: 260px;
  background: #0e0e16;
  border-right: 1px solid var(--borda);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 61px;
  height: calc(100vh - 61px);
  z-index: 90;
}

.justix-sidebar__header {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--borda);
}

.justix-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.justix-brand__icon {
  font-size: 1.7rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--superficie-2);
  border: 1px solid rgba(184, 243, 106, 0.3);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(184, 243, 106, 0.15);
}

.justix-brand__name {
  font-family: var(--fonte-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  display: block;
}

.justix-brand__tag {
  font-size: 0.7rem;
  color: var(--texto-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.justix-sidebar__nav {
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
}

.sidebar-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texto-3);
  padding: 0 10px 8px;
}

.justix-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--raio);
  color: var(--texto-2);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.justix-nav-item:hover {
  background: var(--superficie-2);
  color: var(--texto);
  border-color: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.justix-nav-item.ativa {
  background: rgba(184, 243, 106, 0.12);
  border-color: rgba(184, 243, 106, 0.4);
  color: var(--texto);
  box-shadow: 0 0 15px rgba(184, 243, 106, 0.08);
}

.justix-nav-item.ativa .justix-nav-title {
  color: var(--marca);
  font-weight: 800;
}

.justix-nav-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.justix-nav-text {
  display: flex;
  flex-direction: column;
}

.justix-nav-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--texto);
}

.justix-nav-desc {
  font-size: 0.68rem;
  color: var(--texto-3);
}

.justix-sidebar__footer {
  padding: 16px;
  border-top: 1px solid var(--borda);
  background: rgba(10, 10, 15, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.justix-user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.justix-user-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marca);
  box-shadow: 0 0 8px var(--marca);
  flex-shrink: 0;
}

.justix-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.justix-user-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--texto);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.justix-user-role {
  font-size: 0.65rem;
  color: var(--marca);
  font-weight: 600;
}

.btn--sair-sidebar {
  padding: 4px 8px;
  font-size: 0.72rem;
  background: var(--superficie-2);
  border: 1px solid var(--borda);
  color: var(--texto-3);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--sair-sidebar:hover {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.1);
}

/* ─── Área de Conteúdo Principal ─── */
.justix-main {
  flex: 1;
  max-width: 1280px;
  padding: 28px 32px 80px;
  overflow-y: auto;
}

/* ─── Cartões e Painéis ─── */
.cartao {
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cartao__titulo {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cartao__ajuda {
  font-size: 0.8rem;
  color: var(--texto-3);
  margin-bottom: 18px;
}

.secao-titulo {
  font-family: var(--fonte-display);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--texto);
}

.secao-ajuda {
  color: var(--texto-3);
  font-size: 0.86rem;
  margin-bottom: 20px;
}

/* ─── Formulários & Campos ─── */
.campo { margin-bottom: 14px; }
.campo label {
  display: block; font-size: 0.74rem; font-weight: 600;
  color: var(--texto-2); margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.campo input, .campo select, .campo textarea, .entrada {
  width: 100%; padding: 10px 12px;
  background: var(--superficie-2);
  border: 1px solid var(--borda-forte);
  border-radius: var(--raio);
  color: var(--texto);
  transition: border-color 0.2s ease;
}
.campo input:focus, .campo select:focus, .entrada:focus {
  outline: none; border-color: var(--marca);
  box-shadow: 0 0 10px rgba(184, 243, 106, 0.2);
}
.linha-campos { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.linha-campos .campo { flex: 1; min-width: 150px; margin-bottom: 0; }

.btn {
  padding: 10px 18px; border-radius: var(--raio);
  border: 1px solid var(--borda-forte); background: var(--superficie-2);
  color: var(--texto); cursor: pointer; font-weight: 600; font-size: 0.86rem;
  white-space: nowrap; transition: all 0.2s ease;
}
.btn:hover:not(:disabled) { background: var(--superficie-3); border-color: rgba(255,255,255,0.25); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn--principal {
  background: var(--marca); color: var(--marca-escura);
  border-color: var(--marca); font-weight: 700;
}
.btn--principal:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.btn--perigo { border-color: var(--injusto-muito); color: var(--injusto-muito); }
.btn--perigo:hover:not(:disabled) { background: rgba(239, 68, 68, 0.15); }
.btn--pequeno { padding: 6px 12px; font-size: 0.78rem; }

/* ─── Avisos ─── */
.aviso {
  padding: 12px 16px; border-radius: var(--raio);
  font-size: 0.84rem; margin-bottom: 16px;
  border-left: 3px solid var(--texto-3); background: var(--superficie-2);
}
.aviso--erro   { border-left-color: var(--injusto-muito); color: #ffb3b3; background: rgba(239, 68, 68, 0.1); }
.aviso--ok     { border-left-color: var(--justo-muito); color: #a8e6a8; background: rgba(16, 185, 129, 0.1); }
.aviso--atencao{ border-left-color: var(--justo); color: #ffe2a3; background: rgba(245, 158, 11, 0.1); }
.escondido { display: none !important; }

/* Remove spin buttons de inputs numéricos */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/* ─── Tabelas de Dados ─── */
.tabela-caixa { overflow-x: auto; border-radius: 8px; border: 1px solid var(--borda); }
table.dados { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
table.dados th {
  text-align: left; padding: 10px 12px;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--texto-3); border-bottom: 1px solid var(--borda);
  background: var(--superficie-2);
  font-weight: 600; white-space: nowrap;
}
table.dados td {
  padding: 8px 10px; border-bottom: 1px solid var(--borda);
  vertical-align: middle;
}
table.dados tbody tr:hover { background: var(--superficie-2); }

/* Inputs dentro de tabelas */
table.dados .entrada {
  padding: 7px 8px;
  font-size: 0.88rem;
  border-radius: 6px;
  background: var(--superficie-2);
  border: 1px solid var(--borda-forte);
  color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

table.dados .entrada-gols {
  width: 58px;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  font-family: var(--fonte-num);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
table.dados .entrada-gols:focus {
  border-color: var(--marca);
  background: rgba(184, 243, 106, 0.12);
  box-shadow: 0 0 10px rgba(184, 243, 106, 0.25);
}

table.dados .entrada-xg {
  width: 76px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--fonte-num);
  color: #ffffff;
}
table.dados .entrada-time {
  min-width: 130px;
  font-weight: 600;
}

.num { font-family: var(--fonte-num); font-variant-numeric: tabular-nums; text-align: center; }
.centro { text-align: center; }

/* ─── Selo do Índice Justix ─── */
.selo {
  display: inline-block; min-width: 54px; text-align: center;
  padding: 3px 9px; border-radius: 4px;
  font-family: var(--fonte-num); font-weight: 700; font-size: 0.85rem;
  color: #0b0b0b;
}
.selo--0 { background: var(--justo-muito);   color: #fff; }
.selo--1 { background: var(--justo); }
.selo--2 { background: var(--injusto); color: #fff; }
.selo--3 { background: var(--injusto-muito); color: #fff; }
.selo--vazio { background: var(--superficie-3); color: var(--texto-3); }

.faixa-legenda {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 0.72rem; color: var(--texto-3); margin-top: 12px;
}
.faixa-legenda span { display: flex; align-items: center; gap: 5px; }
.faixa-legenda i { width: 11px; height: 11px; border-radius: 2px; display: inline-block; }

.etiqueta {
  font-size: 0.68rem; padding: 2px 7px; border-radius: 3px;
  background: var(--superficie-3); color: var(--texto-2); white-space: nowrap;
}
.etiqueta--alerta { background: #4a2c00; color: #ffd280; }
.etiqueta--auto   { background: #0b2d17; color: #8fe0a8; }

/* ─── Números Grandes & Estatísticas ─── */
.painel-numeros {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px; margin-bottom: 20px;
}
.numero-caixa {
  background: var(--superficie); border: 1px solid var(--borda);
  border-radius: 10px; padding: 18px;
}
.numero-caixa__rotulo {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--texto-3); margin-bottom: 6px;
}
.numero-caixa__valor {
  font-family: var(--fonte-num); font-size: 2rem; font-weight: 700;
  line-height: 1;
}
.numero-caixa__nota { font-size: 0.74rem; color: var(--texto-3); margin-top: 6px; }

/* ─── Importação de Jogos ─── */
.liga-bloco {
  border: 1px solid var(--borda); border-radius: 8px;
  margin-bottom: 12px; overflow: hidden;
}
.liga-cabecalho {
  background: var(--superficie-2); padding: 11px 16px;
  display: flex; align-items: center; gap: 10px; cursor: pointer;
}
.liga-cabecalho:hover { background: var(--superficie-3); }
.liga-nome { font-weight: 600; font-size: 0.88rem; flex: 1; }
.liga-contagem { font-size: 0.76rem; color: var(--texto-3); }
.liga-jogos { padding: 4px 0; }
.jogo-linha {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px; font-size: 0.85rem;
}
.jogo-linha:hover { background: var(--superficie-2); }
.jogo-linha input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--marca); cursor: pointer; }
.jogo-times { flex: 1; }
.jogo-placar {
  font-family: var(--fonte-num); font-weight: 700;
  background: var(--superficie-3); padding: 2px 9px; border-radius: 4px;
}

/* ─── Gráficos e Relatórios ─── */
.grafico-caixa { position: relative; height: 320px; }
.legenda-series {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 0.8rem; margin-bottom: 12px;
}
.legenda-series span { display: flex; align-items: center; gap: 6px; color: var(--texto-2); }
.legenda-series i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.relatorio-barra {
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: flex-end; margin-bottom: 20px;
}
.palco {
  background: var(--superficie-2); border: 1px solid var(--borda);
  border-radius: 10px; padding: 24px;
  display: flex; justify-content: center; overflow: auto;
}

/* Card de Exportação PNG */
.card-rodada {
  width: 680px; background: #0f1424; color: #fff;
  font-family: var(--fonte); padding: 0 0 22px;
  border-radius: 8px; overflow: hidden;
}
.card-rodada__topo {
  background: #151b30; padding: 22px 24px 18px; text-align: center;
  border-bottom: 3px solid var(--marca);
}
.card-rodada__competicao {
  font-size: 1.5rem; font-weight: 900; letter-spacing: 0.02em; color: var(--marca);
}
.card-rodada__rodada { font-size: 1rem; font-weight: 700; margin-top: 2px; }
.card-rodada__data { font-size: 0.74rem; color: #9aa3bd; margin-top: 4px; }
.card-rodada table { width: 100%; border-collapse: collapse; }
.card-rodada th {
  background: #1d2540; color: var(--marca);
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 9px 8px; text-align: center;
}
.card-rodada td { padding: 9px 8px; font-size: 0.83rem; border-bottom: 1px solid #202844; }
.card-rodada .time-casa  { text-align: right; font-weight: 700; }
.card-rodada .time-fora  { text-align: left;  font-weight: 700; }
.card-rodada .xg { text-align: center; font-family: var(--fonte-num); color: #b9c2d9; font-size: 0.78rem; }
.card-rodada .placar {
  text-align: center; font-family: var(--fonte-num); font-weight: 700;
  background: #232c4c; color: #fff;
}
.card-rodada .indice {
  text-align: center; font-family: var(--fonte-num); font-weight: 800;
  font-size: 1rem; color: #0b0b0b; width: 78px;
}
.card-rodada .cv {
  text-align: center; font-family: var(--fonte-num); font-weight: 700;
  font-size: 0.86rem; color: #e2e8f0; width: 60px;
}
.card-rodada .linha-media td {
  background: var(--marca); color: var(--marca-escura);
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 4px 8px; text-align: center;
}
.card-rodada__rodape {
  padding: 14px 24px 0; display: flex; justify-content: space-between;
  font-size: 0.7rem; color: #7f88a3;
}

.card-top5 {
  width: 900px; background: #000; color: #fff; padding: 34px 40px 30px;
  font-family: var(--fonte); border-radius: 8px;
}
.card-top5__titulo {
  font-size: 3rem; font-weight: 900; text-align: center; letter-spacing: 0.03em;
}
.card-top5__sub {
  text-align: center; font-size: 1.05rem; font-weight: 600;
  color: var(--texto-2); margin-top: 2px; margin-bottom: 24px;
}
.card-top5 table { width: 100%; border-collapse: collapse; }
.card-top5 th {
  background: var(--marca); color: var(--marca-escura);
  font-size: 1rem; font-weight: 900; padding: 12px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.card-top5 td {
  padding: 14px 12px; border-bottom: 1px solid #2a2a2a; font-size: 1.15rem;
}
.card-top5 .jogo { font-weight: 600; }
.card-top5 .valor {
  text-align: center; font-family: var(--fonte-num);
  font-size: 1.9rem; font-weight: 800; width: 150px;
}
.card-top5 .cv {
  text-align: center; font-family: var(--fonte-num);
  font-size: 1.4rem; font-weight: 700; color: #c3c2b7; width: 110px;
}
.card-top5 .deveria { text-align: center; font-weight: 700; font-size: 1rem; width: 190px; }
.card-top5__rodape { margin-top: 18px; text-align: right; font-size: 0.72rem; color: #6b6b6b; }

.card-grafico {
  width: 900px; background: #000; color: #fff; padding: 30px 36px;
  font-family: var(--fonte); border-radius: 8px;
}

/* ════════════ RESPONSIVIDADE ════════════ */
@media (max-width: 960px) {
  .justix-layout {
    flex-direction: column;
  }
  .justix-sidebar {
    width: 100%;
    min-width: 100%;
    height: auto;
    position: relative;
    top: 0;
    border-right: none;
    border-bottom: 1px solid var(--borda);
  }
  .justix-sidebar__nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 10px 14px;
    gap: 8px;
  }
  .sidebar-section-label { display: none; }
  .justix-nav-item {
    width: auto;
    padding: 8px 12px;
    white-space: nowrap;
  }
  .justix-nav-desc { display: none; }
  .justix-sidebar__footer {
    display: none;
  }
  .justix-main {
    padding: 20px 16px 60px;
  }
}

@media (max-width: 768px) {
  .l-top-bar__socials { display: none; }
  .l-nav__links { display: none; }
  .l-nav__toggle { display: block; }
  .l-nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  }
}
