/* SGG — camada imersiva: cenas presas na rolagem, molduras de dispositivo, hero de página e efeitos.
   Tudo é aditivo: sem este arquivo o site continua igual. Movimento só com prefers-reduced-motion: no-preference. */

/* ---------- Hero de página imersivo ---------- */
.xhero { position: relative; z-index: 1; min-height: min(100svh, 980px); display: grid; align-items: end; overflow: hidden; isolation: isolate; padding: 140px 0 clamp(48px, 8vw, 110px); }
.xhero__bg { position: absolute; inset: -6% 0; z-index: -2; }
.xhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; transform: translate3d(0, var(--py, 0px), 0) scale(1.08); will-change: transform; }
.xhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(180deg, rgba(4, 6, 12, .55) 0%, rgba(4, 6, 12, .1) 35%, rgba(4, 6, 12, .92) 100%),
	linear-gradient(90deg, rgba(4, 6, 12, .85) 0%, rgba(4, 6, 12, 0) 62%); }
.xhero h1 { font-size: clamp(2.8rem, 9vw, 8.4rem); line-height: .96; max-width: 14ch; margin-bottom: .3em; }
.xhero .lead { max-width: 520px; }
.xhero h1, .xhero .lead { text-shadow: 0 2px 40px rgba(0, 0, 0, .55); }
.xhero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.xhero__tag { position: absolute; right: var(--pad); bottom: clamp(48px, 8vw, 110px); font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--glow); display: none; }
@media (min-width: 900px) { .xhero__tag { display: block; writing-mode: vertical-rl; } }
.xscroll { position: absolute; left: 50%; bottom: 18px; width: 22px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 12px; transform: translateX(-50%); }
.xscroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--electric); animation: xscroll 1.8s var(--ease) infinite; }
@keyframes xscroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 760px) {
	.xhero { min-height: 100svh; padding-top: 0; }
	.xhero__bg { inset: 0 0 auto 0; height: 58svh; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
	.xhero__bg img { object-position: 66% 50%; transform: translate3d(0, var(--py, 0px), 0) scale(1.02); }
	.xhero::after { background: linear-gradient(180deg, rgba(4, 6, 12, .35) 0%, rgba(4, 6, 12, 0) 30%); }
	.xhero h1 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
}

/* ---------- Palavras que entram uma a uma ---------- */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
[data-split] .w > i { display: inline-block; font-style: normal; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
[data-split].in .w > i { transform: none; }

/* ---------- Cena presa na rolagem (progresso --p de 0 a 1) ---------- */
.scene { position: relative; z-index: 1; height: var(--len, 360vh); --p: 0; }
.scene__stick { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.scene__grid { display: grid; gap: clamp(24px, 5vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .scene__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.scene__copy { position: relative; min-height: 210px; }
.xs { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.xs.on { opacity: 1; transform: none; pointer-events: auto; }
.xs .n { font: 500 12.5px/1 var(--mono); letter-spacing: .14em; color: var(--glow); margin-bottom: 16px; display: block; }
.xs h2 { font-size: clamp(1.9rem, 4.2vw, 3.6rem); }
.xs p { color: var(--muted); max-width: 440px; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.scene__bar { position: absolute; left: var(--pad); right: var(--pad); bottom: 22px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.scene__bar::after { content: ""; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p)); background: linear-gradient(90deg, var(--blue), var(--glow)); }
.scene__dots { display: flex; gap: 8px; margin-top: 26px; }
.scene__dots span { width: 28px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background .4s, width .4s var(--ease); }
.scene__dots span.on { width: 46px; background: var(--electric); }
.scene__stage { position: relative; aspect-ratio: 1 / 1; width: min(100%, 640px); margin: 0 auto; max-height: 68svh; }

/* ---------- Molduras de dispositivo (CSS puro) ---------- */
.dev { position: relative; background: #0b0f1a; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 80px -30px rgba(61, 139, 255, .45); }
.dev--phone { width: 100%; aspect-ratio: 9 / 19; border-radius: 13% / 6.2%; padding: 3.2%; }
.dev--phone::before { content: ""; position: absolute; left: 50%; top: 2.2%; width: 26%; height: 2.2%; transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 3; }
.dev--phone .dev__screen { border-radius: 10.5% / 5%; }
.dev--monitor { border-radius: 14px; padding: 10px 10px 10px; }
.dev--monitor::after { content: ""; position: absolute; left: 50%; bottom: -34px; width: 22%; height: 34px; transform: translateX(-50%); background: linear-gradient(180deg, #1a2030, #0b0f1a); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); opacity: calc(1 - var(--a, 0) * 3); }
.dev--monitor .dev__screen { border-radius: 6px; }
.dev__screen { position: relative; width: 100%; height: 100%; overflow: hidden; background: #060a14; container-type: inline-size; }
.dev__glare { position: absolute; inset: 0; pointer-events: none; z-index: 4; background: linear-gradient(115deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, 0) 38%); }

/* ---------- NFC: três cenas ---------- */
.nfcx { --a1: clamp(0, calc((var(--p) - .12) / .3), 1); --a2: clamp(0, calc((var(--p) - .45) / .22), 1); --a3: clamp(0, calc((var(--p) - .68) / .2), 1); }
.nfcx .tag { position: absolute; left: 50%; top: 52%; width: 38%; aspect-ratio: 1; margin: -19% 0 0 -19%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #3a4357 0%, #11151f 55%, #05070c 100%); box-shadow: 0 30px 70px -20px #000, 0 0 0 2px rgba(255, 255, 255, .06) inset, 0 0 calc(30px + 70px * var(--a2)) rgba(61, 139, 255, calc(.25 + .5 * var(--a2))); translate: calc(var(--a1) * -42%) 0; scale: calc(1 - .18 * var(--a3)); }
.nfcx .tag::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 2px solid rgba(127, 178, 255, calc(.25 + .6 * var(--a2))); }
.nfcx .tag::after { content: "NFC"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 clamp(.8rem, 2vw, 1.3rem)/1 var(--mono); letter-spacing: .3em; color: rgba(201, 209, 220, .7); text-indent: .3em; }
.nfcx .ring { position: absolute; left: 50%; top: 52%; width: 38%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--electric); translate: calc(var(--a1) * -42%) 0; transform: translate(-50%, -50%) scale(calc(1 + var(--k) * .5 * var(--a2))); opacity: calc((1 - var(--k) * .3) * var(--a2) * var(--ring, 1)); }
.nfcx .phone { position: absolute; right: 2%; top: 50%; width: 40%; translate: calc((1 - var(--a1)) * 130%) -50%; rotate: calc((1 - var(--a1)) * 14deg); }
.nfcx .scr { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 16% 9% 8%; gap: 7%; }
.nfcx .scr__idle { position: absolute; inset: 0; display: grid; place-items: center; opacity: calc(1 - var(--a3) * 2); background: radial-gradient(circle at 50% 40%, rgba(29, 91, 216, .35), transparent 60%); }
.nfcx .scr__idle i { width: 22%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--glow); opacity: calc(.4 + .6 * var(--a2)); box-shadow: 0 0 24px var(--electric); }
.nfcx .card { opacity: var(--a3); transform: translateY(calc((1 - var(--a3)) * 24px)); width: 100%; display: flex; flex-direction: column; align-items: center; gap: 5cqw; }
.nfcx .av { width: 26cqw; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, var(--electric), var(--deep)); box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.nfcx .nm { width: 52cqw; height: 4cqw; border-radius: 4cqw; background: var(--silver); }
.nfcx .rl { width: 34cqw; height: 2.6cqw; border-radius: 4cqw; background: var(--steel); opacity: .6; margin-top: -2cqw; }
.nfcx .btns { width: 100%; display: grid; gap: 3.2cqw; margin-top: 2cqw; }
.nfcx .btns b { display: flex; align-items: center; gap: 3cqw; padding: 3.4cqw 4cqw; border-radius: 4cqw; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); font: 500 4.3cqw/1 var(--font); color: var(--white); opacity: clamp(0, calc((var(--a3) - var(--d)) * 5), 1); transform: translateX(calc((1 - clamp(0, (var(--a3) - var(--d)) * 5, 1)) * 18px)); }
.nfcx .btns b::before { content: ""; width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--electric); }
.nfcx .btns b:first-child { background: var(--blue); border-color: var(--electric); }
.nfcx .btns b:first-child::before { background: #fff; box-shadow: none; }
.nfcx .glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(61, 139, 255, .35), transparent 65%); filter: blur(30px); opacity: calc(.3 + .7 * var(--a2)); }

/* ---------- Websites: moldura que vira celular (responsivo de verdade, via container query) ---------- */
.respx { --a: clamp(0, calc((var(--p) - .1) / .6), 1); }
.respx__stage { position: relative; width: min(100%, 980px); margin: 0 auto; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.respx__frame { width: calc(100% - 66% * var(--a)); height: calc(100% - 4% * var(--a)); border-radius: calc(14px + 26px * var(--a)); transition: none; }
.respx__frame .dev__screen { border-radius: calc(6px + 18px * var(--a)); }
.respx__label { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); font: 500 12px/1 var(--mono); letter-spacing: .14em; color: var(--glow); }
.mini { height: 100%; display: flex; flex-direction: column; background: linear-gradient(180deg, #0a1430, #060a14); color: var(--text); }
.mini__nav { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 3.4cqw; border-bottom: 1px solid var(--line); }
.mini__nav i { width: 4cqw; height: 4cqw; border-radius: 1cqw; background: var(--electric); }
.mini__nav span { flex: 1; }
.mini__nav em { width: 7cqw; height: 1.2cqw; border-radius: 2cqw; background: var(--steel); opacity: .6; }
.mini__nav em:nth-of-type(n+3) { display: none; }
@container (min-width: 520px) { .mini__nav em:nth-of-type(n+3) { display: block; } }
.mini__hero { position: relative; flex: 0 0 46%; display: grid; align-content: center; gap: 2cqw; padding: 4cqw; overflow: hidden; }
.mini__hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(61, 139, 255, .55), transparent 55%), linear-gradient(135deg, #0d2a6b, #060a14); }
.mini__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #060a14 8%, transparent); }
.mini__hero > * { position: relative; z-index: 1; }
.mini__hero b { height: 4.6cqw; width: 60%; border-radius: 3cqw; background: var(--white); display: block; }
.mini__hero b + b { width: 42%; }
.mini__hero u { height: 1.6cqw; width: 36%; border-radius: 2cqw; background: var(--steel); display: block; text-decoration: none; }
.mini__hero s { margin-top: 1.4cqw; width: 16cqw; height: 4.6cqw; border-radius: 3cqw; background: var(--blue); display: block; box-shadow: 0 0 18px rgba(61, 139, 255, .6); }
.mini__grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; padding: 3cqw 4cqw; align-content: start; }
.mini__grid span { aspect-ratio: 4 / 3; border-radius: 1.8cqw; background: linear-gradient(135deg, rgba(61, 139, 255, .25), rgba(13, 42, 107, .4)); border: 1px solid var(--line); }
@container (max-width: 420px) { .mini__grid { grid-template-columns: 1fr 1fr; } .mini__grid span:nth-child(n+5) { display: none; } .mini__hero { flex-basis: 40%; } .mini__hero b { height: 7cqw; } .mini__hero s { width: 38cqw; height: 9cqw; } }
@container (max-width: 260px) { .mini__grid { grid-template-columns: 1fr; } .mini__grid span:nth-child(n+3) { display: none; } .mini__grid span { aspect-ratio: 16 / 7; } }
.respx .float { position: absolute; z-index: 5; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--white); background: rgba(10, 20, 48, .8); border: 1px solid var(--line-2); backdrop-filter: blur(8px); padding: 9px 12px; border-radius: 99px; opacity: clamp(0, calc((var(--a) - var(--at)) * 6), 1); }

/* ---------- Vitrine de projetos em dispositivos (inclinação 3D) ---------- */
.tilt { perspective: 1400px; }
.tilt .dev { transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 6deg)) translateZ(0); transition: transform .5s var(--ease); }
.tilt:hover .dev { --ry: -4deg; --rx: 2deg; }
.shelf { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.shelf__item { position: relative; }
.shelf__item .dev__screen { aspect-ratio: 16 / 10; }
.shelf__item .dev__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 6s linear; }
.shelf__item:hover .dev__screen img { object-position: bottom; }
.shelf__phone { position: absolute; right: -4%; bottom: -10%; width: 24%; z-index: 2; }
.shelf__phone .dev__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shelf__cap { margin-top: 38px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.shelf__cap h3 { margin: 0; }

/* ---------- Faixa de números, trilho infinito e blocos de benefício ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stats div { background: var(--ink-2); padding: clamp(20px, 3vw, 36px); }
.stats strong { display: block; font: 600 clamp(2rem, 4.5vw, 3.8rem)/1 var(--font); letter-spacing: -.04em; color: var(--white); }
.stats span { color: var(--muted); font-size: .92rem; }
.benefit { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.benefit article { position: relative; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(29, 91, 216, .12), rgba(7, 11, 22, .6)); overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.benefit article:hover { transform: translateY(-6px); border-color: var(--electric); }
.benefit h3 { margin: 18px 0 8px; }
.benefit p { margin: 0; color: var(--muted); font-size: .98rem; }
.benefit .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(61, 139, 255, .14); border: 1px solid rgba(61, 139, 255, .35); color: var(--glow); font: 600 18px/1 var(--mono); }
.xmarquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.xmarquee div { display: flex; gap: 56px; width: max-content; animation: xmq 38s linear infinite; font: 600 clamp(1.6rem, 4vw, 3.2rem)/1 var(--font); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px var(--line-2); white-space: nowrap; }
.xmarquee span:nth-child(3n) { color: var(--silver); -webkit-text-stroke: 0; }
@keyframes xmq { to { transform: translateX(-50%); } }

/* ---------- Imagem de página inteira com parallax ---------- */
.bleed { position: relative; z-index: 1; height: clamp(320px, 62vw, 760px); overflow: hidden; }
.bleed img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink), transparent 22%, transparent 78%, var(--ink)); }
.bleed__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(24px, 5vw, 70px); }
.bleed__cap h2 { max-width: 16ch; }

