/* ============================================
   AKOLABS - Design System Variables
   Thème Premium : Blanc / Violet / Or
   ============================================ */

:root {
    /* === COULEURS PRINCIPALES === */
    --color-primary: #4B0082;
    --color-primary-light: #6A1B9A;
    --color-primary-dark: #35005E;
    --color-primary-rgb: 75, 0, 130;

    --color-secondary: #1A1A2E;
    --color-secondary-rgb: 26, 26, 46;

    --color-accent: #C9A84C;
    --color-accent-light: #DFC06A;
    --color-accent-dark: #A8872E;
    --color-accent-rgb: 201, 168, 76;

    /* === LIGHT THEME === */
    --color-bg: #F5F4F8;
    --color-bg-alt: #EEEDF4;
    --color-surface: #FFFFFF;
    --color-surface-alt: #FAF9FD;
    --color-border: #E2E0EC;
    --color-border-strong: #C8C4DC;

    --color-text-primary: #1A1A2E;
    --color-text-secondary: #4A4767;
    --color-text-muted: #8A87A0;
    --color-text-inverse: #FFFFFF;

    --color-dark: #1A1A2E;
    --color-gray-900: #1A1A2E;
    --color-gray-800: #2D2A45;
    --color-gray-700: #4A4767;
    --color-gray-600: #6B678A;
    --color-gray-500: #8A87A0;
    --color-gray-400: #AEABBF;
    --color-gray-300: #D1CEDF;
    --color-gray-200: #E2E0EC;
    --color-gray-100: #F0EFF7;
    --color-white: #FFFFFF;

    /* === COULEURS SÉMANTIQUES === */
    --color-success: #2E9E5B;
    --color-success-light: #E8F7EE;
    --color-error: #D93B3B;
    --color-error-light: #FDF0F0;
    --color-warning: #E8A020;
    --color-warning-light: #FEF5E7;
    --color-info: #2B7FD4;
    --color-info-light: #EBF3FD;

    /* === DÉGRADÉS === */
    --gradient-primary: linear-gradient(135deg, #4B0082 0%, #6A1B9A 100%);
    --gradient-primary-vertical: linear-gradient(180deg, #F5F4F8 0%, #EEEDF4 100%);
    --gradient-accent: linear-gradient(135deg, #C9A84C 0%, #DFC06A 100%);
    --gradient-header: linear-gradient(135deg, #4B0082 0%, #5D1494 50%, #4B0082 100%);
    --gradient-card: linear-gradient(135deg, rgba(75,0,130,0.02) 0%, rgba(201,168,76,0.02) 100%);

    /* === OMBRES === */
    --shadow-xs: 0 1px 3px rgba(75, 0, 130, 0.06);
    --shadow-sm: 0 2px 8px rgba(75, 0, 130, 0.08);
    --shadow-md: 0 4px 16px rgba(75, 0, 130, 0.10);
    --shadow-lg: 0 8px 32px rgba(75, 0, 130, 0.12);
    --shadow-xl: 0 16px 48px rgba(75, 0, 130, 0.15);
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.25);
    --shadow-purple: 0 4px 20px rgba(75, 0, 130, 0.25);

    /* === CARDS === */
    --card-bg: #FFFFFF;
    --card-border: rgba(75, 0, 130, 0.08);
    --card-shadow: 0 2px 12px rgba(75, 0, 130, 0.08);
    --card-shadow-hover: 0 8px 24px rgba(75, 0, 130, 0.14);

    /* === GLASSMORPHISM (sur fond violet header/nav) === */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-bg-strong: rgba(255, 255, 255, 0.20);
    --glass-border: rgba(255, 255, 255, 0.20);
    --glass-border-strong: rgba(201, 168, 76, 0.40);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.20);
    --glass-blur: blur(12px);

    /* === TYPOGRAPHIE === */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Poppins', sans-serif;

    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-base: 0.875rem;
    --text-md: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;

    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* === ESPACEMENT === */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 0.75rem;
    --space-base: 1rem;
    --space-lg: 1.25rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
    --space-4xl: 3rem;

    /* === BORDER RADIUS === */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;
    --radius-full: 9999px;

    /* === LAYOUT === */
    --header-height: 60px;
    --bottom-nav-height: 65px;
    --content-max-width: 480px;

    /* === TRANSITIONS === */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* === Z-INDEX === */
    --z-base: 1;
    --z-header: 100;
    --z-bottom-nav: 100;
    --z-modal-backdrop: 200;
    --z-modal: 300;
    --z-toast: 400;
    --z-splash: 500;
}
