/**
 * CIREF - Variables CSS Globales
 * Centralise toutes les couleurs, espacements et autres valeurs réutilisables
 */

:root {
    /* ===== COULEURS PRIMAIRES ===== */
    --color-primary-green: #27ae60;
    --color-primary-green-light: #2ecc71;
    --color-primary-green-dark: #229954;
    --color-primary-blue: #1e3a8a;
    --color-primary-blue-light: #3b82f6;
    --color-primary-blue-dark: #1e2761;

    /* ===== COULEURS SECONDAIRES ===== */
    --color-dark-slate: #1e293b;
    --color-slate: #334155;
    --color-slate-light: #475569;
    --color-dark-gray: #40528f;
    --color-medium-gray: #313746;

    /* ===== COULEURS NEUTRES ===== */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-light-bg: #f8fafc;
    --color-light-gray: #f8f9fa;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* ===== COULEURS DE TEXTE ===== */
    --color-text-primary: #1e293b;
    --color-text-secondary: #64748b;
    --color-text-tertiary: #94a3b8;
    --color-text-light: #cbd5e0;
    --color-text-white: #ffffff;

    /* ===== COULEURS D'ÉTAT ===== */
    --color-success: #27ae60;
    --color-success-light: #d1fae5;
    --color-success-dark: #065f46;
    --color-error: #dc2626;
    --color-error-light: #fef2f2;
    --color-error-dark: #b91c1c;
    --color-warning: #f59e0b;
    --color-warning-light: #fef3c7;
    --color-warning-dark: #92400e;
    --color-info: #3b82f6;
    --color-info-light: #dbeafe;
    --color-info-dark: #1e40af;

    /* ===== COULEURS DE BORDURE ===== */
    --color-border-light: #e2e8f0;
    --color-border-medium: #cbd5e1;
    --color-border-dark: #94a3b8;
    --color-border-green: #86efac;
    --color-border-error: #fca5a5;

    /* ===== COULEURS DE FOND ===== */
    --bg-success: #f0fdf4;
    --bg-error: #fef2f2;
    --bg-warning: #fef3c7;
    --bg-info: #dbeafe;
    --bg-light: #f8fafc;
    --bg-gray: #f3f4f6;

    /* ===== GRADIENTS ===== */
    --gradient-green: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    --gradient-green-dark: linear-gradient(135deg, #229954 0%, #27ae60 100%);
    --gradient-blue: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-dark-blue: linear-gradient(135deg, #40528f 0%, #313746 100%);
    --gradient-hero: linear-gradient(135deg, #40528f 0%, #313746 100%);

    /* ===== TYPOGRAPHIE ===== */
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Poppins', sans-serif;

    /* Tailles de police */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */

    /* Poids de police */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Hauteur de ligne */
    --leading-tight: 1.1;
    --leading-snug: 1.2;
    --leading-normal: 1.3;
    --leading-relaxed: 1.6;
    --leading-loose: 1.8;

    /* ===== ESPACEMENTS ===== */
    --space-0: 0;
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-14: 3.5rem;      /* 56px */
    --space-16: 4rem;        /* 64px */
    --space-18: 4.5rem;      /* 72px */
    --space-20: 5rem;        /* 80px */
    --space-24: 6rem;        /* 96px */
    --space-28: 7rem;        /* 112px */
    --space-32: 8rem;        /* 128px */

    /* ===== BORDER RADIUS ===== */
    --radius-none: 0;
    --radius-sm: 0.25rem;    /* 4px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.25rem;   /* 20px */
    --radius-3xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;

    /* ===== OMBRES ===== */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-green: 0 10px 30px rgba(39, 174, 96, 0.3);
    --shadow-green-lg: 0 15px 40px rgba(39, 174, 96, 0.4);

    /* ===== TRANSITIONS ===== */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* ===== LARGEURS MAX ===== */
    --container-xs: 480px;
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1400px;
    --container-3xl: 1600px;

    /* ===== Z-INDEX ===== */
    --z-dropdown: 1000;
    --z-sticky: 1001;
    --z-fixed: 1002;
    --z-modal-backdrop: 1003;
    --z-modal: 1004;
    --z-popover: 1005;
    --z-tooltip: 1006;
}