/* ---------- Transição entre páginas (progressiva) ---------- */

/* ---------- Movimento reduzido e sem JS: tudo estático e legível ---------- */
/* movimento reduzido (classe .still, ligada pelo script do cabeçalho; o visitante pode reativar) */
html.still .scene { height: auto; }
html.still .scene__stick { position: static; height: auto; padding: 60px 0; }
html.still .xs { position: static; opacity: 1; transform: none; margin-bottom: 28px; pointer-events: auto; }
html.still .scene__copy { min-height: 0; }
html.still .scene__bar, html.still .scene__dots { display: none; }
html.still .xmarquee div { animation: none; }
html.still [data-split] .w > i { transform: none; transition: none; }
html.still .nfcx, html.still .respx { --p: 1; }
html:not(.js) .scene { height: auto; --p: 1; }
html:not(.js) .scene__stick { position: static; height: auto; padding: 60px 0; }
html:not(.js) .xs { position: static; opacity: 1; transform: none; margin-bottom: 28px; }
html:not(.js) [data-split] .w > i { transform: none; }
@media (max-width: 899px) {
	.scene__stick { align-items: start; padding-top: 84px; }
	.scene__grid { gap: 14px; }
	.scene__copy { min-height: 190px; order: 2; }
	.scene__stage { max-height: 46svh; order: 1; }
	.nfcx .phone { width: 46%; }
}



