/* Vento do trem: rajada lateral (lâmina de ar + riscos) do lado em que o trem passa perto; --gust (0,55 a 1) vem de nearTrain */
#wind { pointer-events: none; position: fixed; inset: 0; overflow: hidden; z-index: 997; --gust: 1; }
#wind .wind-sheet { position: absolute; top: 0; bottom: 0; width: 48%; opacity: 0; }
#wind[data-side=left] .wind-sheet { left: 0; background: linear-gradient(90deg, #eaf7ffd9, #bfe6ff66 30%, transparent 85%); animation: wind-sheet 600ms ease-out both; }
#wind[data-side=right] .wind-sheet { right: 0; background: linear-gradient(270deg, #eaf7ffd9, #bfe6ff66 30%, transparent 85%); animation: wind-sheet 600ms ease-out both; }
#wind i { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h, 3px); border-radius: 3px; background: linear-gradient(90deg, transparent, #fffdf4, transparent); box-shadow: 0 0 6px #cfeaff; opacity: 0; transform: rotate(var(--angle)); }
#wind i:nth-of-type(1) { --x: 2%; --y: 22%; --angle: 24deg; --w: 22vw; --dl: 0ms; }
#wind i:nth-of-type(2) { --x: 8%; --y: 36%; --angle: 14deg; --w: 16vw; --h: 2px; --dl: 60ms; }
#wind i:nth-of-type(3) { --x: 4%; --y: 48%; --angle: 6deg; --w: 26vw; --h: 4px; --dl: 20ms; }
#wind i:nth-of-type(4) { --x: 10%; --y: 60%; --angle: -8deg; --w: 18vw; --dl: 90ms; }
#wind i:nth-of-type(5) { --x: 1%; --y: 71%; --angle: -18deg; --w: 24vw; --h: 4px; --dl: 40ms; }
#wind i:nth-of-type(6) { --x: 6%; --y: 82%; --angle: -26deg; --w: 15vw; --h: 2px; --dl: 120ms; }
#wind i:nth-of-type(7) { --x: 76%; --y: 22%; --angle: -24deg; --w: 22vw; --dl: 0ms; }
#wind i:nth-of-type(8) { --x: 76%; --y: 36%; --angle: -14deg; --w: 16vw; --h: 2px; --dl: 60ms; }
#wind i:nth-of-type(9) { --x: 70%; --y: 48%; --angle: -6deg; --w: 26vw; --h: 4px; --dl: 20ms; }
#wind i:nth-of-type(10) { --x: 72%; --y: 60%; --angle: 8deg; --w: 18vw; --dl: 90ms; }
#wind i:nth-of-type(11) { --x: 75%; --y: 71%; --angle: 18deg; --w: 24vw; --h: 4px; --dl: 40ms; }
#wind i:nth-of-type(12) { --x: 79%; --y: 82%; --angle: 26deg; --w: 15vw; --h: 2px; --dl: 120ms; }
#wind[data-side=left] i:nth-of-type(-n+6) { animation: gust-left 560ms cubic-bezier(.15,.65,.22,1) var(--dl) both; }
#wind[data-side=right] i:nth-of-type(n+7) { animation: gust-right 560ms cubic-bezier(.15,.65,.22,1) var(--dl) both; }
@keyframes wind-sheet { 0% { opacity: 0; } 18% { opacity: calc(.75 * var(--gust)); } 100% { opacity: 0; } }
@keyframes gust-left { 0% { opacity: 0; translate: 24vw; scale: .3 1; } 20% { opacity: var(--gust); } 100% { opacity: 0; translate: -26vw; scale: 1.9 1; } }
@keyframes gust-right { 0% { opacity: 0; translate: -24vw; scale: .3 1; } 20% { opacity: var(--gust); } 100% { opacity: 0; translate: 26vw; scale: 1.9 1; } }
@media (prefers-reduced-motion: reduce) { #wind { display: none; } }
