/* ============================================================
   INFOWAY — FONTE NÍTIDA (v1)
   Carregar POR ÚLTIMO no <head>. Corrige texto "craquelado":
   suavização padrão do navegador, pesos mais grossos e números
   com algarismos alinhados.
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;600;700;800&display=swap");

*, *::before, *::after {
  -webkit-font-smoothing: auto !important;
  -moz-osx-font-smoothing: auto !important;
}

html { text-rendering: optimizeLegibility; -webkit-text-size-adjust: 100%; }

body, button, input, select, textarea, table {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-kerning: normal;
}
body { font-weight: 500; }

/* Remove o que costuma borrar o texto (camadas de GPU em cima do texto) */
.kpi-card, .chart-card, .table-card, .filters-card, .resultado-card, .picker-box, .insight-box {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

/* ---------- NÚMEROS: grossos e firmes ---------- */
.kpi-number, #donutTotal, .total-badge, .ranking-total, .legend-value,
.resumo-card .valor, .resultado-card .total, .cat-item strong, .stat .num,
.posicao, .dia-total, .rev-dias, .rev-badge, .rev-count,
#totalOS, #totalInstalacao, #totalCorretiva, #totalMudanca, #totalSemAcesso,
#updateTime, td:not(:first-child), .num, .valor, .total {
  font-weight: 800 !important;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  -webkit-text-stroke: 0.25px currentColor;
}

/* Números grandes dos cards */
.kpi-number, .resultado-card .total { font-weight: 900 !important; -webkit-text-stroke: 0.4px currentColor; }

/* Nome do técnico no card (texto, não número) */
.kpi-number.rev-nome-tecnico { font-weight: 800 !important; -webkit-text-stroke: 0; font-variant-numeric: normal; font-feature-settings: normal; }

/* ---------- RÓTULOS / TÍTULOS ---------- */
.kpi-header span, .section-label, label, th, .filter-title span,
.rev-label, .total-label, .titulo, .brand-tag {
  font-weight: 700 !important;
  letter-spacing: .06em;
}
h1, h2, h3, header h1 { font-weight: 800 !important; }

/* ---------- TEXTO CORRIDO / TABELAS ---------- */
td, .rev-valor, .cat-item span, .legend-name, .nome, p, small { font-weight: 600; }
td:first-child { font-weight: 700; }
p { font-weight: 500; }
button, .btn-primario, .atalho-btn, .voltar, a.voltar { font-weight: 700 !important; }
input, select, textarea { font-weight: 600; }

/* ---------- Texto pequeno ficava fino demais ---------- */
small, .rev-dica, .rev-tratado-meta { font-size: max(11px, 1em); }
