/* Finitions Localyx : lisibilité du héros et mouvement supplémentaire propre à Hugo Varenne. */

/* Le coureur passait devant le titre et le rendait illisible : il passe derrière */
.hero-detoure { z-index: 2 !important; }
.hero h1 { text-shadow: 0 2px 30px #10101099; }

/* Lignes de vitesse qui jaillissent au clic */
.impact-clic { position: fixed; z-index: 70; width: 0; height: 0; pointer-events: none; }
.impact-clic i { position: absolute; left: 0; top: -1.5px; width: 22px; height: 3px; background: var(--orange); transform-origin: 0 50%; animation: impact .45s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes impact { from { transform: rotate(var(--a)) translateX(6px) scaleX(.2); opacity: 1; } to { transform: rotate(var(--a)) translateX(34px) scaleX(1); opacity: 0; } }

/* Boutons : écrasement à l'appui, comme une impulsion */
.bouton { transition: transform .18s cubic-bezier(.34,1.56,.64,1); }
.bouton:active { transform: scale(.94) skewX(-4deg); }

@media (prefers-reduced-motion: reduce) { .impact-clic { display: none; } .bouton:active { transform: none; } }
