/* ============================================================
   SADALLA · SPACING, RADII, SHADOW, GRID
   Rigid & modular — "precisão". 4px base, generous negative space.
   ============================================================ */

: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: 3rem;      /* 48 */
  --space-8: 4rem;      /* 64 */
  --space-9: 6rem;      /* 96 */
  --space-10: 8rem;     /* 128 */

  /* ---- Radii — minimal, engineered. Mostly square. ---- */
  --radius-none: 0;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 999px;
  --radius-circle: 50%;

  /* ---- Borders ---- */
  --border-width: 1px; /* @kind other */
  --border-width-strong: 2px; /* @kind other */

  /* ---- Shadows — used sparingly; the system favors flat + hairlines.
     Dark looks use a blue rim-glow instead of soft drop shadows. ---- */
  --shadow-none: none;
  --shadow-card: 0 1px 2px rgba(8, 18, 58, 0.06), 0 8px 24px rgba(8, 18, 58, 0.08);
  --shadow-raised: 0 12px 40px rgba(8, 18, 58, 0.16);
  --rim-blue: 0 0 0 1px rgba(31, 59, 255, 0.5), 0 0 32px rgba(31, 59, 255, 0.35);
  --rim-blue-strong: 0 0 0 1px rgba(78, 99, 255, 0.8), 0 0 56px rgba(31, 59, 255, 0.55);

  /* ---- Layout grid ---- */
  --grid-columns: 12; /* @kind other */
  --grid-gutter: 1.5rem;
  --container-max: 1280px;
  --container-pad: 2rem;

  /* ---- Motion — precise, restrained. No bounce. ---- */
  --ease-precision: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 200ms; /* @kind other */
  --dur-slow: 360ms; /* @kind other */
}
