/* Mu Tools — camada cinematográfica (vídeo, profundidade, rolagem). Vem depois do site.css. */
:root {
  --fundo: #06080b;
  --fundo-2: #0a0e13;
  --curva: cubic-bezier(.2, .7, .1, 1);
  --fonte-titulo: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
}
body { background: var(--fundo); }
::selection { background: rgba(216, 166, 58, .35); color: #fff; }
h1, h2, h3 { font-family: var(--fonte-titulo); }
body::after {
  content: ''; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------- topo por cima do vídeo ---------- */
body.tem-hero .topo { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background .35s, border-color .35s, backdrop-filter .35s; }
body.tem-hero .topo.rolou { background: rgba(6, 8, 11, .78); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgba(255, 255, 255, .06); }
body.tem-hero .topo:has(#menu-aberto:checked) { background: rgba(6, 8, 11, .96); }
body.tem-hero main.pagina > .cheio:first-child { margin-top: 0; }

/* ---------- utilitários ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--cor, var(--ouro)); font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 18px; }
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.titulo-gigante { font-size: clamp(46px, 8.6vw, 142px); line-height: .93; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.titulo-grande { font-size: clamp(36px, 5.4vw, 80px); line-height: .98; letter-spacing: -.04em; font-weight: 800; text-wrap: balance; }
.titulo-gigante em, .titulo-grande em { font-style: normal; background: linear-gradient(180deg, #ffe7a8 0%, #e2ad42 55%, #a8731c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.titulo-gigante em:has(.p), .titulo-grande em:has(.p) { background: none; color: inherit; }
.titulo-gigante em .p > span, .titulo-grande em .p > span { background: linear-gradient(180deg, #ffe7a8 0%, #e2ad42 55%, #a8731c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.cor-app { color: var(--cor); }
.p { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.p > span { display: inline-block; }
html.js .anima .p > span { animation: subir 1.1s var(--curva) both; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes subir { from { transform: translateY(105%); } to { transform: none; } }
html.js [data-revela] { opacity: 0; translate: 0 46px; transition: opacity 1s var(--curva) var(--d, 0s), translate 1.1s var(--curva) var(--d, 0s), transform .4s var(--curva), border-color .3s, box-shadow .3s; }
html.js [data-revela].visivel { opacity: 1; translate: none; }
.secao-cine { position: relative; padding: 140px 0; }
.secao-cine + .secao-cine { padding-top: 40px; }

/* ---------- hero em vídeo ---------- */
.cine-hero { --cor: var(--ouro); position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #000; }
.cine-hero > .fundo, .cine-hero > .fundo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(calc(1.06 + var(--p, 0) * .22)); opacity: calc(1 - var(--p, 0) * .55); will-change: transform; }
.cine-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(120% 90% at 70% 40%, transparent 30%, rgba(3, 4, 6, .75) 100%),
  linear-gradient(90deg, rgba(6, 8, 11, .95) 0%, rgba(6, 8, 11, .78) 38%, rgba(6, 8, 11, .25) 70%, rgba(6, 8, 11, .1) 100%),
  linear-gradient(0deg, var(--fundo) 0%, rgba(6, 8, 11, .45) 32%, transparent 60%); }
.cine-hero::after { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 45% at 78% 62%, color-mix(in srgb, var(--cor) 18%, transparent), transparent 70%); mix-blend-mode: screen; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 35%); mask-image: linear-gradient(0deg, transparent 0%, #000 35%); }
.particulas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cine-hero .caixa { position: relative; padding: 170px 0 110px; transform: translateY(calc(var(--p, 0) * -80px)); opacity: calc(1 - var(--p, 0) * 1.3); }
.cine-hero .lead { font-size: clamp(17px, 1.5vw, 21px); max-width: 52ch; color: #b9c6d4; margin-top: 26px; }
.cine-hero .acoes { margin-top: 36px; }
.cine-hero .voltar { margin-bottom: 26px; }
.rolar-dica { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; color: rgba(255, 255, 255, .55); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; }
.rolar-dica i { width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); animation: pingo 2.2s var(--curva) infinite; transform-origin: top; }
@keyframes pingo { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hero-apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero-apps a { --cor: var(--ouro); display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); color: var(--texto); text-decoration: none; font-size: 14px; font-weight: 600; backdrop-filter: blur(10px); transition: border-color .25s, background .25s, transform .25s; }
.hero-apps a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cor); box-shadow: 0 0 12px var(--cor); }
.hero-apps a:hover { border-color: color-mix(in srgb, var(--cor) 60%, transparent); background: color-mix(in srgb, var(--cor) 10%, transparent); transform: translateY(-2px); }

