/**
 * VARIABLES CSS POUR LE THÈME CORPORATE
 * 
 * Ce fichier centralise toutes les variables CSS utilisées 
 * dans le thème pour faciliter la personnalisation et la cohérence.
 */

:root {
    /* Palette de couleurs principale */
    --color-background: #F5F5F5;
    --color-surface: #FFFFFF;
    --color-container: #EFEFEF;
    --color-header: #000000;
    --color-header-lighter: #a3ab9b;
    --color-footer: #2F2F33;
    --color-nav: #4A4A52;

    /* Couleurs d'accent et de bordure */
    --color-border: #D8D8DC;
    --color-primary: #68a178;
    --color-primary-hover: #BFB5A8;
    --color-accent: #C9BFB3;
    --color-highlight: #DCD2C6;

    /* Couleurs de texte */
    --color-text-primary: #282e29;
    --color-text-primary-light: #68a178;
    --color-text-primary-white: #ffffff;
    --color-text-secondary: #000000;
    --color-text-secondary-light: #ffffff;
    --color-text-light: #ecf8f0;
    --color-text-light-2: #bdbdbd;
    --color-text-muted: #bdbdbd;

    /* Couleurs de statut */
    --color-success: #A3AB9B;
    --color-warning: #C7B299;
    --color-error: #B79C98;
    --color-info: #9BAAB5;
    --color-valid: #68A178;
    --color-expiring-soon: #C7B299;
    --color-expired: #B79C98;

    /* Couleurs d'ombre */
    --color-shadow: rgba(0, 0, 0, 0.08);
    --color-shadow-dark: rgba(0, 0, 0, 0.15);

    /* Espacements standards */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;

    /* Bordures et rayons */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-sm: 4px;
    --border-width: 1px;
    --border-style: solid;

    /* Ombres */
    --box-shadow: 0 4px 20px var(--color-shadow);
    --box-shadow-sm: 0 2px 8px var(--color-shadow);
    --box-shadow-lg: 0 8px 30px var(--color-shadow-dark);
    --box-shadow-inner: inset 0 1px 3px var(--color-shadow);

    /* Typographie */
    --font-family: 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-md: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-xxl: 1.5rem;
    /* 24px */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-loose: 1.75;

    /* Dimensions des conteneurs */
    --container-max-width: 1200px;
    --container-narrow-width: 800px;
    --form-max-width: 600px;
    --form-field-height: 44px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index layers */
    --z-index-dropdown: 100;
    --z-index-sticky: 200;
    --z-index-fixed: 300;
    --z-index-modal-backdrop: 400;
    --z-index-modal: 500;
    --z-index-popover: 600;
    --z-index-tooltip: 700;

    /* Breakpoints */
    --breakpoint-xs: 480px;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;

    /* Animations */
    --animation-duration-short: 150ms;
    --animation-duration-normal: 300ms;
    --animation-duration-long: 500ms;
    --animation-timing-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --animation-timing-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Effets luxe subtils */
    --luxury-border-gradient: linear-gradient(to right, transparent, var(--color-accent), transparent);
    --luxury-surface-gradient: linear-gradient(145deg, var(--color-surface), #f9f9f9);
    --luxury-focus-glow: 0 0 0 3px rgba(201, 191, 179, 0.25);
    --luxury-card-border: 1px solid rgba(215, 215, 215, 0.5);
}

/* Variables pour le mode sombre (à implémenter plus tard) */
/* 
@media (prefers-color-scheme: dark) {
    :root {
        --color-background: #121212;
        --color-surface: #1E1E1E;
        --color-container: #2D2D2D;
        --color-text-primary: #E0E0E0;
        --color-text-secondary: #A0A0A0;
    }
}
*/


/* États de la carte de garantie basés sur la preuve d'achat */
.warranty-card.no-proof {
    border: 2px dashed var(--color-expired);
}

.warranty-card.pending-proof {
    border: 2px solid var(--color-text-muted);
}

.warranty-card.validated-proof {
    border: 2px solid var(--color-valid);
}