/* ============================================================
   IZZAT CRM — SF Pro Typography (Apple HIG)
   ============================================================
   Estratégia: usar -apple-system stack que automaticamente entrega:
   - macOS / iOS: SF Pro Text/Display nativo
   - Linux/Windows: fallback BlinkMacSystemFont, system-ui, Inter

   SF Pro só é licenciado pra apps Apple (não web hosting). Se você
   tem o SF-Pro.dmg, pode extrair e hospedar localmente PARA USO INTERNO,
   mas não distribuir publicamente.

   Para hospedar localmente:
   1. Monte SF-Pro.dmg
   2. Copie *.otf de Library/Fonts pra public/fonts/
   3. Descomente o @font-face abaixo
   ============================================================ */

/* @font-face {
  font-family: 'SF Pro Text';
  src: url('/fonts/SF-Pro-Text-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Text';
  src: url('/fonts/SF-Pro-Text-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Text';
  src: url('/fonts/SF-Pro-Text-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Text';
  src: url('/fonts/SF-Pro-Text-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('/fonts/SF-Pro-Display-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Display';
  src: url('/fonts/SF-Pro-Display-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
} */

/* ─── Type scale Apple HIG ──────────────────────────── */
.text-large-title {
  font-family: -apple-system, "SF Pro Display", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 34px; font-weight: 700; line-height: 41px;
  letter-spacing: -0.022em;
}
.text-title-1 {
  font-family: -apple-system, "SF Pro Display", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 28px; font-weight: 700; line-height: 34px;
  letter-spacing: -0.020em;
}
.text-title-2 {
  font-family: -apple-system, "SF Pro Display", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 22px; font-weight: 700; line-height: 28px;
  letter-spacing: -0.012em;
}
.text-title-3 {
  font-family: -apple-system, "SF Pro Display", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 20px; font-weight: 600; line-height: 25px;
  letter-spacing: -0.008em;
}
.text-headline {
  font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px; font-weight: 600; line-height: 22px;
  letter-spacing: -0.006em;
}
.text-body {
  font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px; font-weight: 400; line-height: 22px;
  letter-spacing: -0.006em;
}
.text-callout {
  font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px; font-weight: 400; line-height: 21px;
  letter-spacing: -0.003em;
}
.text-subhead {
  font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 15px; font-weight: 400; line-height: 20px;
  letter-spacing: -0.001em;
}
.text-footnote {
  font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13px; font-weight: 400; line-height: 18px;
  letter-spacing: 0.0;
}
.text-caption-1 {
  font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 12px; font-weight: 400; line-height: 16px;
}
.text-caption-2 {
  font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px; font-weight: 400; line-height: 13px;
}

/* SF Mono for code */
.text-mono, code, pre, kbd {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
}

/* Tabular numbers (KPIs, prices) */
.tnum, .stat-value, .stat-card__value, .mkt-kpi-value {
  font-feature-settings: "tnum" on, "ss01" on;
  font-variant-numeric: tabular-nums;
}

/* Apply SF Pro globally */
body {
  font-family: -apple-system, "SF Pro Text", BlinkMacSystemFont, system-ui, "Inter", sans-serif;
  font-feature-settings: "ss01", "cv11";
}

h1, h2, h3, h4, .display {
  font-family: -apple-system, "SF Pro Display", BlinkMacSystemFont, system-ui, sans-serif;
  letter-spacing: -0.02em;
}
