/* ============================================
   DECOR PREMIUM CRM — Design Tokens v2.0
   Premium Glassmorphism + Micro-animations
   ============================================ */

:root {
  /* ── Brand Colors ── */
  --color-gold: #C6A96C;
  --color-gold-light: #D4BC8A;
  --color-gold-dark: #A88B4A;
  --color-gold-glow: rgba(198, 169, 108, 0.15);
  --color-gold-intense: rgba(198, 169, 108, 0.35);

  /* ── Neutrals (Dark Theme) ── */
  --color-bg-primary: #0B0D14;
  --color-bg-secondary: #10131C;
  --color-bg-tertiary: #161A28;
  --color-bg-card: #181C2A;
  --color-bg-card-hover: #1F2438;
  --color-bg-input: #0E1019;
  --color-bg-modal-overlay: rgba(0, 0, 0, 0.7);

  /* ── Glassmorphism ── */
  --glass-bg: rgba(22, 26, 40, 0.65);
  --glass-bg-light: rgba(30, 35, 55, 0.5);
  --glass-bg-heavy: rgba(16, 19, 28, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.14);
  --glass-blur: blur(16px);
  --glass-blur-heavy: blur(24px);

  /* ── Text ── */
  --color-text-primary: #F0ECE3;
  --color-text-secondary: #A0A0B0;
  --color-text-muted: #6B6B7B;
  --color-text-inverse: #0F1117;

  /* ── Semantic ── */
  --color-success: #34D399;
  --color-success-bg: rgba(52, 211, 153, 0.12);
  --color-warning: #FBBF24;
  --color-warning-bg: rgba(251, 191, 36, 0.12);
  --color-danger: #F87171;
  --color-danger-bg: rgba(248, 113, 113, 0.12);
  --color-info: #60A5FA;
  --color-info-bg: rgba(96, 165, 250, 0.12);

  /* ── Pipeline Stage Colors ── */
  --stage-lead: #60A5FA;
  --stage-visita: #A78BFA;
  --stage-orcamento: #FBBF24;
  --stage-followup: #FB923C;
  --stage-negociacao: #F472B6;
  --stage-venda: #34D399;
  --stage-posvenda: #2DD4BF;

  /* ── Typography ── */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.7rem;
  --text-sm: 0.8rem;
  --text-base: 0.9rem;
  --text-md: 1rem;
  --text-lg: 1.15rem;
  --text-xl: 1.35rem;
  --text-2xl: 1.65rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ── Spacing ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* ── Border Radius ── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(198, 169, 108, 0.25), 0 0 60px rgba(198, 169, 108, 0.1);
  --shadow-glow-sm: 0 0 10px rgba(198, 169, 108, 0.15);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(198, 169, 108, 0.1);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 600ms cubic-bezier(0.22, 1, 0.36, 1);

  /* ── Stagger Delays ── */
  --stagger-1: 50ms;
  --stagger-2: 100ms;
  --stagger-3: 150ms;
  --stagger-4: 200ms;
  --stagger-5: 250ms;
  --stagger-6: 300ms;
  --stagger-7: 350ms;

  /* ── Layout ── */
  --sidebar-width: 230px;
  --sidebar-collapsed: 60px;
  --header-height: 0px;
  --modal-width: 640px;
  --modal-width-lg: 820px;

  /* ── Z-index ── */
  --z-bg: -1;
  --z-sidebar: 100;
  --z-header: 90;
  --z-modal-overlay: 200;
  --z-modal: 210;
  --z-toast: 300;
  --z-tooltip: 250;
}