/* =========================================================
   BARRE DE PROGRESSION
   ========================================================= */

.progress {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky-header);
  padding-block: var(--space-xs);
  background-color: color-mix(in srgb, var(--color-bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.progress[hidden] { display: none; }

.progress__bar {
  height: 5px;
  background-color: var(--color-sand);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  width: 0;
  background-color: var(--color-green-deep);
  border-radius: var(--radius-pill);
  transition: width var(--duration-slow) var(--ease-out);
}

.progress__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-2xs);
}

.progress__step-name {
  color: var(--color-ink-soft);
  text-align: right;
}