/* ================= Etapa 2 ================= */

/* ---------- Chaveiro com logo de cliente, ícones nos botões do cartão ---------- */
.nfcx .tag { background: radial-gradient(circle at 30% 24%, #4a5368 0%, #151a26 48%, #05070c 100%); display: grid; place-items: center; }
.nfcx .tag::after { content: "NFC"; position: absolute; inset: auto 0 11% 0; display: block; text-align: center; font: 600 clamp(.5rem, 1vw, .68rem)/1 var(--mono); letter-spacing: .3em; text-indent: .3em; color: rgba(201, 209, 220, .55); }
.nfcx .tag__hole { position: absolute; left: 50%; top: 4%; width: 7%; aspect-ratio: 1; margin-left: -3.5%; border-radius: 50%; background: #02040a; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12) inset; }
.nfcx .tag__logo { width: 58%; height: 58%; object-fit: contain; margin-top: -6%; transition: opacity .38s ease; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)); position: relative; z-index: 1; }
.nfcx .btns b::before { display: none; }
.nfcx .btns b svg { width: 6cqw; height: 6cqw; flex: none; color: var(--glow); }
.nfcx .btns b:first-child svg { color: #fff; }

/* ---------- Home: produto principal no hero (loop automático) ---------- */
.hero-prod { position: absolute; z-index: 1; right: clamp(8px, 4vw, 70px); top: 52%; width: min(42vw, 640px); aspect-ratio: 1; transform: translateY(-50%); --p: 0; }
.hero-prod .tag { top: 54%; width: 46%; margin: -23% 0 0 -23%; }
.hero-prod .ring { top: 54%; width: 46%; }
.hero-prod .phone { right: 0; width: 41%; }
@media (min-width: 901px) {
	.hero-copy { max-width: min(56vw, 860px); }
	.hero h1 { font-size: clamp(2.7rem, 5.4vw, 6rem); }
	.hero-meta { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 900px) {
	.hero { flex-direction: column; align-items: stretch; }
	.hero-prod { position: relative; order: 3; right: auto; top: auto; transform: none; width: min(92vw, 440px); margin: 28px auto 0; }
	.hero .wrap { order: 2; }
}

/* ---------- Home: cards com 3 quadros em sequência, menos texto ---------- */
.tile--half { grid-column: span 6; }
.bento .tile .chips { display: none; }
.bento .tile p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 420px; }
.bento .tile { transition: border-color .4s, transform .6s var(--ease), box-shadow .6s; }
.bento .tile:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -30px rgba(61, 139, 255, .55); }
.seq { position: absolute; z-index: 2; left: 28px; top: 66px; display: flex; gap: 8px; align-items: stretch; }
.seq span { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 99px; background: rgba(8, 14, 30, .62); border: 1px solid var(--line-2); backdrop-filter: blur(8px); color: var(--steel); animation: seqon 9s var(--ease) infinite; animation-delay: calc(var(--i) * 3s); }
.seq span + span::before { content: ""; position: absolute; }
.seq svg { width: 16px; height: 16px; flex: none; }
.seq b { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
@keyframes seqon { 0%, 4% { color: var(--steel); background: rgba(8, 14, 30, .62); border-color: var(--line-2); transform: none; } 8%, 30% { color: #fff; background: var(--blue); border-color: var(--electric); transform: translateY(-3px); box-shadow: 0 8px 24px -6px rgba(61, 139, 255, .8); } 36%, 100% { color: var(--steel); background: rgba(8, 14, 30, .62); border-color: var(--line-2); transform: none; box-shadow: none; } }
@media (max-width: 760px) { .tile--half { grid-column: span 12; } .seq { left: 22px; top: 60px; flex-wrap: wrap; } .seq b { font-size: 10px; } }
/* movimento reduzido (classe .still, ligada pelo script do cabeçalho; o visitante pode reativar) */
html.still .seq span, html.still .ktag { animation: none; }
html.still .seq span { color: var(--glow); }

/* ---------- Nath: conversa dentro de um celular ---------- */
.nathphone { position: relative; max-width: 410px; width: 100%; margin: 0 auto; padding: 12px; border-radius: 48px; background: #0b0f1a; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 90px -34px rgba(61, 139, 255, .5); }
.nathphone::before { content: ""; position: absolute; z-index: 3; left: 50%; top: 20px; width: 92px; height: 24px; margin-left: -46px; border-radius: 99px; background: #000; }
.nathphone .chat { border-radius: 38px; overflow: hidden; min-height: 560px; border: 0; padding-top: 34px; }

/* ---------- Portfólio: monitores grandes ---------- */
.shelf--big { grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); gap: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px); }
.hero--solo .hero-copy { max-width: 980px; }
@media (min-width: 901px) { .hero--solo h1 { font-size: clamp(2.7rem, 7vw, 7.2rem); } .hero--solo .hero-meta { grid-template-columns: repeat(4, auto); } }

/* ================= Etapa 3: abertura em filme, moeda 3D, fotos ================= */
.film { position: relative; z-index: 1; height: var(--len, 620vh); --p: 0; }
.film__stick { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; background: var(--ink); }
.film__layer { position: absolute; inset: 0; z-index: 0; opacity: var(--o, 0); transform: scale(calc(1.16 - .16 * var(--o, 0))); will-change: opacity, transform; }
.film__layer:first-child { --o: 1; opacity: var(--o, 1); }
.film__layer img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.film__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(4, 6, 12, .88) 0%, rgba(4, 6, 12, .45) 48%, rgba(4, 6, 12, .1) 100%), linear-gradient(0deg, rgba(4, 6, 12, .8) 0%, transparent 38%); }
.film__copy { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; padding-top: 80px; }
.film__copy .scene__copy { width: 100%; max-width: 640px; min-height: min(560px, 68svh); }
.film .xs { display: flex; flex-direction: column; justify-content: center; height: 100%; align-items: flex-start; }
.film h1 { font-size: clamp(2.4rem, 5.2vw, 5.5rem); line-height: .95; letter-spacing: -.05em; margin-bottom: 24px; }
.film h1 .ln { display: block; }
.film h2 { font-size: clamp(2.2rem, 4.8vw, 4.8rem); line-height: .98; }
.film .lead { margin-bottom: 30px; }
.film .xs p { max-width: 520px; margin-bottom: 26px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.film .hero-globe { position: absolute; z-index: 0; top: 50%; right: -9vw; width: min(78vw, 1060px); aspect-ratio: 1; transform: translateY(-50%); }
.film .hero-glow { position: absolute; z-index: 0; top: 50%; right: 4vw; width: 52vw; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(29, 91, 216, .34), transparent 62%); filter: blur(30px); }
.film .scene__dots { position: absolute; left: 0; bottom: -4px; }
.film .scene__bar { z-index: 4; }
@media (max-width: 760px) {
	.film__copy { align-items: flex-end; padding: 0 var(--pad) 88px; }
	.film__copy .scene__copy { min-height: min(430px, 58svh); }
	.film__shade { background: linear-gradient(0deg, rgba(4, 6, 12, .96) 0%, rgba(4, 6, 12, .6) 46%, rgba(4, 6, 12, .12) 100%); }
	.film .hero-globe { top: 30%; right: -42vw; width: 140vw; opacity: .8; }
	.film__layer img { object-position: 60% 40%; }
	.film h1 { font-size: clamp(2.3rem, 11.5vw, 3.4rem); }
	.film .xs { justify-content: flex-end; }
}
.preload { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; align-content: center; gap: 22px; background: #04060c; transition: opacity .7s var(--ease), visibility .7s; }
.preload img { width: 128px; height: auto; animation: preIn 1s var(--ease) both; }
.preload span { width: 120px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; position: relative; }
.preload span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--glow)); transform: scaleX(0); transform-origin: 0 50%; animation: preBar 1.15s var(--ease) forwards; }
.preload.out { opacity: 0; visibility: hidden; }
html.intro { overflow: hidden; }
@keyframes preIn { from { opacity: 0; transform: scale(.86); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes preBar { to { transform: scaleX(1); } }

.coin__wrap { display: grid; gap: clamp(20px, 5vw, 70px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .coin__wrap { grid-template-columns: .9fr 1.1fr; } }
.coin__copy h2 { font-size: clamp(2.2rem, 5vw, 4.6rem); }
.coin__stage { perspective: 1100px; display: grid; place-items: center; align-content: center; height: min(58svh, 470px); }
.coin3d { position: relative; width: min(60vw, 340px); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(14deg) rotateY(calc(-28deg + var(--p, 0) * 400deg)); }
.coin3d i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 24%, #3a4357, #10141f 60%); transform: translateZ(calc(var(--z) * 1px)); }
.coin__face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 24%, #4a5368, #151a26 50%, #05070c); box-shadow: 0 0 0 2px rgba(255, 255, 255, .07) inset, 0 0 70px rgba(61, 139, 255, .4); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin__face img { width: 58%; height: 58%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .55)); }
.coin__face--f { transform: translateZ(9px); }
.coin__face--b { transform: rotateY(180deg) translateZ(9px); }
.coin__ring { position: absolute; left: 50%; top: -11%; width: 22%; aspect-ratio: 1; margin-left: -11%; border: 5px solid #aab3c2; border-radius: 50%; }
.coin__shadow { width: 56%; height: 24px; margin-top: 26px; border-radius: 50%; background: rgba(61, 139, 255, .3); filter: blur(18px); }

.life { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
.life::-webkit-scrollbar { display: none; }
.life__item { position: relative; flex: 0 0 min(88vw, 760px); scroll-snap-align: center; margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.life__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.life__item:hover img { transform: scale(1.06); }
.life__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 6, 12, .75), transparent 45%); }
.life__item figcaption { position: absolute; z-index: 2; left: 24px; bottom: 20px; font: 600 clamp(1.2rem, 2.4vw, 1.8rem)/1 var(--font); letter-spacing: -.02em; color: #fff; }

/* movimento reduzido (classe .still, ligada pelo script do cabeçalho; o visitante pode reativar) */
html.still .film { height: auto; }
html.still .film__stick { position: relative; height: auto; min-height: 100svh; overflow: visible; }
html.still .film__layer:not(:first-child) { display: none; }
html.still .film__copy { position: relative; padding: 130px 0 80px; }
html.still .film .xs { position: static; opacity: 1; transform: none; height: auto; margin-bottom: 36px; }
html.still .film .scene__copy { min-height: 0; }
html.still .film .scene__dots, html.still .film .scene__bar { display: none; }
html.still .preload { display: none; }
html.still .coin { height: auto; }
html.still .coin3d { transform: rotateX(14deg) rotateY(-24deg); }
html:not(.js) .film { height: auto; }
html:not(.js) .film__stick { position: relative; height: auto; min-height: 100svh; }
html:not(.js) .film__layer:not(:first-child) { display: none; }
html:not(.js) .film__copy { position: relative; padding: 130px 0 80px; }
html:not(.js) .film .xs { position: static; opacity: 1; transform: none; height: auto; margin-bottom: 36px; }
.film__still { display: none; }
/* Modo estático da abertura: sem movimento, mas com todas as fotos */
/* movimento reduzido (classe .still, ligada pelo script do cabeçalho; o visitante pode reativar) */
html.still .film { height: auto; }
html.still .film__stick { position: relative; height: auto; overflow: visible; background: var(--ink); }
html.still .film__layer:first-child { display: block; position: absolute; inset: 0 0 auto 0; height: 100svh; transform: none; opacity: 1; }
html.still .film__shade { display: none; }
html.still .film__copy { position: relative; display: block; max-width: none; padding: 0; }
html.still .film__copy .scene__copy { max-width: none; min-height: 0; }
html.still .film .xs { position: relative; opacity: 1; transform: none; height: auto; min-height: 92svh; margin: 0; box-sizing: border-box; isolation: isolate; justify-content: flex-end; padding: 120px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 72px; }
html.still .film .xs:first-child { min-height: 100svh; justify-content: center; }
html.still .film .xs > :not(.film__still) { max-width: 640px; }
html.still .film__still { display: block; position: absolute; inset: 0; z-index: -1; }
html.still .film__still img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
html.still .film__still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 12, .85), rgba(4, 6, 12, .2) 70%), linear-gradient(0deg, rgba(4, 6, 12, .85), transparent 45%); }
html.still .film .scene__dots, html.still .film .scene__bar, html.still .film .xscroll { display: none; }
html:not(.js) .film { height: auto; }
html:not(.js) .film__stick { position: relative; height: auto; overflow: visible; background: var(--ink); }
html:not(.js) .film__layer:first-child { display: block; position: absolute; inset: 0 0 auto 0; height: 100svh; transform: none; opacity: 1; }
html:not(.js) .film__shade { display: none; }
html:not(.js) .film__copy { position: relative; display: block; max-width: none; padding: 0; }
html:not(.js) .film__copy .scene__copy { max-width: none; min-height: 0; }
html:not(.js) .film .xs { position: relative; opacity: 1; transform: none; height: auto; min-height: 92svh; margin: 0; box-sizing: border-box; isolation: isolate; justify-content: flex-end; padding: 120px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 72px; }
html:not(.js) .film .xs:first-child { min-height: 100svh; justify-content: center; }
html:not(.js) .film .xs > :not(.film__still) { max-width: 640px; }
html:not(.js) .film__still { display: block; position: absolute; inset: 0; z-index: -1; }
html:not(.js) .film__still img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
html:not(.js) .film__still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 12, .85), rgba(4, 6, 12, .2) 70%), linear-gradient(0deg, rgba(4, 6, 12, .85), transparent 45%); }
html:not(.js) .film .scene__dots, .film .scene__bar, .film .xscroll { display: none; }

