/**
 * THROW CONSULTORIA EM LEILÕES
 * CSS Custom Properties & Variables
 * Based on official brand guide by Caroline Almeida
 */

:root {
  /* =================================== */
  /* 1. CORE BRAND COLORS               */
  /* =================================== */

  /* Main Brand Colors */
  --throw-dark: #1F2424;           /* Primary dark - text, backgrounds */
  --throw-turquoise: #6FBDB1;      /* Primary turquoise - accents, icons */
  --throw-cream: #FFFDEE;          /* Secondary - backgrounds, contrast */
  --throw-white: #FFFFFF;          /* Pure white - text on dark */

  /* Gradient Colors (extracted from logo SVG) */
  --throw-gradient-light: #7ECDC3; /* Gradient start - light turquoise */
  --throw-gradient-mid-1: #79C1B8; /* Gradient step 1 */
  --throw-gradient-mid-2: #6DACA3; /* Gradient step 2 */
  --throw-gradient-mid-3: #5C8E86; /* Gradient step 3 */
  --throw-gradient-mid-4: #456A63; /* Gradient step 4 */
  --throw-gradient-dark: #35554F;  /* Gradient end - dark teal */

  /* Gradient Definitions */
  --throw-gradient-primary: linear-gradient(135deg, #7ECDC3 0%, #35554F 100%);
  --throw-gradient-hover: linear-gradient(135deg, #8ED7CD 0%, #3F645C 100%);
  --throw-gradient-subtle: linear-gradient(135deg, rgba(126, 205, 195, 0.1) 0%, rgba(53, 85, 79, 0.1) 100%);
  --throw-gradient-radial: radial-gradient(circle, #7ECDC3 0%, transparent 70%);

  /* Semantic Colors */
  --throw-success: #6FBDB1;
  --throw-error: #E74C3C;
  --throw-warning: #F39C12;
  --throw-info: #3498DB;

  /* Neutral Grays */
  --throw-gray-100: #F8F9FA;
  --throw-gray-200: #E9ECEF;
  --throw-gray-300: #DEE2E6;
  --throw-gray-400: #CED4DA;
  --throw-gray-500: #ADB5BD;
  --throw-gray-600: #6C757D;
  --throw-gray-700: #495057;
  --throw-gray-800: #343A40;
  --throw-gray-900: #212529;

  /* =================================== */
  /* 2. TYPOGRAPHY                      */
  /* =================================== */

  /* Font Family */
  --font-family-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font Sizes (Fluid Typography) */
  --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);     /* 12-14px */
  --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);       /* 14-16px */
  --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);     /* 16-18px */
  --font-size-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);       /* 18-24px */
  --font-size-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);             /* 24-32px */
  --font-size-2xl: clamp(2rem, 1.6rem + 2vw, 2.75rem);           /* 32-44px */
  --font-size-3xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);          /* 40-56px */
  --font-size-4xl: clamp(3.5rem, 3rem + 2.5vw, 5rem);            /* 56-80px */

  /* Line Heights */
  --line-height-tight: 1.1;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  /* Letter Spacing */
  --letter-spacing-tight: -0.03em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;

  /* =================================== */
  /* 3. SPACING                         */
  /* =================================== */

  --space-xs: 0.25rem;  /* 4px */
  --space-sm: 0.5rem;   /* 8px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4rem;    /* 64px */
  --space-4xl: 6rem;    /* 96px */

  /* =================================== */
  /* 4. BREAKPOINTS                     */
  /* =================================== */

  --breakpoint-xs: 475px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* =================================== */
  /* 5. BORDERS & RADIUS                */
  /* =================================== */

  --border-radius-sm: 0.25rem;   /* 4px */
  --border-radius-md: 0.5rem;    /* 8px */
  --border-radius-lg: 0.75rem;   /* 12px */
  --border-radius-xl: 1rem;      /* 16px */
  --border-radius-2xl: 1.25rem;  /* 20px */
  --border-radius-full: 9999px;  /* Pills */

  /* =================================== */
  /* 6. SHADOWS                         */
  /* =================================== */

  --shadow-sm: 0 1px 3px rgba(31, 36, 36, 0.12);
  --shadow-md: 0 4px 6px rgba(31, 36, 36, 0.15);
  --shadow-lg: 0 10px 15px rgba(31, 36, 36, 0.2);
  --shadow-xl: 0 20px 30px rgba(31, 36, 36, 0.25);
  --shadow-2xl: 0 25px 50px rgba(31, 36, 36, 0.3);
  --shadow-turquoise: 0 10px 30px rgba(111, 189, 177, 0.3);
  --shadow-turquoise-lg: 0 20px 60px rgba(111, 189, 177, 0.15);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.05);

  /* =================================== */
  /* 7. TRANSITIONS                     */
  /* =================================== */

  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* =================================== */
  /* 8. Z-INDEX SCALE                   */
  /* =================================== */

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-notification: 800;
  --z-max: 999;

  /* =================================== */
  /* 9. CONTAINER WIDTHS                */
  /* =================================== */

  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1400px;
}

/* =================================== */
/* DARK MODE SUPPORT (Future)          */
/* =================================== */
@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode adjustments can go here */
  }
}

/* =================================== */
/* PRINT STYLES                       */
/* =================================== */
@media print {
  :root {
    --throw-dark: #000000;
    --throw-turquoise: #333333;
  }
}