/* ==========================================================================
   LFC Formation — Design tokens
   Variables CSS de référence. Modifier ici pour propager partout.
   ========================================================================== */

:root {
  /* --- Couleurs --- */
  --color-primary: #8085FF;       /* Violet/indigo — couleur principale (CTA, liens, accents) */
  --color-primary-dark: #5A60E8;  /* Violet foncé pour hover */
  --color-primary-soft: #ECEDFF;  /* Violet très clair pour fonds */

  --color-secondary: #FFA880;     /* Pêche/saumon — accents chauds */
  --color-secondary-dark: #E07E50;
  --color-secondary-soft: #FFE9DC;

  --color-accent-warm: #FFCC80;   /* Orange clair — illustrations, fonds doux */
  --color-accent-cool: #80C8FF;   /* Bleu clair — pictos, fonds doux */

  --color-neutral: #AA9F8E;       /* Beige/taupe — textes secondaires, séparateurs */
  --color-neutral-soft: #E8E4DD;

  --color-text: #1F2330;          /* Texte principal */
  --color-text-muted: #5A5F6E;    /* Texte secondaire */

  --color-bg: #FFFFFF;            /* Fond principal */
  --color-bg-soft: #FAF8F4;       /* Fond alterné (très légèrement beige) */
  --color-bg-dark: #1F2330;       /* Footer / sections sombres */

  --color-success: #3DB87A;
  --color-error: #E15554;

  --color-border: rgba(170, 159, 142, 0.3);

  /* --- Typographie --- */
  --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: 2.5rem;
  --fs-h1: 2rem;
  --fs-h2: 1.5rem;
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  --lh-tight: 1.2;
  --lh-base: 1.6;

  /* --- Espacements (système 4px) --- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* --- Radius --- */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* --- Ombres --- */
  --shadow-sm: 0 1px 2px rgba(31, 35, 48, .06), 0 1px 3px rgba(31, 35, 48, .04);
  --shadow-md: 0 4px 6px rgba(31, 35, 48, .05), 0 10px 20px rgba(31, 35, 48, .08);
  --shadow-lg: 0 20px 40px rgba(128, 133, 255, .18);

  /* --- Transitions --- */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --transition-fast: 150ms var(--ease);
  --transition-base: 250ms var(--ease);

  /* --- Layout --- */
  --container-max: 1200px;
  --navbar-height: 72px;
}

/* Échelle responsive (desktop) */
@media (min-width: 768px) {
  :root {
    --fs-display: 3.75rem;
    --fs-h1: 2.75rem;
    --fs-h2: 2rem;
    --fs-h3: 1.5rem;
    --fs-body: 1.0625rem;
    --fs-small: 0.9rem;
  }
}
