/* ============================================================
   Tokens Nortia — padrão único das ferramentas
   Ver: Ferramentas/_meta/PADRAO-FERRAMENTAS.md (seção 2)
   Este arquivo é carregado ANTES de todos os outros CSS.
   Nenhum outro arquivo deve declarar cor fora destes tokens.
   ============================================================ */

:root {
  --primary: #8B5CF6;
  --primary-dark: #7C3AED;
  --primary-light: #A78BFA;
  --primary-glow: rgba(139, 92, 246, 0.3);
  --secondary: #EC4899;
  --secondary-dark: #DB2777;
  --accent: #06B6D4;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  --bg-dark: #0B0D17;
  --bg-card: #111827;
  --bg-card-hover: #1F2937;
  --bg-input: #1F2937;

  --text-primary: #F9FAFB;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;

  --border: #374151;
  --border-focus: #8B5CF6;

  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modo claro — só os tokens mudam. Só entra em uso se a ferramenta
   entregar um alternador de tema de verdade (ver manual, seção 2). */
html[data-theme="light"] {
  --bg-dark: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-input: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
html[data-theme="light"] .logo-dark { display: none; }
html[data-theme="light"] .logo-light { display: inline-block; }
