/* Bloc « 3 étapes » : la mise en avant avance 1 → 1+2 → 1+2+3 en boucle (voir steps.js). */
.steps-grid[data-step] article,
.steps-grid[data-step] article:nth-child(-n + 2) {
    border: 1px solid #ecebf0;
    background: #fff;
    padding: 32px 28px 28px;
}
.steps-grid[data-ready] article {
    transition: background-color .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.steps-grid[data-step] article.is-active {
    border-color: #b49be1;
    background: #efebfa;
    box-shadow: inset 0 0 0 1px #b49be1;
}
.steps-grid[data-step]:before {
    background: linear-gradient(to right, #9880d1 var(--steps-progress, 0%), #ecebf0 var(--steps-progress, 0%));
}
.steps-grid[data-ready]:before {
    transition: --steps-progress .45s ease;
}
.steps-grid[data-step="1"] { --steps-progress: 0%; }
.steps-grid[data-step="2"] { --steps-progress: 50%; }
.steps-grid[data-step="3"] { --steps-progress: 100%; }

@property --steps-progress {
    syntax: "<percentage>";
    inherits: true;
    initial-value: 0%;
}
