/* Big-screen presentation: black stage, full-bleed photography, kinetic type and CSS 3D. */
body.tl { overflow: hidden; height: 100vh; background: #000; }
body.tl.t-parado { cursor: none; }

.t-palco {
  position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px;
  transform-origin: center center; background: #050505; overflow: hidden;
  font-family: var(--corpo); color: #f6f4ef;
}
.t-s { position: absolute; inset: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.t-s.ativo { opacity: 1; visibility: visible; transition: opacity .6s ease; z-index: 2; }

/* Film grain and vignette over everything. */
.t-grao {
  position: absolute; inset: -50%; z-index: 40; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: t-grao 1s steps(6) infinite;
}
@keyframes t-grao { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* Brand-colour curtain between brands. */
.t-cortina { position: absolute; inset: 0; z-index: 30; pointer-events: none; background: var(--cor, #fff); clip-path: inset(0 100% 0 0); }
.t-cortina.vai { animation: t-cortina 1.05s cubic-bezier(.77, 0, .18, 1) forwards; }
@keyframes t-cortina {
  0% { clip-path: inset(0 100% 0 0); }
  48% { clip-path: inset(0 0 0 0); }
  52% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 100%); }
}

/* Kinetic words. */
.t-kin .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.t-kin .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); }
.ativo .t-kin .w > span, .re .t-kin .w > span, .t-kin.re .w > span { animation: t-palavra .9s cubic-bezier(.2, .9, .2, 1) both; animation-delay: calc(var(--base) + var(--i) * .07s); }
@keyframes t-palavra { from { transform: translateY(110%) rotate(4deg); } to { transform: none; } }
.t-arco > .w > span { color: var(--cor); }
.t-surge { opacity: 0; transform: translateY(30px); }
.ativo .t-surge { animation: t-surge .9s cubic-bezier(.2, .9, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes t-surge { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

h1, h2 { font-family: var(--titulo); font-weight: 800; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; }
.t-olho { font-family: var(--titulo); font-weight: 700; font-size: 30px; letter-spacing: .22em; text-transform: uppercase; color: rgba(246, 244, 239, .72); }

/* ---------------------------------------------------------------- capa */
.t-capa { background: radial-gradient(ellipse at 50% 60%, #1d2326 0%, #050505 70%); }
.t-anel { position: absolute; inset: 0; perspective: 1600px; perspective-origin: 50% 0%; }
.t-anel-gira { position: absolute; left: 50%; top: 66%; transform-style: preserve-3d; animation: t-gira 80s linear infinite; }
@keyframes t-gira { from { transform: translateZ(-1500px) rotateX(-10deg) rotateY(0); } to { transform: translateZ(-1500px) rotateX(-10deg) rotateY(-360deg); } }
.t-anel-foto {
  position: absolute; width: 520px; height: 360px; left: -260px; top: -180px;
  transform: rotateY(var(--a)) translateZ(1250px); border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .7); -webkit-box-reflect: below 14px linear-gradient(transparent 55%, rgba(0, 0, 0, .35));
}
.t-anel-foto img { width: 100%; height: 100%; object-fit: cover; }
.t-capa-sombra { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 30% at 50% 30%, rgba(5, 5, 5, .75) 0%, rgba(5, 5, 5, 0) 100%), linear-gradient(180deg, rgba(5,5,5,.9) 0%, rgba(5,5,5,.2) 45%, transparent 70%, rgba(5,5,5,.9) 100%); }
.t-capa-texto { position: absolute; left: 0; right: 0; top: 150px; display: flex; flex-direction: column; align-items: center; text-align: center; --cor: #f2b53a; }
.t-capa-logos { position: absolute; left: 0; right: 0; bottom: 90px; justify-content: center; }
.t-capa-texto h1 { font-size: 220px; margin: 26px 0 0; text-shadow: 0 10px 60px rgba(0, 0, 0, .6); }
.t-capa-texto h1 > .t-kin { display: block; }
.t-capa-texto h1 > .t-kin + .t-kin { margin-top: -70px; }
.t-capa-texto h1 br { display: none; }
.t-capa-texto .t-arco > .w > span { color: transparent; -webkit-text-stroke: 3px #f6f4ef; }
.t-capa-logos { display: flex; gap: 70px; align-items: flex-end; }
.t-capa-logos > div { padding-bottom: 18px; border-bottom: 5px solid var(--cor); }
.t-capa-logos img { height: 64px; width: auto; }

/* --------------------------------------------------------------- video */
.t-borrado { position: absolute; inset: -80px; background-size: cover; background-position: center; filter: blur(60px) saturate(1.4) brightness(.45); transform: scale(1.1); }
.ativo .t-borrado { animation: t-respira 18s ease-in-out infinite alternate; }
@keyframes t-respira { from { transform: scale(1.1); } to { transform: scale(1.25) translateX(-2%); } }
.t-letreiro { position: absolute; left: 0; bottom: 40px; white-space: nowrap; font-family: var(--titulo); font-weight: 800; font-size: 210px; text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .12); line-height: 1; }
.t-letreiro span { display: inline-block; animation: t-letreiro 40s linear infinite; }
@keyframes t-letreiro { to { transform: translateX(-50%); } }
.t-video-lado { position: absolute; left: 140px; top: 50%; transform: translateY(-50%); width: 760px; z-index: 2; }
.t-video-lado img { height: 80px; width: auto; margin-bottom: 50px; }
.t-video-lado h2 { font-size: 130px; margin-bottom: 36px; }
.t-video-lado .t-olho { color: var(--cor); display: flex; align-items: center; gap: 16px; }
.t-video-lado .t-olho::before { content: ""; width: 0; height: 0; border-left: 22px solid var(--cor); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.t-video-moldura { position: absolute; left: 1160px; top: 50px; width: 551px; height: 980px; perspective: 2200px; }
.t-video-tela { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 60px 140px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); transform-origin: 0% 50%; }
.ativo .t-video-tela { animation: t-tela 1.4s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes t-tela { from { opacity: 0; transform: rotateY(32deg) translateX(200px) scale(.9); } to { opacity: 1; transform: none; } }
.t-video-tela video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.t-video-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255, 255, 255, .15); }
.t-video-barra i { position: absolute; inset: 0; background: var(--cor); transform: scaleX(0); transform-origin: left; }

/* ---------------------------------------------------------------- marca */
.t-marca { background: #060708; }
.t-marca-fundo { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 70% at 72% 55%, color-mix(in srgb, var(--cor) 42%, transparent) 0%, transparent 70%), radial-gradient(ellipse at 20% 100%, #1a1d1f 0%, #060708 60%); }
.t-marca-fundo::after { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse at 70% 55%, #000 0%, transparent 65%); }
.t-3d { position: absolute; inset: 0; width: 1920px; height: 1080px; }
.t-marca .t-3d { opacity: 0; }
.t-marca.ativo .t-3d { animation: t-aparece 1.6s ease .2s both; }
@keyframes t-aparece { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.t-marca-texto { position: absolute; left: 120px; top: 140px; width: 760px; z-index: 2; }
.t-marca-logo { height: 96px; width: auto; margin-bottom: 60px; }
.t-marca-texto h2 { font-size: 100px; margin-bottom: 60px; max-width: 700px; }
.t-marca-texto ol { list-style: none; display: grid; gap: 22px; }
.t-marca-texto li { display: flex; align-items: baseline; gap: 26px; font-size: 40px; font-weight: 600; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 20px; }
.t-marca-texto li b { font-family: var(--titulo); font-size: 34px; color: var(--cor); letter-spacing: .1em; }
.t-legenda-3d { position: absolute; right: 120px; bottom: 80px; z-index: 2; font-family: var(--titulo); font-weight: 700; font-size: 24px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.t-marca:not(:has(canvas)) .t-marca-texto { left: 50%; transform: translateX(-50%); text-align: center; }

/* ------------------------------------------- produtos / galeria: sequence */
.t-seq-fundo { position: absolute; inset: 0; cursor: zoom-in; }
.t-seq-fundo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.t-seq-fundo img.on { opacity: 1; animation: t-ken 12s ease-out both; }
@keyframes t-ken { from { transform: scale(1.16) translateX(var(--x, 2%)); } to { transform: scale(1.02) translateX(0); } }
.t-seq-escuro { position: absolute; inset: 0; pointer-events: none; transition: opacity .6s;
  background: linear-gradient(90deg, rgba(4, 4, 4, .92) 0%, rgba(4, 4, 4, .55) 32%, rgba(4, 4, 4, 0) 58%), linear-gradient(0deg, rgba(4, 4, 4, .85) 0%, rgba(4, 4, 4, 0) 38%), linear-gradient(180deg, rgba(4, 4, 4, .7) 0%, rgba(4, 4, 4, 0) 20%); }
.t-seq-barra { position: absolute; left: 110px; right: 110px; top: 54px; display: flex; gap: 10px; z-index: 3; }
.t-seq-barra i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; position: relative; }
.t-seq-barra i::after { content: ""; position: absolute; inset: 0; background: var(--cor); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.t-seq-barra i.feito::after, .t-seq-barra i.atual::after { transform: scaleX(1); }
.t-seq-topo { position: absolute; left: 110px; right: 110px; top: 100px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.t-seq-topo .t-olho { display: flex; align-items: center; gap: 22px; color: #fff; }
.t-seq-logo { height: 64px; width: auto; filter: drop-shadow(0 4px 20px rgba(0,0,0,.6)); }
.t-selo { display: inline-block; background: var(--cor); color: #111; padding: 10px 20px 8px; border-radius: 6px; letter-spacing: .14em; animation: t-pulso 2.2s ease-in-out infinite; }
@keyframes t-pulso { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cor) 70%, transparent); } 50% { box-shadow: 0 0 0 16px transparent; } }
.t-seq-texto { position: absolute; left: 110px; bottom: 110px; width: 1050px; z-index: 3; }
.t-seq-num { font-family: var(--titulo); font-weight: 700; font-size: 38px; letter-spacing: .12em; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.t-seq-num b { color: var(--cor); font-size: 64px; }
.t-seq-num.re { animation: t-surge .7s cubic-bezier(.2, .9, .2, 1) both; }
.t-seq-nome { font-size: 150px; text-shadow: 0 8px 50px rgba(0, 0, 0, .55); }
.t-seq-nome.longo { font-size: 116px; }
.t-seq-grupo { margin-top: 22px; font-size: 34px; font-weight: 600; color: rgba(255, 255, 255, .8); min-height: 1em; }
.t-seq-painel { position: absolute; right: 120px; bottom: 110px; width: 560px; height: 560px; z-index: 3; perspective: 1400px; }
.t-seq-cartao { position: absolute; inset: 0; border-radius: 22px; background: radial-gradient(circle at 50% 40%, #fff 0%, #e9e7e2 75%); box-shadow: 0 50px 120px rgba(0, 0, 0, .6); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.t-seq-cartao::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--cor); }
.t-seq-cartao img { width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .28)); }
.t-seq-painel.re .t-seq-cartao { animation: t-cartao 1.1s cubic-bezier(.2, .9, .2, 1) .15s both, t-flutua 6s ease-in-out 1.3s infinite; }
.t-seq-painel.re .t-seq-cartao.volta { animation-name: t-cartao-volta, t-flutua; }
@keyframes t-cartao { from { opacity: 0; transform: rotateY(-55deg) translateX(240px) scale(.8); } to { opacity: 1; transform: rotateY(-8deg) rotateX(3deg); } }
@keyframes t-cartao-volta { from { opacity: 0; transform: rotateY(55deg) translateX(-240px) scale(.8); } to { opacity: 1; transform: rotateY(-8deg) rotateX(3deg); } }
@keyframes t-flutua { 0%, 100% { transform: rotateY(-8deg) rotateX(3deg) translateY(0); } 50% { transform: rotateY(6deg) rotateX(-2deg) translateY(-18px); } }
.t-seq-brilho { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-120%); }
.t-seq-painel.re .t-seq-brilho { animation: t-brilho 1.4s ease .9s both; }
@keyframes t-brilho { to { transform: translateX(120%); } }
.t-seq-dica { position: absolute; right: 120px; bottom: 50px; z-index: 3; font-size: 22px; color: rgba(255, 255, 255, .5); letter-spacing: .06em; transition: opacity .5s; }
body.t-parado .t-seq-dica { opacity: 0; }
.t-limpo .t-seq-escuro, .t-limpo .t-seq-texto, .t-limpo .t-seq-painel, .t-limpo .t-seq-topo, .t-limpo .t-seq-dica { opacity: 0; pointer-events: none; }
.t-seq-texto, .t-seq-painel, .t-seq-topo { transition: opacity .5s; }
.t-limpo .t-seq-fundo { cursor: zoom-out; }
.t-limpo .t-seq-fundo img.on { animation: none; transform: none; object-fit: contain; background: #000; }

/* ---------------------------------------------------------------- mural */
.t-mural-topo { position: absolute; left: 110px; right: 110px; top: 70px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.t-mural-topo h2 { font-size: 96px; max-width: 1300px; }
.t-mural-topo img { height: 76px; width: auto; }
.t-arco { position: absolute; left: 0; right: 0; top: 200px; height: 790px; display: flex; justify-content: center; align-items: center; gap: 34px; perspective: 1800px; z-index: 2; }
.t-arco-item { position: relative; width: 390px; height: 693px; border-radius: 14px; overflow: visible; transform-style: preserve-3d; transform: rotateY(calc(var(--o) * -14deg)) translateZ(calc((1.5 - (var(--o) * var(--o))) * 30px)); transition: transform .5s; -webkit-box-reflect: below 16px linear-gradient(transparent 60%, rgba(0, 0, 0, .3)); }
.t-arco.n3 .t-arco-item { width: 410px; height: 729px; }
.t-arco-item video { width: 100%; height: 100%; object-fit: contain; background: #000; border-radius: 14px; box-shadow: 0 50px 100px rgba(0, 0, 0, .7); display: block; }
.t-arco-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 26px 24px; border-radius: 0 0 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); text-align: left; font-family: var(--titulo); font-weight: 700; font-size: 38px; text-transform: uppercase; line-height: 1; }
.t-arco-item span b { display: block; color: var(--cor); font-size: 28px; letter-spacing: .14em; margin-bottom: 8px; }
.t-arco-item:hover { transform: rotateY(0) translateZ(80px); }
.t-mural .t-arco-item { opacity: 0; }
.t-mural.ativo .t-arco-item { animation: t-arco 1.3s cubic-bezier(.2, .9, .2, 1) var(--d) both; }
@keyframes t-arco { from { opacity: 0; transform: rotateY(calc(var(--o) * -40deg)) translateZ(-900px) translateY(80px); } to { opacity: 1; } }

/* ---------------------------------------------------------------- final */
.t-final { background: #050505; }
.t-chao { position: absolute; left: -10%; right: -10%; top: 0; bottom: 0; perspective: 900px; perspective-origin: 50% 0%; overflow: hidden; }
.t-chao-grade { position: absolute; left: 0; right: 0; top: 380px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 16px; transform: rotateX(62deg); transform-origin: 50% 0; animation: t-chao 50s linear infinite; }
.t-chao-grade img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; opacity: .8; }
@keyframes t-chao { from { transform: rotateX(62deg) translateY(0); } to { transform: rotateX(62deg) translateY(-50%); } }
.t-final-sombra { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 5, 5, .85) 0%, rgba(5, 5, 5, .55) 55%, rgba(5, 5, 5, .25) 100%), linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, .85) 30%, rgba(5, 5, 5, .3) 70%, rgba(5, 5, 5, .85) 100%); }
.t-final-texto { position: absolute; left: 110px; top: 110px; width: 1150px; z-index: 2; }
.t-final-texto h2 { font-size: 150px; margin-bottom: 50px; }
.t-zap { display: flex; align-items: center; gap: 26px; font-family: var(--titulo); font-weight: 800; font-size: 120px; color: #25d366; letter-spacing: .01em; margin: 16px 0 70px; }
.t-zap i { width: 96px; height: 96px; border-radius: 50%; background: #25d366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.8 0-1.3.7-2 1-2.3.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.4 0 .6l-.4.6-.4.4c-.1.2-.3.3-.1.6.2.3.8 1.3 1.7 2.1 1.2 1 2.1 1.3 2.4 1.5.3.1.5.1.6-.1l.9-1.1c.2-.3.4-.2.7-.1l1.9.9c.3.1.5.2.5.3.1.2.1.7-.1 1.3z'/%3E%3C/svg%3E") center / 62% no-repeat; flex: none; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: t-zap 2.4s ease-in-out infinite; }
@keyframes t-zap { 50% { box-shadow: 0 0 0 22px rgba(37, 211, 102, 0); } }
.t-final-logos { display: flex; gap: 20px; }
.t-final-logos { gap: 56px; align-items: center; }
.t-final-logos img { height: 56px; width: auto; }
.t-qrs { position: absolute; right: 110px; top: 110px; bottom: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 44px; z-index: 2; }
.t-qr { background: #fff; border-radius: 22px; padding: 24px; text-align: center; color: #111; position: relative; }
.t-qr::before { content: ""; position: absolute; inset: -10px; border-radius: 30px; border: 3px solid #f2b53a; opacity: .7; animation: t-anelqr 2.6s ease-in-out infinite; }
@keyframes t-anelqr { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.04); opacity: .2; } }
.t-qr img { width: 390px; height: 390px; }
.t-qr.menor img { width: 250px; height: 250px; }
.t-qr.menor::before { border-color: rgba(255, 255, 255, .5); }
.t-qr p { font-family: var(--titulo); font-weight: 800; font-size: 40px; text-transform: uppercase; margin-top: 10px; }
.t-qr.menor p { font-size: 28px; }

/* ----------------------------------------------------------- video zoom */
.t-zoom { position: absolute; inset: 0; z-index: 25; background: rgba(0, 0, 0, .94); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
.t-zoom.aberto { display: flex; animation: t-surge .5s ease both; }
.t-zoom video { max-width: 1760px; max-height: 920px; border-radius: 10px; }
.t-zoom p { font-family: var(--titulo); font-weight: 700; font-size: 40px; text-transform: uppercase; }

/* ------------------------------------------------------------- counter */
.t-contador { position: fixed; right: 18px; bottom: 14px; z-index: 60; font-size: 16px; color: rgba(255, 255, 255, .55); display: none; font-family: var(--corpo); }
body.t-mostra-contador .t-contador { display: block; }

/* ---------------------------------------------------------- start screen */
.t-inicio { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; padding: 24px;
  background: radial-gradient(ellipse at 50% 40%, #1b2124 0%, #050505 70%); }
.t-inicio-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.t-inicio-logos { gap: 40px; align-items: center; }
.t-inicio-logos img { height: 40px; width: auto; }
.t-inicio h1 { font-size: clamp(40px, 7vw, 110px); }
.t-dica { color: rgba(255, 255, 255, .6); font-size: 18px; max-width: 900px; }
.t-botao { font-family: var(--titulo); font-weight: 800; font-size: 34px; text-transform: uppercase; letter-spacing: .1em; background: #f2b53a; color: #111; padding: 20px 64px; border-radius: 999px; box-shadow: 0 20px 60px rgba(242, 181, 58, .3); transition: transform .2s; }
.t-botao:hover { transform: scale(1.05); }
.t-offline { font-size: 16px; color: rgba(255, 255, 255, .55); }
.t-offline.ok { color: #6bd38b; }

@media (prefers-reduced-motion: reduce) {
  .t-anel-gira, .t-chao-grade, .t-letreiro span, .t-grao { animation: none; }
}
