/* ============================================================
   Parqueterie des Alpes — Spacing, radii, lines, elevation, layout
   ------------------------------------------------------------
   The identity is geometric, flat and print-led: thin 1px
   hairlines do the structural work, corners are near-square,
   shadows are barely-there and warm. Keep UI quiet.
   ============================================================ */

:root {
  /* ---- spacing scale (4px base) ---- */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4  */
  --space-2: 0.5rem;    /* 8  */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.5rem;    /* 24 */
  --space-6: 2rem;      /* 32 */
  --space-7: 2.5rem;    /* 40 */
  --space-8: 3rem;      /* 48 */
  --space-9: 4rem;      /* 64 */
  --space-10: 5rem;     /* 80 */
  --space-11: 6rem;     /* 96 */
  --space-12: 8rem;     /* 128 */
  --space-13: 10rem;    /* 160 — section rhythm */

  /* ---- radii (near-square; the brand draws straight lines) ---- */
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --radius-card: 2px;   /* default surface corner */

  /* ---- border widths ---- */
  --border-1: 1px;      /* the signature hairline */
  --border-2: 1.5px;
  --border-3: 2px;

  /* ---- elevation (warm, minimal — brun-tinted) ---- */
  --shadow-none: none;
  --shadow-xs: 0 1px 2px rgba(46, 34, 32, 0.05);
  --shadow-sm: 0 2px 8px rgba(46, 34, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(46, 34, 32, 0.08);
  --shadow-lg: 0 18px 48px rgba(46, 34, 32, 0.12);
  --shadow-focus: 0 0 0 3px rgba(107, 82, 79, 0.3);

  /* ---- motion (calm, editorial — no bounce) ---- */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.45, 0, 0.2, 1); /* @kind other */
  --dur-fast: 140ms; /* @kind other */
  --dur-base: 240ms; /* @kind other */
  --dur-slow: 480ms; /* @kind other */
  --dur-cinematic: 900ms; /* @kind other */

  /* ---- layout ---- */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1140px;
  --container-xl: 1340px;
  --container-full: 1600px;
  --gutter: clamp(1.25rem, 4vw, 4rem); /* @kind spacing */
  --section-y: clamp(4rem, 10vw, 10rem); /* @kind spacing */

  /* z-index */
  --z-base: 0; /* @kind other */
  --z-raised: 10; /* @kind other */
  --z-sticky: 100; /* @kind other */
  --z-overlay: 1000; /* @kind other */
  --z-modal: 1100; /* @kind other */
  --z-toast: 1200; /* @kind other */
}