.btn-cine { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; color: #140d02 !important; background: linear-gradient(180deg, #f3cd70, #c98f26); box-shadow: 0 10px 40px -8px rgba(226, 173, 66, .55), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .25s var(--curva), box-shadow .25s; }
.btn-cine:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -8px rgba(226, 173, 66, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-vidro { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 650; text-decoration: none; color: var(--texto); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); transition: background .25s, border-color .25s; }
.btn-vidro:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.btn-vidro .play { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--texto); color: #000; font-size: 9px; padding-left: 2px; }

/* ---------- tela (janela do app) ---------- */
.tela { --cor: var(--ouro); position: relative; border-radius: 16px; overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 60px 140px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .7), 0 0 160px -40px var(--cor); }
.tela::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .08) 0%, transparent 32%); }
.barra-app { height: 30px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: linear-gradient(#151b24, #0d1218); border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 12px; color: var(--fraco); white-space: nowrap; overflow: hidden; }
.barra-app i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #2a3442; }
.barra-app i:first-child { background: color-mix(in srgb, var(--cor) 80%, #000); }
.barra-app span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; }
.tela .area { position: relative; aspect-ratio: 16 / 9; background: #05070a; }
.tela .area > video, .tela .area > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- mergulho: a janela cresce até encher a tela ---------- */
.mergulho { position: relative; height: 280vh; }
.mergulho .palco { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; perspective: 1700px; overflow: hidden; }
.mergulho .palco::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 55%, color-mix(in srgb, var(--cor, var(--ouro)) 16%, transparent), transparent 70%); opacity: calc(1 - var(--e, 0)); transition: background .6s; }
.mergulho .tela { --e: min(1, calc(var(--p, 0) * 1.8)); width: min(1500px, 94vw); transform: translateY(calc((1 - var(--e)) * 10vh)) scale(calc(.58 + .42 * var(--e))) rotateX(calc((1 - var(--e)) * 24deg)); transform-origin: 50% 80%; will-change: transform; }
.mergulho .tela .area { aspect-ratio: auto; height: min(calc(94vw * 9 / 16), calc(100svh - 190px)); }
.mergulho .tela .area > video { opacity: 0; transition: opacity .7s; }
.mergulho .tela .area > video.ativo { opacity: 1; }
.mergulho-texto { position: absolute; top: 12vh; left: 0; right: 0; text-align: center; pointer-events: none; opacity: calc(1 - var(--p, 0) * 3); transform: translateY(calc(var(--p, 0) * -60px)); }
.mergulho-texto .lead { margin: 18px auto 0; }
.mergulho-abas { position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(8, 11, 15, .7); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(12px); opacity: calc((var(--p, 0) - .35) * 4); }
.mergulho-abas button { --cor: var(--ouro); position: relative; overflow: hidden; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 650; color: var(--fraco); background: transparent; padding: 10px 18px; border-radius: 999px; transition: color .25s, background .25s; }
.mergulho-abas button.ativo { color: #fff; background: color-mix(in srgb, var(--cor) 22%, transparent); }
.mergulho-abas button i { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--cor); transform-origin: left; transform: scaleX(0); }
.mergulho-abas button.ativo i { animation: progresso var(--dur, 12s) linear forwards; }
@keyframes progresso { to { transform: scaleX(1); } }

/* ---------- capítulos (um por app) ---------- */
.capitulo { position: relative; padding: 130px 0; overflow: clip; }
.capitulo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at var(--lado, 75%) 50%, color-mix(in srgb, var(--cor) 13%, transparent), transparent 70%); pointer-events: none; }
.capitulo .caixa { position: relative; display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: center; }
.capitulo.invertido { --lado: 25%; }
.capitulo.invertido .cap-midia { order: -1; }
.cap-num { display: block; font: 800 clamp(80px, 11vw, 180px)/.8 var(--fonte-titulo); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--cor) 70%, transparent); opacity: .55; margin-bottom: 18px; }
.cap-texto .categoria { color: var(--cor); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.cap-texto h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: .95; letter-spacing: -.045em; margin: 10px 0 18px; }
.cap-texto .slogan { font-size: clamp(18px, 1.6vw, 22px); color: var(--texto); margin-bottom: 14px; }
.cap-texto .lead { font-size: 16px; }
.cap-texto .lista-ok li::before { color: var(--cor); }
.cap-texto .acoes { margin-top: 28px; }
.cap-midia { perspective: 1500px; }
.cap-midia .tela { transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 5deg)) translateY(calc((.5 - var(--p, .5)) * 90px)); transition: transform .5s var(--curva); transform-style: preserve-3d; }
.capitulo.invertido .cap-midia .tela { --ry: 9deg; }
.cap-midia .mini-frames { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; transform: translateY(calc((.5 - var(--p, .5)) * 40px)); }
@media (max-width: 960px) {
  .capitulo { padding: 80px 0; }
  .capitulo .caixa { grid-template-columns: 1fr; gap: 36px; }
  .capitulo.invertido .cap-midia { order: 0; }
  .cap-midia .tela { --ry: 0deg !important; --rx: 0deg; }
}

