/* ===== Vitrine de cases (banner largo escuro) ===== */
.show { position: relative; padding: 40px 0 110px; background: #fff; }
.show__inner { padding: 0 var(--frame) 0 calc(var(--frame) + 14px); max-width: 1440px; margin: 0 auto; }

.show__banner {
  position: relative; overflow: hidden; isolation: isolate; min-height: 500px; border-radius: 10px; background: #070a24;
  opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1);
}
.show__banner.is-in { opacity: 1; transform: none; }
.show__waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
/* escurece a esquerda para o texto ter contraste */
.show__vignette { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,10,36,.92) 0%, rgba(7,10,36,.55) 38%, transparent 62%); }

/* ===== Texto ===== */
.show__copy { position: relative; z-index: 3; max-width: 430px; padding: 44px 0 40px 52px; color: #fff; }
.show__kicker { display: inline-block; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #d2cdff; background: rgba(123,108,255,.18); box-shadow: inset 0 0 0 1px rgba(169,159,255,.3); }
.show__copy h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -.03em; font-weight: 500; }
.show__copy p { margin: 16px 0 24px; font-size: 17px; line-height: 1.6; color: #b9bdf0; max-width: 420px; }
.btn--white-solid { height: 46px; padding: 0 22px; background: #fff; color: var(--brand-500); }
.btn--white-solid:hover { background: var(--brand-50); }

.show__cases { list-style: none; display: grid; gap: 2px; margin-top: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.show__cases li { padding: 6px 0 6px 16px; white-space: nowrap; margin-left: -1px; border-left: 2px solid transparent; cursor: pointer; transition: border-color .4s, opacity .4s; opacity: .5; outline: none; }
.show__cases li:focus-visible { opacity: 1; border-color: #fff; }
.show__cases li.is-on { border-color: #a99fff; opacity: 1; }
.show__cases b { display: block; font-size: 14.5px; font-weight: 600; }
.show__cases span { font-size: 13px; color: #b9bdf0; }

.show__brand { position: absolute; right: 30px; bottom: 24px; z-index: 3; font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.show__brand em { font-style: normal; font-weight: 400; opacity: .85; }

/* ===== Palco dos dispositivos (perspectiva + parallax com o mouse) ===== */
.show__stage { position: absolute; inset: 0 0 0 38%; z-index: 2; perspective: 1800px; --mx: 0; --my: 0; }
.scr { position: absolute; margin: 0; --lift: 0px; --s: 1; transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity 1s ease; will-change: transform; }
/* escurecer com uma camada por cima da tela (opacity é barato; filter em vídeo 3D travava a troca) */
.dev-laptop__lid, .dev-tablet { position: relative; }
.dev-laptop__lid::after, .dev-tablet::after, .dev-phone::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: rgba(6, 8, 30, .55); transition: opacity .45s cubic-bezier(.2,.8,.2,1);
}
.scr.is-focus .dev-laptop__lid::after, .scr.is-focus .dev-tablet::after, .scr.is-focus .dev-phone::after { opacity: 0; }
.scr.is-focus { --lift: 70px; --s: 1.04; }
.scr img, .scr video { display: block; width: 100%; height: auto; object-fit: cover; background: #0b1033; }
.scr.is-top { z-index: 5 !important; }
.show__banner .scr { opacity: 0; }
.show__banner.is-in .scr { opacity: 1; }
.show__banner.is-in .scr--laptop { transition-delay: .15s; }
.show__banner.is-in .scr--tablet { transition-delay: .35s; }
.show__banner.is-in .scr--phone { transition-delay: .55s; }

/* Notebook */
.scr--laptop {
  left: 4%; top: 64px; width: 600px; z-index: 2;
  transform: rotateY(-14deg) rotateX(5deg) translate3d(calc(var(--mx) * -16px), calc(var(--my) * -10px), calc(0px + var(--lift))) scale(var(--s));
}
.dev-laptop__lid {
  padding: 12px 12px 14px; border-radius: 16px 16px 4px 4px; background: #11142e;
  box-shadow: 0 0 0 1.5px #2a2f55 inset, 0 50px 80px -30px rgba(0,0,0,.75);
}
.dev-laptop__lid img, .dev-laptop__lid video { border-radius: 4px; }
.dev-laptop__base {
  position: relative; height: 16px; margin: 0 -7%; border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #c9cbe0, #8a8eb3 60%, #5d6189);
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.8);
}
.dev-laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #7d81a8; }
.scr--laptop.is-focus .dev-laptop__lid { box-shadow: 0 0 0 1.5px #2a2f55 inset, 0 50px 80px -30px rgba(0,0,0,.75), 0 0 70px -20px rgba(123,108,255,.7); }

/* Tablet */
.scr--tablet {
  right: -4%; top: 30px; width: 420px; z-index: 1;
  transform: rotateY(-20deg) rotateX(6deg) translate3d(calc(var(--mx) * -10px), calc(var(--my) * -6px), calc(-60px + var(--lift))) scale(var(--s));
}
.dev-tablet { padding: 10px; border-radius: 20px; background: #11142e; box-shadow: 0 0 0 1.5px #2a2f55 inset, 0 40px 70px -30px rgba(0,0,0,.7); }
.dev-tablet img, .dev-tablet video { border-radius: 10px; }
.scr--tablet.is-focus .dev-tablet { box-shadow: 0 0 0 1.5px #2a2f55 inset, 0 40px 70px -30px rgba(0,0,0,.7), 0 0 70px -20px rgba(123,108,255,.7); }

/* Celular */
.scr--phone {
  left: 0; top: 150px; width: 168px; z-index: 3;
  transform: rotateY(-8deg) rotateX(4deg) translate3d(calc(var(--mx) * -30px), calc(var(--my) * -20px), calc(60px + var(--lift))) scale(var(--s));
}
.dev-phone { position: relative; padding: 7px; border-radius: 30px; background: #11142e; box-shadow: 0 0 0 1.5px #2a2f55 inset, 0 40px 70px -24px rgba(0,0,0,.8); }
.dev-phone::before { content: ""; position: absolute; left: 50%; top: 13px; z-index: 1; width: 52px; height: 15px; transform: translateX(-50%); border-radius: 10px; background: #11142e; }
.dev-phone img, .dev-phone video { border-radius: 24px; }
.scr--phone.is-focus .dev-phone { box-shadow: 0 0 0 1.5px #2a2f55 inset, 0 40px 70px -24px rgba(0,0,0,.8), 0 0 60px -16px rgba(123,108,255,.75); }

/* ===== Responsivo ===== */
@media (max-width: 1180px) {
  .scr--laptop { width: 500px; }
  .scr--tablet { width: 340px; }
  .scr--phone { width: 140px; top: 170px; }
}
@media (max-width: 960px) {
  .show__banner { min-height: 0; display: flex; flex-direction: column; }
  .show__vignette { background: linear-gradient(180deg, rgba(7,10,36,.9) 0%, rgba(7,10,36,.45) 50%, transparent 80%); }
  .show__copy { max-width: none; padding: 44px 32px 0; }
  .show__cases { display: none; }
  .show__stage { position: relative; inset: auto; height: 380px; margin-top: 16px; }
  .scr--laptop { left: 16%; top: 30px; width: 520px; }
  .scr--tablet { right: -6%; top: 0; width: 320px; }
  .scr--phone { left: 4%; top: 110px; width: 140px; }
  .show__brand { font-size: 20px; right: 20px; bottom: 16px; }
}
.show__caption { display: none; }

/* ===== Celular: um sistema por vez, grande e reto, trocando com fade ===== */
@media (max-width: 760px) {
  .show { padding: 24px 0 64px; }
  .show__inner { padding: 0 16px; }
  .show__banner { border-radius: 14px; }
  .show__vignette { background: linear-gradient(180deg, rgba(7,10,36,.92) 0%, rgba(7,10,36,.6) 45%, rgba(7,10,36,.35) 100%); }
  /* texto → mockup → abas → legenda (o bloco de texto "se desfaz" para reordenar) */
  .show__copy { display: contents; }
  .show__copy > * { position: relative; z-index: 3; }
  .show__copy h2 { order: 1; margin: 30px 20px 0; font-size: 30px; line-height: 1.1; }
  .show__copy p { order: 2; margin: 12px 20px 20px; font-size: 15px; }
  .show__copy .btn--white-solid { order: 3; margin: 0 20px; width: calc(100% - 40px); height: 48px; }
  .show__stage { order: 4; }
  .show__cases { order: 5; }
  .show__copy .show__caption { order: 6; }

  /* cases viram abas (pílulas) */
  .show__cases {
    display: flex; justify-content: center; justify-content: safe center; flex-wrap: nowrap; gap: 5px; margin: 6px 0 0; padding: 0 10px 2px; border: 0;
    overflow-x: auto; scrollbar-width: none;
  }
  .show__cases::-webkit-scrollbar { display: none; }
  .show__cases li {
    flex: none; margin: 0; padding: 7px 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
    opacity: 1; background: rgba(255,255,255,.06); transition: background .3s, color .3s, border-color .3s;
  }
  .show__cases li b { font-size: 12px; font-weight: 500; color: #d2cdff; }
  .show__cases li span { display: none; }
  .show__cases li.is-on { background: #fff; border-color: #fff; }
  .show__cases li.is-on b { color: var(--brand-500); font-weight: 600; }
  .show__copy .show__caption { display: block; text-align: center; margin: 10px 20px 26px; min-height: 20px; font-size: 13.5px; color: #b9bdf0; }

  /* palco: um dispositivo centralizado por vez */
  .show__stage { position: relative; inset: auto; height: 340px; margin-top: 12px; perspective: none; overflow: hidden; }
  .show .scr, .show .scr--laptop, .show .scr--tablet, .show .scr--phone {
    display: block; left: 50%; right: auto; top: 50%; z-index: 1;
    opacity: 0; filter: none; transform: translate(-50%, -46%) scale(.94);
    transition: opacity .25s ease, transform .4s ease;
  }
  .show__banner.is-in .scr { opacity: 0; transition-delay: 0s; }
  .show .scr.is-focus, .show__banner.is-in .scr.is-focus { opacity: 1; transform: translate(-50%, -50%) scale(1); z-index: 2; transition: opacity .6s ease .25s, transform .8s cubic-bezier(.2,.8,.2,1) .25s; }
  .show .scr--laptop { width: min(92%, 380px); }
  .show .scr--tablet { width: min(96%, 420px); }
  .show .scr--phone { width: 152px; }
  .dev-laptop__lid { padding: 8px 8px 10px; border-radius: 12px 12px 3px 3px; }
  .dev-laptop__base { height: 11px; }
  .dev-tablet { padding: 7px; border-radius: 16px; }
  .dev-tablet img, .dev-tablet video { border-radius: 8px; }
  .show__brand { display: none; }
}
