/* ============================================================
   H-BOX — SPACING, RADII, SHADOWS, MOTION, LAYOUT
   "Arrière-plans sobres, ombres légères" — sober, light shadows.
   ============================================================ */

:root {
  /* ---- Spacing (4px base) ---- */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* ---- Radii ---- */
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-pill: 999px;
  --radius-card: var(--radius-lg);

  /* ---- Hexagon motif (clip-path, inspired by logo) ---- */
  --clip-hex: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); /* @kind other */
  --clip-hex-tall: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); /* @kind other */

  /* ---- Borders ---- */
  --border-width-hair: 1px;
  --border-width:      1.5px;
  --border-width-bold: 2px;

  /* ---- Shadows (light, soft, warm-tinted) ---- */
  --shadow-xs:  0 1px 2px rgba(33, 28, 26, 0.06);
  --shadow-sm:  0 1px 3px rgba(33, 28, 26, 0.08), 0 1px 2px rgba(33, 28, 26, 0.04);
  --shadow-md:  0 4px 12px rgba(33, 28, 26, 0.08), 0 2px 4px rgba(33, 28, 26, 0.04);
  --shadow-lg:  0 12px 28px rgba(33, 28, 26, 0.10), 0 4px 8px rgba(33, 28, 26, 0.05);
  --shadow-xl:  0 24px 56px rgba(33, 28, 26, 0.14), 0 8px 16px rgba(33, 28, 26, 0.06);
  --shadow-brand: 0 10px 26px rgba(237, 90, 66, 0.28);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  /* ---- Motion ---- */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --ease-emphasis: cubic-bezier(0.3, 0.7, 0, 1); /* @kind other */
  --ease-out:      cubic-bezier(0, 0, 0.2, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-base:   200ms; /* @kind other */
  --dur-slow:   320ms; /* @kind other */

  /* ---- Layout ---- */
  --container-sm: 640px;
  --container-md: 880px;
  --container-lg: 1120px;
  --container-xl: 1280px;
  --gutter: var(--space-6);

  /* ---- 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 */
}