/* ---------- frames (mapa de frames / galeria) ---------- */
.frame { --cor: var(--ouro); position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #05070a; border: 1px solid rgba(255, 255, 255, .08); cursor: pointer; padding: 0; font: inherit; color: var(--texto); text-align: left; transition: border-color .3s, transform .4s var(--curva), box-shadow .3s; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--curva), filter .4s; filter: saturate(.9) brightness(.85); }
.frame:hover { border-color: color-mix(in srgb, var(--cor) 60%, transparent); transform: translateY(-4px); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9), 0 0 50px -20px var(--cor); }
.frame:hover img { transform: scale(1.06); filter: none; }
.frame figcaption, .frame .legenda { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); font-size: 14px; font-weight: 650; line-height: 1.3; }
.frame small { display: block; color: var(--cor); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 3px; }
.frame::after { content: ''; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23000'/%3E%3C/svg%3E") 56% 50% / 22px no-repeat; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--curva); }
.frame:hover::after { opacity: 1; transform: none; }
.fita-frames { overflow: hidden; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.fita-trilho { display: flex; gap: 18px; width: max-content; animation: correr var(--tempo, 90s) linear infinite; }
.fita-trilho.reverso { animation-direction: reverse; }
.fita-frames:hover .fita-trilho { animation-play-state: paused; }
.fita-trilho .frame { width: clamp(240px, 24vw, 380px); flex: none; }
@keyframes correr { to { transform: translateX(-50%); } }
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }

/* ---------- faixa de palavras ---------- */
.faixa-palavras { overflow: hidden; padding: 30px 0; border-block: 1px solid rgba(255, 255, 255, .06); background: linear-gradient(90deg, rgba(216, 166, 58, .04), rgba(139, 92, 246, .04), rgba(53, 224, 255, .04)); }
.faixa-palavras div { display: flex; width: max-content; gap: 48px; animation: correr 40s linear infinite; font: 800 clamp(34px, 5vw, 72px)/1 var(--fonte-titulo); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.faixa-palavras span { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22); }
.faixa-palavras span:nth-child(3n+1) { color: #f2cd72; -webkit-text-stroke: 0; }
.faixa-palavras b { color: rgba(255, 255, 255, .3); font-weight: 400; }

/* ---------- números ---------- */
.numeros { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, .015); }
.numeros div { padding: 34px 28px; border-right: 1px solid rgba(255, 255, 255, .08); }
.numeros div:last-child { border-right: 0; }
.numeros strong { display: block; font: 800 clamp(40px, 4.6vw, 64px)/1 var(--fonte-titulo); letter-spacing: -.04em; background: linear-gradient(180deg, #fff, #8b9db0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numeros span { display: block; color: var(--fraco); font-size: 14px; margin-top: 10px; }
@media (max-width: 820px) { .numeros { grid-template-columns: 1fr 1fr; } .numeros div:nth-child(2) { border-right: 0; } .numeros div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); } }

/* ---------- cartões de produto com vídeo ---------- */
.produto-card { background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01)); border-color: rgba(255, 255, 255, .08); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--curva), border-color .3s, box-shadow .3s; }
.produto-card:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.produto-card .capa .capa-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; }
.produto-card .capa .capa-video.tocando { opacity: 1; }
.produto-card .capa::after { z-index: 0; }
.produto-card .capa .selo-status { z-index: 2; }
.vitrine { perspective: 1400px; }

