/* ===========================================================
   iaSaúdeGov · Design Tokens
   Fonte da verdade — paleta, tipografia, spacing, shadows.
   Copie para src/styles/tokens.css no repositório principal.
   =========================================================== */

:root {
  /* === Paleta teal institucional === */
  --teal-50:  #f0f6f5;
  --teal-100: #d9e8e6;
  --teal-200: #b3d0cc;
  --teal-300: #7fb0a9;
  --teal-400: #4f8e85;
  --teal-500: #2d6e65;
  --teal-600: #1f564f;  /* primária */
  --teal-700: #18443f;
  --teal-800: #123430;
  --teal-900: #0d2623;

  /* === Neutros (slate cool) === */
  --ink-50:  #f7f8f9;
  --ink-100: #eef0f2;
  --ink-200: #dde1e6;
  --ink-300: #c3c9d0;
  --ink-400: #9ba2ac;
  --ink-500: #6b7280;
  --ink-600: #4b5563;
  --ink-700: #323842;
  --ink-800: #20242c;
  --ink-900: #12151b;

  /* === Semânticas (dessaturadas) === */
  --red-bg:     #fdf2f1;
  --red-fg:     #9b1c1c;
  --red-border: #f3c9c5;
  --red-solid:  #c0392b;

  --amber-bg:     #fdf6e3;
  --amber-fg:     #8a5a0b;
  --amber-border: #ecd9a6;
  --amber-solid:  #b97f15;

  --green-bg:     #f0f7f1;
  --green-fg:     #1f5f33;
  --green-border: #c8dfce;
  --green-solid:  #2b7a3f;

  --blue-bg:     #eff4f9;
  --blue-fg:     #1e4976;
  --blue-border: #c8d9ea;
  --blue-solid:  #2d5e94;

  /* === Sombras sutis (nunca coloridas) === */
  --shadow-sm: 0 1px 2px rgba(18,21,27,0.04), 0 0 0 1px rgba(18,21,27,0.06);
  --shadow-md: 0 2px 4px rgba(18,21,27,0.04), 0 1px 2px rgba(18,21,27,0.06), 0 0 0 1px rgba(18,21,27,0.05);
  --shadow-lg: 0 8px 24px rgba(18,21,27,0.08), 0 0 0 1px rgba(18,21,27,0.06);
  --shadow-hover: 0 6px 16px rgba(18,21,27,0.12), 0 2px 4px rgba(18,21,27,0.08);

  /* === Radii === */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;

  /* === Spacing (múltiplos de 4) === */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* === Tipografia === */
  --font-sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Menlo', monospace;
  --font-features: 'cv11', 'ss01', 'ss03';

  /* Scale (line-heights compactos) */
  --text-display: 32px;
  --text-h1: 22px;
  --text-h2: 16px;
  --text-h3: 13px;
  --text-body: 14px;
  --text-small: 12px;
  --text-micro: 11px;

  /* === Motion === */
  --ease-out: cubic-bezier(0.2, 0.7, 0.3, 1);
  --ease-bounce: cubic-bezier(0.2, 0.7, 0.3, 1.2);
  --duration-fast: 120ms;
  --duration-base: 180ms;
  --duration-slow: 280ms;

  /* === Layout === */
  --sidebar-width: 256px;
  --topbar-height: 60px;
  --container-max: 1400px;
}
