/* ============================================================
   VARIABLES CSS - REPROGACESS
   Charte graphique extraite des maquettes officielles
   ============================================================ */

:root {
    /* ---------- COULEURS DE FOND ---------- */
    --color-bg-primary:   #0a0a0a;  /* Fond principal noir profond */
    --color-bg-secondary: #111111;  /* Fond sections alternées */
    --color-bg-card:      #171717;  /* Fond des cards */
    --color-bg-card-hover:#1f1f1f;  /* Card au survol */
    --color-bg-elevated:  #1a1a1a;  /* Éléments surélevés */

    /* ---------- COULEURS DE BORDURE ---------- */
    --color-border:       #27272a;  /* Bordures discrètes */
    --color-border-hover: #3f3f46;  /* Bordures au survol */

    /* ---------- COULEUR PRINCIPALE - ROUGE REPROGACESS ---------- */
    --color-accent:        #e30613; /* Rouge principal de la marque */
    --color-accent-hover:  #c10510; /* Rouge plus sombre au hover */
    --color-accent-light:  #ef4444; /* Rouge plus clair pour effets */
    --color-accent-glow:   rgba(227, 6, 19, 0.4); /* Pour ombres/glows */

    /* ---------- COULEUR SECONDAIRE - VERT ÉTHANOL ---------- */
    --color-eco:          #22c55e;  /* Vert pour pages éthanol */
    --color-eco-hover:    #16a34a;  /* Vert plus sombre */

    /* ---------- COULEURS TEXTE ---------- */
    --color-text-primary:   #ffffff; /* Texte principal blanc */
    --color-text-secondary: #a1a1aa; /* Texte gris clair */
    --color-text-muted:     #71717a; /* Texte très discret */
    --color-text-inverse:   #0a0a0a; /* Texte sur fond clair */

    /* ---------- COULEURS UTILITAIRES ---------- */
    --color-success:    #22c55e;
    --color-warning:    #f59e0b;
    --color-danger:     #e30613;
    --color-info:       #3b82f6;

    /* ---------- TYPOGRAPHIE ---------- */
    --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --font-size-xs:   0.75rem;   /* 12px */
    --font-size-sm:   0.875rem;  /* 14px */
    --font-size-base: 1rem;      /* 16px */
    --font-size-lg:   1.125rem;  /* 18px */
    --font-size-xl:   1.25rem;   /* 20px */
    --font-size-2xl:  1.5rem;    /* 24px */
    --font-size-3xl:  1.875rem;  /* 30px */
    --font-size-4xl:  2.25rem;   /* 36px */
    --font-size-5xl:  3rem;      /* 48px */
    --font-size-hero: 4rem;      /* 64px - titres hero */

    --font-weight-normal:   400;
    --font-weight-medium:   500;
    --font-weight-semibold: 600;
    --font-weight-bold:     700;
    --font-weight-extrabold:800;
    --font-weight-black:    900;

    /* ---------- ESPACEMENTS ---------- */
    --spacing-xs:  0.25rem;  /* 4px */
    --spacing-sm:  0.5rem;   /* 8px */
    --spacing-md:  1rem;     /* 16px */
    --spacing-lg:  1.5rem;   /* 24px */
    --spacing-xl:  2rem;     /* 32px */
    --spacing-2xl: 3rem;     /* 48px */
    --spacing-3xl: 4rem;     /* 64px */
    --spacing-4xl: 6rem;     /* 96px */

    /* ---------- RAYONS DE BORDURE ---------- */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* ---------- OMBRES ---------- */
    --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg:  0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-xl:  0 16px 48px rgba(0, 0, 0, 0.7);
    --shadow-glow-red: 0 0 30px var(--color-accent-glow);

    /* ---------- TRANSITIONS ---------- */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;
    --transition-smooth: 600ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ---------- LAYOUT ---------- */
    --container-max-width: 1280px;
    --header-height:       80px;
    --z-header:    1000;
    --z-overlay:   1500;
    --z-modal:     2000;
    --z-tooltip:   2500;
}