.mini-frames .frame { border-radius: 10px; }
.mini-frames .frame .legenda { font-size: 11.5px; padding: 22px 9px 7px; }
.mini-frames .frame::after { width: 34px; height: 34px; margin: -17px 0 0 -17px; background-size: 15px; }
@media (max-width: 560px) { .cap-midia .mini-frames { grid-template-columns: 1fr 1fr; } }
.cine-hero .acoes { align-items: center; }
.cine-hero .acoes .selo-status { margin-left: 6px; }

/* ---------- página de ferramentas ---------- */
.linha-produto > .tela { display: block; text-decoration: none; }
.linha-produto:nth-child(even) > .tela { order: 2; }
@media (max-width: 860px) { .linha-produto:nth-child(even) > .tela { order: 0; } }
.linha-produto .tela { transition: transform .5s var(--curva); }
.linha-produto:hover .tela { transform: translateY(-6px); }
.linha-produto .linha-texto h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.035em; }

/* ---------- história (rolagem sincronizada com o vídeo) ---------- */
.historia { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }
.historia-tela { position: sticky; top: 13vh; }
.historia-tela .area > video { opacity: 0; transition: opacity .6s; }
.historia-tela .area > video.ativo { opacity: 1; }
.historia-tela .contador { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; color: var(--fraco); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.historia-tela .contador b { color: var(--cor); font-size: 15px; }
.historia-tela .trilho { flex: 1; height: 2px; margin: 0 18px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.historia-tela .trilho i { display: block; height: 100%; width: calc(var(--passo, 1) / var(--total, 1) * 100%); background: var(--cor); transition: width .5s var(--curva); }
.passos { padding: 18vh 0 24vh; }
.passo { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; }
.passo.ativo { opacity: 1; }
.passo .n { font: 700 13px/1 ui-monospace, Consolas, monospace; color: var(--cor); letter-spacing: .18em; margin-bottom: 14px; }
.passo h3 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.035em; margin-bottom: 14px; }
.passo p { color: var(--fraco); font-size: 17px; max-width: 42ch; }
.passo .ver { align-self: flex-start; margin-top: 18px; background: none; border: 0; padding: 0; color: var(--cor); font: inherit; font-weight: 650; cursor: pointer; }
.passo .ver::after { content: ' ↗'; }
.passo .tela { display: none; margin-bottom: 18px; }
@media (max-width: 960px) {
  .historia { grid-template-columns: 1fr; }
  .historia-tela { display: none; }
  .passos { padding: 0; }
  .passo { min-height: 0; opacity: 1; padding: 26px 0; }
  .passo .tela { display: block; }
}

/* ---------- recursos / ficha ---------- */
.recurso { background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); border-color: rgba(255, 255, 255, .08); transition: border-color .3s, transform .3s var(--curva); }
.recurso:hover { border-color: color-mix(in srgb, var(--cor, var(--ouro)) 45%, transparent); transform: translateY(-3px); }
.ficha { border-color: rgba(255, 255, 255, .08); }

