/*
 * Jetons de design — La Morille Gourmande.
 *
 * ⚠ COPIE CONFORME de DESIGN_SYSTEM.md §13.1, à la racine du dépôt.
 * Ne pas modifier ici : modifier la référence, puis recopier le bloc.
 */

:root {
  /* Couleurs — marque */
  --color-accent: #EBD28F;
  --color-accent-light: #F2E2B6;
  --color-accent-ink: #7F6526;          /* accent sur fond clair uniquement */
  --color-accent-a05: rgba(235, 210, 143, .05);
  --color-accent-a10: rgba(235, 210, 143, .10);
  --color-accent-a20: rgba(235, 210, 143, .20);
  --color-accent-a30: rgba(235, 210, 143, .30);
  --color-accent-a50: rgba(235, 210, 143, .50);

  /* Couleurs — filets */
  --color-line: rgba(235, 210, 143, .22);        /* filets décoratifs */
  --color-line-strong: rgba(235, 210, 143, .60); /* contour d'un champ : ≥ 3:1 */

  /* Couleurs — fonds */
  --color-bg: #0A0A0A;
  --color-bg-2: #1A1A1A;
  --color-bg-3: #2A2A2A;
  --color-bg-glass: rgba(10, 10, 10, .80);
  --gradient-dark: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-2) 100%);

  /* Couleurs — texte */
  --color-text: #FFFFFF;
  --color-text-2: #CCCCCC;
  --color-text-muted: #999999;

  /* Couleurs — états & tiers */
  --color-success: #8FC79A;
  --color-error: #E5866F;
  --color-warning: #E8C27A;
  --color-nickel: #F286AA;

  /* Typographie */
  --font-display: 'Platypi', Georgia, 'Times New Roman', serif;
  --font-text: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fs-label: .78rem;
  --fs-small: .875rem;
  --fs-base: 1rem;
  --fs-long: 1.1rem;
  --fs-card-title: 1.5rem;
  --fs-tagline: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  --fs-section-title: clamp(2rem, 1.6rem + 1.8vw, 2.5rem);
  --ls-label: .2em;
  --lh-base: 1.6;
  --lh-long: 1.8;
  --lh-title: 1.12;

  /* Espacements */
  --space-2xs: .5rem;
  --space-xs: .75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 2.5rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-section: clamp(5rem, 3rem + 6vw, 10rem);

  /* Mise en page */
  --container-max: 1400px;
  --container-text: 1000px;
  --container-narrow: 900px;
  --gutter: 2rem;
  --navbar-offset: 80px;

  /* Rayons */
  --radius-s: 2px;
  --radius-m: 3px;
  --radius-l: 4px;

  /* Ombres */
  --shadow-image: 0 20px 60px rgba(0, 0, 0, .5);
  --shadow-nav: 0 4px 30px rgba(0, 0, 0, .3);

  /* Mouvement */
  --dur-fast: .25s;
  --dur-base: .3s;
  --dur-slow: .4s;
  --dur-calm: .6s;
  --dur-image: .6s;
  --dur-reveal: .8s;
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --ease-calm: cubic-bezier(.22, .61, .36, 1);
  --ease-out: ease-out;

  /* Superposition */
  --z-overlay: 999;
  --z-navbar: 1000;
  --z-burger: 1001;
  --z-fab: 1100;
}

@media (max-width: 968px) {
  :root { --gutter: 1.5rem; }
}
