/* ============================================================
   Orbit — Effects  ·  "Cosmos" system
   ------------------------------------------------------------
   Soft, slate-tinted shadows in a layered (two-part) recipe.
   Interactive cards lift with an iris-tinted glow. Primary
   buttons carry a coloured shadow. Motion stays quick &
   functional (120–240ms, ease-out, no bounce).
   ============================================================ */

:root {
  /* Layered neutral shadows */
  --shadow-xs:  0 1px 2px rgb(15 23 42 / 0.05);
  --shadow-sm:  0 1px 2px rgb(15 23 42 / 0.04), 0 1px 3px rgb(15 23 42 / 0.06);
  --shadow-md:  0 2px 4px rgb(15 23 42 / 0.04), 0 6px 16px rgb(15 23 42 / 0.08);
  --shadow-lg:  0 4px 8px rgb(15 23 42 / 0.04), 0 12px 28px rgb(15 23 42 / 0.10);
  --shadow-xl:  0 8px 16px rgb(15 23 42 / 0.06), 0 24px 48px rgb(15 23 42 / 0.14);
  --shadow-2xl: 0 32px 64px rgb(15 23 42 / 0.22);

  /* Coloured / interactive */
  --shadow-primary: 0 1px 2px rgb(74 63 199 / 0.32), 0 6px 16px rgb(90 79 224 / 0.28);
  --shadow-primary-hover: 0 2px 4px rgb(74 63 199 / 0.34), 0 10px 24px rgb(90 79 224 / 0.34);
  --card-hover-shadow: 0 8px 24px rgb(90 79 224 / 0.14), 0 2px 6px rgb(15 23 42 / 0.06);
  --card-hover-lift:   -3px;

  /* Focus ring */
  --ring-focus:  0 0 0 4px rgb(90 79 224 / 0.18);
  --ring-danger: 0 0 0 4px rgb(244 63 94 / 0.16);
  /* Halo « à compléter » (ambre, dérivé de --amber-500) : champs révélés par un
     choix — repos, puis départ et pic de la pulsation d'apparition. */
  --ring-attention:       0 0 0 4px  color-mix(in srgb, var(--amber-500) 22%, transparent);
  --ring-attention-from:  0 0 0 0    color-mix(in srgb, var(--amber-500) 50%, transparent);
  --ring-attention-pulse: 0 0 0 10px color-mix(in srgb, var(--amber-500) 28%, transparent);

  /* Inset / inner */
  --inset-line: inset 0 0 0 1px rgb(15 23 42 / 0.04);

  /* Modal scrim */
  --scrim: rgb(9 10 22 / 0.55);
  --scrim-blur: 6px;

  /* Glass (top bars, floating panels) */
  --glass-bg:   rgba(255,255,255,0.72);
  --glass-blur: 14px;
  --glass-border: rgba(255,255,255,0.6);

  /* Transitions */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);    /* @kind other */
  --ease-std:   cubic-bezier(0.4, 0, 0.2, 1);      /* @kind other */
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1); /* @kind other */
  --dur-fast:   120ms;  /* @kind other */
  --dur-base:   170ms;  /* @kind other */
  --dur-slow:   240ms;  /* @kind other */

  /* Z-index scale */
  --z-base:     1;   /* @kind other */
  --z-sticky:   10;  /* @kind other */
  --z-sidebar:  30;  /* @kind other */
  --z-dropdown: 40;  /* @kind other */
  --z-modal:    50;  /* @kind other */
  --z-toast:    100; /* @kind other */
}

@keyframes orbit-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes orbit-pop-in {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes orbit-dropdown-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes orbit-slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