/* ---------- chamada final ---------- */
.chamada-cine { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(48px, 7vw, 96px); isolation: isolate; border: 1px solid rgba(255, 255, 255, .08); text-align: center; }
.chamada-cine > video, .chamada-cine > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: blur(2px) saturate(1.1); transform: scale(1.05); }
.chamada-cine::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 90% at 50% 50%, rgba(6, 8, 11, .55), rgba(6, 8, 11, .92)); }
.chamada-cine h2 { font-size: clamp(34px, 5vw, 70px); letter-spacing: -.045em; line-height: .98; max-width: 18ch; margin: 0 auto 18px; }
.chamada-cine p { color: #b9c6d4; max-width: 56ch; margin: 0 auto; font-size: 18px; }
.chamada-cine .acoes { justify-content: center; margin-top: 32px; }

/* ---------- pilares / público em vidro ---------- */
.pilar, .publico div { background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); border-color: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.pilar { transition: transform .4s var(--curva), border-color .3s; }
.pilar:hover { transform: translateY(-4px); border-color: rgba(216, 166, 58, .35); }

/* ---------- cabeçalho com vídeo (páginas internas) ---------- */
.cine-hero.curto { min-height: 78svh; }
.cine-hero.curto .caixa { padding-bottom: 80px; }

/* ---------- rodapé ---------- */
.rodape { background: #05070a; border-top-color: rgba(255, 255, 255, .06); overflow: hidden; }
.rodape-gigante { overflow: hidden; font: 800 clamp(64px, 16vw, 300px)/.78 var(--fonte-titulo); letter-spacing: -.06em; text-align: center; white-space: nowrap; margin: 40px 0 -2vw; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); background: linear-gradient(180deg, rgba(216, 166, 58, .12), transparent 70%); -webkit-background-clip: text; background-clip: text; user-select: none; }

/* ---------- player em janela ---------- */
.cine-modal { border: 0; padding: 0; background: transparent; width: min(1280px, 94vw); max-width: none; max-height: 94vh; margin: auto; color: var(--texto); overflow: visible; }
.cine-modal::backdrop { background: rgba(2, 3, 5, .88); backdrop-filter: blur(8px); }
.cine-modal[open] { animation: abrir .45s var(--curva); }
@keyframes abrir { from { opacity: 0; transform: scale(.94) translateY(20px); } }
.cine-modal video { display: block; width: 100%; max-height: 80vh; border-radius: 16px; background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, .8); }
.cine-legenda { padding: 18px 6px 0; }
.cine-legenda h3 { font-size: 22px; margin-bottom: 4px; }
.cine-legenda p { color: var(--fraco); max-width: 80ch; }
.cine-fechar { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.cine-fechar:hover { background: rgba(255, 255, 255, .15); }

@media (max-width: 760px) {
  .cine-hero .caixa { padding: 130px 0 90px; }
  .mergulho { height: 200vh; }
  .mergulho-abas { bottom: calc(50% - 27vw - 72px); gap: 2px; padding: 4px; max-width: calc(100vw - 24px); }
  .mergulho-abas button { padding: 8px 11px; font-size: 12px; white-space: nowrap; }
  .secao-cine { padding: 90px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-revela] { opacity: 1; translate: none; }
  .fita-trilho, .faixa-palavras div { animation: none; }
  /* sem animacao o veu nao some sozinho — esconde na hora */
  .veu { opacity: 0 !important; visibility: hidden !important; }
}
/* fallback: se o 3D nao subir, o M nao pode travar a tela */
html.sem-mundo .veu,
html.sem-veu .veu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ---------- manifesto: palavras acendem com a rolagem ---------- */
.manifesto { padding: 150px 0 120px; }
.manifesto-texto { font: 750 clamp(28px, 3.9vw, 58px)/1.14 var(--fonte-titulo); letter-spacing: -.035em; max-width: 24ch; text-wrap: pretty; }
.manifesto-texto span { color: rgba(255, 255, 255, .14); transition: color .5s var(--curva), text-shadow .5s; }
.manifesto-texto span.acesa { color: #f4ead6; }
.manifesto-texto span.acesa:nth-child(7n+3) { color: #f2cd72; text-shadow: 0 0 30px rgba(242, 205, 114, .35); }

/* ---------- tutoriais narrados ---------- */
.tutoriais { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tutorial-card { --cor: var(--ouro); position: relative; display: block; padding: 0; border: 0; background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.tutorial-card .tela { display: block; transition: transform .5s var(--curva), box-shadow .4s; }
.tutorial-card .tela .area { display: block; }
.tutorial-card:hover .tela { transform: translateY(-6px); }
.tut-play { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 16 / 9; display: grid; place-items: center; pointer-events: none; }
.tut-play::before { content: ''; width: 74px; height: 74px; border-radius: 50%; background: var(--cor) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23080a0d'/%3E%3C/svg%3E") 56% 50% / 28px no-repeat; box-shadow: 0 0 0 10px color-mix(in srgb, var(--cor) 22%, transparent), 0 0 60px color-mix(in srgb, var(--cor) 70%, transparent); transition: transform .4s var(--curva); animation: pulsar 2.6s var(--curva) infinite; }
.tutorial-card:hover .tut-play::before { transform: scale(1.12); }
@keyframes pulsar { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cor) 45%, transparent), 0 0 60px color-mix(in srgb, var(--cor) 60%, transparent); } 70% { box-shadow: 0 0 0 18px transparent, 0 0 60px color-mix(in srgb, var(--cor) 60%, transparent); } }
.tut-info { display: block; padding: 20px 4px 0; }
.tut-info small { display: block; color: var(--cor); font-size: 11.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.tut-info strong { display: block; font: 800 clamp(24px, 2.2vw, 32px)/1.1 var(--fonte-titulo); letter-spacing: -.03em; margin: 8px 0 4px; }
.tut-info span { color: var(--fraco); font-size: 14.5px; }
.tutorial-bloco { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; align-items: center; }
.tutorial-card.grande .tut-play::before { width: 92px; height: 92px; background-size: 34px; }
.capitulos-tut { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; counter-reset: cap; }
.capitulos-tut button { width: 100%; display: flex; align-items: baseline; gap: 16px; padding: 11px 14px; border: 0; border-radius: 12px; background: transparent; color: var(--texto); font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; transition: background .25s, transform .3s var(--curva); }
.capitulos-tut button span { flex: none; width: 44px; font: 600 13px/1 ui-monospace, Consolas, monospace; color: var(--cor, var(--ouro)); }
.capitulos-tut button:hover { background: color-mix(in srgb, var(--cor, var(--ouro)) 12%, transparent); transform: translateX(6px); }
.tutorial-completo .tutorial-card { display: block; width: 100%; max-width: 1120px; margin: 40px auto 0; }
.capitulos-tut.grade { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px; margin: 34px auto 0; }
.capitulos-tut.grade button { font-size: 15px; }
.link-completo { display: inline-block; margin-top: 18px; color: var(--cor, var(--ouro)); font-weight: 600; text-decoration: none; }
.link-completo:hover { text-decoration: underline; }
@media (max-width: 960px) {
  .tutoriais { grid-template-columns: 1fr; gap: 40px; }
  .tutorial-bloco { grid-template-columns: 1fr; gap: 30px; }
  .tutorial-bloco .tutorial-card { order: -1; }
  .capitulos-tut.grade { grid-template-columns: 1fr; }
}

/* ---------- mundo 3D (js/mundo3d.js) ---------- */
html:not(.gl) .so-gl { display: none !important; }
html.gl .so-sem-gl, html.mundo .so-sem-mundo { display: none !important; }
.mundo3d { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; pointer-events: none; }
html.mundo main.pagina, html.mundo .rodape { position: relative; z-index: 1; }
html.mundo body::after { opacity: .025; }
html.mundo .cine-hero { background: transparent; }
html.mundo .cine-hero > canvas.particulas { display: none; }
html.mundo .cine-hero > .fundo { opacity: calc(.5 - var(--p, 0) * .35); }
html.mundo .cine-hero::before { background: linear-gradient(90deg, rgba(6, 8, 11, .6) 0%, rgba(6, 8, 11, .25) 40%, transparent 65%); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
html.mundo .cine-hero > .fundo { -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
html.mundo .rodape { background: linear-gradient(180deg, rgba(5, 7, 10, .55), #05070a 55%); }
html.mundo .faixa-palavras { background: rgba(6, 8, 11, .35); backdrop-filter: blur(3px); }
html.gl [data-gl] { opacity: 0 !important; box-shadow: none; }
html.gl .cap-midia .tela[data-gl] { transform: none; }
html.gl .tutorial-card:hover .tela { transform: none; }
.hero-tela { position: absolute; right: max(3vw, calc((100vw - 1500px) / 2)); top: 50%; width: min(48vw, 820px); aspect-ratio: 16 / 9; translate: 0 -46%; z-index: -1; }
.hero-tela > video { width: 100%; height: 100%; object-fit: cover; }
html.gl .cine-hero:has(.hero-tela) .caixa > * { max-width: 540px; }
html.gl body.pg-inicio .cine-hero .titulo-gigante, html.gl body.pg-sobre .cine-hero .titulo-gigante { font-size: clamp(44px, 5.7vw, 100px); max-width: 13ch; }
html.gl body.pg-inicio .cine-hero .lead { max-width: 46ch; }
@media (max-width: 899px) { html.mundo body:is(.pg-inicio, .pg-sobre) .cine-hero .caixa { padding-top: 220px; } }
html.gl .cine-hero:has(.hero-tela) .titulo-gigante { font-size: clamp(46px, 6.4vw, 110px); }

/* rolagem suave (lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* véu de abertura */
.veu { position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 22px; background: #06080b; pointer-events: none; animation: veu-sai .9s var(--curva) 1.5s forwards; }
html.mundo-pronto .veu { animation-delay: .45s; }
.veu img { animation: veu-logo 1.6s var(--curva) both; filter: drop-shadow(0 0 24px rgba(242, 205, 114, .45)); }
.veu i { width: 160px; height: 1px; background: linear-gradient(90deg, transparent, #f2cd72, transparent); transform-origin: left; animation: veu-linha 1.3s var(--curva) .15s both; }
@keyframes veu-sai { to { opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); } }
@keyframes veu-logo { from { opacity: 0; transform: scale(.7) rotate(-12deg); filter: blur(8px); } }
@keyframes veu-linha { from { transform: scaleX(0); } }
html:not(.js) .veu { display: none; }

/* cursor */
html.tem-cursor body, html.tem-cursor a, html.tem-cursor button, html.tem-cursor label, html.tem-cursor .cilindro { cursor: none; }
html.tem-cursor .cine-modal, html.tem-cursor .cine-modal * { cursor: auto; }
html.tem-cursor .cine-modal button { cursor: pointer; }
.cursor-anel { position: fixed; left: 0; top: 0; z-index: 250; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(242, 205, 114, .55); pointer-events: none; display: grid; place-items: center; transition: width .35s var(--curva), height .35s var(--curva), margin .35s var(--curva), background .3s, border-color .3s; }
.cursor-anel.link { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(242, 205, 114, .08); border-color: rgba(242, 205, 114, .8); }
.cursor-anel.grande { width: 98px; height: 98px; margin: -49px 0 0 -49px; background: rgba(242, 205, 114, .94); border-color: transparent; }
.cursor-anel span { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #140d02; }
.cursor-ponto { position: fixed; left: 0; top: 0; z-index: 251; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #f2cd72; pointer-events: none; transition: opacity .2s; }
.cursor-anel.grande + .cursor-ponto { opacity: 0; }
.btn-cine, .btn-vidro, .hero-apps a { transition: translate .35s var(--curva), transform .25s var(--curva), box-shadow .25s, background .25s, border-color .25s; }

/* carrossel 3D de frames */
.cilindro { position: relative; height: 330vh; }
.cilindro-palco { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding: 110px 0 6vh; pointer-events: none; }
.cilindro .secao-cabeca { margin-bottom: 0; }
.cilindro-atual { text-align: center; }
.cilindro-atual small { display: block; color: var(--ouro); font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; min-height: 1em; }
.cilindro-atual strong { display: block; font: 800 clamp(26px, 3vw, 44px)/1.05 var(--fonte-titulo); letter-spacing: -.03em; margin: 8px 0 10px; min-height: 1.05em; }
.cilindro-atual > span { color: var(--fraco); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.cilindro-atual.troca small, .cilindro-atual.troca strong { animation: troca .6s var(--curva) both; }
.cilindro-atual.troca strong { animation-delay: .05s; }
@keyframes troca { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
.cilindro-dados { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* PC fraco: mundo 3D desligado — fallback visual já no HTML (so-sem-mundo / so-sem-gl) */
html.sem-mundo .mundo3d { display: none !important; }
html.sem-mundo .so-gl { display: none !important; }