/* W9 Sistemas — efeitos "fita adesiva" (inspirados no sweet-tape.com). Tudo respeita prefers-reduced-motion. */
.tape { position: absolute; z-index: 2; width: 92px; height: 26px; pointer-events: none; opacity: 0;
    background: repeating-linear-gradient(135deg, rgba(255,215,0,.88) 0 8px, rgba(255,235,120,.88) 8px 16px);
    box-shadow: 0 3px 8px rgba(4,18,43,.18); clip-path: polygon(0 8%, 6% 0, 12% 8%, 18% 0, 24% 8%, 30% 0, 36% 8%, 42% 0, 48% 8%, 54% 0, 60% 8%, 66% 0, 72% 8%, 78% 0, 84% 8%, 90% 0, 96% 8%, 100% 0, 100% 92%, 94% 100%, 88% 92%, 82% 100%, 76% 92%, 70% 100%, 64% 92%, 58% 100%, 52% 92%, 46% 100%, 40% 92%, 34% 100%, 28% 92%, 22% 100%, 16% 92%, 10% 100%, 4% 92%, 0 100%); }
.tape.l { left: 8%; top: -6px; --r: -8deg; }
.tape.r { right: 8%; top: -6px; --r: 7deg; }
.is-in .tape, .no-motion .tape { animation: tapeStick .7s cubic-bezier(.34, 1.56, .64, 1) .35s both; }
@keyframes tapeStick { from { opacity: 0; transform: translateY(-34px) rotate(calc(var(--r) * 4)) scale(1.5); } to { opacity: 1; transform: rotate(var(--r)) scale(1); } }

.tw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.tw > span { display: inline-block; transform: translateY(110%); transition: transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 70ms); }
.is-in .tw > span, .no-motion .tw > span { transform: none; }

.fita-faixa { position: absolute; left: -4%; right: -4%; top: 14px; z-index: 3; overflow: hidden; transform: rotate(-1.6deg); pointer-events: none;
    background: var(--gold, #FFD700); color: var(--ink, #04122b); box-shadow: 0 6px 18px rgba(4,18,43,.25); padding: .55rem 0; }
.fita-faixa div { display: flex; width: max-content; gap: 2.4rem; animation: faixaRun 28s linear infinite; font-weight: 900; letter-spacing: .14em; font-size: .85rem; text-transform: uppercase; white-space: nowrap; }
@keyframes faixaRun { to { transform: translateX(-50%); } }

.servico-card .idx { position: absolute; top: .6rem; right: 1rem; font-weight: 900; font-size: 2.6rem; line-height: 1; color: rgba(255,215,0,.22); letter-spacing: -.04em; pointer-events: none; }
.servico-card { position: relative; }

.puxe { position: relative; margin-top: 1.6rem; display: flex; align-items: flex-start; gap: 1rem; min-height: 96px; user-select: none; touch-action: none; }
.puxe-roll { flex: none; width: 72px; height: 72px; border-radius: 50%; cursor: grab; border: 0; padding: 0; color: var(--ink, #04122b); font-weight: 900; font-size: .68rem; letter-spacing: .06em;
    background: radial-gradient(circle at 50% 50%, #fff 0 22%, transparent 23%), repeating-radial-gradient(circle at 50% 50%, #ffd700 0 5px, #e6bd00 5px 10px); box-shadow: 0 6px 16px rgba(4,18,43,.3); animation: rollWiggle 3.2s ease-in-out infinite; }
.puxe-roll:active { cursor: grabbing; animation: none; }
.puxe-roll:focus-visible { outline: 3px solid var(--ink, #04122b); outline-offset: 3px; }
@keyframes rollWiggle { 0%, 80%, 100% { transform: rotate(0); } 86% { transform: rotate(-14deg); } 93% { transform: rotate(10deg); } }
.puxe-fita { flex: 1; align-self: flex-start; height: var(--h, 0px); max-height: 120px; overflow: hidden; border-radius: 0 0 6px 6px; position: relative; margin-left: -.4rem; transition: height .45s cubic-bezier(.2, .8, .2, 1);
    background: repeating-linear-gradient(135deg, #ffd700 0 10px, #ffe66d 10px 20px); box-shadow: 0 6px 14px rgba(4,18,43,.25); }
.puxe.drag .puxe-fita { transition: none; }
.puxe-fita a { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: .4rem 1rem; font-weight: 900; color: var(--ink, #04122b); text-decoration: none; font-size: 1rem; opacity: var(--o, 0); }
.puxe-dica { position: absolute; left: 84px; top: 22px; font-size: .85rem; font-weight: 700; opacity: .75; pointer-events: none; transition: opacity .3s; }
.puxe.open .puxe-dica, .puxe.drag .puxe-dica { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    .tape { animation: none !important; opacity: 1; transform: rotate(var(--r)); }
    .tw > span { transform: none; transition: none; }
    .fita-faixa div, .puxe-roll { animation: none; }
}
@media (max-width: 768px) { .tape { width: 64px; height: 20px; } .fita-faixa div { font-size: .72rem; } }

/* Entrada pelas laterais: nada pode criar rolagem horizontal */
html, body { overflow-x: clip; }
.lado { will-change: translate, rotate, opacity; }
