/* ==========================================================
   PRO IMAGE DESIGN — trabalhos reais nas páginas de portfólio
   (prints de sites, logos, posts, reels, vídeos, áudios e apps)
   Usa as variáveis de styles.css.
   ========================================================== */

.pj-sec { padding-top: 110px; }
.pj-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.pj { grid-column: span var(--span, 3); display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: border-color .5s; }
.pj:hover { border-color: rgba(47, 211, 255, .35); }
.pj-open { display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; color: inherit; }
.pj-stage { position: relative; flex: none; overflow: hidden; border-bottom: 1px solid var(--stroke); background: radial-gradient(90% 70% at 50% 100%, rgba(47, 211, 255, .16), transparent 60%), linear-gradient(160deg, #0b1424, #05080f); }
.pj-txt { padding: 18px 22px 22px; }
.pj-k { font-size: 11px; color: var(--blue); }
.pj-txt h3 { margin: 6px 0; font-size: 22px; letter-spacing: -.03em; font-weight: 600; }
.pj-txt p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.pj-txt .cs-meta { margin-top: 12px; }
.pj-zoom { position: absolute; right: 14px; bottom: 14px; z-index: 8; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--blue); box-shadow: 0 0 18px -4px rgba(47, 211, 255, .8); opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.pj-zoom .ico { transform: rotate(-45deg); }
.pj-open:hover .pj-zoom, .pj-open:focus-visible .pj-zoom { opacity: 1; transform: none; }
.pj-d-desc { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ---------- celulares ---------- */
.pj-phone { position: absolute; left: 50%; top: 50%; width: 33%; padding: 6px; border-radius: 22px; background: #05070c; border: 1px solid rgba(150, 195, 255, .2); box-shadow: 0 30px 60px -22px #000, 0 0 44px -20px rgba(47, 211, 255, .55); transform: translate(-50%, -50%); transition: transform .9s var(--ease); }
.pj-phone > .lp, .pj-phone > video { border-radius: 17px; overflow: hidden; }
.pj-notch { position: absolute; top: 10px; left: 50%; z-index: 9; width: 24%; height: 5px; margin-left: -12%; border-radius: 4px; background: #000; opacity: .75; }
.pj-phones { aspect-ratio: 5 / 4; }
.pj-phones .pj-phone { animation: phFloat 6s ease-in-out infinite alternate; }
.pj-phones .ph-2 { animation-delay: -2s; }
.pj-phones .ph-3 { animation-delay: -4s; }
@keyframes phFloat { from { translate: 0 6px; } to { translate: 0 -8px; } }
.pj-phones.n3 .ph-1 { z-index: 1; transform: translate(-128%, -47%) rotate(-7deg) scale(.86); }
.pj-phones.n3 .ph-2 { z-index: 3; transform: translate(-50%, -51%); }
.pj-phones.n3 .ph-3 { z-index: 2; transform: translate(28%, -47%) rotate(7deg) scale(.86); }
.pj-open:hover .pj-phones.n3 .ph-1 { transform: translate(-140%, -48%) rotate(-11deg) scale(.88); }
.pj-open:hover .pj-phones.n3 .ph-3 { transform: translate(40%, -48%) rotate(11deg) scale(.88); }
.pj-open:hover .pj-phones.n3 .ph-2 { transform: translate(-50%, -53%) scale(1.03); }
.pj-phones.n2 .ph-1 { z-index: 2; width: 34%; transform: translate(-96%, -50%) rotate(-5deg); }
.pj-phones.n2 .ph-2 { z-index: 1; width: 34%; transform: translate(-4%, -47%) rotate(5deg); }
.pj-open:hover .pj-phones.n2 .ph-1 { transform: translate(-104%, -51%) rotate(-8deg); }
.pj-open:hover .pj-phones.n2 .ph-2 { transform: translate(4%, -48%) rotate(8deg); }
.pj-phones.n1 .ph-1 { width: 36%; }
.pj-phones.n1::before { content: ""; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 211, 255, .25), transparent); animation: n1Glow 4s ease-in-out infinite alternate; }
@keyframes n1Glow { from { transform: translate(-50%, -50%) scale(.85); opacity: .6; } to { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } }

/* ---------- print "vivo": a página se monta e os elementos analisados se mexem ---------- */
.lp { position: relative; overflow: hidden; container-type: inline-size; background: #070b12; }
.lp-img { display: block; width: 100%; height: auto; opacity: 0; }
.lp-b { position: absolute; inset: 0; background: var(--src) center top / 100% 100% no-repeat; clip-path: inset(calc(var(--t) * 1%) 0 calc((100 - var(--b)) * 1%) 0); animation: lpBand 10s var(--ease) infinite backwards; animation-delay: calc(var(--k) * .14s + var(--off, 0s)); }
@keyframes lpBand { 0% { opacity: 0; transform: translateY(5%); } 9%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-1.5%); } }
.lp > span { position: absolute; z-index: 3; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); pointer-events: none; }
.lp-btn { width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); border-radius: 2.6cqw; transform: translate(-50%, -50%); animation: lpBtn 10s ease infinite; animation-delay: var(--off, 0s); }
@keyframes lpBtn {
  0%, 18% { box-shadow: 0 0 0 0 rgba(47, 211, 255, 0); }
  22% { box-shadow: 0 0 0 .7cqw rgba(47, 211, 255, .8), 0 0 7cqw rgba(47, 211, 255, .55); }
  31% { box-shadow: 0 0 0 3cqw rgba(47, 211, 255, 0), 0 0 7cqw rgba(47, 211, 255, 0); }
  40% { box-shadow: 0 0 0 .7cqw rgba(47, 211, 255, .8), 0 0 7cqw rgba(47, 211, 255, .45); }
  49%, 100% { box-shadow: 0 0 0 3cqw rgba(47, 211, 255, 0); }
}
.lp-tap { width: 11cqw; height: 11cqw; margin: -5.5cqw 0 0 -5.5cqw; border-radius: 50%; background: rgba(255, 255, 255, .45); border: .6cqw solid rgba(255, 255, 255, .9); opacity: 0; animation: lpTap 10s ease infinite; animation-delay: var(--off, 0s); }
@keyframes lpTap {
  0%, 50% { opacity: 0; transform: translate(14cqw, 16cqw); }
  56% { opacity: 1; transform: none; }
  59% { transform: scale(.75); box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
  63% { transform: scale(1); }
  70% { opacity: .9; box-shadow: 0 0 0 7cqw rgba(255, 255, 255, 0); }
  76%, 100% { opacity: 0; transform: translate(10cqw, 12cqw); }
}
.lp-wa { width: 13cqw; height: 13cqw; margin: -6.5cqw 0 0 -6.5cqw; border-radius: 50%; animation: lpWa 2.2s ease-out infinite; }
@keyframes lpWa { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .75); } 80%, 100% { box-shadow: 0 0 0 5cqw rgba(37, 211, 102, 0); } }
.lp-play { width: 15cqw; height: 15cqw; margin: -7.5cqw 0 0 -7.5cqw; border-radius: 50%; animation: lpPlay 1.8s ease-out infinite; }
@keyframes lpPlay { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 100% { box-shadow: 0 0 0 7cqw rgba(255, 255, 255, 0); } }
.lp-live { width: 10cqw; height: 10cqw; margin: -5cqw 0 0 -5cqw; border-radius: 50%; animation: lpLive 1.6s ease-out infinite; }
@keyframes lpLive { 0% { box-shadow: 0 0 0 0 rgba(255, 60, 90, .85); } 100% { box-shadow: 0 0 0 6cqw rgba(255, 60, 90, 0); } }
.lp-scan { width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); overflow: hidden; border-radius: 1.6cqw; border: .5cqw solid rgba(47, 211, 255, .85); box-shadow: 0 0 4cqw rgba(47, 211, 255, .45); transform: translate(-50%, -50%); }
.lp-scan i { position: absolute; left: 0; right: 0; top: 0; height: .9cqw; background: #2fd3ff; box-shadow: 0 0 3cqw 1cqw rgba(47, 211, 255, .7); animation: lpScan 1.8s ease-in-out infinite alternate; }
@keyframes lpScan { from { top: 0; } to { top: calc(100% - .9cqw); } }
.lp-sheen { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); animation: lpSheen 10s ease infinite; animation-delay: var(--off, 0s); }
@keyframes lpSheen { 0%, 12% { transform: translateX(-120%); } 26%, 100% { transform: translateX(120%); } }
.lp:not(.on) *, .lp:not(.on) *::before, .lp:not(.on) *::after { animation-play-state: paused !important; }