.motion-toggle { position: fixed; left: 14px; bottom: 14px; z-index: 60; display: inline-flex; align-items: center; padding: 10px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(8, 14, 30, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--white); font: 500 12.5px/1 var(--mono); letter-spacing: .04em; cursor: pointer; }
.motion-toggle:hover { border-color: var(--electric); }
.motion-toggle[hidden] { display: none; }
html.still .mt-off, html.lite .mt-off { display: none; }
html:not(.still):not(.lite) .mt-on { display: none; }

/* Modo "lite" (padrão de quem pede movimento reduzido): sem movimento automático, sem parallax, sem laços.
   As cenas que o próprio visitante controla com a rolagem continuam, só com fusão e troca (nada se move sozinho). */
html.lite .xmarquee div, html.lite .ktag, html.lite .seq span, html.lite .xscroll::after { animation: none; }
html.lite .seq span { color: var(--glow); }
html.lite [data-split] .w > i { transform: none; transition: none; }
html.lite .preload { display: none; }
html.lite .film__layer { transform: none; }
html.lite .xhero__bg img { transform: scale(1.04); }
html.lite .bleed img { transform: none; }

/* Toque em qualquer lugar da abertura leva à página do quadro atual; as bolinhas pulam de quadro */
.film__go { position: absolute; inset: 0; z-index: 2; display: block; }
html.still .film__go, html:not(.js) .film__go { display: none; }
.film__copy a, .film__copy .scene__dots { position: relative; z-index: 6; touch-action: manipulation; pointer-events: auto; }
.film .scene__dots { display: flex; gap: 6px; }
.film .scene__dots span { cursor: pointer; width: 34px; height: 4px; box-sizing: content-box; padding: 14px 0; background-clip: content-box; border-radius: 0; }
.film .scene__dots span.on { width: 54px; }
@media (max-width: 760px) { .film .btn { min-height: 52px; padding-inline: 24px; } }
.film__copy, .film__copy .scene__copy, .film .xs { pointer-events: none; }
.film__copy a, .film__copy .scene__dots span { pointer-events: auto; }
.film__go:focus-visible { outline: 3px solid var(--electric); outline-offset: -6px; }
/* ---- Galeria de aplicações: fotos correm na horizontal enquanto a página fica presa ---- */
.gal .scene__stick { display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3vh, 36px); }
.gal__head { width: 100%; }
.gal__head h2 { max-width: 18ch; margin: 6px 0 8px; }
.gal__head .lead { max-width: 52ch; margin: 0; }
.gal__track { display: flex; gap: clamp(14px, 2vw, 28px); width: max-content; padding: 0 var(--pad); will-change: transform; transform: translate3d(calc(var(--p) * (100vw - 100%)), 0, 0); }
.gal__card { position: relative; margin: 0; width: clamp(280px, 38vw, 560px); aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #070b14; flex: none; }
.gal__card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.gal__card:hover img { transform: scale(1.05); }
.gal__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 6, 12, .88), transparent 55%); pointer-events: none; }
.gal__card figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 2px; }
.gal__card figcaption span { font: 600 12px/1 ui-monospace, monospace; letter-spacing: .14em; color: var(--blue-2, #6aa8ff); }
.gal__card figcaption strong { font-size: clamp(1.05rem, 1.6vw, 1.4rem); }
.gal__card figcaption em { font-style: normal; color: var(--mute, #a9b4c8); font-size: .92rem; }
html.still .gal .scene__stick { padding: 60px 0; }
html.still .gal__track { transform: none; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
html.still .gal__card { scroll-snap-align: center; }
html:not(.js) .gal { height: auto; }
html:not(.js) .gal__track { transform: none; width: auto; overflow-x: auto; }

/* ---- Chaveiro 3D ---- */
.k3d__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 70px); align-items: center; height: 100%; }
.k3d__copy h2 { max-width: 12ch; margin: 8px 0 14px; }
.k3d__copy .lead { max-width: 40ch; }
.k3d__stage { position: relative; height: min(78svh, 760px); touch-action: pan-y; cursor: grab; border-radius: 28px; overflow: hidden; background: radial-gradient(ellipse at 50% 55%, rgba(40, 90, 220, .28), transparent 62%); }
.k3d__stage.grab { cursor: grabbing; }
.k3d__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s; }
.k3d__stage.ready canvas { opacity: 1; }
.k3d__poster { position: absolute; inset: 0; transition: opacity .6s; }
.k3d__poster img { width: 100%; height: 100%; object-fit: cover; }
.k3d__stage.ready .k3d__poster { opacity: 0; pointer-events: none; }
.k3d__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 8px 16px; border-radius: 99px; font-size: 13px; letter-spacing: .04em; background: rgba(8, 14, 30, .7); border: 1px solid var(--line); backdrop-filter: blur(8px); pointer-events: none; }
@media (max-width: 900px) {
	.k3d__grid { grid-template-columns: 1fr; align-content: center; gap: 8px; }
	.k3d__copy h2 { max-width: none; font-size: clamp(1.9rem, 8vw, 2.6rem); margin: 4px 0 8px; }
	.k3d__copy .lead { font-size: 1rem; margin: 0; }
	.k3d__stage { height: min(52svh, 480px); }
}
html.still .k3d { height: auto; }
html.still .k3d .scene__stick { position: static; height: auto; padding: 60px 0; }
html.still .k3d .scene__bar, html:not(.js) .k3d .scene__bar { display: none; }
html.still .k3d__stage canvas, html:not(.js) .k3d__stage canvas { display: none; }

/* ---- Nath: três funções ---- */
.roles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); margin-top: 8px; }
.role { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 22px; background: linear-gradient(180deg, rgba(13, 42, 107, .22), rgba(7, 11, 22, .6)); }
.role h3 { margin: 18px 8px 8px; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.role p { margin: 0 8px; color: var(--muted); }
.role__mock { aspect-ratio: 4 / 3; border-radius: var(--r-sm); background: radial-gradient(120% 100% at 50% 0, rgba(61, 139, 255, .22), rgba(4, 6, 12, .9)); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; container-type: inline-size; }
.role__mock small { font: 600 max(10px, 3cqw)/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--glow); }
.rm-call, .rm-post, .rm-cal { width: 64%; display: grid; gap: 3.4cqw; }
.rm-call { text-align: center; justify-items: center; }
.rm-call b { font-size: 5.6cqw; }
.rm-call p { margin: 0; width: 100%; padding: 2.2cqw 3cqw; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); font-size: 3.5cqw; color: var(--text); }
.rm-wave { display: flex; gap: 1.4cqw; align-items: center; height: 9cqw; }
.rm-wave i { width: 1.6cqw; height: 100%; border-radius: 9px; background: linear-gradient(180deg, var(--glow), var(--electric)); transform: scaleY(.35); }
.rm-wave i:nth-child(odd) { transform: scaleY(.7); }
.rm-wave i:nth-child(4) { transform: scaleY(1); }
html:not(.still):not(.lite) .rm-wave i { animation: rmw 1.1s ease-in-out infinite; animation-delay: calc(var(--k, 0) * .12s); }
.rm-wave i:nth-child(2) { --k: 1; } .rm-wave i:nth-child(3) { --k: 2; } .rm-wave i:nth-child(4) { --k: 3; } .rm-wave i:nth-child(5) { --k: 4; } .rm-wave i:nth-child(6) { --k: 5; } .rm-wave i:nth-child(7) { --k: 6; }
@keyframes rmw { 50% { transform: scaleY(1); } 0%, 100% { transform: scaleY(.3); } }
.rm-post { background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); border-radius: 3cqw; padding: 3cqw; width: 70%; }
.rm-post__img { aspect-ratio: 16 / 9; border-radius: 2cqw; background: linear-gradient(135deg, #1d5bd8, #7fb2ff 70%, #c9defd); }
.rm-post span { height: 2cqw; border-radius: 9px; background: rgba(255, 255, 255, .18); }
.rm-post span + span { width: 60%; }
.rm-post__row { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
.rm-post__row em { font-style: normal; font-size: 3cqw; color: var(--steel); }
.rm-post__row u { text-decoration: none; font-size: 3.2cqw; font-weight: 600; background: var(--blue); color: #fff; padding: 1.4cqw 3cqw; border-radius: 99px; }
.rm-cal { width: 70%; }
.rm-cal__row { display: flex; align-items: center; gap: 3cqw; padding: 2.6cqw 3cqw; border-radius: 2.4cqw; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
.rm-cal__row i { width: 3cqw; height: 3cqw; border-radius: 50%; border: 2px solid var(--electric); flex: none; }
.rm-cal__row b { font-size: 3.6cqw; font-weight: 500; color: var(--text); }
.rm-cal__row--ok i { background: var(--ok); border-color: var(--ok); }
@media (max-width: 900px) { .roles__grid { grid-template-columns: 1fr; } .role__mock { aspect-ratio: 16 / 10; } }

/* ---- Cena «vira celular»: site de loja real (desktop → celular) ---- */
.mini[hidden] { display: none; }
.mini--photo { position: relative; background: #fff; }
.mini--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.mini--photo .mini__d { opacity: clamp(0, calc(1 - var(--a) * 4), 1); }
.mini--photo .mini__p { opacity: clamp(0, calc((var(--a) - .2) * 4), 1); }
html.still .mini--photo .mini__d { opacity: 0; }
html.still .mini--photo .mini__p { opacity: 1; }

/* ---- Cartão digital realista no celular (foto de fundo, logo, nome, botões brilhantes) ---- */
.nfcx .scr--photo { padding: 0; display: block; }
.scr--photo > .card:not(.kcard) { display: none; }
.kcard__bg { position: absolute; inset: 0; opacity: var(--a3, 1); }
.kcard__bg img { width: 100%; height: 100%; object-fit: cover; }
.kcard__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 6, 12, .55), rgba(4, 6, 12, .1) 35%, rgba(4, 6, 12, .65) 100%); }
.nfcx .kcard { position: absolute; inset: 0; width: auto; padding: 13cqw 8cqw 8cqw; gap: 4cqw; justify-content: flex-start; align-items: center; }
.kcard__logo { width: 36cqw; height: 36cqw; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 3cqw 9cqw rgba(0, 0, 0, .6), 0 0 0 1.2cqw rgba(255, 255, 255, .12); flex: none; }
.kcard__logo img { width: 78%; height: 78%; object-fit: contain; transition: opacity .38s ease; }
.kcard__name { font-size: 6.6cqw; line-height: 1.1; text-align: center; font-weight: 700; color: #fff; text-shadow: 0 .5cqw 3cqw rgba(0, 0, 0, .8); }
.kcard__btns { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4.4cqw; }
.kt { aspect-ratio: 1.12; border-radius: 6.5cqw; display: grid; place-content: center; justify-items: center; gap: 2.6cqw; background: linear-gradient(165deg, rgba(48, 52, 66, .96), rgba(6, 8, 14, .97)); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 2.4cqw 7cqw rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1.6cqw 4cqw rgba(0, 0, 0, .4); opacity: calc(var(--a3, 1) * 1); transform: translateY(calc((1 - var(--a3, 1)) * 18px)); transition: none; }
.kt i { width: 15cqw; height: 15cqw; border-radius: 4cqw; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1cqw 3cqw rgba(0, 0, 0, .5); }
.kt i svg { width: 62%; height: 62%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kt--call i { background: linear-gradient(180deg, #4bd16a, #1f9a45); }
.kt--wa i { background: linear-gradient(180deg, #39d97a, #12a152); }
.kt--ig i { background: linear-gradient(45deg, #f9a03c, #e1306c 50%, #833ab4); }
.kt--map i { background: linear-gradient(180deg, #ff6b5f, #d63a30); }
.kt em { font: 600 3.3cqw/1 var(--sans, system-ui); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: #fff; }

/* ---- Chaveiros em formatos diferentes (cada cliente tem o seu) ---- */
.nfcx .tag { transition: width .5s cubic-bezier(.2, .7, .2, 1), aspect-ratio .5s, margin .5s, border-radius .5s; }
.nfcx .tag[data-shape="banner"] { width: 56%; aspect-ratio: 2.4 / 1; margin: -11.7% 0 0 -28%; border-radius: 20% / 38%; }
.nfcx .tag[data-shape="banner"] .tag__hole { left: 7%; top: 50%; margin: -3.5% 0 0 0; width: 5.5%; }
.nfcx .tag[data-shape="banner"] .tag__logo { width: 76%; height: 76%; margin: 0 0 0 8%; }
.nfcx .tag[data-shape="rect"] { aspect-ratio: .82 / 1; margin-top: -23%; border-radius: 16%; }
.nfcx .tag[data-shape="round"] { border-radius: 50%; }
.ktag:nth-child(3n + 2) .ktag__face { border-radius: 16px; }
.ktag:nth-child(3n) .ktag__face { border-radius: 30px 30px 30px 8px; }

/* ---- Cena responsiva leve: só transform e opacity (nada de largura/altura animando; roda na GPU, inclusive em celular) ---- */
.respx__mon, .respx__ph { position: absolute; will-change: transform, opacity; backface-visibility: hidden; }
.respx__mon { inset: 0; width: auto; height: auto; transform-origin: 50% 40%; transform: translate3d(0, 0, 0) scale(calc(1 - .5 * var(--a))); opacity: clamp(0, calc(1.6 - var(--a) * 3), 1); }
.respx__ph { top: 1%; left: 50%; width: auto; height: 98%; aspect-ratio: 9 / 19; transform: translate3d(-50%, 0, 0) scale(calc(.78 + .22 * var(--a))); opacity: clamp(0, calc((var(--a) - .35) * 3), 1); }
.respx__mon .dev__screen, .respx__ph .dev__screen { aspect-ratio: auto; contain: strict; }
.respx__mon img, .respx__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.respx__mon::after { display: none; }
@media (max-width: 760px) {
	.respx__stage { aspect-ratio: 4 / 4.2; }
	.respx .float { backdrop-filter: none; background: rgba(10, 20, 48, .92); }
	.respx .dev { box-shadow: 0 10px 24px -12px #000; }
	.respx__mon { inset: 8% 0 auto 0; aspect-ratio: 16 / 10; height: auto; }
}
html.still .respx__mon { opacity: 0; }
html.still .respx__ph { opacity: 1; transform: translate3d(-50%, 0, 0); }

/* ---- Cartão real do cliente (KK Floors) no celular + mural de clientes reais ---- */
.kcard__real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; z-index: 2; }
.kk .kcard__real { opacity: var(--a3, 1); }
.kk .kcard, .kk .kcard__bg { visibility: hidden; }
.mural__grid { display: grid; grid-template-columns: .8fr 1.1fr 1.3fr; gap: clamp(14px, 2.4vw, 34px); align-items: center; margin-top: 8px; }
.mural figure { margin: 0; }
.mural figcaption { margin-top: 12px; font-size: .9rem; color: var(--muted); text-align: center; }
.mural__ph .dev--phone { max-width: 300px; margin: 0 auto; }
.mural__ph .dev__screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mural__ph2 img, .mural__ph3 img { width: 100%; height: auto; display: block; border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px #000; }
.mural__ph2 img { aspect-ratio: 1; object-fit: cover; }
@media (max-width: 900px) { .mural__grid { grid-template-columns: 1fr 1fr; } .mural__ph3 { grid-column: 1 / -1; } .mural__ph { grid-row: span 1; } }
@media (max-width: 520px) { .mural__grid { grid-template-columns: 1fr; } .mural__ph .dev--phone { max-width: 240px; } }
.kcard__real { object-fit: contain; background: #0a0807; }
.mural__ph .dev--phone { aspect-ratio: 9 / 14.9; border-radius: 12% / 7.4%; }
.mural__ph .dev--phone::before { display: none; }
.mural__ph .dev__screen { border-radius: 9.5% / 5.9%; }

/* Chaveiro 2D: miolo claro com a logo (como os reais, de borda escura): logos escuras também aparecem */
.nfcx .tag::before { content: ""; position: absolute; inset: 6.5%; border-radius: inherit; background: radial-gradient(circle at 35% 25%, #fff, #e8e8e4); z-index: 0; }
.nfcx .tag[data-shape="banner"]::before { inset: 9% 3.5%; }
.nfcx .tag__hole { z-index: 2; }
.nfcx .tag__logo { width: 62%; height: 62%; margin-top: -4%; filter: none; }
.nfcx .tag[data-shape="banner"] .tag__logo { width: 70%; height: 70%; }
