/* ==========================================================================
   RODOPLAN — Identidade Visual e Paleta Corporativa de Transporte Rodoviário
   ========================================================================== */
:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Paleta Clara Corporativa */
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-sidebar: #0f172a;
  --bg-sidebar-hover: #1e293b;
  --bg-sidebar-active: #0284c7;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  --text-sidebar: #cbd5e1;
  --text-sidebar-active: #ffffff;

  --border-color: #e2e8f0;
  --border-focus: #0284c7;

  --color-primary: #0284c7;       /* Azul Rodovia e Conectividade */
  --color-primary-hover: #0369a1;
  --color-secondary: #0f766e;     /* Verde Mobilidade e Sustentabilidade */
  --color-accent: #f59e0b;        /* Âmbar Sinalização Rodoviária */

  --color-success: #16a34a;
  --color-success-bg: #dcfce7;
  --color-danger: #dc2626;
  --color-danger-bg: #fee2e2;
  --color-warning: #d97706;
  --color-warning-bg: #fef3c7;
  --color-info: #0284c7;
  --color-info-bg: #e0f2fe;

  /* SWOT Cores */
  --swot-strength-bg: #f0fdf4;
  --swot-strength-border: #16a34a;
  --swot-strength-text: #166534;

  --swot-weakness-bg: #fef2f2;
  --swot-weakness-border: #dc2626;
  --swot-weakness-text: #991b1b;

  --swot-opportunity-bg: #eff6ff;
  --swot-opportunity-border: #2563eb;
  --swot-opportunity-text: #1e40af;

  --swot-threat-bg: #fffbeb;
  --swot-threat-border: #d97706;
  --swot-threat-text: #92400e;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

[data-theme="dark"] {
  --bg-app: #090d16;
  --bg-surface: #111827;
  --bg-card: #1f2937;
  --bg-sidebar: #0b0f19;
  --bg-sidebar-hover: #1f2937;
  --bg-sidebar-active: #2563eb;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-inverse: #0f172a;
  --text-sidebar: #94a3b8;
  --text-sidebar-active: #ffffff;

  --border-color: #374151;
  --border-focus: #60a5fa;

  --color-primary: #3b82f6;
  --color-primary-hover: #60a5fa;

  --swot-strength-bg: #064e3b;
  --swot-strength-border: #10b981;
  --swot-strength-text: #a7f3d0;

  --swot-weakness-bg: #7f1d1d;
  --swot-weakness-border: #ef4444;
  --swot-weakness-text: #fecaca;

  --swot-opportunity-bg: #1e3a8a;
  --swot-opportunity-border: #3b82f6;
  --swot-opportunity-text: #bfdbfe;

  --swot-threat-bg: #78350f;
  --swot-threat-border: #f59e0b;
  --swot-threat-text: #fde68a;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
}
