/* GlowDesk Design Tokens — Nuit & Or Luxury Palette */

:root {
    /* Colors */
    --background: #121212;
    --surface: #1E1E1E;
    --text: #F0ECE6;
    --muted: #8A8278;
    --primary: #D4A843;
    --primary-hover: #E8C05A;
    --accent-soft: #2A2318;
    --border: #3A3530;
    --success: #4ADE80;
    --danger: #F87171;

    /* Spacing Scale */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Motion & Transitions */
    --motion-fast: 120ms;
    --motion-base: 180ms;
    --easing-standard: ease;

    /* Shadows (adapted for dark backgrounds) */
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -1px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5), 0 4px 6px -2px rgba(0,0,0,0.25);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.5), 0 10px 10px -5px rgba(0,0,0,0.25);

    /* CTA Glow */
    --glow-gold: 0 0 20px rgba(212,168,67,0.3);
    --glow-gold-hover: 0 0 30px rgba(232,192,90,0.4);

    /* Typography */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Syne', sans-serif;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;

    /* Responsive Breakpoints (Documentation & Reference variables)
       - Mobile / Portrait: < 640px
       - Tablet / Landscape: 640px - 1024px
       - Desktop: > 1024px
    */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
}

/* Style de focus accessible global pour les liens, boutons, inputs, textareas, selects et contrôles interactifs */
:focus-visible {
    outline: 3px solid var(--primary) !important;
    outline-offset: 3px !important;
}

/* Global prefers-reduced-motion reset */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}
