/* ==========================================================================
   TAPEÇARIA JUMBO — Stories / Motion graphics
   ========================================================================== */
.st-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(4, 4, 5, 0.94); backdrop-filter: blur(14px); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); }
.st-overlay.open { opacity: 1; pointer-events: auto; }
.st-frame {
  position: relative; height: min(100svh, 920px); max-height: 100svh; aspect-ratio: 9 / 16; max-width: 100vw;
  border-radius: 22px; overflow: hidden; background: #050506; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
  user-select: none; -webkit-user-select: none; touch-action: none; container-type: size;
}
@media (max-width: 600px) { .st-frame { border-radius: 0; height: 100svh; width: 100vw; aspect-ratio: auto; } }
.st-frame.paused *, .st-frame.paused *::before, .st-frame.paused *::after { animation-play-state: paused !important; }
.st-bars { position: absolute; z-index: 20; top: 10px; left: 10px; right: 10px; display: flex; gap: 4px; }
.st-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.st-bars i b { display: block; height: 100%; width: 0; background: #fff; }
.st-head { position: absolute; z-index: 20; top: 22px; left: 12px; right: 12px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.st-head img { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: #0c0c0e; border: 2px solid var(--red); padding: 2px; }
.st-head small { font-weight: 500; opacity: 0.7; }
.st-head .st-actions { margin-left: auto; display: flex; gap: 4px; }
.st-head button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.st-head button:hover { background: rgba(255, 255, 255, 0.12); }
.st-tap { position: absolute; z-index: 15; top: 70px; bottom: 90px; width: 35%; }
.st-tap.l { left: 0; } .st-tap.r { right: 0; }
.st-nav { position: absolute; z-index: 25; top: 50%; transform: translateY(-50%); }
.st-overlay .st-nav.prev { left: calc(50% - min(100svh, 920px) * 9 / 32 - 70px); }
.st-overlay .st-nav.next { right: calc(50% - min(100svh, 920px) * 9 / 32 - 70px); }
@media (max-width: 900px) { .st-overlay .st-nav { display: none; } }
.st-scene { position: absolute; inset: 0; overflow: hidden; }
.st-rec .st-bars, .st-rec .st-head, .st-rec .st-nav { display: none; }

/* utilidades de cena */
.sc { position: absolute; inset: 0; z-index: 0; isolation: isolate; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 12cqh 7cqw; color: #fff; font-family: var(--font); }
.sc-bg { position: absolute; inset: 0; z-index: -1; }
.sc-quilt { position: absolute; inset: -20%; background: var(--quilt); background-size: 9cqh; opacity: 0.6; }
.sc-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, rgba(227, 20, 28, 0.45), transparent 55%); }
.sc-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.85)); }
.sc-title { font-family: var(--display); font-weight: 900; font-style: italic; font-stretch: 118%; text-transform: uppercase; line-height: 0.92; letter-spacing: -0.01em; }
.sc-mask { display: block; overflow: hidden; padding: 0.04em 0.08em; }
.sc-mask > span { display: inline-block; transform: translateY(110%); animation: scUp 0.9s var(--ease) forwards; animation-delay: var(--dl, 0s); }
@keyframes scUp { to { transform: none; } }
.sc-fade { opacity: 0; animation: scFade 0.9s var(--ease) forwards; animation-delay: var(--dl, 0s); }
@keyframes scFade { from { opacity: 0; transform: translateY(3cqh); } to { opacity: 1; transform: none; } }
.sc-stitch { height: 3px; width: 60cqw; margin: 3cqh auto; background: repeating-linear-gradient(90deg, var(--red-2) 0 10px, transparent 10px 18px); clip-path: inset(0 100% 0 0); animation: scDraw 1.2s var(--ease) forwards; animation-delay: var(--dl, 0s); }
@keyframes scDraw { to { clip-path: inset(0 0 0 0); } }
.sc-pill { display: inline-flex; align-items: center; gap: 1.2cqh; padding: 1.2cqh 2.6cqh; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px); font-size: 2cqh; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.sc-pill .ic { width: 2.4cqh; height: 2.4cqh; }

