/**
 * Design tokens — Castro Suporte SaaS (Fase 1)
 * Marca: navy + azul corporativo. Vermelho/amarelo/verde só semânticos.
 */
:root {
  /* Marca */
  --brand-950: #0c1929;
  --brand-900: #0f2744;
  --brand-850: #132f52;
  --brand-800: #1e3a8a;
  --brand-700: #1d4ed8;
  --brand-600: #2563eb;
  --brand-500: #3b82f6;
  --brand-400: #60a5fa;
  --brand-300: #93c5fd;
  --brand-200: #bfdbfe;
  --brand-100: #dbeafe;
  --brand-50: #eff6ff;

  /* Acento = azul (ciano legado removido do papel de destaque) */
  --accent: var(--brand-600);
  --accent-soft: rgba(37, 99, 235, 0.1);

  /* Módulos — sem roxo */
  --module-ops: #2563eb;
  --module-ops-glow: rgba(37, 99, 235, 0.28);
  --module-fin: #0f766e;
  --module-fin-glow: rgba(15, 118, 110, 0.28);
  --module-cad: #1e3a8a;
  --module-cad-glow: rgba(30, 58, 138, 0.25);

  /* Superfícies */
  --surface: #ffffff;
  --surface-page: #f4f6f9;
  --surface-muted: #f4f6f9;
  --surface-subtle: #eef1f6;
  --surface-elevated: #ffffff;
  --muted: #64748b;
  --muted-soft: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Semânticas */
  --success: #059669;
  --success-bg: #ecfdf5;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --info: #2563eb;
  --info-bg: #eff6ff;

  /* Layout */
  --radius-sm: 0.5rem;
  --radius: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1rem;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 2px rgba(15, 39, 68, 0.05);
  --shadow: 0 4px 16px -4px rgba(15, 39, 68, 0.1);
  --shadow-md: 0 10px 28px -8px rgba(15, 39, 68, 0.12);
  --shadow-lg: 0 20px 40px -16px rgba(15, 39, 68, 0.16);
  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 12px 28px -10px rgba(37, 99, 235, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Sidebar */
  --sidebar-width: 264px;
  --sidebar-width-collapsed: 76px;
  --sidebar-bg: var(--brand-900);
  --sidebar-hover: rgba(255, 255, 255, 0.06);
  --sidebar-active: rgba(37, 99, 235, 0.22);
  --sidebar-accent: #60a5fa;

  /* Tipografia */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;

  /* Controles */
  --control-h: 2.25rem;
  --control-h-sm: 2rem;
}
