/* ============================================================
   DESIGN TOKENS — Variables CSS
   Les couleurs brand sont injectées par config-injector.js
   ============================================================ */

:root {
  /* === COULEURS BRAND (injectées par JS) === */
  --brand-primary: #00D4AA;
  --brand-secondary: #3B82F6;
  --brand-primary-rgb: 0, 212, 170;
  --brand-secondary-rgb: 59, 130, 246;

  /* === FOND LIGHT === */
  --bg-body: #FAFAF7;
  --bg-section: #F3EEE8;
  --bg-card: #FFFFFF;
  --bg-elevated: #F5F1EC;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-hover: rgba(255, 255, 255, 0.9);

  /* === BORDURES === */
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.12);
  --border-accent: rgba(var(--brand-primary-rgb), 0.25);

  /* === TEXTE === */
  --text-primary: #1A1A2E;
  --text-secondary: #555566;
  --text-muted: #888899;
  --text-inverse: #FFFFFF;

  /* === SÉMANTIQUES === */
  --color-success: #00A86B;
  --color-warning: #E69500;
  --color-danger: #D93025;
  --color-whatsapp: #25D366;

  /* === GRADIENTS === */
  --gradient-brand: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  --gradient-hero: linear-gradient(170deg, #FAFAF7 0%, #F3EEE8 40%, #EDE6DD 100%);
  --gradient-card: linear-gradient(145deg, var(--bg-card) 0%, #F9F6F2 100%);
  --gradient-cta: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  --gradient-accent: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));

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

  --fs-hero: clamp(2.2rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.8rem, 4vw, 3rem);
  --fs-h3: clamp(1.2rem, 2.5vw, 1.5rem);
  --fs-body: clamp(0.95rem, 1.5vw, 1.1rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  --ls-tight: -0.03em;
  --ls-normal: -0.01em;
  --ls-wide: 0.08em;
  --ls-wider: 0.15em;

  /* === ESPACEMENT === */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-section: clamp(4rem, 10vh, 8rem);

  --container-max: 1200px;
  --container-padding: clamp(1rem, 4vw, 2rem);

  /* === EFFETS === */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --glass-blur: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(var(--brand-primary-rgb), 0.12);

  /* === TRANSITIONS === */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 300ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);
  --transition-reveal: 800ms var(--ease-out);

  /* === Z-INDEX === */
  --z-base: 1;
  --z-card: 10;
  --z-sticky: 100;
  --z-nav: 999;
  --z-mobile-cta: 1000;
  --z-overlay: 1100;
}