/* 1. INTRO / LOGO REVEAL */
.sc-intro .sc-quilt { transform: perspective(60cqh) rotateX(55deg) translateY(10%) scale(1.5); transform-origin: 50% 100%; animation: quiltRun 8s linear infinite; mask-image: linear-gradient(0deg, #000 30%, transparent 85%); -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent 85%); }
@keyframes quiltRun { to { background-position: 0 18cqh; } }
.sc-arc { position: absolute; left: -20%; right: -20%; top: 22%; height: 40cqh; border-radius: 50%; border-top: 0.6cqh solid var(--red); filter: drop-shadow(0 0 2cqh var(--red)); opacity: 0; transform: scale(0.6); animation: arcIn 1.6s var(--ease) 0.2s forwards; }
@keyframes arcIn { to { opacity: 0.9; transform: scale(1); } }
.sc-logo { position: relative; width: 78cqw; opacity: 0; transform: scale(0.55); filter: blur(12px); animation: logoIn 1.4s var(--ease) 0.5s forwards; }
.sc-logo img { width: 100%; filter: drop-shadow(0 3cqh 4cqh rgba(0, 0, 0, 0.8)); }
.sc-logo .shine { position: absolute; inset: 0; -webkit-mask: var(--logo-mask) center / contain no-repeat; mask: var(--logo-mask) center / contain no-repeat; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.95) 50%, transparent 65%); background-size: 300% 100%; background-position: 120% 0; animation: shine 1.6s var(--ease) 1.8s forwards; mix-blend-mode: overlay; }
@keyframes logoIn { 60% { filter: blur(0); } to { opacity: 1; transform: scale(1); filter: blur(0); } }
@keyframes shine { to { background-position: -40% 0; } }
.sc-intro .sc-tags { margin-top: 2cqh; font-size: 2.1cqh; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-2); }
.sc-intro .sc-cities { margin-top: 1.2cqh; font-size: 1.8cqh; color: var(--muted); }
.sc-flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash 0.7s ease 1.75s; pointer-events: none; mix-blend-mode: overlay; }
@keyframes flash { 30% { opacity: 0.6; } }

/* 2. FOTO KEN BURNS */
.sc-photo .sc-img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; animation: kb 8s ease-out forwards; }
@keyframes kb { from { transform: scale(1.25) translate(3%, 2%); } to { transform: scale(1.02) translate(0, 0); } }
.sc-photo .sc-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 30%, transparent 45%, rgba(0, 0, 0, 0.92) 100%); }
.sc-bottom { justify-content: flex-end; padding-bottom: 14cqh; }
.sc-photo .sc-title { font-size: min(8.4cqh, 12.5cqw); }
.sc-photo .sc-sub { font-size: 2.3cqh; color: var(--text-2); margin-top: 1.5cqh; }
.sc-split .sc-img { animation: none; }
.sc-split .half { position: absolute; top: 0; bottom: 0; width: 50%; background-size: 200% 100%; z-index: -2; animation: splitIn 1.2s var(--ease) forwards; }
.sc-split .half.a { left: 0; background-position: 0 0; transform: translateY(-100%); }
.sc-split .half.b { right: 0; background-position: 100% 0; transform: translateY(100%); animation-delay: 0.12s; }
@keyframes splitIn { to { transform: none; } }

/* 3. VÍDEO */
.sc-video video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.sc-lower { position: absolute; left: 6cqw; right: 6cqw; bottom: 12cqh; text-align: left; }
.sc-lower .bar { width: 0; height: 0.7cqh; background: var(--red-grad); animation: barGrow 0.8s var(--ease) 0.4s forwards; margin-bottom: 1.6cqh; }
@keyframes barGrow { to { width: 16cqw; } }
.sc-lower .sc-title { font-size: min(6.6cqh, 11cqw); }

