/* tokens.css — variables CSS (couleurs, typo, espacements) */
:root {
  /* Fond */
  --bg:          #FAFAF8;
  --bg-alt:      #F3F3F0;
  --surface:     #FFFFFF;

  /* Texte */
  --text:        #141412;
  --text-muted:  #6B6B64;
  --text-light:  #A8A89E;

  /* Accent */
  --purple:      #6D28D9;
  --purple-mid:  #8B5CF6;
  --purple-light:#EDE9FE;
  --gold:        #D97706;
  --gold-light:  #FEF3C7;

  /* UI */
  --border:      #E5E5E0;

  /* White-alpha (sections sombres : CTA, footer) */
  --white-90:    rgba(255,255,255,0.9);
  --white-85:    rgba(255,255,255,0.85);
  --white-80:    rgba(255,255,255,0.8);
  --white-75:    rgba(255,255,255,0.75);
  --white-55:    rgba(255,255,255,0.55);
  --white-50:    rgba(255,255,255,0.5);
  --white-12:    rgba(255,255,255,0.12);
  --white-10:    rgba(255,255,255,0.1);
  --white-08:    rgba(255,255,255,0.08);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   24px;
  --radius-xl:   40px;

  /* Typographie */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Scale fluide */
  --text-xs:   clamp(0.75rem,  1.5vw,  0.875rem);
  --text-sm:   clamp(0.875rem, 1.8vw,  1rem);
  --text-base: clamp(1rem,     2vw,    1.125rem);
  --text-lg:   clamp(1.125rem, 2.5vw,  1.375rem);
  --text-xl:   clamp(1.375rem, 3vw,    1.75rem);
  --text-2xl:  clamp(1.75rem,  4vw,    2.5rem);
  --text-3xl:  clamp(2.25rem,  5.5vw,  3.5rem);
  --text-4xl:  clamp(3rem,     7vw,    5rem);
  --text-5xl:  clamp(4rem,     9vw,    7rem);

  /* Espacements (multiples de 8px) */
  --sp-1:   4px;
  --sp-2:   8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-6:   24px;
  --sp-8:   32px;
  --sp-12:  48px;
  --sp-16:  64px;
  --sp-24:  96px;
  --sp-32:  128px;
  --sp-40:  160px;
  --sp-50:  200px;

  /* Dark sections (feature-sections internes, modals) */
  --surface-card:    #12121A;
  --surface-border:  #2D2D45;
  --surface-elev:    #1A1A2E;
  --purple-950:      #0D0520;
  --purple-900:      #1A0A3C;
  --purple-800:      #2D1468;
  --purple-700:      #4C1D95;
  --purple-500:      #7C3AED;
  --purple-400:      #A78BFA;
  --gold-400:        #FFBB00;
  --text-primary:    #F5F5FF;
  --text-secondary:  #9999BB;
  --text-muted-dark: #7A7A9B;
}

/* Forcer le mode clair — le site est toujours light, l'app à l'intérieur est dark */
html {
  color-scheme: light only;
}

/* Smooth scroll natif — remplace Lenis */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
