/**
 * ========================================
 * DESIGN SYSTEM - VARIABLES GLOBAIS
 * Paleta de cores, espaçamento, tipografia
 * ========================================
 */

:root {
    /* ===== DARK THEME PRIMARY PALETTE ===== */
    --color-dark-primary: #1f2937;
    --color-dark-secondary: #374151;
    --color-dark-tertiary: #4b5563;
    
    /* ===== LIGHT THEME PALETTE (Página Pública) ===== */
    --color-light-purple: #e9c3fa;
    --color-light-secondary: #C8A2C8;
    --color-light-bg: #F5F5F5;
    --color-light-purple-dark: #5D3E8B;
    
    /* ===== TEXT COLORS ===== */
    --color-text-white: #ffffff;
    --color-text-light: #ececf1;
    --color-text-muted: #8e8ea0;
    --color-text-dark: #1f2937;
    --color-text-gray: #9ca3af;
    --color-text-gray-light: #6b7280;
    
    /* ===== ACCENT COLORS ===== */
    --color-accent-primary: #9e0dbb;
    --color-accent-blue: #3b82f6;
    --color-accent-green: #10b981;
    --color-accent-orange: #fb923c;
    --color-accent-red: #ef4444;
    
    /* ===== BORDER & SHADOW ===== */
    --color-border-light: #e5e7eb;
    --color-border-dark: #d1d5db;
    --color-border-dark-subtle: rgba(255, 255, 255, 0.06);
    --color-shadow-sm: rgba(0, 0, 0, 0.05);
    --color-shadow-md: rgba(0, 0, 0, 0.1);
    --color-shadow-lg: rgba(0, 0, 0, 0.15);
    
    /* ===== SPACING SCALE ===== */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
    
    /* ===== BORDER RADIUS ===== */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* ===== TRANSITIONS & ANIMATIONS ===== */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-ease-out: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* ===== TYPOGRAPHY ===== */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 0.95rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    
    /* ===== Z-INDEX SCALE ===== */
    --z-index-dropdown: 1020;
    --z-index-sticky: 1030;
    --z-index-sidebar: 1040;
    --z-index-sidebar-content: 1045;
    --z-index-sidebar-overlay: 1041;
    --z-index-fixed: 1050;
    --z-index-tooltip: 1080;
    --z-index-modal: 1100;
    
    /* ===== SAFE MARGINS & BREAKPOINTS ===== */
    --safe-margin-lr: 1.5rem;
    --bp-mobile: 480px;
    --bp-tablet: 768px;
    --bp-desktop: 1024px;
}

@media (max-width: 767.98px) {
    :root {
        --safe-margin-lr: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    :root {
        --safe-margin-lr: 1.5rem;
    }
}