/* 4. SERVIÇOS */
.sc-services { background: var(--red-grad); justify-content: flex-start; padding-top: 14cqh; }
.sc-services .sc-quilt { opacity: 0.5; mix-blend-mode: multiply; background-size: 8cqh; animation: quiltRun 10s linear infinite; }
.sc-services .sc-title { font-size: min(6.8cqh, 12cqw); margin-bottom: 3cqh; }
.sc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5cqh; width: 100%; }
.sc-list li { display: flex; align-items: center; gap: 2cqh; padding: 1.7cqh 2.2cqh; border-radius: 2cqh; background: rgba(0, 0, 0, 0.32); border: 1px solid rgba(255, 255, 255, 0.18); text-align: left; font-size: 2.4cqh; font-weight: 700; opacity: 0; transform: translateX(-10cqw); animation: liIn 0.7s var(--ease) forwards; animation-delay: calc(0.5s + var(--n) * 0.22s); }
.sc-list li .ic { width: 4.6cqh; height: 4.6cqh; padding: 1cqh; border-radius: 1.4cqh; background: #fff; color: var(--red); }
@keyframes liIn { to { opacity: 1; transform: none; } }

/* 6. CHECKLIST */
.sc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4cqh; width: 100%; margin-top: 3cqh; }
.sc-checks span { display: flex; align-items: center; gap: 1.2cqh; padding: 1.4cqh 1.8cqh; border-radius: 1.6cqh; background: rgba(15, 15, 18, 0.7); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 2.2cqh; font-weight: 700; opacity: 0; transform: scale(0.8); animation: pop 0.5s var(--ease) forwards; animation-delay: calc(1s + var(--n) * 0.25s); }
.sc-checks .ic { color: #fff; background: var(--red); border-radius: 50%; padding: 0.5cqh; width: 3cqh; height: 3cqh; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* 7. UNIDADES / ROTA */
.sc-route { padding-top: 15cqh; justify-content: flex-start; }
.sc-route svg { width: 86cqw; height: auto; margin: 2cqh 0; overflow: visible; }
.sc-route .road { stroke: #2a2a31; stroke-width: 14; fill: none; stroke-linecap: round; }
.sc-route .road-line { stroke: #fff; stroke-width: 2; fill: none; stroke-dasharray: 10 10; opacity: 0.6; }
.sc-route .road-draw { stroke: var(--red); stroke-width: 5; fill: none; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: road 2.2s var(--ease) 0.5s forwards; filter: drop-shadow(0 0 6px var(--red)); }
@keyframes road { to { stroke-dashoffset: 0; } }
.sc-route .pin { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: pinDrop 0.7s var(--ease) forwards; }
.sc-route .pin.p1 { animation-delay: 1.1s; } .sc-route .pin.p2 { animation-delay: 2.3s; }
@keyframes pinDrop { from { opacity: 0; transform: translateY(-30px) scale(0.6); } to { opacity: 1; transform: none; } }
.sc-route .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(0.6); opacity: 0.9; } to { transform: scale(2.6); opacity: 0; } }
.sc-route .city { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 22px; fill: #fff; text-transform: uppercase; }
.sc-route .city-sub { font-size: 13px; fill: #a1a1aa; font-family: var(--font); }
.sc-route .sc-title { font-size: min(6.8cqh, 11.5cqw); }

/* 8. CTA */
.sc-cta .sc-title { font-size: min(7.4cqh, 12.5cqw); }
.sc-cta .logo-pulse { width: 46cqw; margin: 0 auto 3cqh; animation: lp 2.4s ease-in-out infinite; filter: drop-shadow(0 2cqh 4cqh rgba(227, 20, 28, 0.35)); }
@keyframes lp { 50% { transform: scale(1.05); } }
.sc-cta .url { margin-top: 2.4cqh; font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 3cqh; letter-spacing: 0.02em; }
.sc-cta .contacts { display: grid; gap: 1.2cqh; margin-top: 3cqh; font-size: 2.2cqh; color: var(--text-2); }
.sc-cta .contacts span { display: inline-flex; align-items: center; justify-content: center; gap: 1.2cqh; }
.sc-cta .contacts .ic { width: 2.6cqh; height: 2.6cqh; color: var(--red-2); }
.sc-cta .st-link { position: relative; z-index: 30; margin-top: 3.4cqh; display: inline-flex; align-items: center; gap: 1.2cqh; padding: 0 3.4cqh; height: 6.4cqh; border-radius: 999px; background: #fff; color: #0b0b0d; font-weight: 800; font-size: 2.3cqh; }
.sc-cta .st-link .ic { width: 2.8cqh; height: 2.8cqh; }

/* página stories */
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.story-card { position: relative; aspect-ratio: 9/16; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: pointer; text-align: left; transition: transform 0.4s var(--ease), border-color 0.3s; }
.story-card:hover { transform: translateY(-6px); border-color: rgba(227, 20, 28, 0.5); }
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-card img.contain { object-fit: contain; padding: 18%; background: radial-gradient(circle, rgba(227, 20, 28, 0.25), transparent 70%), #0c0c0e; }
.story-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85)); }
.story-card .sc-cap { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; }
.story-card .sc-cap b { display: block; font-size: 16px; }
.story-card .sc-cap small { color: var(--muted); }
.story-card .sc-play { position: absolute; z-index: 2; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line-2); }
.motion-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.motion-item { border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.motion-item video { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: #000; }
.motion-item div { padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
