/* 
 * Variáveis CSS (Propriedades Personalizadas)
 * Define as paletas de cores, tipografia, espaçamentos e transições
 */

:root {
  /* =========================================
     CORES BÁSICAS E SEMÂNTICAS (MODO ESCURO PADRÃO)
     ========================================= */
  --bg-primary: #09090b;
  --bg-secondary: #18181b;
  --bg-tertiary: #27272a;
  
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  
  --border-color: #27272a;
  
  /* Gradientes e Acentos (Violeta -> Ciano) */
  --accent-primary: #8b5cf6;
  --accent-secondary: #06b6d4;
  --accent-glow: rgba(139, 92, 246, 0.15);
  
  --gradient-accent: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
  
  /* Cores de status */
  --error: #ef4444;
  --success: #22c55e;

  /* =========================================
     ESPAÇAMENTOS E LAYOUT
     ========================================= */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;
  
  --max-width: 1200px;
  --header-height: 5rem;
  
  /* =========================================
     TIPOGRAFIA
     ========================================= */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Grotesk', monospace;
  
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 3rem;
  --text-5xl: 4rem;

  /* =========================================
     BORDAS E SOMBRAS
     ========================================= */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px var(--accent-glow);

  /* =========================================
     ANIMAÇÕES E TRANSIÇÕES
     ========================================= */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   SOBREPOSIÇÕES DO MODO CLARO (LIGHT MODE)
   Adicionada classe .light-mode dinamicamente
   ========================================= */
:root.modo-claro {
  --bg-primary: #f5f5f7;
  --bg-secondary: #ffffff;
  --bg-tertiary: #eaeaec;
  
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a52;
  
  --border-color: rgba(0, 0, 0, 0.06);
  
  --accent-primary: #7c3aed;
  --accent-secondary: #0891b2;
  --accent-glow: rgba(124, 58, 237, 0.15);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
}
