/* ============================================================
   Altec Sistemas — Spacing, radius, shadow, motion
   Spacing scale = 4px. Radius grows with the component.
   Shadows soft & diffuse, or a 1px hairline border.
   ============================================================ */
:root {
  /* ---- Spacing (4px scale) ----------------------------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;   /* default gap between blocks */
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* layout helpers */
  --card-pad: 24px;       /* card 16–24 */
  --block-gap: 24px;      /* gap between blocks 16–24, default 24 */
  --screen-margin: 32px;  /* margins 24–32 */
  --touch-min: 44px;      /* minimum touch target */
  --pad-card: var(--card-pad); /* alias used by Card */

  /* ---- Radius (grows with component) ------------------- */
  --radius-xs: 6px;   /* buttons / fields / item cards / tabs */
  --radius-sm: 10px;
  --radius-md: 14px;  /* highlight cards / panels / modals (Figma = 14) */
  --radius-lg: 20px;  /* menus */
  --radius-pill: 999px; /* pills / badges */

  /* ---- Component metrics (Figma reference) ------------- */
  --button-height: 46px;
  --button-padding: 8px 30px;
  --button-gap: 8px;
  --category-card-height: 42px;
  --action-card-size: 92px 47px;
  --status-badge-radius: 3px;

  /* ---- Shadows (soft, diffuse) ------------------------- */
  --shadow-sm: 0 1px 2px rgba(26, 29, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 12px 32px rgba(26, 29, 38, 0.14);
  --shadow-focus: 0 0 0 2px var(--turquoise); /* turquoise focus ring */
  --shadow-card: var(--shadow-md); /* alias used by Card / ItemCard */
  --shadow-pop: var(--shadow-lg);  /* alias used by popovers / menus */

  /* ---- Motion (smooth) --------------------------------- */
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1); /* @kind other */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --dur-fast: 120ms; /* @kind other */
  --dur-base: 200ms; /* @kind other */
  --dur-slow: 320ms; /* @kind other */
  --ease-soft: var(--ease-standard); /* alias used across components */
}
