/* Quark — landing page
   Preto puro. Partículas 3D na abertura, luz no final, as cores vêm dos logos das IAs. */

:root {
  --bg: #000;
  --fg: #fff;
  --dim: rgba(255, 255, 255, .46);
  --faint: rgba(255, 255, 255, .28);
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --glass: rgba(255, 255, 255, .035);
  --claude: #D97757;
  --codex: #5B63FF;
  --blue: #3186FF;
  --gold: #FFC83D;
  --sans: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.5 var(--sans); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 8px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; z-index: 90; } .skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; }
::selection { background: #fff; color: #000; }

.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gut-r) 0 var(--gut); }
.big { font-size: clamp(42px, 7vw, 104px); line-height: .95; letter-spacing: -.055em; font-weight: 600; }
.dim { color: var(--dim); }
.reveal-words .w { display: inline-block; will-change: transform, opacity, filter; }

/* ───── Topo ───── */
/* o menu só aparece depois que a pessoa rola a página */
.top { position: fixed; z-index: 50; inset: 0 0 auto 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: max(18px, env(safe-area-inset-top, 0px)) calc(var(--gut-r) + 12px) 18px calc(var(--gut) + 12px); background: rgba(0, 0, 0, .58); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border-bottom: 1px solid var(--line); transform: translateY(-105%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.top.show, .top:focus-within { transform: none; opacity: 1; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; } .brand img { height: 20px; width: auto; } .brand .word { height: 12px; }
.top .brand img { height: 28px; } .top .brand .word { height: 16px; }
.top-nav { display: flex; gap: 40px; font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, .62); }
.top-nav a { text-decoration: none; transition: color .3s; } .top-nav a:hover { color: var(--fg); }
.top-r { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.lang { height: 46px; min-width: 54px; border: 1px solid var(--line-2); background: transparent; border-radius: 999px; font: 500 14px var(--mono); }
.lang:hover { border-color: var(--fg); }
.pill-sm { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 999px; background: #fff; color: #000; font-weight: 600; font-size: 16px; text-decoration: none; }

/* ───── Botão de download ───── */
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.dl { position: relative; isolation: isolate; display: inline-grid; padding: 1px; border: 0; border-radius: 999px; background: conic-gradient(from var(--a), #fff0 0%, var(--claude) 12%, var(--gold) 22%, #fff0 34%, #fff0 50%, var(--blue) 62%, var(--codex) 72%, #fff0 84%); text-decoration: none; animation: rot 4s linear infinite; transition: transform .6s var(--ease); }
.dl-glow { position: absolute; inset: -40px; z-index: -1; padding: 26px; border-radius: 999px; background: inherit; background-clip: content-box; filter: blur(22px); opacity: .55; transform: translateZ(0); will-change: filter; transition: opacity .5s; pointer-events: none; }
.dl:hover { transform: scale(1.04); } .dl:hover .dl-glow { opacity: .95; }
.dl-in { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 28px; border-radius: inherit; background: #fff; color: #000; font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.dl-in img { filter: invert(1); width: 18px; height: auto; }
.hero .dl .dl-in { height: 68px; padding: 0 38px; font-size: 18px; gap: 14px; }
.hero .dl .dl-in img { width: 21px; }
.dl.xl .dl-in { height: 76px; padding: 0 44px; font-size: clamp(18px, 2vw, 22px); gap: 14px; }
.dl.xl .dl-in img { width: 22px; }
@keyframes rot { to { --a: 360deg; } }

/* ───── Abertura ───── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; display: grid; align-items: end; justify-items: center; background: #000; }
.gl, .gl canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.gl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .7) 85%); pointer-events: none; }
.gl canvas { opacity: 0; transition: opacity 1.8s cubic-bezier(.16, 1, .3, 1); }
html.gl-on .gl canvas { opacity: 1; }
html.gl-wait .hero-logo { display: none; }
html:not(.gl-on):not(.gl-wait) .gl { background: radial-gradient(30% 30% at 50% 50%, rgba(217, 119, 87, .22), transparent 70%), radial-gradient(40% 40% at 58% 45%, rgba(49, 134, 255, .2), transparent 70%); }
.hero-c { position: relative; z-index: 5; display: grid; justify-items: center; text-align: center; gap: 16px; padding: 0 var(--gut-r) clamp(110px, 19vh, 220px) var(--gut); pointer-events: none; }
.hero-kick { font-size: clamp(14px, 1.15vw, 17px); color: rgba(255, 255, 255, .7); letter-spacing: -.01em; font-style: italic; }
/* nome em destaque no meio da frase: logo + texto branco num selo discreto */
.hl { display: inline-flex; align-items: center; gap: .38em; padding: .12em .55em .12em .38em; margin: 0 .08em; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-weight: 600; vertical-align: .02em; white-space: nowrap; }
.hl img { width: 1.05em; height: 1.05em; object-fit: contain; }
.hl.q { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); }
.hero-c a { pointer-events: auto; }
.hero h1 { font-size: clamp(40px, 6vw, 96px); line-height: .94; letter-spacing: -.055em; font-weight: 600; }
.hero-sub { max-width: 44ch; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, .8); }
.hero-logo { position: absolute; z-index: 3; left: 50%; top: 30%; height: min(30vh, 260px); width: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 0 28px rgba(255, 226, 190, .22)) drop-shadow(0 0 2px rgba(255, 255, 255, .3)); opacity: .96; pointer-events: none; animation: logoIn 1.8s var(--ease) .15s both; }
@keyframes logoIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.94); } }
.hold { position: absolute; z-index: 5; left: var(--gut); bottom: 26px; font: 400 12px var(--mono); color: var(--faint); }
.scrollcue { position: absolute; z-index: 5; left: 50%; bottom: 22px; width: 1px; height: 44px; background: linear-gradient(var(--line-2), transparent); overflow: hidden; }
.scrollcue i { position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: #fff; animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* traçado: logos das IAs que aparecem e se ligam por linhas tracejadas */
.tracery { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.tracery svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tracery line { stroke: rgba(255, 255, 255, .32); stroke-width: 1.2; stroke-dasharray: 4 5; animation: march 1s linear infinite; }
@keyframes march { to { stroke-dashoffset: -18; } }
.tnode { position: absolute; left: 0; top: 0; width: 96px; height: 96px; margin: -48px; opacity: 0; transition: opacity .5s; }
.tnode.on { opacity: 1; }
.tnode::before, .tnode::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .5);
  -webkit-mask: linear-gradient(#000 0 0) top left / 12px 12px no-repeat, linear-gradient(#000 0 0) top right / 12px 12px no-repeat, linear-gradient(#000 0 0) bottom left / 12px 12px no-repeat, linear-gradient(#000 0 0) bottom right / 12px 12px no-repeat;
          mask: linear-gradient(#000 0 0) top left / 12px 12px no-repeat, linear-gradient(#000 0 0) top right / 12px 12px no-repeat, linear-gradient(#000 0 0) bottom left / 12px 12px no-repeat, linear-gradient(#000 0 0) bottom right / 12px 12px no-repeat; }
.tnode::after { inset: 50% auto auto 50%; width: 10px; height: 10px; margin: -5px; border: 0; -webkit-mask: none; mask: none; background: linear-gradient(#fff, #fff) center / 100% 1px no-repeat, linear-gradient(#fff, #fff) center / 1px 100% no-repeat; opacity: .7; }
.tnode img { position: absolute; inset: 18px; width: 60px; height: 60px; background: rgba(0, 0, 0, .72); border-radius: 16px; padding: 10px; opacity: 0; transform: scale(.6); transition: opacity .5s .15s, transform .6s .15s var(--ease); }
.tnode.on img { opacity: 1; transform: none; }
.tnode span { position: absolute; left: 0; bottom: calc(100% + 8px); white-space: nowrap; font: 500 13px var(--mono); color: rgba(255, 255, 255, .8); }

/* ───── IAs ───── */
.logos { padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 5vw, 70px); border-top: 1px solid var(--line); }
.eyeline { text-align: center; font-size: 15px; font-weight: 400; color: var(--dim); margin-bottom: 40px; padding: 0 20px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; width: max-content; gap: 64px; animation: slide 36s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.ai { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; opacity: .9; }
.ai img { width: clamp(30px, 3vw, 40px); height: auto; }
@keyframes slide { to { transform: translateX(calc(-50% - 32px)); } }

/* ───── Troca de bastão ───── */
.baton { position: relative; height: 260vh; }
.baton-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; align-content: center; gap: clamp(30px, 5vh, 60px); padding: 110px var(--gut-r) 60px var(--gut); overflow: hidden; }
.baton-copy { text-align: center; display: grid; gap: 18px; justify-items: center; }
.baton-copy p { color: var(--dim); font-size: 18px; }
.relay { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 40px); width: min(1100px, 100%); margin: 0 auto; }
.orb { position: relative; display: grid; justify-items: center; gap: 12px; --c: var(--claude); }
.orb.b { --c: var(--codex); }
.orb-in { width: clamp(96px, 13vw, 168px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #161616, #050505 70%); border: 1px solid var(--line-2); box-shadow: 0 0 calc(var(--on, 0) * 90px) color-mix(in srgb, var(--c) 70%, transparent), inset 0 0 calc(var(--on, 0) * 40px) color-mix(in srgb, var(--c) 35%, transparent); filter: saturate(calc(.2 + var(--on, 0) * .8)) brightness(calc(.55 + var(--on, 0) * .45)); transition: box-shadow .2s; }
.orb-in img { width: 44%; height: auto; }
.orb .name { font-size: 15px; font-weight: 500; }
.tag { font: 500 12px var(--mono); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--dim); white-space: nowrap; }
.tag.hot { color: #000; background: var(--c); border-color: transparent; }
.tag.out { color: #ff8a80; border-color: rgba(255, 138, 128, .5); }
.beam { position: relative; height: 2px; background: var(--line); border-radius: 2px; }
.beam-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--claude), var(--codex)); box-shadow: 0 0 18px rgba(91, 99, 255, .7); border-radius: inherit; }
.packet { position: absolute; top: 50%; left: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; background: radial-gradient(circle, #fff 0 4px, rgba(255, 255, 255, .6) 6px, rgba(160, 170, 255, .25) 18px, transparent 60px); opacity: 0; }
.task { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; width: min(720px, 100%); margin: 0 auto; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--glass); font-size: 14px; color: var(--dim); }
.task-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.task-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--claude), var(--codex)); }
.task b { font: 500 13px var(--mono); color: var(--fg); min-width: 4ch; text-align: right; }

/* ───── Workflows ───── */
.flow { padding: clamp(100px, 12vw, 180px) 0; }
.flow .big, .office .big { text-align: center; }
.win { position: relative; margin: clamp(50px, 7vw, 90px) auto 0; max-width: 1100px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #0c0c0c, #050505); box-shadow: 0 60px 140px -40px rgba(91, 99, 255, .25), 0 0 0 1px rgba(255, 255, 255, .02) inset; overflow: hidden; }
.win::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a), transparent 70%, rgba(255, 255, 255, .5) 80%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rot 6s linear infinite; pointer-events: none; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 400 12px var(--mono); color: var(--faint); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.win-bar span { margin-left: 10px; }
.prompt { display: flex; align-items: center; gap: 14px; margin: 26px clamp(18px, 3vw, 34px) 0; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: clamp(16px, 1.6vw, 20px); min-height: 60px; }
.prompt .you { font: 500 11px var(--mono); color: var(--faint); padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; flex: none; }
.caret::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.15em; background: #fff; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.graph { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 2.4vw, 34px); padding: clamp(40px, 6vw, 70px) clamp(18px, 3vw, 34px) clamp(36px, 5vw, 56px); }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wires path { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.wires path.live { stroke: url(#wireGrad); stroke-width: 2; stroke-dasharray: 6 8; animation: march .7s linear infinite; }
.wires path.done { stroke: rgba(255, 255, 255, .55); }
.node { position: relative; z-index: 1; display: grid; justify-items: start; gap: 14px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #070707; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .6s var(--ease), transform .7s var(--ease), border-color .4s, box-shadow .4s; }
.node.show { opacity: 1; transform: none; }
.node img { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.node b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.node span { font-size: 13px; color: var(--dim); }
.node em { position: absolute; top: 14px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.node.work { border-color: rgba(255, 255, 255, .45); box-shadow: 0 0 40px -6px rgba(91, 99, 255, .55); }
.node.work em { background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse 1s ease-in-out infinite; }
.node.ok em { background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
.node.end.ok { border-color: rgba(61, 220, 132, .5); box-shadow: 0 0 50px -10px rgba(61, 220, 132, .5); }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .6; } }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px auto 0; padding: 0; max-width: 900px; }
.chips li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: 14px; color: rgba(255, 255, 255, .75); }

/* ───── Workflow: réplica do editor do app ───── */
.flow-sub { max-width: 52ch; margin: 22px auto 0; text-align: center; color: var(--dim); font-size: 18px; }
.app { margin: clamp(44px, 6vw, 72px) auto 0; max-width: 1240px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #0b0f1d; box-shadow: 0 70px 160px -50px rgba(91, 99, 255, .35); }
.app-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid #ffffff12; background: #0a0d18; font: 500 12px var(--sans); color: #9aa3bd; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ffffff1c; }
.app-bar span { margin-left: 10px; }
.app-body { display: grid; grid-template-columns: 290px 1fr; min-height: 520px; }
.chat { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; border-right: 1px solid #ffffff10; background: #0c1020; font-size: 13.5px; line-height: 1.45; }
.bubble { max-width: 100%; padding: 10px 13px; border-radius: 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease); }
.bubble.show { opacity: 1; transform: none; }
.bubble.you { align-self: flex-end; background: #fff; color: #0E1222; border-bottom-right-radius: 4px; }
.bubble.you.small { font-size: 13px; }
.bubble.q { align-self: flex-start; background: #141a2e; color: #dfe5ff; border: 1px solid #2a3354; border-bottom-left-radius: 4px; }
.bubble.q u { color: #7fe3ff; text-decoration: none; }
.bubble.you .caret::after { background: #0E1222; }
.plan { padding: 12px 13px; border-radius: 14px; background: #141a2e; border: 1px solid #2a3354; color: #dfe5ff; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease); }
.plan.show { opacity: 1; transform: none; }
.plan-h { display: flex; align-items: center; gap: 8px; } .plan-h img { width: 15px; } .plan-h b { font-size: 13.5px; } .plan-h span { margin-left: auto; color: #9aa3bd; font-size: 12px; }
.plan-bar { height: 3px; margin: 11px 0 10px; border-radius: 3px; background: #2a3354; overflow: hidden; } .plan-bar i { display: block; height: 100%; width: 0; background: #7fe3ff; }
.plan-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: #9aa3bd; }
.pp { padding: 5px 10px; border-radius: 8px; background: #ffffff12; color: #e6ebff; font-weight: 500; }
.stage { position: relative; overflow: hidden; background: #0E1222; }
.ws-tabs { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: #0b0f1dcc; box-shadow: 0 0 0 1px #ffffff1a, 0 8px 24px #0007; backdrop-filter: blur(10px); }
.ws-tab { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 9px; color: #9aa3bd; font: 500 12px var(--sans); white-space: nowrap; transition: background .3s, color .3s; }
.ws-tab.on { color: #0E1222; background: #fff; }
.ws-dot { width: 7px; height: 7px; border-radius: 50%; background: #7fe3ff; box-shadow: 0 0 8px #7fe3ff; animation: wsPulse 1.4s ease-in-out infinite; }
.ws-dot.wait { background: #ffd866; box-shadow: 0 0 8px #ffd866; } .ws-dot.ok { background: #3ddc97; box-shadow: none; animation: none; } .ws-dot.idle { background: #4a5683; box-shadow: none; animation: none; }
@keyframes wsPulse { 50% { opacity: .35; } }
.board { position: absolute; inset: 0; background-image: radial-gradient(#ffffff14 1px, transparent 1px); background-size: 24px 24px; transition: opacity .5s, transform .6s var(--ease), filter .5s; }
.board.away { opacity: 0; transform: scale(.97); filter: blur(4px); pointer-events: none; }
.board-world { position: absolute; left: 0; top: 0; width: 1150px; height: 400px; transform-origin: 0 0; }
.fe-edges { position: absolute; left: 0; top: 0; overflow: visible; }
.fe-edges path { fill: none; stroke: #4a5683; stroke-width: 2; opacity: 0; transition: opacity .5s, stroke .3s; }
.fe-edges path.show { opacity: 1; }
.fe-edges path.active { stroke: #7fe3ff; stroke-dasharray: 6 6; animation: feFlow .6s linear infinite; }
.fe-edges path.done { stroke: #3ddc97aa; }
@keyframes feFlow { to { stroke-dashoffset: -12; } }
.fe-node { position: absolute; width: 210px; border-radius: 12px; background: #141A2E; color: #e6ebff; box-shadow: 0 0 0 1px #2A3354, 0 10px 24px #0006; font-size: 12px; opacity: 0; transform: translateY(10px) scale(.92); transition: opacity .45s, transform .5s cubic-bezier(.2, .8, .2, 1.2), box-shadow .3s; }
.fe-node.born { opacity: 1; transform: none; }
.fe-head { display: flex; align-items: center; gap: 8px; padding: 9px 10px 6px; }
.fe-ico { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--nc, #4a5683); color: #0E1222; overflow: hidden; }
.fe-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fe-ico.ai { background: #0b0f1d; box-shadow: inset 0 0 0 1px #2a3354; } .fe-ico.ai img { width: 19px; height: 19px; object-fit: contain; }
.t-trigger { --nc: #9aa3bd; } .t-approval { --nc: #ff8fab; } .t-output { --nc: #3ddc97; }
.fe-t { min-width: 0; flex: 1; } .fe-t b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fe-t small { display: block; color: #9aa3bd; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fe-body { padding: 0 10px 9px; color: #b9c1db; font-size: 11px; line-height: 1.35; min-height: 30px; }
.fe-st { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-top: 1px solid #2A3354; color: #9aa3bd; font-size: 10.5px; }
.fe-st i { width: 7px; height: 7px; border-radius: 50%; background: #4a5683; flex: none; }
.fe-node.running { box-shadow: 0 0 0 2px #7fe3ff, 0 0 26px #7fe3ff44; } .fe-node.running .fe-st i { background: #7fe3ff; animation: wsPulse 1s infinite; }
.fe-node.awaiting { box-shadow: 0 0 0 2px #ffd866, 0 0 22px #ffd86644; } .fe-node.awaiting .fe-st i { background: #ffd866; }
.fe-node.done .fe-st i { background: #3ddc97; } .fe-node.done.t-output { box-shadow: 0 0 0 2px #3ddc97, 0 0 26px #3ddc9744; }
.fe-node.swap { animation: feSwap .7s ease; } @keyframes feSwap { 40% { box-shadow: 0 0 0 2px #fff, 0 0 30px #ffffff55; } }
.fe-port { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #0E1222; box-shadow: 0 0 0 2px #4a5683; top: 22px; } .fe-port.in { left: -7px; } .fe-port.out { right: -7px; }
.board-world.tall .fe-port { display: none; }
.fe-ok { display: inline-block; margin-left: auto; padding: 2px 8px; border-radius: 6px; background: #ffd866; color: #0E1222; font-weight: 600; transition: transform .2s; } .fe-ok.press { transform: scale(.9); }
.preview { position: absolute; inset: 52px 18px 46px; display: grid; grid-template-rows: auto 1fr; gap: 10px; opacity: 0; transform: scale(1.03); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.preview.on { opacity: 1; transform: none; }
.pv-tools { justify-self: center; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: #141a2e; font-size: 11.5px; color: #9aa3bd; } .pv-tools span { padding: 4px 10px; border-radius: 7px; transition: background .3s, color .3s; } .pv-tools span.on { background: #fff; color: #0E1222; }
.pv-frame { justify-self: center; width: 100%; max-width: 100%; height: 100%; border-radius: 12px; overflow: hidden; background: #fbfaf8; color: #10232f; box-shadow: 0 20px 50px #0008; transition: max-width .7s var(--ease); container-type: inline-size; }
.pv-frame.t { max-width: 470px; } .pv-frame.m { max-width: 270px; }
.pv-site { display: grid; gap: 14px; padding: 14px 20px 18px; height: 100%; align-content: start; font: 400 12px/1.4 "Geist", system-ui, sans-serif; overflow: hidden; }
.pv-nav { display: flex; align-items: center; gap: 16px; }
.pv-brand { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; letter-spacing: -.02em; }
.pv-brand i { width: 18px; height: 18px; border-radius: 6px 6px 9px 9px; background: linear-gradient(160deg, #19a3a8, #0c6f7d); }
.pv-links { display: flex; gap: 14px; margin-left: auto; color: #5d6f7b; font-size: 11.5px; }
.pv-nav em { font-style: normal; padding: 6px 12px; border-radius: 999px; background: #10232f; color: #fff; font-weight: 600; font-size: 11px; }
.pv-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; align-items: center; padding: 20px; border-radius: 16px; background: linear-gradient(135deg, #e8f6f5 0%, #f6f1e9 100%); }
.pv-copy small { display: inline-block; padding: 3px 8px; border-radius: 999px; background: #ffffffb3; color: #0c6f7d; font-weight: 600; font-size: 10px; }
.pv-copy h4 { margin: 8px 0 6px; font-size: clamp(17px, 5.2cqw, 28px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.pv-copy p { margin: 0 0 12px; color: #4a5d69; font-size: 11.5px; max-width: 34ch; }
.pv-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pv-btns em { font-style: normal; padding: 8px 14px; border-radius: 999px; background: #0c6f7d; color: #fff; font-weight: 600; font-size: 11.5px; box-shadow: 0 6px 16px #0c6f7d40; }
.pv-btns span { color: #5d6f7b; font-size: 10.5px; } .pv-btns b { color: #10232f; }
.pv-art { position: relative; height: 130px; }
.pv-orb { position: absolute; inset: 6px 10px 6px 16px; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; background: radial-gradient(circle at 35% 30%, #ffffff, #bfe7e5 45%, #79c7c6 100%); }
.pv-float { position: absolute; left: 0; bottom: 6px; display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 8px 22px #10232f22; font-size: 10px; }
.pv-float b { font-size: 10.5px; } .pv-float span { color: #0c6f7d; font-weight: 600; }
.pv-book { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px #10232f10; }
.pv-book b { font-size: 11.5px; white-space: nowrap; }
.pv-slots { display: flex; gap: 6px; overflow: hidden; } .pv-slots span { padding: 5px 9px; border-radius: 8px; background: #f0f3f4; color: #10232f; font-weight: 600; font-size: 10.5px; } .pv-slots span.on { background: #0c6f7d; color: #fff; }
.pv-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pv-svc div { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px #10232f10; }
.pv-svc i { width: 22px; height: 22px; margin-bottom: 6px; border-radius: 7px; background: color-mix(in srgb, var(--k) 18%, #fff); box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--k) 18%, #fff), inset 0 0 0 11px var(--k); }
.pv-svc b { font-size: 12px; } .pv-svc span { color: #6b7c88; font-size: 10.5px; }
/* versões menores: tablet e celular */
.pv-site > *, .pv-hero > *, .pv-book > * { min-width: 0; }
.pv-frame.m .pv-slots { flex-wrap: wrap; }
.plan-h span { white-space: nowrap; }
.pv-frame.t .pv-links, .pv-frame.m .pv-links { display: none; } .pv-frame.t .pv-nav em, .pv-frame.m .pv-nav em { margin-left: auto; }
.pv-frame.m .pv-hero { grid-template-columns: 1fr; padding: 16px; } .pv-frame.m .pv-art { display: none; }
.pv-frame.m .pv-site { padding: 12px 14px; gap: 11px; }
.pv-frame.m .pv-book { flex-direction: column; align-items: flex-start; gap: 8px; }
.pv-frame.m .pv-svc { grid-template-columns: 1fr 1fr; } .pv-frame.m .pv-svc div:last-child { display: none; }
.pv-frame.t .pv-hero { grid-template-columns: 1fr .7fr; }
.t-app { --nc: #4fc3f7; }
.fe-node.t-app .fe-ico.ai img { width: 18px; height: 18px; }
.run-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; height: 36px; padding: 0 16px; border-top: 1px solid #ffffff10; background: #0b0f1dee; font: 500 12px var(--sans); color: #9aa3bd; }
.run-bar > span:first-child { display: flex; align-items: center; gap: 8px; } .run-bar i { width: 7px; height: 7px; border-radius: 50%; background: #4a5683; } .run-bar i.go { background: #7fe3ff; animation: wsPulse 1s infinite; } .run-bar i.ok { background: #3ddc97; }
#runTime { font-family: var(--mono); }

/* ───── Recursos ───── */
.feats { padding: clamp(40px, 6vw, 80px) 0 clamp(100px, 12vw, 170px); }
.feats .big { text-align: center; }
.fx-grid { list-style: none; margin: clamp(46px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fx-grid li { padding: 28px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.fx-grid li:hover { background: rgba(255, 255, 255, .025); }
.fx-ico { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 11px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); }
.fx-ico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fx-grid b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.fx-grid p { color: var(--dim); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1000px) {
  .app-body { grid-template-columns: 1fr; }
  .chat { border-right: 0; border-bottom: 1px solid #ffffff10; padding: 14px; font-size: 13px; }
  .stage { min-height: 380px; }
  .fx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .stage { min-height: 330px; }
  .ws-tab { padding: 0 8px; font-size: 11px; }
  .fx-grid { grid-template-columns: 1fr; }
  .fx-grid li { padding: 22px 18px; }
}

/* ───── Escritório ───── */
.office { padding: clamp(60px, 8vw, 120px) 0 clamp(80px, 10vw, 150px); overflow: hidden; }
.stage3d { perspective: 1400px; margin-top: clamp(40px, 6vw, 80px); padding: 0 var(--gut-r) 0 var(--gut); }
.screen { position: relative; width: min(1200px, 100%); margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); transform-origin: 50% 0; transform: rotateX(28deg) scale(.9); box-shadow: 0 80px 160px -40px rgba(49, 134, 255, .35); will-change: transform; }
.screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .55)); pointer-events: none; }
.screen img { width: 100%; height: auto; }
.film-btn { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px 0 8px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(12px); font-weight: 500; font-size: 15px; }
.film-btn .tri { width: 36px; height: 36px; border-radius: 50%; background: #fff; position: relative; }
.film-btn .tri::after { content: ""; position: absolute; left: 14px; top: 11px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #000; }
.film-btn:hover { border-color: #fff; }

/* ───── Diferenciais ───── */
.bento { padding: 0 0 clamp(100px, 12vw, 170px); }
/* 10/11/2026: grade de linhas finas (como .nv-grid) e, em cada célula, um pedaço da tela real do app
   no azul-noite com fio prateado das réplicas .tq e .pq. Nada de bolinha, brilho que segue o mouse ou pílula branca. */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { display: grid; grid-template-rows: auto auto 1fr; align-content: start; padding: 24px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .4s; }
.tile:hover { background: rgba(255, 255, 255, .025); }
.tile h3 { margin: 26px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.tile p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.5; }
.bx { display: flex; flex-direction: column; gap: 7px; height: 206px; padding: 14px; border-radius: 14px; overflow: hidden; color: #eef1ff; font-size: 12.5px; line-height: 1.35;
  background: linear-gradient(180deg, #121627, #0b0e19); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 50px -30px #000; }
.bx-sec { margin: 0 2px 3px; font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
.bx-row { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 9px; border-radius: 11px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.bx-row > b { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-face { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(180deg, #23273a, #151824); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.bx-face img { width: 16px; height: 16px; object-fit: contain; }
.bx-chip { flex: none; padding: 4px 7px; border-radius: 999px; font: 700 9.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #dfe3f7; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.bx-btns { display: flex; gap: 6px; margin-top: auto; }
.bx-btn { display: inline-grid; place-items: center; height: 30px; padding: 0 12px; border-radius: 9px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); white-space: nowrap; }
.bx-btn.pri { color: #0b0e19; background: #eef1ff; box-shadow: none; }
.bx-btns .bx-btn { flex: 1; }
/* Uma revisa a outra: quem fez (verde) e quem confere (dourado, como .pq-ai.work) */
.bx-who { flex: 1; display: grid; gap: 2px; min-width: 0; }
.bx-who b { font-size: 13px; font-weight: 600; }
.bx-st { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .58); }
.bx-st i { width: 6px; height: 6px; border-radius: 50%; background: #8fd3b0; }
.bx-row.work .bx-st i { background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: pqPulse 1s ease-in-out infinite; }
.bx-row.done { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.bx-prog { flex: none; width: 46px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bx-prog i { display: block; height: 100%; width: 30%; background: linear-gradient(90deg, #c9d0ea, #fff); animation: bxProg 3.2s cubic-bezier(.3, .1, .2, 1) infinite; }
@keyframes bxProg { 0% { width: 8%; } 80%, 100% { width: 92%; } }
/* Lembra de tudo: o aviso "Você já perguntou isso" que o app mostra antes de mandar */
.bx-you { align-self: flex-end; max-width: 92%; margin: 0; padding: 8px 12px; border-radius: 13px 13px 4px 13px; background: rgba(255, 255, 255, .09); color: #fff; }
.bx-hit { display: grid; gap: 4px; margin-top: auto; padding: 11px 12px 12px; border-radius: 11px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.bx-hit b { font-size: 13px; font-weight: 650; }
.bx-hit > span:not(.bx-btn) { font-size: 11.5px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-hit .bx-btn { justify-self: start; margin-top: 7px; }
/* Fica no seu PC: onde cada coisa mora */
.bx-path { margin: 0 2px 2px; font: 400 11.5px/1.3 var(--mono); color: rgba(255, 255, 255, .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-local .bx-row { min-height: 36px; }
.bx-local svg { flex: none; width: 15px; height: 15px; fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bx-v { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .55); }
.bx-v::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #8fd3b0; }
@media (prefers-reduced-motion: reduce) { .bx-prog i, .bx-row.work .bx-st i { animation: none; } .bx-prog i { width: 70%; } }

/* ───── Download ───── */
.get { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 160px var(--gut-r) 120px var(--gut); overflow: hidden; text-align: center; }
.light { position: absolute; inset: 0; pointer-events: none; }
.light::before { content: ""; position: absolute; left: 50%; top: -10%; width: min(900px, 140vw); height: 90%; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0%, transparent 158deg, rgba(255, 255, 255, .10) 166deg, rgba(255, 255, 255, .34) 175deg, rgba(255, 255, 255, .62) 180deg, rgba(255, 255, 255, .34) 185deg, rgba(255, 255, 255, .10) 194deg, transparent 202deg); filter: blur(12px); -webkit-mask: linear-gradient(#000 30%, transparent 95%); mask: linear-gradient(#000 30%, transparent 95%); }
.light::after { content: ""; position: absolute; left: 50%; top: 38%; width: 520px; height: 220px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); filter: blur(20px); }
.light canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.get-c { position: relative; z-index: 2; display: grid; justify-items: center; gap: 28px; width: 100%; }
.get-mark { width: 76px; height: auto; filter: drop-shadow(0 0 40px rgba(255, 255, 255, .6)); }
.get h2 { font-size: clamp(48px, 9vw, 140px); line-height: .9; letter-spacing: -.06em; font-weight: 600; }
.dock { display: grid; justify-items: center; width: 100%; }
.dock-panel { display: grid; grid-template-rows: 0fr; width: min(640px, 100%); transition: grid-template-rows .8s var(--ease), margin .8s var(--ease); }
.dock.open .dock-panel { grid-template-rows: 1fr; margin-top: 22px; }
.dock-in { overflow: hidden; text-align: left; border-radius: 22px; border: 1px solid transparent; background: rgba(10, 10, 10, .8); backdrop-filter: blur(14px); padding: 0 28px; opacity: 0; transition: opacity .4s, padding .8s var(--ease), border-color .5s; }
.dock.open .dock-in { opacity: 1; border-color: var(--line-2); padding: 28px; transition: opacity .6s .2s, padding .8s var(--ease), border-color .5s; }
.dock-h { font-size: 22px; font-weight: 600; letter-spacing: -.03em; margin-bottom: 18px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font: 500 13px var(--mono); }
.steps b { font-weight: 600; } .steps span { color: var(--dim); font-size: 15px; }
.hash { margin-top: 16px; font: 400 12px var(--mono); color: var(--faint); word-break: break-all; }
.again { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--dim); }
.fine { font: 400 13px var(--mono); color: var(--faint); }
.dock.open .dl { transform: scale(.96); }

/* ───── Rodapé e janelas ───── */
footer { border-top: 1px solid var(--line); padding: 34px var(--gut-r) calc(34px + env(safe-area-inset-bottom, 0px)) var(--gut); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
footer nav { display: flex; gap: 22px; font-size: 14px; color: var(--dim); } footer nav a { text-decoration: none; } footer nav a:hover { color: #fff; }
.legal { margin-top: 20px; font-size: 12px; line-height: 1.6; color: var(--faint); max-width: 100ch; }
.film-dlg { width: min(1100px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: 18px; background: #000; color: #fff; overflow: hidden; }
.film-dlg::backdrop { background: rgba(0, 0, 0, .85); backdrop-filter: blur(8px); }
.film-dlg video { width: 100%; }
.film-dlg.small { width: min(480px, calc(100% - 32px)); padding: 32px; }
.film-dlg.small h2 { font-size: 26px; letter-spacing: -.03em; margin-bottom: 10px; } .film-dlg.small p { color: var(--dim); }
.film-dlg .x { position: absolute; z-index: 3; right: 10px; top: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); font-size: 22px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 200%); visibility: hidden; padding: 12px 20px; border-radius: 999px; background: #fff; color: #000; font-weight: 500; transition: transform .5s var(--ease), visibility 0s .5s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

/* ───── Telas menores ───── */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .graph { grid-template-columns: 1fr; gap: 12px; }
  .node { grid-template-columns: auto 1fr; align-items: center; justify-items: start; }
  .top-nav { display: none; }
  .top { grid-template-columns: 1fr auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hold { display: none; }
  .top { padding: max(12px, env(safe-area-inset-top, 0px)) var(--gut-r) 12px var(--gut); }
  .top .brand img { height: 24px; } .top .brand .word { height: 14px; }
  .lang { height: 40px; min-width: 46px; } .pill-sm { height: 40px; padding: 0 18px; font-size: 15px; }
  .hero-c { padding-bottom: clamp(80px, 13vh, 130px); }
  .tnode { width: 46px; height: 46px; margin: -23px; } .tnode img { inset: 9px; width: 28px; height: 28px; border-radius: 8px; padding: 5px; } .tnode span { font-size: 9.5px; bottom: calc(100% + 5px); }
  .tnode::before { -webkit-mask-size: 8px 8px; mask-size: 8px 8px; } .tnode::after { width: 7px; height: 7px; margin: -3.5px; }
  .hero .dl .dl-in { height: 60px; padding: 0 28px; font-size: 17px; }
  .hero h1 { font-size: 11.6vw; }
  .grid { grid-template-columns: 1fr; }
  .bx { height: auto; min-height: 190px; }
  .baton { height: auto; padding: 40px 0 70px; }
  .baton-pin { position: relative; height: auto; overflow: visible; }
  .relay { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .beam { width: 2px; height: 90px; justify-self: center; }
  .beam-fill { inset: 0 0 auto 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--claude), var(--codex)); }
  .packet { left: 50%; top: 0; }
  .baton-pin { padding-top: 90px; gap: 22px; }
  .orb-in { width: 92px; }
  .task { grid-template-columns: 1fr auto; font-size: 13px; } .task-bar { grid-column: 1 / -1; grid-row: 2; }
  .dl.xl { width: 100%; } .dl.xl .dl-in { padding: 0 18px; height: 66px; }
  .screen { transform: rotateX(18deg) scale(.95); }
  .film-btn { bottom: 12px; height: 42px; font-size: 14px; } .film-btn .tri { width: 30px; height: 30px; } .film-btn .tri::after { left: 11px; top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .baton { height: auto; } .baton-pin { position: relative; height: auto; }
  .screen { transform: none; }
  .node { opacity: 1; transform: none; }
}

/* ───── Workflows: janela real do Quark reproduzindo execuções reais (09/11/2026) ───── */
.wf-cases { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: clamp(36px, 5vw, 56px) auto 0; }
.wf-case { position: relative; padding: 10px 16px; border: 0; border-radius: 999px; background: none; color: var(--faint); font: 500 15px var(--sans); cursor: pointer; transition: color .25s, background .25s; }
.wf-case:hover { color: rgba(255, 255, 255, .78); }
.wf-case.on { color: #fff; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--line); }
.wf-case:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wf-case i { display: none; }
.qwin { position: relative; margin: 18px auto 0; max-width: 1240px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #0E1222; box-shadow: 0 70px 160px -50px rgba(0, 0, 0, .9); }
.qwin iframe { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; border: 0; transform-origin: 0 0; pointer-events: none; background: #0E1222; }
.wf-real { max-width: 70ch; margin: 16px auto 0; text-align: center; color: var(--dim); font-size: 14px; min-height: 1.4em; }
@media (max-width: 760px) { .wf-cases { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut-r)); padding: 0 var(--gut); } .wf-cases::-webkit-scrollbar { display: none; } .wf-case { flex: none; font-size: 14px; } .qwin { border-radius: 10px; } }

/* Novo no Quark: dois destaques com imagem real e uma grade das outras novidades */
.novo { padding: clamp(70px, 9vw, 130px) 0 clamp(40px, 6vw, 80px); }
.novo .big { text-align: center; }
.nv-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(50px, 6vw, 90px); }
.nv-flip { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.nv-flip .nv-txt { order: 2; }
.nv-tag { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.nv-txt h3 { margin: 18px 0 14px; font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.nv-txt p { color: var(--dim); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; margin: 0 0 12px; max-width: 520px; }
.nv-shot { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #0b0b0b; box-shadow: 0 30px 80px -30px rgba(255, 200, 140, .18); }
.nv-shot img { display: block; width: 100%; height: auto; }
.nv-shot figcaption { padding: 12px 16px; font-size: 13px; color: var(--faint); border-top: 1px solid var(--line); }
.nv-panel { max-width: 460px; justify-self: center; background: #151a28; }
.nv-grid { list-style: none; margin: clamp(56px, 7vw, 100px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.nv-grid li { padding: 28px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nv-grid b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.nv-grid p { color: var(--dim); font-size: 14.5px; line-height: 1.5; margin: 0; }
@media (max-width: 860px) {
  .nv-hero, .nv-flip { grid-template-columns: 1fr; }
  .nv-flip .nv-txt { order: 0; }
  .nv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .nv-grid { grid-template-columns: 1fr; } .nv-grid li { padding: 22px 18px; } }
/* Cada IA no que faz melhor: dois cartões com imagem real (imagem e vídeo) */
.duo { padding: clamp(80px, 10vw, 140px) 0 clamp(20px, 4vw, 50px); }
.duo .big { text-align: center; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(50px, 6vw, 90px); }
.duo-card { display: grid; align-content: start; gap: 0; }
.duo-card .nv-shot { margin-bottom: 26px; }
.duo-card h3 { margin: 16px 0 12px; font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.duo-card p { color: var(--dim); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; margin: 0 0 10px; max-width: 560px; }
.duo-card .nv-tag { justify-self: start; }
@media (max-width: 860px) { .duo-grid { grid-template-columns: 1fr; } }
/* ── Trocar conta (10/11/2026): réplica da tela real do app, mesmas cores e medidas do balão, da aba e do cartão ── */
.tq { padding: clamp(80px, 10vw, 140px) 0 clamp(30px, 5vw, 70px); }
.tq .big { text-align: center; }
.tq-sub { margin: 26px auto 0; max-width: 640px; text-align: center; color: var(--dim); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; }
.tq-stage { position: relative; margin: clamp(44px, 6vw, 80px) auto 0; max-width: 980px; height: 470px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #10131d 0%, #0b0d14 55%, #08090d 100%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 100px -40px rgba(255, 255, 255, .08); }
/* janelas acesas da cidade, como o fundo da equipe no app */
.tq-sky { position: absolute; inset: 0 0 38% 0; opacity: .3;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255, 255, 255, .06), transparent 70%),
    radial-gradient(rgba(235, 238, 250, .6) 1.1px, transparent 1.7px) 0 0 / 31px 23px,
    radial-gradient(rgba(200, 206, 230, .4) 1px, transparent 1.6px) 13px 9px / 47px 37px;
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 25%, #000 55%, transparent 100%); mask: linear-gradient(180deg, transparent 0%, #000 25%, #000 55%, transparent 100%); }
.tq-desk { position: absolute; left: 30%; bottom: 70px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; }
.tq-seat { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; background: linear-gradient(180deg, #1d212e, #12141c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 40px -16px #000; transition: filter .6s var(--ease), box-shadow .6s var(--ease); filter: grayscale(.85) brightness(.6); }
.tq-seat img { width: 48px; height: 48px; object-fit: contain; }
.tq-name { margin-top: 10px; font-size: 16px; font-weight: 650; color: #fbf4ec; text-shadow: 0 1px 6px #000c; letter-spacing: -.01em; }
.tq-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(7, 10, 20, .85); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); font-size: 13px; color: #d5dcf0; }
.tq-pill i { width: 6px; height: 6px; border-radius: 50%; background: #e0727c; transition: background .4s; }
/* balão creme com a aba atrás */
.tq-bubble { position: relative; margin-bottom: 10px; transition: opacity .4s, transform .5s var(--ease); }
.tq-bt { position: relative; z-index: 1; display: block; min-width: 188px; text-align: center; padding: 9px 16px; border-radius: 14px; background: #fff8ee; border: 1px solid #e7d3b0; color: #1c140c; font-size: 14px; font-weight: 650; box-shadow: 0 8px 18px rgba(0, 0, 0, .4); transition: box-shadow .25s; }
.tq-bt::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: #fff8ee; border-right: 1px solid #e7d3b0; border-bottom: 1px solid #e7d3b0; transform: translateX(-50%) rotate(45deg); }
.tq-tab { position: absolute; z-index: 0; left: 14px; right: 14px; bottom: calc(100% - 12px); height: 40px; padding: 0 18px 12px; display: flex; align-items: center; justify-content: center; gap: 6px; isolation: isolate;
  font: 700 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #e9ecff; opacity: 0; transform: translateY(55%); transition: transform .32s cubic-bezier(.2, .9, .25, 1.2), opacity .16s; }
.tq-tab::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 10px 10px 0 0; background: linear-gradient(180deg, #1a2140, #0b1022); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), inset 0 0 0 1px rgba(255, 255, 255, .2), 0 -6px 16px -6px #000; transform: perspective(40px) rotateX(7deg); transform-origin: 50% 100%; }
.tq-tab svg, .tq-go svg, .tq-done svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tq-tab svg { width: 13px; height: 13px; opacity: .8; }
.s-hover .tq-tab { opacity: 1; transform: none; }
.s-hover .tq-bt { box-shadow: 0 10px 22px rgba(0, 0, 0, .45), 0 0 0 3px rgba(255, 255, 255, .15); }
.s-press .tq-tab::before { background: linear-gradient(180deg, #232b52, #10162e); }
.s-ok .tq-bubble { opacity: 0; transform: translateY(-8px) scale(.96); }
.s-ok .tq-seat { filter: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 44px -10px rgba(255, 255, 255, .3), 0 18px 40px -16px #000; }
.s-ok .tq-pill i { background: #8fd3b0; }
/* cartão (igual ao do app: azul-noite, fio prateado, botão claro) */
.tq-card { position: absolute; right: 8%; top: 50%; width: 348px; padding: 16px; border-radius: 18px; color: #eef1ff; font-size: 13px; line-height: 1.4;
  background: linear-gradient(180deg, #171a26, #0d0f16);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 28px 64px -18px #000, 0 2px 0 rgba(255, 255, 255, .05) inset;
  opacity: 0; transform: translateY(calc(-50% + 10px)) scale(.97); transition: opacity .25s, transform .4s var(--ease); pointer-events: none; }
.s-card .tq-card { opacity: 1; transform: translateY(-50%); }
.tq-head { display: flex; align-items: center; gap: 12px; }
.tq-face { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(180deg, #23273a, #151824); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.tq-face img { width: 28px; height: 28px; object-fit: contain; }
.tq-ttl { display: grid; gap: 4px; }
.tq-ttl small { font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.tq-ttl b { font-size: 17px; font-weight: 650; }
.tq-alert { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 11px; border-radius: 11px; font-size: 12.5px; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tq-alert i { width: 6px; height: 6px; border-radius: 50%; background: #e0727c; flex: none; }
.tq-alert b { color: #fff; font-weight: 650; }
.tq-sec { margin: 16px 2px 8px; font: 700 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .4); }
.tq-acc { display: flex; align-items: center; gap: 11px; padding: 9px 11px; margin-top: 6px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); transition: background .2s, box-shadow .2s; }
.tq-acc.cur { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.s-pick .tq-acc.alt { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.tq-av { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  background: linear-gradient(180deg, #3a3e4c, #22252f); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 0 0 1px rgba(255, 255, 255, .1); }
.tq-av::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 2px #141720; }
.tq-av.ok::after { background: #8fd3b0; }
.tq-av.bad::after { background: #e0727c; }
.tq-who { flex: 1; min-width: 0; display: grid; gap: 3px; }
.tq-who b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tq-who small { font-size: 11.5px; color: rgba(255, 255, 255, .5); }
.tq-who small.ok { color: rgba(255, 255, 255, .62); }
.tq-chip { padding: 5px 8px; border-radius: 999px; font: 700 9.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #dfe3f7; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.tq-go { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .05); transition: background .2s, color .2s, transform .3s; }
.tq-go svg { width: 13px; height: 13px; }
.s-pick .tq-go { background: #eef1ff; color: #0c1022; transform: translateX(2px); }
/* confirmação, como o aviso de canto do app */
.tq-done { position: absolute; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: 10px; font-size: 13px; color: #e9ecff; background: #14161f; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .4s var(--ease); }
.tq-done svg { width: 16px; height: 16px; color: rgba(255, 255, 255, .8); }
.s-ok .tq-done { opacity: 1; transform: none; }
.tq-cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; fill: #fff; stroke: #0b0b0b; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .6));
  transform: translate(var(--cx, 0px), var(--cy, 0px)); transition: transform .9s cubic-bezier(.45, 0, .2, 1), opacity .3s; opacity: 0; }
.tq-stage.run .tq-cursor { opacity: 1; }
.tq-cursor.tap { animation: tq-tap .3s ease; }
@keyframes tq-tap { 50% { scale: .82; } }
.tq-pts { list-style: none; margin: clamp(36px, 5vw, 60px) auto 0; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tq-pts li { padding: 24px 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tq-pts b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 6px; }
.tq-pts p { color: var(--dim); font-size: 14.5px; line-height: 1.5; margin: 0; }
@media (max-width: 860px) {
  .tq-stage { height: 640px; }
  .tq-desk { left: 50%; top: 90px; bottom: auto; }
  .tq-card { right: auto; left: 50%; top: auto; bottom: 26px; width: min(348px, calc(100% - 32px)); transform: translate(-50%, 10px) scale(.97); }
  .s-card .tq-card { transform: translate(-50%, 0); }
  .tq-done { right: 16px; left: 16px; bottom: 16px; }
  .tq-pts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .tq-tab, .tq-card, .tq-cursor, .tq-done, .tq-bubble { transition: none; } }

/* ── Suas IAs usam o Quark (10/11/2026, v3): o chat do Claude pede ao Quark e as logos voltam para o chat ── */
.pq { padding: clamp(80px, 10vw, 140px) 0 clamp(30px, 5vw, 70px); }
.pq .big { text-align: center; }
.pq .big > span { display: block; text-wrap: balance; } .pq .big br { display: none; }
.pq-sub { margin: 28px auto 0; max-width: 560px; text-align: center; color: var(--dim); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; text-wrap: balance; }
.pq-stage { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) clamp(70px, 9vw, 130px) minmax(0, .85fr); max-width: 1160px; margin: clamp(48px, 6vw, 90px) auto 0; }
.pq-stage::before { content: ""; position: absolute; inset: -10% -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 55% at 25% 50%, rgba(217, 119, 87, .13), transparent 70%), radial-gradient(36% 55% at 80% 50%, rgba(91, 120, 255, .14), transparent 70%); filter: blur(10px); }
.pq-win { position: relative; display: flex; flex-direction: column; min-height: 560px; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 100px -40px #000, inset 0 1px 0 rgba(255, 255, 255, .06); }
.pq-bar { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }
.pq-bar img { width: 20px; height: 20px; object-fit: contain; }
.pq-bar b { font-weight: 600; letter-spacing: -.01em; }
.pq-face { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(180deg, #23273a, #151824); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.pq-face img { width: 20px; height: 20px; object-fit: contain; }

/* chat do Claude: balões grandes, pouca palavra */
.pq-cc { background: linear-gradient(180deg, #141312, #0b0b0b); }
.pq-chat { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 24px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.45; }
.pq-you { align-self: flex-end; max-width: 86%; min-height: 1.45em; margin: 0; padding: 13px 17px; border-radius: 18px 18px 6px 18px; background: rgba(255, 255, 255, .09); color: #fff; }
.pq-you:empty { visibility: hidden; }
.pq-cur { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: rgba(255, 255, 255, .8); animation: pqBlink 1s steps(1) infinite; }
.c1 .pq-cur { display: none; }
@keyframes pqBlink { 50% { opacity: 0; } }
.pq-l { margin: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .7s var(--ease); }
.pq-ai-msg { max-width: 92%; color: rgba(255, 255, 255, .88); }
.pq-ai-msg::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--claude); vertical-align: 2px; }
.pq-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: .9em; color: rgba(255, 255, 255, .78); }
.pq-chip .pq-face { width: 30px; height: 30px; border-radius: 50%; } .pq-chip .pq-face img { width: 17px; height: 17px; }
.pq-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .18); border-top-color: #fff; animation: pqSpin .8s linear infinite; }
.pq-chip.ok .pq-spin { animation: none; border: 0; width: 8px; height: 8px; background: #8fd3b0; }
@keyframes pqSpin { to { transform: rotate(360deg); } }
.pq-back p { margin: 0 0 12px; }
.pq-back p::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--claude); vertical-align: 2px; }
.pq-back.pq-ai-msg::before { display: none; }
.pq-back img { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 50px -20px #000; }
.c1 .l1, .c2 .l2, .c3 .l3 { opacity: 1; transform: none; }

/* fio entre os dois: o pedido vai, as imagens voltam */
.pq-wire { position: relative; }
.pq-track { position: absolute; left: -2px; right: -2px; top: 50%; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .4) 0 6px, transparent 6px 12px); opacity: .35; transition: opacity .4s; }
.go .pq-track, .back .pq-track { opacity: 1; animation: pqDash .5s linear infinite; }
.back .pq-track { animation-direction: reverse; }
@keyframes pqDash { to { background-position: 12px 0; } }
.pq-pkt { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; padding: 6px 12px; border-radius: 999px; font: 500 12px/1 var(--sans); color: #0b0b0b; background: #f4f1ec; box-shadow: 0 0 0 4px #000, 0 0 24px rgba(255, 255, 255, .35); transform: translate(-50%, -50%); opacity: 0; }
.pq-pk-back { display: none; width: 64px; height: 36px; border-radius: 6px; object-fit: cover; }
.back .pq-pkt { padding: 4px; border-radius: 10px; }
.back .pq-pk-go { display: none; } .back .pq-pk-back { display: block; }
.go .pq-pkt { opacity: 1; animation: pqGo 1.1s var(--ease) both; }
.back .pq-pkt { opacity: 1; animation: pqBack 1.2s var(--ease) both; }
@keyframes pqGo { from { left: 0%; } to { left: 100%; } }
@keyframes pqBack { from { left: 100%; } to { left: 0%; } }

/* Quark: azul-noite com fio prateado, como o app */
.pq-q { background: linear-gradient(180deg, #121627, #0b0e19); }
.pq-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.pq-req { display: grid; gap: 8px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .5s, transform .7s var(--ease); }
.pq-req small { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.pq-req p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; color: #eef1ff; letter-spacing: -.015em; }
.pq-ai { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); opacity: 0; transform: translateY(8px); transition: opacity .5s .1s, transform .7s .1s var(--ease), background .4s, box-shadow .4s; }
.pq-who { display: grid; gap: 3px; min-width: 0; }
.pq-who b { font-size: 16px; font-weight: 600; color: #eef1ff; }
.pq-st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255, 255, 255, .58); }
.pq-st i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background .3s, box-shadow .3s; }
.pq-ai.work .pq-st i { background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pqPulse 1s ease-in-out infinite; }
@keyframes pqPulse { 50% { opacity: .35; } }
.pq-ai.done .pq-st i { background: #8fd3b0; }
.pq-ai.done { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.pq-prog { margin-left: auto; flex: none; width: 80px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.pq-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #c9d0ea, #fff); transition: width 2.6s cubic-bezier(.3, .1, .2, 1); }
.pq-ai.work .pq-prog i { width: 72%; } .pq-ai.done .pq-prog i { width: 100%; transition-duration: .4s; }
.pq-out { margin: 0; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .5s, transform .7s var(--ease); }
.pq-out img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.q1 .pq-req, .q1 .pq-ai, .q3 .pq-out { opacity: 1; transform: none; }
.pq-note { margin: 24px auto 0; text-align: center; font-size: 14px; color: var(--faint); }
.pq-pts { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.025em; }
.pq-pts li { display: flex; align-items: center; gap: 14px; }
.pq-pts li + li::before { content: ""; width: 5px; height: 5px; margin-left: -26px; margin-right: 12px; border-radius: 50%; background: var(--faint); }
@media (max-width: 860px) {
  .pq-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 80px auto; }
  .pq-win { min-height: 0; }
  .pq-track { left: 50%; right: auto; top: -2px; bottom: -2px; width: 1px; height: auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .4) 0 6px, transparent 6px 12px); }
  .go .pq-track, .back .pq-track { animation-name: pqDashV; }
  .go .pq-pkt { animation-name: pqGoV; } .back .pq-pkt { animation-name: pqBackV; }
  .pq-pts { flex-direction: column; align-items: center; gap: 10px; }
  .pq-pts li + li::before { display: none; }
}
@keyframes pqDashV { to { background-position: 0 12px; } }
@keyframes pqGoV { from { top: 0%; } to { top: 100%; } }
@keyframes pqBackV { from { top: 100%; } to { top: 0%; } }
@media (max-width: 480px) { .pq-chat { padding: 18px; } .pq-body { padding: 16px; } }
@media (prefers-reduced-motion: reduce) { .pq-l, .pq-req, .pq-ai, .pq-out, .pq-prog i { transition: none; } .pq-track, .pq-pkt, .pq-cur, .pq-spin { animation: none !important; } }
/* Codex dando tchau na dobra final (loop de 5 s, fundo transparente), como no fim do filme */
.get-hl { position: relative; display: grid; justify-items: center; width: fit-content; max-width: 100%; }
.get-cx { position: absolute; z-index: 3; left: calc(100% - .8em); bottom: -1.05em; height: 3.1em; aspect-ratio: 532 / 760; font-size: clamp(48px, 9vw, 140px); pointer-events: none; }
.get-codex { position: absolute; left: 0; bottom: 0; height: 100%; width: auto; max-width: none; opacity: 0; transition: opacity .25s; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .55)); }
.get-codex.on { opacity: 1; }
@media (max-width: 760px) {
  .get-hl { gap: 6px; }
  .get-cx { position: relative; left: auto; bottom: auto; height: 210px; font-size: inherit; margin-top: 4px; }
}