/* ---------- logos ---------- */
.pj-logo-st { aspect-ratio: 4 / 3; perspective: 900px; }
.pj-s2 .pj-logo-st { aspect-ratio: 1 / 1; }
.lg { position: absolute; inset: 0; overflow: hidden; clip-path: inset(100% 0 0 0); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: clip-path 1.3s var(--ease) .15s, transform .6s var(--ease); }
.pj.in .lg { clip-path: inset(0 0 0 0); }
.lg img, .kb img { width: 100%; height: 100%; object-fit: cover; animation: lgBreath 9s ease-in-out infinite alternate; }
@keyframes lgBreath { from { transform: scale(1.03); } to { transform: scale(1.12); } }
.lg-sweep { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .28) 50%, transparent 62%); transform: translateX(-130%); animation: lgSweep 6s ease-in-out infinite; }
@keyframes lgSweep { 0%, 55% { transform: translateX(-130%); } 80%, 100% { transform: translateX(130%); } }
.lg:not(.on) *, .kb:not(.on) * { animation-play-state: paused !important; }

/* ---------- imagem de campanha ---------- */
.pj-image-st { aspect-ratio: 3 / 2; }
.kb { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--ease) .15s; }
.pj.in .kb { clip-path: inset(0 0 0 0); }

/* ---------- vídeos ---------- */
.pj-video-st { aspect-ratio: 16 / 9; }
.pj-video-st .pj-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-video { display: block; width: 100%; background: #000; }
.pj-play { position: absolute; left: 50%; top: 50%; z-index: 7; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(4, 10, 18, .55); border: 1.5px solid rgba(255, 255, 255, .7); animation: pjPlay 2.2s ease-out infinite; transition: transform .5s var(--ease), background .4s, border-color .4s; }
.pj-play i { width: 0; height: 0; margin-left: 5px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.pj-open:hover .pj-play, .rl-open:hover .pj-play { transform: scale(1.12); background: var(--blue); border-color: var(--blue); }
.pj-open:hover .pj-play i, .rl-open:hover .pj-play i { border-left-color: var(--ink); }
@keyframes pjPlay { 0% { box-shadow: 0 0 0 0 rgba(47, 211, 255, .6); } 100% { box-shadow: 0 0 0 22px rgba(47, 211, 255, 0); } }
.pj-phonevideo-st { aspect-ratio: 2 / 3; }
.pj-phonevideo-st .pj-phone { width: 62%; animation: phFloat 6s ease-in-out infinite alternate; }
.ph-video > video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* ---------- reels ---------- */
.pj-reels-st { aspect-ratio: 3 / 2; display: flex; justify-content: center; align-items: center; gap: 6%; }
.rl-open { position: relative; width: 31%; }
.rl-open .pj-phone { position: relative; left: auto; top: auto; width: 100%; transform: none; animation: phFloat 6s ease-in-out infinite alternate; }
.rl-open ~ .rl-open .pj-phone { animation-delay: -3s; }
.rl-open:hover .pj-phone { transform: translateY(-6px) scale(1.03); }

/* ---------- feed de posts (duas fileiras em sentidos opostos) ---------- */
.pj-feed-st { padding: 26px 0; }
.fd { display: grid; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fd-row { overflow: hidden; }
.fd-track { display: flex; gap: 14px; width: max-content; animation: fdMove 46s linear infinite; }
.fd-rev .fd-track { animation-direction: reverse; animation-duration: 52s; }
.fd:hover .fd-track, .fd:not(.on) .fd-track { animation-play-state: paused; }
@keyframes fdMove { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
.fd-post { flex: none; width: clamp(150px, 17vw, 230px); aspect-ratio: 1; overflow: hidden; border-radius: 16px; border: 1px solid var(--stroke-2); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.fd-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fd-post:hover { transform: translateY(-4px) rotate(-1deg); border-color: rgba(47, 211, 255, .6); box-shadow: 0 16px 34px -14px rgba(47, 211, 255, .6); }
.fd-post:hover img { transform: scale(1.08); }

/* ---------- áudio: vinhetas e spots ---------- */
.pj-audio-st { padding: 18px 18px 8px; }
.au-viz { position: relative; height: 128px; overflow: hidden; border-radius: 14px; border: 1px solid var(--stroke); background: radial-gradient(80% 90% at 50% 100%, rgba(47, 211, 255, .18), transparent 70%), #060b14; }
.au-canvas { display: block; width: 100%; height: 100%; }
.au-now { position: absolute; left: 14px; top: 10px; font-size: 11px; color: var(--blue); }
.au-list { display: grid; gap: 2px; margin-top: 12px; }
.au-tr { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; transition: background .3s; }
.au-tr:hover { background: rgba(47, 211, 255, .06); }
.au-tr.playing { background: rgba(47, 211, 255, .11); }
.au-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); box-shadow: 0 0 18px -6px rgba(47, 211, 255, .8); transition: transform .3s var(--ease); }
.au-btn:hover { transform: scale(1.08); }
.au-ic { width: 0; height: 0; margin-left: 3px; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.playing .au-ic { width: 11px; height: 12px; margin: 0; border: 0; border-left: 3.5px solid var(--ink); border-right: 3.5px solid var(--ink); }
.au-meta b { display: block; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-meta span { font-size: 11px; color: var(--dim); }
.au-n { font-size: 11px; color: var(--dim); }
.au-prog { position: absolute; left: 62px; right: 10px; bottom: 3px; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(150, 195, 255, .08); }
.au-prog i { display: block; width: 0; height: 100%; background: var(--blue); }

/* ---------- apps: tela original + camadas animadas encaixadas ---------- */
.pj-app-st { padding: 22px; display: grid; place-items: center; }
.pj-s6 .pj-app-st { padding: 0; }
.bw { width: 100%; overflow: hidden; border-radius: 14px; border: 1px solid var(--stroke-2); background: #0a0f18; box-shadow: 0 30px 60px -28px #000; }
.bw-bar { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--stroke); }
.bw-bar i { width: 9px; height: 9px; border-radius: 50%; background: #1d2736; }
.ovl { position: relative; width: 100%; container-type: inline-size; }
.ovl-img { display: block; width: 100%; height: auto; }
.ov { position: absolute; pointer-events: none; }
.ov-prog { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: 1.9cqw; transform: translateY(-50%); background: var(--bg); border-radius: 1cqw; }
.ov-prog::before, .ov-prog i { content: ""; position: absolute; left: 0; top: 50%; height: .45cqw; margin-top: -.225cqw; border-radius: 1cqw; }
.ov-prog::before { right: 0; background: rgba(47, 211, 255, .2); }
.ov-prog i { width: 0; background: linear-gradient(90deg, #1f8bff, #2fd3ff); box-shadow: 0 0 1cqw rgba(47, 211, 255, .6); animation: ovFill 14s linear infinite; }
.ov-prog b { position: absolute; top: 50%; left: 0; width: 1.3cqw; height: 1.3cqw; margin: -.65cqw 0 0 -.65cqw; border-radius: 50%; background: #04121b; border: .25cqw solid #2fd3ff; box-shadow: 0 0 1cqw rgba(47, 211, 255, .8); animation: ovKnob 14s linear infinite; }
@keyframes ovFill { from { width: 0; } to { width: 100%; } }
@keyframes ovKnob { from { left: 0; } to { left: 100%; } }
.ov-ring { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--s) * 1cqw); height: calc(var(--s) * 1cqw); margin: calc(var(--s) * -.5cqw) 0 0 calc(var(--s) * -.5cqw); border-radius: 50%; animation: ovRing 2s ease-out infinite; }
@keyframes ovRing { 0% { box-shadow: 0 0 0 0 rgba(47, 211, 255, .75); } 100% { box-shadow: 0 0 0 3cqw rgba(47, 211, 255, 0); } }
.ov-eq { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; gap: 12%; padding: 0; background: var(--bg); }
.ov-eq i { flex: 1; height: 80%; border-radius: .2cqw; background: #2fd3ff; transform-origin: 50% 100%; animation: ovEq .7s ease-in-out infinite alternate; }
.ov-eq i:nth-child(2) { animation-delay: -.25s; animation-duration: .55s; }
.ov-eq i:nth-child(3) { animation-delay: -.5s; animation-duration: .8s; }
.ov-eq i:nth-child(4) { animation-delay: -.1s; animation-duration: .6s; }
@keyframes ovEq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.ov-dot { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 1.3cqw; height: 1.3cqw; margin: -.65cqw 0 0 -.65cqw; border-radius: 50%; animation: ovDot 1.6s ease-out infinite; }
@keyframes ovDot { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 140, .85); } 100% { box-shadow: 0 0 0 1.6cqw rgba(46, 230, 140, 0); } }
.ov-rows { left: calc(var(--x) * 1%); top: calc(var(--t0) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); border-radius: .8cqw; border: .15cqw solid rgba(47, 211, 255, .75); background: rgba(47, 211, 255, .1); box-shadow: 0 0 2cqw rgba(47, 211, 255, .35); animation: ovRows 10s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes ovRows {
  0%, 16% { top: calc(var(--t0) * 1%); }
  20%, 36% { top: calc((var(--t0) + var(--st)) * 1%); }
  40%, 56% { top: calc((var(--t0) + var(--st) * 2) * 1%); }
  60%, 76% { top: calc((var(--t0) + var(--st) * 3) * 1%); }
  80%, 96% { top: calc((var(--t0) + var(--st) * 4) * 1%); }
  100% { top: calc(var(--t0) * 1%); }
}
.ov-shine { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); overflow: hidden; border-radius: .7cqw; }
.ov-shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); animation: ovShine 3.4s ease-in-out infinite; }
@keyframes ovShine { 0%, 50% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.ov-glow { left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); border-radius: .8cqw; animation: ovGlow 2.4s ease-in-out infinite alternate; }
@keyframes ovGlow { from { box-shadow: 0 0 0 .1cqw rgba(47, 211, 255, .35), 0 0 1cqw rgba(47, 211, 255, .25); } to { box-shadow: 0 0 0 .2cqw rgba(47, 211, 255, .8), 0 0 3cqw rgba(47, 211, 255, .55); } }
.ovl:not(.on) *, .ovl:not(.on) *::before, .ovl:not(.on) *::after { animation-play-state: paused !important; }

/* ---------- cenas do reel do topo ---------- */
.rs { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; }
.rs-phones .pj-phone { width: 25%; }
.rs-phones.n2 .rs-ph-1 { z-index: 2; transform: translate(-96%, -50%) rotate(-6deg); }
.rs-phones.n2 .rs-ph-2 { z-index: 1; transform: translate(-4%, -46%) rotate(6deg); }
.rs-logo { background: radial-gradient(60% 80% at 50% 50%, rgba(47, 211, 255, .18), transparent 70%), #05080f; }
.rs-logo img { width: auto; height: 88%; object-fit: contain; border-radius: 14px; }
.rs-img img, .rs-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-scene.cur .rs-logo img { animation: rsZoom 4.2s var(--ease) both; }
.reel-scene.cur .rs-img img { animation: rsKb 5s ease-out both; }
@keyframes rsZoom { from { transform: scale(.82) rotate(-3deg); opacity: 0; } 25% { opacity: 1; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes rsKb { from { transform: scale(1.14) translate(2%, 1%); } to { transform: scale(1) translate(0, 0); } }
.rs-vert::before { content: ""; position: absolute; inset: -10%; background: var(--poster) center / cover; filter: blur(22px) brightness(.45); }
.rs-vert .pj-phone { width: 29%; }
.rs-feed { background: radial-gradient(60% 80% at 50% 60%, rgba(47, 211, 255, .2), transparent 70%), #05080f; }
.rs-post { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 1px solid var(--stroke-2); box-shadow: 0 24px 50px -20px #000; }
.rs-post-1 { z-index: 1; transform: translate(-118%, -48%) rotate(-9deg); }
.rs-post-2 { z-index: 3; transform: translate(-50%, -52%); }
.rs-post-3 { z-index: 2; transform: translate(18%, -48%) rotate(9deg); }
.reel-scene.cur .rs-post { animation: rsPost .9s var(--ease) both; }
.reel-scene.cur .rs-post-2 { animation-delay: .12s; }
.reel-scene.cur .rs-post-3 { animation-delay: .24s; }
@keyframes rsPost { from { opacity: 0; translate: 0 18%; } to { opacity: 1; translate: 0 0; } }
.rs-app { padding: 4%; background: radial-gradient(70% 80% at 50% 60%, rgba(47, 211, 255, .14), transparent 70%), #05080f; }
.rs-app > .ovl, .rs-app > .bw { width: 100%; }
.rs-audio { gap: 18px; align-content: center; background: radial-gradient(70% 80% at 50% 70%, rgba(47, 211, 255, .2), transparent 70%), #05080f; }
.rs-audio .mono { font-size: 12px; color: var(--blue); }
.rs-eq { display: flex; align-items: center; gap: 1%; width: 70%; height: 46%; }
.rs-eq i { flex: 1; height: 100%; border-radius: 4px; background: linear-gradient(0deg, var(--blue-deep), var(--blue), var(--blue-hi)); transform: scaleY(.2); animation: rsEq 1s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -.17s); }
.rs-eq i:nth-child(3n) { animation-duration: .7s; }
.rs-eq i:nth-child(4n) { animation-duration: 1.3s; }
@keyframes rsEq { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
/* story da marca (cena autoral do reel de redes sociais) */
@property --mo-n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.rs-mo { display: block; container-type: size; background: radial-gradient(70% 90% at 78% 45%, rgba(31, 107, 255, .3), transparent 65%), linear-gradient(160deg, #071328, #04070d 70%); }
.mo-glow { position: absolute; left: -16cqw; top: -24cqw; width: 62cqw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(47, 211, 255, .2), transparent 65%); }
.mo-grid { position: absolute; inset: 0; background: radial-gradient(circle, rgba(155, 237, 255, .28) 1px, transparent 1.6px) 0 0 / 3cqw 3cqw; -webkit-mask-image: linear-gradient(90deg, #000, transparent 65%); mask-image: linear-gradient(90deg, #000, transparent 65%); opacity: .55; }
.mo-streak { position: absolute; top: -20%; bottom: -20%; left: 0; width: 16cqw; background: linear-gradient(90deg, transparent, rgba(155, 237, 255, .13), transparent); transform: translateX(-30cqw) skewX(-18deg); }

.mo-copy { position: absolute; left: 7cqw; top: 50%; width: 50cqw; transform: translateY(-50%); }
.mo-k { display: inline-flex; align-items: center; gap: .8cqw; font-size: max(9px, 1.45cqw); color: var(--blue); letter-spacing: .03em; white-space: nowrap; }
.mo-k::before { content: ""; flex: none; width: max(6px, .9cqw); aspect-ratio: 1; border-radius: 50%; background: #ff3d5a; box-shadow: 0 0 10px #ff3d5a; animation: blink 1.2s infinite; }
.mo-h { margin: 1.4cqw 0 2.4cqw; font: 800 8.2cqw/.98 var(--sans); letter-spacing: -.035em; color: var(--text); }
.mo-l { display: block; overflow: hidden; padding: 0 .12em .22em 0; margin-bottom: -.22em; }
.mo-l > b { position: relative; display: inline-block; font-weight: inherit; }
.mo-h em { font: italic 400 1.1em/1 var(--serif); letter-spacing: 0; color: var(--blue); text-shadow: 0 0 2.4cqw rgba(47, 211, 255, .45); }
.mo-swoosh { position: absolute; left: -4%; bottom: -.2em; width: 108%; height: .2em; overflow: visible; }
.mo-swoosh path { fill: none; stroke: var(--blue); stroke-width: max(2px, .45cqw); stroke-linecap: round; stroke-dasharray: 1; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(47, 211, 255, .8)); }
.mo-stats { display: flex; flex-wrap: wrap; gap: 1.1cqw; }
.mo-st { display: inline-flex; align-items: center; gap: .7cqw; padding: .85cqw 1.5cqw; border-radius: 99px; border: 1px solid var(--stroke-2); background: rgba(10, 20, 36, .85); font: 500 max(10px, 1.5cqw)/1 var(--mono); color: var(--muted); white-space: nowrap; }
.mo-st svg { width: 1.15em; height: 1.15em; fill: var(--blue); }
.mo-st i { font-style: normal; font-weight: 700; color: var(--blue); }
.mo-n { --mo-n: var(--to); counter-reset: mo var(--mo-n); color: var(--text); font-weight: 700; }
.mo-n::after { content: counter(mo); }

.mo-story { position: absolute; right: 8cqw; top: 7cqh; height: 86cqh; aspect-ratio: 9 / 16; border-radius: 2.2cqw; overflow: hidden; background: #0a1a33; border: 1px solid rgba(155, 237, 255, .28); box-shadow: 0 3cqw 6cqw -2cqw #000, 0 0 5cqw -1cqw rgba(47, 211, 255, .45); transform: rotate(4deg); }
.mo-bars { position: absolute; z-index: 5; left: 5%; right: 5%; top: 3%; display: flex; gap: 3%; }
.mo-bars i { flex: 1; height: max(2px, .35cqw); border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .3); }
.mo-bars i::after { content: ""; display: block; height: 100%; background: #fff; transform-origin: left; }
.mo-head { position: absolute; z-index: 5; left: 5%; right: 5%; top: 6.5%; display: flex; align-items: center; gap: 4%; font: 700 max(8px, 1.15cqw)/1 var(--sans); color: #fff; }
.mo-head svg { flex: none; width: max(14px, 2.6cqw); height: max(14px, 2.6cqw); padding: 1px; border-radius: 50%; background: #04070d; box-shadow: 0 0 0 1.5px var(--blue); }
.mo-head em { font: 400 max(8px, 1.05cqw)/1 var(--mono); color: rgba(255, 255, 255, .6); }
.mo-f { position: absolute; inset: 0; overflow: hidden; }

.mo-f1 { background: linear-gradient(165deg, var(--blue-deep), #0b2c6b 55%, #061022); }
.mo-ring { position: absolute; left: 50%; top: 46%; width: 76%; aspect-ratio: 1; margin: -38% 0 0 -38%; border-radius: 50%; border: max(1.5px, .3cqw) dashed rgba(155, 237, 255, .55); }
.mo-dot { position: absolute; left: 14%; top: 22%; width: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); box-shadow: 0 0 3cqw var(--blue); }
.mo-sq { position: absolute; right: 12%; bottom: 18%; width: 18%; aspect-ratio: 1; border-radius: 24%; border: max(1.5px, .3cqw) solid #fff; transform: rotate(18deg); }
.mo-new { position: absolute; left: 0; right: 0; top: 37%; display: flex; justify-content: center; font: 800 6.6cqw/1 var(--sans); letter-spacing: -.02em; color: #fff; }
.mo-new span { display: inline-block; }
.mo-post { position: absolute; left: 0; right: 0; top: 52%; text-align: center; font: italic 400 5.8cqw/1 var(--serif); color: var(--blue-hi); }

.mo-f2 { background: radial-gradient(90% 60% at 50% 45%, rgba(47, 211, 255, .35), transparent 70%), linear-gradient(180deg, #0a2350, #050b18); clip-path: circle(120% at 50% 45%); }
.mo-card { position: absolute; left: 9%; right: 9%; top: 24%; aspect-ratio: 1; border-radius: 6%; overflow: hidden; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 2cqw 4cqw -1cqw #000; }
.mo-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mo-like, .mo-burst, .mo-tap { position: absolute; left: 50%; top: 44%; opacity: 0; }
.mo-like { width: 40%; aspect-ratio: 1; margin: -20% 0 0 -20%; filter: drop-shadow(0 0 2.4cqw rgba(47, 211, 255, .9)); }
.mo-like svg { width: 100%; height: 100%; fill: #fff; }
.mo-burst { width: 60%; aspect-ratio: 1; margin: -30% 0 0 -30%; border-radius: 50%; border: max(2px, .4cqw) solid var(--blue); }
.mo-tap { width: 14%; aspect-ratio: 1; margin: -7% 0 0 -7%; border-radius: 50%; background: rgba(255, 255, 255, .45); }

.mo-f3 { display: grid; place-content: center; justify-items: center; gap: 4cqh; padding: 0 8%; text-align: center; background: radial-gradient(80% 50% at 50% 32%, rgba(47, 211, 255, .3), transparent 70%), #050b18; clip-path: inset(0); }
.mo-logo { width: 12cqw; height: 12cqw; filter: drop-shadow(0 0 2cqw rgba(47, 211, 255, .6)); }
.mo-t { font: 800 3.3cqw/1.05 var(--sans); letter-spacing: -.02em; color: #fff; }
.mo-cta { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: .5cqw; overflow: hidden; padding: .9cqw 2cqw 1cqw; border-radius: 99px; background: var(--blue); color: var(--ink); font: 700 max(8px, 1.2cqw)/1 var(--mono); white-space: nowrap; }
.mo-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-120%); }
.mo-chev { width: max(6px, 1cqw); aspect-ratio: 1; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }

.mo-react { position: absolute; right: 3cqw; bottom: 9cqh; width: 6cqw; height: 64cqh; pointer-events: none; }
.mo-react i { position: absolute; bottom: 0; left: 50%; width: max(12px, 2.6cqw); aspect-ratio: 1; margin-left: max(-6px, -1.3cqw); color: var(--blue); opacity: 0; }
.mo-react i:nth-child(2n) { color: #fff; }
.mo-react i:nth-child(3n) { color: #ff4d7d; }
.mo-react svg { display: block; width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 6px rgba(47, 211, 255, .5)); }

/* reel estreito (celular): story mais enxuto */
@container (max-width: 560px) {
  .mo-head em { display: none; }
  .mo-head span { font-size: 7.5px; }
  .mo-cta { gap: 2px; padding: 3px 7px 4px; font-size: 6.5px; }
  .mo-chev { width: 4px; border-width: 1.5px; }
}

/* linha do tempo da cena (7 s) */
.reel-scene.cur .mo-glow { animation: moGlow 6s ease-in-out infinite alternate; }
.reel-scene.cur .mo-grid { animation: moGrid 7s linear both; }
.reel-scene.cur .mo-streak { animation: moStreak 3.5s var(--ease-io) .2s infinite; }
.reel-scene.cur .mo-k { animation: moFade .6s ease .1s both; }
.reel-scene.cur .mo-l > b { animation: moUp .8s var(--ease) both; }
.reel-scene.cur .mo-l:nth-child(1) > b { animation-delay: .2s; }
.reel-scene.cur .mo-l:nth-child(2) > b { animation-delay: .38s; }
.reel-scene.cur .mo-l:nth-child(3) > b { animation-delay: .56s; }
.reel-scene.cur .mo-swoosh path { animation: moDraw .7s var(--ease-io) 1.15s both; }
.reel-scene.cur .mo-st { animation: moPop .6s cubic-bezier(.3, 1.5, .5, 1) 1.9s both; }
.reel-scene.cur .mo-st + .mo-st { animation-delay: 2.15s; }
.reel-scene.cur .mo-n { animation: moCount 2.6s cubic-bezier(.2, .7, .2, 1) 2s both; }
.reel-scene.cur .mo-st + .mo-st .mo-n { animation-delay: 2.25s; }

.reel-scene.cur .mo-story { animation: moStory 1s var(--ease) .1s both, moBob 3.2s ease-in-out 1.2s infinite alternate; }
.reel-scene.cur .mo-bars i::after { animation: moBar 2s linear .6s both; }
.reel-scene.cur .mo-bars i:nth-child(2)::after { animation-delay: 2.6s; }
.reel-scene.cur .mo-bars i:nth-child(3)::after { animation-duration: 2.3s; animation-delay: 4.6s; }

.reel-scene.cur .mo-ring { animation: moRing .9s var(--ease) .7s both, moTurn 9s linear infinite; }
.reel-scene.cur .mo-dot { animation: moBounce .9s var(--ease) .9s both; }
.reel-scene.cur .mo-sq { animation: moSq 1s var(--ease) .85s both; }
.reel-scene.cur .mo-new span { animation: moLetter .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(1s + var(--k) * .08s); }
.reel-scene.cur .mo-post { animation: moReveal .6s var(--ease-io) 1.45s both; }

.reel-scene.cur .mo-f2 { animation: moCircle .8s var(--ease-io) 2.55s both; }
.reel-scene.cur .mo-card { animation: moCard .9s var(--ease) 2.6s both; }
.reel-scene.cur .mo-card img { animation: moKb 2.2s ease-out 2.6s both; }
.reel-scene.cur .mo-tap { animation: moTap .3s ease-out 3.1s 2 both; }
.reel-scene.cur .mo-burst { animation: moBurst .7s ease-out 3.35s both; }
.reel-scene.cur .mo-like { animation: moLike 1.2s var(--ease) 3.3s both; }

.reel-scene.cur .mo-f3 { animation: moWipe .7s var(--ease-io) 4.6s both; }
.reel-scene.cur .mo-logo { animation: moLogo 1s var(--ease) 4.8s both; }
.reel-scene.cur .mo-t { animation: moUpFade .7s var(--ease) 5.1s both; }
.reel-scene.cur .mo-cta { animation: moPop .6s cubic-bezier(.3, 1.5, .5, 1) 5.4s both; }
.reel-scene.cur .mo-cta::after { animation: moShine 1.6s ease-in-out 5.9s infinite; }
.reel-scene.cur .mo-chev { animation: moChev .5s ease-in-out 5.7s infinite alternate; }

.reel-scene.cur .mo-react i { animation: moFloat 2.6s ease-out infinite; animation-delay: calc(3.4s + var(--i) * .38s); }
.reel-scene.cur .mo-react i:nth-child(odd) { animation-name: moFloat2; }

@keyframes moGlow { to { transform: translate(18cqw, 20cqh) scale(1.2); } }
@keyframes moGrid { from { background-position: 0 0; } to { background-position: 0 -6cqw; } }
@keyframes moStreak { 0% { transform: translateX(-30cqw) skewX(-18deg); } 60%, 100% { transform: translateX(120cqw) skewX(-18deg); } }
@keyframes moFade { from { opacity: 0; } }
@keyframes moUp { from { transform: translateY(110%) rotate(5deg); } }
@keyframes moDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes moPop { from { opacity: 0; transform: scale(.5); } }
@keyframes moCount { from { --mo-n: 0; } }
@keyframes moStory { from { opacity: 0; transform: translate(30cqw, 10cqh) rotate(20deg); } }
@keyframes moBob { to { translate: 0 -1.6cqh; } }
@keyframes moBar { from { transform: scaleX(0); } }
@keyframes moRing { from { opacity: 0; transform: scale(0) rotate(-120deg); } }
@keyframes moTurn { to { rotate: 360deg; } }
@keyframes moBounce { 0% { opacity: 0; transform: translateY(-300%) scale(.6); } 55% { opacity: 1; transform: translateY(0) scale(1.15, .8); } 75% { transform: translateY(-25%) scale(.95, 1.05); } }
@keyframes moSq { from { opacity: 0; transform: rotate(-160deg) scale(0); } }
@keyframes moLetter { from { opacity: 0; transform: translateY(90%) scale(.3); } }
@keyframes moReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes moCircle { from { clip-path: circle(0% at 50% 45%); } }
@keyframes moCard { from { opacity: 0; transform: translateY(16%) scale(.86) rotate(-4deg); } }
@keyframes moKb { from { transform: scale(1.25); } }
@keyframes moTap { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes moBurst { 0% { opacity: 1; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes moLike { 0% { opacity: 0; transform: scale(0); } 22% { opacity: 1; transform: scale(1.25); } 38% { transform: scale(.92); } 52% { transform: scale(1.04); } 75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translateY(-30%) scale(.8); } }
@keyframes moWipe { from { clip-path: inset(100% 0 0 0); } }
@keyframes moLogo { from { opacity: 0; transform: scale(.2) rotate(-200deg); } }
@keyframes moUpFade { from { opacity: 0; transform: translateY(40%); } }
@keyframes moShine { 0%, 40% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes moChev { to { transform: translateY(-40%) rotate(45deg); } }
@keyframes moFloat { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: 1; transform: translate(-60%, -6cqh) scale(1); } 55% { transform: translate(70%, -32cqh) scale(.95); } 100% { opacity: 0; transform: translate(-40%, -60cqh) scale(.7); } }
@keyframes moFloat2 { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: 1; transform: translate(60%, -6cqh) scale(1.1); } 55% { transform: translate(-80%, -30cqh) scale(.9); } 100% { opacity: 0; transform: translate(30%, -60cqh) scale(.6); } }
.reel-scene:not(.cur) *, .reel-scene:not(.cur) *::before, .reel-scene:not(.cur) *::after,
.reel:not(.vis) .reel-scene *, .reel.paused .reel-scene * { animation-play-state: paused !important; }

/* ---------- janela de detalhes (trabalhos) ---------- */
.pjm-img { display: block; max-width: 100%; max-height: calc(100vh - 80px); margin: 0 auto; object-fit: contain; }
.pjm-sq { max-height: min(78vh, 720px); }
.pjm-video { display: block; width: 100%; max-height: calc(100vh - 80px); background: #000; }
.pjm-vert { width: auto; max-width: 100%; height: min(80vh, 760px); margin: 0 auto; }
.pjm-phones { display: flex; justify-content: center; align-items: flex-start; gap: 18px; padding: 26px; overflow-x: auto; }
.pjm-phones .pj-phone { position: relative; left: auto; top: auto; flex: none; width: 220px; transform: none; }
.pjm-screens { display: grid; gap: 18px; padding: 20px; max-height: calc(100vh - 80px); overflow: auto; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj { grid-column: span 1; }
  .pj-s6, .pj-s4 { grid-column: span 2; }
}
@media (max-width: 760px) {
  .pj-sec { padding-top: 80px; }
  .pj-grid { grid-template-columns: 1fr; gap: 14px; }
  .pj, .pj-s6, .pj-s4 { grid-column: span 1; }
  .pj-zoom { opacity: 1; transform: none; }
  .pj-phones { aspect-ratio: 4 / 5; }
  .pj-phones.n3 .pj-phone { width: 40%; }
  .pj-phones.n2 .pj-phone { width: 42%; }
  .pj-phones.n1 .ph-1 { width: 48%; }
  .pj-reels-st { aspect-ratio: 1 / 1; }
  .rl-open { width: 40%; }
  .pj-phonevideo-st { aspect-ratio: 4 / 5; }
  .pj-phonevideo-st .pj-phone { width: 52%; }
  .fd-post { width: 150px; }
  .pjm-phones { justify-content: flex-start; padding: 20px 16px; }
  .pjm-phones .pj-phone { width: 72vw; max-width: 260px; }
  .rs-phones .pj-phone { width: 34%; }
  .rs-vert .pj-phone { width: 38%; }
}
@media (prefers-reduced-motion: reduce) {
  .fd-track { animation: none; }
  .rs-mo *, .rs-mo *::before, .rs-mo *::after { animation: none !important; }
}

/* 5 categorias: "outras frentes" com 4 cards e 404 com 5 */
.ot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pf-404-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ot-info h3 { font-size: 18px; }
@media (max-width: 1100px) { .ot-grid, .pf-404-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ot-grid { grid-template-columns: 1fr; } }

/* player de áudio largo: barras à esquerda, faixas em duas colunas */
.pj-audio.pj-s6 .au { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; }
.pj-audio.pj-s6 .au-viz { height: auto; min-height: 210px; }
.pj-audio.pj-s6 .au-list { margin-top: 0; grid-template-columns: 1fr 1fr; align-content: center; }
@media (max-width: 900px) { .pj-audio.pj-s6 .au { grid-template-columns: 1fr; } .pj-audio.pj-s6 .au-viz { min-height: 128px; } }
@media (max-width: 560px) { .pj-audio.pj-s6 .au-list { grid-template-columns: 1fr; } }
