/* ESSENZA - CSS Variables
   ============================================
   Definições de Design System em variáveis CSS
   ============================================ */

:root {
    /* ===== COLORS ===== */
    
    /* Primary Colors */
    --color-primary: #1f1a17;
    --color-primary-light: #342c27;
    --color-primary-dark: #0f0c0a;
    
    /* Accent Colors */
    --color-accent-gold: #997d48;
    --color-accent-gold-light: #d8c187;
    --color-accent-dark: #6f5528;
    --color-accent-pink: #f4e4e8;
    --color-accent-green: #b8d4b8;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-white-off: #f9f9f9;
    --color-gray-50: #f5f5f5;
    --color-gray-100: #eeeeee;
    --color-gray-200: #e8e8e8;
    --color-gray-300: #ddd;
    --color-gray-400: #bbb;
    --color-gray-500: #999999;
    --color-gray-600: #666666;
    --color-gray-700: #444;
    --color-gray-800: #333333;
    --color-gray-900: #1a1a1a;
    
    /* Functional Colors */
    --color-success: #4caf50;
    --color-warning: #ff9800;
    --color-error: #f44336;
    --color-info: #2196f3;
    
    /* Semantic */
    --color-bg-light: #ffffff;
    --color-bg-soft: #f8f5f1;
    --color-bg-dark: #1f1a17;
    --color-text-primary: #1f1a17;
    --color-text-secondary: #3c3430;
    --color-text-tertiary: #6f625b;
    --color-text-inverse: #fff8f2;
    --color-text-inverse-secondary: #f5ede7;
    --color-text-inverse-muted: #d8c8bd;
    --color-bg-primary: var(--color-bg-light);
    --color-bg-secondary: var(--color-bg-soft);
    --color-border: #d8cec5;
    --color-border-dark: #8c7f75;
    --color-overlay-dark: rgba(15, 12, 10, 0.62);
    --color-overlay-darker: rgba(15, 12, 10, 0.74);
    --color-overlay-light: rgba(255, 248, 242, 0.92);
    
    /* ===== SPACING ===== */
    --space-0: 0;
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    --space-xxxl: 64px;
    --space-2xl: var(--space-xxl);
    --space-3xl: var(--space-xxxl);
    --space-4xl: 80px;
    --space-5xl: 96px;
    
    /* ===== TYPOGRAPHY ===== */
    --font-family-primary: 'Roboto', 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-fallback: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 44px;
    --font-size-5xl: 56px;
    --font-size-6xl: 72px;
    
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    
    --line-height-tight: 1.1;
    --line-height-snug: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 1.8;
    
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0;
    
    /* ===== SHADOWS ===== */
    --shadow-none: 0 0 0 rgba(0, 0, 0, 0);
    --shadow-xs: 0px 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0px 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0px 2px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0px 4px 16px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0px 8px 32px rgba(0, 0, 0, 0.20);
    --shadow-2xl: 0px 12px 48px rgba(0, 0, 0, 0.24);
    --shadow-inner: inset 0px 2px 4px rgba(0, 0, 0, 0.06);
    
    /* ===== BORDER RADIUS ===== */
    --radius-none: 0px;
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-3xl: 24px;
    --radius-full: 9999px;
    
    /* ===== BORDERS ===== */
    --border-width-thin: 1px;
    --border-width-normal: 2px;
    --border-width-thick: 3px;
    
    /* ===== TRANSITIONS ===== */
    --duration-fast: 0.15s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;
    --duration-slower: 0.8s;
    
    --easing-linear: linear;
    --easing-ease: ease;
    --easing-in: ease-in;
    --easing-out: ease-out;
    --easing-in-out: ease-in-out;
    --easing-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --easing-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Transition shortcuts */
    --transition-fast: all 0.15s ease-out;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease-in-out;
    --transition-color: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    --transition-transform: transform 0.3s ease, opacity 0.3s ease;
    
    /* ===== Z-INDEX ===== */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* ===== BREAKPOINTS (para JS e media queries) ===== */
    --breakpoint-xs: 0px;
    --breakpoint-sm: 640px;
    --breakpoint-md: 1024px;
    --breakpoint-lg: 1440px;
    --breakpoint-xl: 1920px;
    
    /* ===== CONTAINER ===== */
    --container-width: 1200px;
    --container-padding: 32px;
    
    /* ===== OPACITY ===== */
    --opacity-0: 0;
    --opacity-10: 0.1;
    --opacity-20: 0.2;
    --opacity-30: 0.3;
    --opacity-40: 0.4;
    --opacity-50: 0.5;
    --opacity-60: 0.6;
    --opacity-70: 0.7;
    --opacity-80: 0.8;
    --opacity-90: 0.9;
    --opacity-100: 1;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Tablet */
@media (max-width: 1023px) {
    :root {
        --font-size-5xl: 44px;
        --font-size-4xl: 36px;
        --font-size-3xl: 28px;
        
        --container-width: 100%;
        --container-padding: 24px;
    }
}

/* Mobile */
@media (max-width: 639px) {
    :root {
        --font-size-5xl: 36px;
        --font-size-4xl: 28px;
        --font-size-3xl: 24px;
        --font-size-2xl: 20px;
        
        --space-xxxl: 48px;
        --space-xxl: 32px;
        --space-xl: 24px;
        --space-lg: 16px;
        
        --container-padding: 16px;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    :root {
        --font-size-6xl: 88px;
        --font-size-5xl: 72px;
        --container-width: 1400px;
    }
}
