/* Ato 1: abertura fixa, câmera pelos fluxos, passagem por dentro do título */
.act1 .hero { min-height: 100vh; }
/* Com o Lenis suavizando a rolagem, o "scroll-behavior: smooth" do site precisa sair: os dois juntos animam cada posição
   duas vezes, e a página leva quase um segundo para começar a se mover depois da roda do mouse. */
html.lenis, html.lenis body { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
/* textos de apoio: saem em velocidades diferentes, comandados pela rolagem (variáveis vindas do act1.js) */
.act1-go .hero__tagline, .act1-go .hero__support, .act1-go .hero__ctas, .act1-go .hero__note {
  animation: none !important; transition: none !important; opacity: var(--a1o, 1) !important;
  translate: var(--a1x, 0px) calc(var(--a1y, 0) * var(--a1k, -30px)); }
.act1-go .hero__support { --a1k: -48px; }
.act1-go .hero__ctas { --a1k: -66px; }
.act1-go .hero__note { --a1k: -84px; }
.act1-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; opacity: 0; pointer-events: none; isolation: isolate; }
.act1-next { position: absolute; inset: 0; }
/* título sólido em SVG: acima dos fluxos (z 0) e abaixo do conteúdo da abertura (z 2) */
.act1-front { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 0; overflow: hidden; }

/* máscara do título: preto com letras brancas em multiply; no tema claro, o inverso em screen */
.act1-ko { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; }
.act1-ko rect { fill: #000; }
.act1-ko g { fill: #fff; }
.act1-tint { position: absolute; inset: 0; background: var(--bg); mix-blend-mode: lighten; }
[data-theme="light"] .act1-ko { mix-blend-mode: screen; }
[data-theme="light"] .act1-ko rect { fill: #fff; }
[data-theme="light"] .act1-ko g { fill: #000; }
[data-theme="light"] .act1-tint { mix-blend-mode: darken; }

.act1-next__bg { position: absolute; inset: -6%; background:
  radial-gradient(60% 50% at 26% 34%, rgba(143, 240, 171, .5) 0%, rgba(28, 107, 69, 0) 70%),
  radial-gradient(90% 70% at 72% 42%, rgba(95, 221, 128, .5) 0%, rgba(28, 107, 69, .7) 34%, rgba(13, 42, 32, 0) 72%),
  linear-gradient(180deg, #0f2a20 0%, #09110F 100%); }
.act1-next__grid { position: absolute; inset: -4%; opacity: 0;
  background-image: linear-gradient(rgba(143, 240, 171, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 240, 171, .09) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 68% 46%, #000 0%, transparent 100%); mask-image: radial-gradient(70% 60% at 68% 46%, #000 0%, transparent 100%); }

.act1-next__pos { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding: 0 7vw 6vh 0; }
.act1-next__rig { position: relative; width: min(52vw, 880px); will-change: transform; }
.act1-next__shot { border-radius: 14px; overflow: hidden;
  box-shadow: 0 50px 140px rgba(0, 0, 0, .6), 0 0 0 1px rgba(143, 240, 171, .22), 0 0 80px rgba(95, 221, 128, .12); }
.act1-next__shot img { display: block; width: 100%; height: auto; }

/* cantos e linha de medida, no vocabulário das redlines do site */
.act1-c { position: absolute; width: 22px; height: 22px; border: 0 solid #5FDD80; }
.act1-c--1 { left: -14px; top: -14px; border-left-width: 1.5px; border-top-width: 1.5px; }
.act1-c--2 { right: -14px; top: -14px; border-right-width: 1.5px; border-top-width: 1.5px; }
.act1-c--3 { left: -14px; bottom: -14px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.act1-c--4 { right: -14px; bottom: -14px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.act1-next__dim { position: absolute; left: 0; right: 0; bottom: -44px; display: flex; align-items: center; gap: 12px; transform-origin: 0 50%;
  font-family: var(--display); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #5FDD80; }
.act1-next__dim span { flex: 1; height: 1px; background: #5FDD80; position: relative; opacity: .7; }
.act1-next__dim span:first-child::before, .act1-next__dim span:last-child::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: #5FDD80; }
.act1-next__dim span:first-child::before { left: 0; }
.act1-next__dim span:last-child::after { right: 0; }
.act1-next__dim em { font-style: normal; white-space: nowrap; }
.act1-next__chip { position: absolute; left: -34px; top: 16%; display: flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: #fff; white-space: nowrap;
  background: rgba(9, 17, 15, .55); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(143, 240, 171, .35), 0 18px 40px rgba(0, 0, 0, .45); }
.act1-next__chip b { width: 8px; height: 8px; border-radius: 50%; background: #5FDD80; box-shadow: 0 0 0 4px rgba(95, 221, 128, .25); }

.act1-next__copy { position: absolute; left: 0; right: 0; bottom: 10vh; color: #fff; will-change: transform; }
.act1-next__label { font-family: var(--display); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #8FF0AB; margin: 0 0 14px; }
.act1-next__big { font-family: var(--display); font-size: clamp(3.4rem, 10vw, 9rem); line-height: .95; letter-spacing: -.03em; margin: 0;
  background: linear-gradient(180deg, #fff 30%, #8FF0AB 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.act1-next__big small { font-size: .3em; letter-spacing: 0; margin-left: .35em; }
.act1-next__sub { font-size: 1.15rem; margin: 14px 0 0; color: rgba(255, 255, 255, .82); }

.act1-hint { position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--display); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.act1-hint span { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); animation: act1-hint 1.8s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes act1-hint { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 979px) {
  .act1-next__pos { align-items: flex-start; justify-content: center; padding: 17vh 7vw 0; }
  .act1-next__rig { width: 100%; }
  .act1-next__chip { left: 10px; top: -20px; font-size: .74rem; padding: 8px 13px; }
  .act1-next__copy { bottom: 12vh; }
  .act1-hint { display: none; }
}
