/* "Como a escola começa": trilha com os 4 passos, luz correndo entre eles */
.steps .wrap > h2, .steps .wrap > .section-lead { text-align: center; margin-inline: auto; }
.steps .steps-list { position: relative; margin-top: 64px; gap: 24px; }
.steps .steps-list::before { content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, #ff4fa3, #f59e0b, #8b5cf6, #22c55e); opacity: .35; }
.steps .steps-list::after { content: ""; position: absolute; top: 26px; left: 12.5%; width: 80px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, transparent, #fff); filter: drop-shadow(0 0 6px #fff); animation: p-corre 4s linear infinite; }
@keyframes p-corre { from { left: 12.5%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } to { left: calc(87.5% - 80px); opacity: 0; } }
.steps .steps-list li { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.steps .steps-list li::before { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 50%; font-size: 1.5rem; color: #fff; background: #17141a; border: 2px solid var(--p-cor); box-shadow: 0 0 0 6px #17141a, 0 0 28px -4px var(--p-cor); }
.steps .steps-list li:nth-child(1) { --p-cor: #ff4fa3; } .steps .steps-list li:nth-child(2) { --p-cor: #f59e0b; }
.steps .steps-list li:nth-child(3) { --p-cor: #8b5cf6; } .steps .steps-list li:nth-child(4) { --p-cor: #22c55e; }
.steps .steps-list h3 { color: #fff; }
/* Motion: os passos acendem um por um */
.p2-anima .wrap > h2, .p2-anima .wrap > .section-lead, .p2-anima .steps-list li { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s cubic-bezier(.2,.8,.2,1); }
.p2-anima .wrap > .section-lead { transition-delay: .1s; }
.p2-anima .steps-list li:nth-child(1) { transition-delay: .3s; } .p2-anima .steps-list li:nth-child(2) { transition-delay: .5s; }
.p2-anima .steps-list li:nth-child(3) { transition-delay: .7s; } .p2-anima .steps-list li:nth-child(4) { transition-delay: .9s; }
.p2-anima .steps-list::before { scale: 0 1; transform-origin: left; transition: scale 1.4s cubic-bezier(.2,.8,.2,1) .3s; }
.p2-visivel :is(.wrap > h2, .wrap > .section-lead, .steps-list li) { opacity: 1; translate: 0 0; }
.p2-visivel .steps-list::before { scale: 1 1; }
@media (max-width: 900px) { .steps .steps-list::before, .steps .steps-list::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .steps .steps-list::after { display: none; } }
