/* LuniumPay — efeitos da home de venda (camada aditiva, 11/11/2026).
   Só apresentação: nenhum texto, link, formulário ou chamada de API muda.
   DESLIGAR TUDO: remover do index.html as duas linhas que incluem
   /lunium-efeitos.css e /lunium-efeitos.js (abrir a página com ?fx=0 também desliga).
   Respeita prefers-reduced-motion e o botão "Pausar animação" do hero.
   O conteúdo continua visível no primeiro render: o "revelar ao rolar" só é
   armado pelo JS depois da primeira rolagem de quem está na página. */

@property --fx-a{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes fx-rotate{to{--fx-a:360deg}}

/* ---------- 1. barra de progresso da leitura + menu ao rolar ---------- */
.fx-progress{position:fixed;inset:0 0 auto;height:2px;z-index:60;pointer-events:none;transform:scaleX(0);transform-origin:0 50%;background:linear-gradient(90deg,#38bdf8,#a78bfa 50%,#f0a6ff)}
.sales-home>nav{transition:box-shadow .3s ease,background-color .3s ease}
.sales-home>nav.fx-scrolled{box-shadow:0 14px 34px -22px #000;background-color:#080a0df7}

/* ---------- 2. entrada do hero (só CSS: sem JS o texto aparece do mesmo jeito) ---------- */
.sales-home .hero-copy>*{animation:fx-soft-in .9s cubic-bezier(.19,1,.22,1) both}
.sales-home .hero-copy>.h1{animation:fx-title-in 1.05s .12s cubic-bezier(.19,1,.22,1) both}
.sales-home .hero-copy>.sub{animation-delay:.26s}
.sales-home .hero-copy>.hero-ctas{animation-delay:.36s}
.sales-home .hero-copy>.hero-flow-links{animation-delay:.44s}
.sales-home .hero-copy>.hero-proof{animation-delay:.52s}
.sales-home .hero-copy>.hero-support{animation-delay:.6s}
.sales-home .hero-stage{animation:fx-panel-in 1.15s .16s cubic-bezier(.16,1,.3,1) both}
html.fx-entered .sales-home .hero-copy>*,html.fx-entered .sales-home .hero-stage{animation:none}
@keyframes fx-soft-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes fx-title-in{from{opacity:.01;transform:translateY(26px);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes fx-panel-in{from{opacity:0;transform:translate3d(26px,24px,0) scale(.955)}to{opacity:1;transform:none}}

/* ---------- 3. texto com gradiente e brilho que passa ---------- */
@supports ((-webkit-background-clip:text) or (background-clip:text)){
  .sales-home .hero-accent{background-image:linear-gradient(100deg,#c5a4ff 0%,#8fd3ff 25%,#c5a4ff 50%,#f5b8ff 75%,#c5a4ff 100%);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:fx-gradient 9s linear infinite}
  /* selo do hero: brilho de "pensando" */
  .sales-home .hero .eyebrow{background-image:linear-gradient(100deg,#c2b4d6 0%,#c2b4d6 42%,#fff 50%,#c2b4d6 58%,#c2b4d6 100%);background-size:250% 100%;background-position:100% 50%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
  .sales-home .hero-copy>.eyebrow{animation:fx-soft-in .9s .05s cubic-bezier(.19,1,.22,1) both,fx-shimmer 4.6s 1.4s linear infinite}
  html.fx-entered .sales-home .hero-copy>.eyebrow{animation:fx-shimmer 4.6s linear infinite}
  /* etapa em andamento na demonstração */
  .sales-home .step.on:not(.done) .tt{background-image:linear-gradient(100deg,#f5f4f9 0%,#f5f4f9 38%,#c5a4ff 50%,#f5f4f9 62%,#f5f4f9 100%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:fx-shimmer-loop 1.5s linear infinite}
}
@keyframes fx-gradient{from{background-position:0% 50%}to{background-position:200% 50%}}
@keyframes fx-shimmer{0%{background-position:100% 50%}45%,100%{background-position:0% 50%}}
@keyframes fx-shimmer-loop{from{background-position:100% 50%}to{background-position:0% 50%}}
@media (forced-colors:active){.sales-home .hero-accent,.sales-home .hero .eyebrow,.sales-home .step .tt{background:none;-webkit-text-fill-color:currentColor}}

/* ---------- 4. hero: aura, anéis, correntes orbitais e painel ---------- */
.sales-home .hero::before{background:radial-gradient(ellipse at 78% 46%,#7a63c633,transparent 50%),radial-gradient(ellipse at 97% 86%,#38bdf817,transparent 38%),radial-gradient(ellipse at 58% 6%,#e879f910,transparent 36%),radial-gradient(ellipse at 10% 12%,#c6f24e0a,transparent 40%);transform-origin:75% 50%;animation:fx-mesh 13s ease-in-out infinite alternate}
@keyframes fx-mesh{from{transform:translate3d(-1%,-1%,0) scale(.98);opacity:.7}to{transform:translate3d(2%,2.5%,0) scale(1.07);opacity:1}}
.sales-home .hero-stage::before{border-color:#8f7bb83d;animation:fx-ring-a 9s ease-in-out infinite alternate}
.sales-home .hero-stage::after{border-color:#5fb7e62e;animation:fx-ring-b 11s ease-in-out infinite alternate}
@keyframes fx-ring-a{from{transform:rotate(-25deg) scale(.985);opacity:.55}to{transform:rotate(-19deg) scale(1.035);opacity:1}}
@keyframes fx-ring-b{from{transform:rotate(30deg) scale(1.03);opacity:1}to{transform:rotate(24deg) scale(.985);opacity:.5}}
.fx-currents{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;-webkit-mask-image:radial-gradient(ellipse var(--fx-rx,60%) var(--fx-ry,60%) at var(--fx-cx,75%) var(--fx-cy,50%),#000 28%,transparent 100%);mask-image:radial-gradient(ellipse var(--fx-rx,60%) var(--fx-ry,60%) at var(--fx-cx,75%) var(--fx-cy,50%),#000 28%,transparent 100%)}
/* inclinação 3D do painel com o cursor (a classe só entra em ponteiro fino) */
.sales-home .hero-stage.fx-tilt{perspective:1400px}
.sales-home .hero-stage.fx-tilt .stage-shell{transform:rotateX(var(--fx-tx,0deg)) rotateY(var(--fx-ty,0deg));transition:transform .45s cubic-bezier(.2,.8,.2,1)}
/* feixe de luz correndo na borda de cima */
.sales-home .strip,.sales-home .partners-banner{position:relative;overflow:hidden}
.sales-home .strip::after,.sales-home .partners-banner::after{content:'';position:absolute;left:0;top:0;width:32%;height:1px;background:linear-gradient(90deg,transparent,#d9c4ff,transparent);transform:translateX(-110%);animation:fx-beam 7s linear infinite;pointer-events:none}
.sales-home .partners-banner::after{animation-duration:8.5s}
@keyframes fx-beam{from{transform:translateX(-110%)}to{transform:translateX(420%)}}
/* pontos "ao vivo" */
.sales-home .hero-orbit,.sales-home .dot-live{animation:fx-ping 2.4s ease-out infinite}
.sales-home .support-dot{animation:fx-ping-g 2.4s .8s ease-out infinite}
@keyframes fx-ping{0%{box-shadow:0 0 0 0 #c5a3ff80}70%,100%{box-shadow:0 0 0 9px #c5a3ff00}}
@keyframes fx-ping-g{0%{box-shadow:0 0 0 0 #9cdeb580}70%,100%{box-shadow:0 0 0 8px #9cdeb500}}
/* seta do cartão flutuando; etapas da demonstração acendem */
.sales-home .stage-asset{animation:fx-float 5s ease-in-out infinite}
@keyframes fx-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.sales-home .step .ic{transition:box-shadow .4s ease,border-color .4s ease,color .4s ease}
.sales-home .step.on .ic{box-shadow:0 0 0 4px #c5a4ff1c,0 0 18px #c5a4ff40}
.sales-home .step.done .ic{box-shadow:0 0 0 4px #5bc97a14}
.sales-home .step.done .amt{animation:fx-pop .5s cubic-bezier(.2,1.4,.4,1) both}
@keyframes fx-pop{from{transform:scale(.86);opacity:.5}to{transform:none;opacity:1}}

/* ---------- 5. borda de luz de IA (gradiente girando) ---------- */
.fx-ai{position:relative}
.fx-ai::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--fx-a,0deg),#38bdf800 0deg,#38bdf8 55deg,#a78bfa 120deg,#f0a6ff 180deg,#f0a6ff00 245deg,#38bdf800 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none;animation:fx-rotate 6s linear infinite}
.sales-home #agentes .fx-ai::before{animation-duration:7.5s}
.sales-home #agentes .fx-ai+.fx-ai::before{animation-delay:-3.7s}
/* faíscas ✦ (desenhadas em CSS, sem depender de fonte) */
.sales-home #agentes .eyebrow::before,.sales-home .start-note::before,.sales-home nav a[href="#agentes"]::after{content:'';display:inline-block;flex:none;width:11px;height:11px;background:linear-gradient(135deg,#8fe0ff,#c5a4ff 55%,#f0a6ff);clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%);animation:fx-twinkle 2.4s ease-in-out infinite}
.sales-home .start-note::before{margin-right:8px;vertical-align:-1px}
.sales-home nav a[href="#agentes"]::after{width:9px;height:9px;margin-left:6px;vertical-align:1px;animation-delay:-1.1s}
@keyframes fx-twinkle{0%,100%{transform:scale(.6) rotate(0deg);opacity:.55}50%{transform:scale(1.15) rotate(45deg);opacity:1}}
/* rede neural atrás da seção de agentes */
.sales-home #agentes{overflow:hidden}
.sales-home #agentes::before{content:'';position:absolute;inset:-30%;background:radial-gradient(ellipse at 70% 40%,#8b6fd626,transparent 42%),radial-gradient(ellipse at 22% 70%,#38bdf812,transparent 36%),radial-gradient(ellipse at 88% 88%,#e879f90f,transparent 30%);animation:fx-mesh 15s ease-in-out infinite alternate;pointer-events:none}
.sales-home #agentes>.wrap{position:relative}
.fx-mesh{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;-webkit-mask-image:linear-gradient(#0000,#000 16%,#000 84%,#0000);mask-image:linear-gradient(#0000,#000 16%,#000 84%,#0000)}

/* ---------- 6. sequências luminosas (rotas, fluxos, monitor, passos) ---------- */
.fx-seq>span{position:relative}
.fx-seq>span::after{content:'';position:absolute;inset:-1px;border-radius:inherit;border:1px solid #c5a4ff;box-shadow:0 0 14px #c5a4ff59,inset 0 0 10px #c5a4ff1f;opacity:0;pointer-events:none;animation:fx-seq 6s linear infinite;animation-delay:calc(var(--fx-i,0)*.55s)}
.fx-seq>.mon-ev{position:relative}
.fx-seq>.mon-ev::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#c5a4ff21,transparent 72%);opacity:0;pointer-events:none;animation:fx-seq 7.5s linear infinite;animation-delay:calc(var(--fx-i,0)*.9s)}
@keyframes fx-seq{0%{opacity:0}5%,9%{opacity:1}17%,100%{opacity:0}}
.fx-seq>.step4>.n{animation:fx-step 7s ease-in-out infinite;animation-delay:calc(var(--fx-i,0)*.7s)}
@keyframes fx-step{0%,24%,100%{transform:none;text-shadow:0 0 0 #c5a4ff00}10%{transform:translateY(-4px);text-shadow:0 0 22px #c5a4ffb3}}

/* ---------- 7. cartões: brilho que acompanha o cursor, borda de IA e leve subida ---------- */
@media (hover:hover) and (pointer:fine){
  .fx-glow{position:relative}
  .fx-glow::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .35s ease;background:radial-gradient(340px circle at var(--fx-x,50%) var(--fx-y,50%),#c5a4ff24,transparent 62%)}
  .fx-glow:hover::after{opacity:1}
  .fx-glow:not(.fx-ai):hover::before{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--fx-a,0deg),#38bdf800 0deg,#38bdf8 55deg,#a78bfa 120deg,#f0a6ff 180deg,#f0a6ff00 245deg,#38bdf800 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none;animation:fx-rotate 4s linear infinite}
  .sales-home .start-grid .card,.sales-home .step4,.sales-home .credential-panel,.sales-home .lk,.sales-home .feat,.sales-home .sc{transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
  .sales-home .start-grid .card:hover,.sales-home .step4:hover,.sales-home .credential-panel:hover,.sales-home .lk:hover,.sales-home .feat:hover,.sales-home .sc:hover{transform:translateY(-4px);box-shadow:0 18px 40px -24px #000}
}

/* ---------- 8. botões ---------- */
.sales-home .btn{position:relative;overflow:hidden}
.sales-home .btn-p{transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .3s ease}
.sales-home .btn-p:hover{box-shadow:0 12px 32px -12px #b794f6cc}
.sales-home .btn-p::after{content:'';position:absolute;top:0;bottom:0;left:0;width:55%;background:linear-gradient(105deg,transparent 20%,#ffffff66 50%,transparent 80%);transform:translateX(-130%);pointer-events:none}
.sales-home .btn-p:hover::after{transform:translateX(230%);transition:transform .75s ease}
.sales-home .btn>span[aria-hidden]{display:inline-block;transition:transform .25s ease}
.sales-home .btn:hover>span[aria-hidden]{transform:translateX(3px)}
/* chamadas principais (hero e final): borda de luz girando + aura que respira */
.sales-home .hero-copy>.hero-ctas .btn-p,.sales-home .final .btn-p{animation:fx-btn-aura 3.6s ease-in-out infinite}
@keyframes fx-btn-aura{0%,100%{box-shadow:0 0 0 0 #a78bfa00,0 0 0 0 #38bdf800}50%{box-shadow:0 0 26px -2px #a78bfab3,0 0 44px -8px #38bdf880}}
.sales-home .hero-copy>.hero-ctas .btn-p::before,.sales-home .final .btn-p::before{content:'';position:absolute;inset:-1px;border-radius:inherit;padding:2px;background:conic-gradient(from var(--fx-a,0deg),#fff0 0deg,#fff 70deg,#8fe0ff 120deg,#fff0 190deg,#fff0 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none;animation:fx-rotate 3.2s linear infinite}
.sales-home .final .btn-p::before{background:conic-gradient(from var(--fx-a,0deg),#8fe0ff00 0deg,#8fe0ff 70deg,#f0a6ff 130deg,#f0a6ff00 200deg,#8fe0ff00 360deg)}

/* ---------- 9. mapa da custódia (seção clara) ---------- */
.sales-home .map-line{position:relative}
.sales-home .map-line::after{content:'';position:absolute;left:-3px;top:-4px;width:7px;height:7px;border-radius:50%;background:#8662b1;box-shadow:0 0 0 4px #8662b126;opacity:0;animation:fx-drop 4.8s ease-in infinite}
@keyframes fx-drop{0%{transform:translateY(0);opacity:0}4%{opacity:1}17%{transform:translateY(27px);opacity:1}21%,100%{transform:translateY(27px);opacity:0}}
.sales-home .map-check{display:inline-block;animation:fx-check 4.8s ease-in-out infinite}
@keyframes fx-check{0%,10%,100%{transform:none}4%{transform:scale(1.45)}}
.sales-home .map-balance{position:relative}
.sales-home .map-balance::after{content:'';position:absolute;inset:-1px;border-radius:inherit;border:1px solid #8662b1;box-shadow:0 0 0 6px #8662b11f,0 18px 40px -18px #6f4f9a66;opacity:0;pointer-events:none;animation:fx-seq 4.8s linear infinite;animation-delay:.75s}
.sales-home .map-outputs>div{animation:fx-out 4.8s ease-in-out infinite;animation-delay:1.5s}
.sales-home .map-outputs>div+div{animation-delay:2.05s}
@keyframes fx-out{0%,22%,100%{transform:none;border-color:#d6d4df;box-shadow:0 0 0 0 #8662b100}9%{transform:translateY(-4px);border-color:#a594bd;box-shadow:0 12px 26px -14px #6f4f9a80}}

/* ---------- 10. código, soluções e biblioteca técnica ---------- */
.sales-home #codigo .codebox:first-child pre code::after{content:'';display:inline-block;width:7px;height:1.05em;margin-left:4px;vertical-align:-.18em;background:#c5a4ff;animation:fx-caret 1.1s steps(1,end) infinite}
@keyframes fx-caret{50%{opacity:0}}
/* código "sendo escrito" linha a linha quando entra na tela */
html.fx-js .sales-home .codebox pre code.fx-code-pre,html.fx-js .sales-home .codebox pre code.fx-code-in{display:block;width:max-content;min-width:100%}
html.fx-js .sales-home .codebox pre code.fx-code-pre{clip-path:inset(0 0 100% 0)}
html.fx-js .sales-home .codebox pre code.fx-code-in{animation:fx-code calc(var(--fx-n,12)*95ms) steps(var(--fx-n,12),end) var(--fx-cd,0ms) both}
@keyframes fx-code{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0 0 0 0)}}
.sales-home .solution-card-icon{transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s ease}
.sales-home .solution-card:hover .solution-card-icon{transform:rotate(-8deg) scale(1.1);box-shadow:0 10px 24px -8px #b79adc80}
.sales-home .technical-detail>summary{transition:padding-left .25s ease,color .25s ease}
.sales-home .technical-detail>summary:hover{padding-left:16px;color:#fff}
.sales-home .technical-detail>summary::after{transition:transform .3s ease}
.sales-home .technical-detail[open]>summary::after{transform:rotate(180deg)}
.sales-home .technical-detail[open]>section{animation:fx-soft-in .55s cubic-bezier(.19,1,.22,1) both}

/* ---------- 11. chamada final: fundo iridescente, brilho que atravessa e órbitas ---------- */
.sales-home .final>.wrap{position:relative;z-index:1}
.sales-home .final::before{display:block;content:'';position:absolute;inset:0 auto 0 0;width:300%;background:linear-gradient(90deg,#bca0e9 0%,#a9c8f7 16.66%,#e7b6f0 33.33%,#bca0e9 50%,#a9c8f7 66.66%,#e7b6f0 83.33%,#bca0e9 100%);animation:fx-slide 16s linear infinite;pointer-events:none}
@keyframes fx-slide{to{transform:translateX(-50%)}}
.sales-home .final::after{content:'';position:absolute;inset:-20% -60%;background:linear-gradient(105deg,transparent 43%,#ffffff47 50%,transparent 57%);transform:translateX(-62%);animation:fx-sheen 8s ease-in-out infinite;pointer-events:none}
@keyframes fx-sheen{0%,52%{transform:translateX(-62%)}100%{transform:translateX(62%)}}
.fx-orbits{position:absolute;width:0;height:0;pointer-events:none}
.fx-orbits-a{right:7%;top:0}
.fx-orbits-b{left:4%;bottom:0}
.fx-orbits i{position:absolute;left:0;top:0;border:1px solid #2a1c3d2e;border-radius:50%;animation:fx-spin 28s linear infinite}
.fx-orbits i:nth-child(1){width:240px;height:240px;margin:-120px 0 0 -120px}
.fx-orbits i:nth-child(2){width:400px;height:400px;margin:-200px 0 0 -200px;animation-duration:40s;animation-direction:reverse;animation-delay:-13s}
.fx-orbits i:nth-child(3){width:580px;height:580px;margin:-290px 0 0 -290px;animation-duration:56s;animation-delay:-31s}
.fx-orbits i::after{content:'';position:absolute;left:50%;top:-4px;width:7px;height:7px;margin-left:-3.5px;border-radius:50%;background:#34234b;box-shadow:0 0 0 4px #34234b24}
.fx-orbits-b i:nth-child(1){width:180px;height:180px;margin:-90px 0 0 -90px;animation-delay:-9s}
.fx-orbits-b i:nth-child(2){width:310px;height:310px;margin:-155px 0 0 -155px;animation-delay:-22s}
.fx-orbits-b i:nth-child(3){display:none}
@keyframes fx-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.fx-orbits-b{display:none}.fx-orbits-a{right:0}.fx-orbits i:nth-child(3){display:none}}

/* ---------- 12. revelar ao rolar (classes postas pelo JS depois da 1ª rolagem) ---------- */
html.fx-js .sales-home .fx-pre{opacity:0;transform:translateY(30px)}
html.fx-js .sales-home .fx-in{animation:fx-reveal .85s cubic-bezier(.19,1,.22,1) both;animation-delay:var(--fx-d,0ms)}
@keyframes fx-reveal{from{opacity:0;transform:translateY(30px);filter:blur(3px)}to{opacity:1;transform:none;filter:none}}
/* títulos: palavra por palavra, como texto sendo gerado */
.fx-w{display:inline-block}
html.fx-js .sales-home .fx-pre.fx-words{opacity:1;transform:none}
html.fx-js .sales-home .fx-pre.fx-words .fx-w{opacity:0}
html.fx-js .sales-home .fx-in.fx-words{animation:none}
html.fx-js .sales-home .fx-in.fx-words .fx-w{animation:fx-word .65s cubic-bezier(.19,1,.22,1) both;animation-delay:calc(var(--fx-d,0ms) + var(--fx-w,0)*55ms)}
@keyframes fx-word{from{opacity:0;transform:translateY(.35em);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@media print{html.fx-js .sales-home .fx-pre,html.fx-js .sales-home .fx-pre .fx-w{opacity:1;transform:none}html.fx-js .sales-home .codebox pre code.fx-code-pre{clip-path:none}}

/* ---------- 12b. webhooks em tempo real no cartão do hero (fio + console) ---------- */
.sales-home .demo.fx-hooked{position:relative}
.fx-hook{position:relative;margin:0 8px 8px;padding:9px 13px 10px;border:1px solid #ffffff17;border-radius:11px;background:linear-gradient(180deg,#090b11,#0b0d14);font:11px/16px var(--mono);color:var(--dim);transition:border-color .5s ease,box-shadow .5s ease}
.fx-hook::before{content:'';position:absolute;left:0;right:0;top:-1px;height:1px;border-radius:11px;background:linear-gradient(90deg,#38bdf800,#8fe0ff,#c5a4ff,#f0a6ff00);opacity:0;transform:scaleX(.08);transform-origin:var(--fx-px,37px) 50%;pointer-events:none}
.fx-hook-hit{border-color:#a78bfa59;box-shadow:0 0 0 1px #a78bfa14,0 14px 34px -22px #8fe0ff73}
.fx-hook-hit::before{animation:fx-hook-sweep .9s cubic-bezier(.2,.7,.2,1) both}
@keyframes fx-hook-sweep{0%{opacity:0;transform:scaleX(.08)}18%{opacity:1}100%{opacity:0;transform:scaleX(1)}}
.fx-hook-probe{position:absolute;left:0;top:0;visibility:hidden;white-space:pre;pointer-events:none}
/* tomada onde o fio chega */
.fx-hook-port{position:absolute;top:-5px;left:37px;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;background:#0b0d14;border:1.5px solid #a78bfa8c;transition:border-color .3s ease,background .3s ease}
.fx-hook-hit .fx-hook-port{border-color:#8fe0ff;animation:fx-hook-ring .8s ease-out both}
@keyframes fx-hook-ring{0%{box-shadow:0 0 0 0 #8fe0ffb3;background:#8fe0ff}100%{box-shadow:0 0 0 13px #8fe0ff00;background:#0b0d14}}
/* cabeçalho: selo, entregas do fluxo, requisição e resposta */
.fx-hook-head{display:flex;align-items:center;gap:8px;min-width:0;min-height:20px;white-space:nowrap}
.fx-hook-chip{flex:none;font:600 9.5px/1 var(--mono);letter-spacing:.14em;color:#0d0620;background:linear-gradient(100deg,#8fe0ff,#c5a4ff);border-radius:5px;padding:4px 6px 3px}
.fx-hook-pips{flex:none;display:inline-flex;gap:4px}
.fx-hook-pips i{width:5px;height:5px;border-radius:50%;background:#ffffff24;transition:background .3s ease,box-shadow .3s ease}
.fx-hook-pips i.on{background:var(--ok);box-shadow:0 0 8px #5bc97ab3}
.fx-hook-line{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--body)}
.fx-hook-line b{font-weight:600;color:#8fe0ff}
.fx-hook-dest{color:var(--dim)}
.fx-hook-stat{flex:none;margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--dim);border:1px solid #ffffff14;border-radius:999px;padding:1px 8px;transition:color .25s ease,border-color .25s ease,background .25s ease}
.fx-hook-stat i{width:6px;height:6px;border-radius:50%;background:currentColor;animation:pulse 1.6s ease-in-out infinite}
.fx-hook-stat[data-st=send]{color:#8fe0ff;border-color:#8fe0ff4d}
.fx-hook-stat[data-st=send] i{animation-duration:.5s}
.fx-hook-stat[data-st=ok]{color:var(--ok);border-color:#5bc97a59;background:#5bc97a14;animation:fx-pop .45s cubic-bezier(.2,1.4,.4,1) both}
.fx-hook-stat[data-st=ok] i{animation:none}
/* assinatura */
.fx-hook-sig{margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .4s ease}
.fx-hook-sk{color:var(--mut)}
.fx-hook-t,.fx-hook-v{color:#e8c07d}
.fx-hook-ok{margin-left:8px;color:var(--ok);opacity:0;display:inline-block;transform:translateX(-4px);transition:opacity .25s ease,transform .25s ease}
.fx-hook-signed .fx-hook-ok{opacity:1;transform:none}
/* corpo: JSON chegando linha a linha, letra a letra (3 linhas quando cabe, 4 em tela estreita) */
.fx-hook-body{margin-top:5px;padding-top:6px;border-top:1px dashed #ffffff12;height:71px;overflow:hidden;transition:opacity .4s ease}
.fx-hook-wide .fx-hook-body{height:55px}
.fx-hook-ln{height:16px;white-space:pre;overflow:hidden;color:var(--mut)}
.fx-hook-body .fx-hook-ln{animation:fx-hook-type .3s steps(var(--fx-n,30)) both;animation-delay:calc(var(--fx-i,0)*85ms + 60ms)}
@keyframes fx-hook-type{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.fx-hook-static .fx-hook-ln,.fx-hook-body .fx-hook-ln.fx-hook-sk{animation:none}
.fx-hook-static::before,.fx-hook-static .fx-hook-port,.fx-hook-static .fx-hook-stat{animation:none}
.fx-hook-ln:last-child::after{content:'';display:inline-block;width:6px;height:11px;margin-left:5px;vertical-align:-1px;background:#c5a4ff;animation:fx-caret 1s steps(1) infinite}
.fx-hook-ln.fx-hook-sk::after{content:none}
.fx-hook-ln.fx-hook-sk span{display:block;height:6px;margin-top:5px;border-radius:3px;background:#ffffff0f}
.fx-hk{color:var(--violet-ink)}.fx-hs{color:#a8dd76}.fx-hn{color:#e8c07d}.fx-hp{color:#586074}
.fx-hook-idle .fx-hook-body,.fx-hook-idle .fx-hook-sig{opacity:.38}
.fx-hook-idle .fx-hook-ln:last-child::after{content:none}
/* fio pontilhado das etapas até o console e o pulso que desce por ele */
.fx-hook-rail i{position:absolute;width:1px;margin-left:-.5px;background:repeating-linear-gradient(180deg,#a78bfa6b 0 2px,#a78bfa00 2px 6px);pointer-events:none}
.fx-hook-pulse{position:absolute;left:0;top:0;width:3px;height:30px;border-radius:3px;opacity:0;pointer-events:none;background:linear-gradient(180deg,#8fe0ff00,#8fe0ff 62%,#fff);box-shadow:0 8px 14px -2px #8fe0ffcc}
.fx-hook-pulse::after{content:'';position:absolute;left:50%;bottom:-3px;width:7px;height:7px;margin-left:-3.5px;border-radius:50%;background:#fff;box-shadow:0 0 10px 3px #8fe0ffd9,0 0 22px 8px #a78bfa66}
.sales-home .step .ic.fx-hook-emit{animation:fx-hook-emit .7s ease-out both}
@keyframes fx-hook-emit{0%{box-shadow:0 0 0 0 #8fe0ffcc}100%{box-shadow:0 0 0 14px #8fe0ff00}}
@media(max-width:560px){
  .fx-hook{padding:9px 10px 10px;font-size:10.5px}
  .fx-hook-head{flex-wrap:wrap;row-gap:6px}
  .fx-hook-line{order:3;flex:1 0 100%}
  .fx-hook-t{display:none}
}
@media print{.fx-hook-pulse{display:none}}

/* ---------- 12c. ao vivo: operação real no cartão do hero, cifrada ---------- */
.sales-home .stage-shell.fx-live .stage-example{display:inline-flex;align-items:center;gap:7px;color:#8fe3a5}
.sales-home .stage-shell.fx-live .stage-example::before{content:'';flex:none;width:6px;height:6px;border-radius:50%;background:var(--ok);animation:fx-live-dot 1.8s ease-out infinite}
@keyframes fx-live-dot{0%{box-shadow:0 0 0 0 #5bc97a99}70%,100%{box-shadow:0 0 0 7px #5bc97a00}}
.sales-home .stage-shell.fx-live .demo-bar span{color:#a5abbb}

/* ---------- 12d. pulso ao vivo: todos os eventos reais, o tempo todo (rio, constelação, horizonte e núcleo) ---------- */
.fx-pulse-ceu,.fx-pulse-frente{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity .9s ease}
.fx-pulse-ceu{z-index:0}
.fx-pulse-frente{z-index:3}
.hero.fx-pulse-on .fx-pulse-ceu,.hero.fx-pulse-on .fx-pulse-frente{opacity:1}
@media print{.fx-pulse-ceu,.fx-pulse-frente{display:none}}
/* constelação: nomes e contadores dos nós em volta do cartão (anel, arestas e pulsos são desenho nas telas do diretor) */
.fx-pulse-cs{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .9s ease;font:500 10.5px/1 var(--mono);color:#a3abc0;white-space:nowrap;-webkit-user-select:none;user-select:none}
.hero.fx-pulse-on .fx-pulse-cs{opacity:1}
.fx-pulse-cs [hidden]{display:none!important}
.fx-pulse-cs-no,.fx-pulse-cs-nota,.fx-pulse-cs-relo{position:absolute;left:0;top:0;text-shadow:0 0 3px #07080b,0 0 6px #07080b,0 0 11px #07080b}
.fx-pulse-cs-no{display:flex;flex-direction:column}
.fx-pulse-cs-nl{display:flex;align-items:baseline;gap:6px}
.fx-pulse-cs-nc{display:inline-block;font:600 11px/1 var(--mono);color:#eef0f6;font-variant-numeric:tabular-nums}
.fx-pulse-cs-ns{position:absolute;top:100%;margin-top:4px;font-size:10px;color:#7b8399}
/* onde o rótulo fica em relação ao nó: r = à esquerda · l = à direita · b = embaixo · a = em cima · d, e = em duas linhas (embaixo, em cima) · s = nome em cima e número embaixo */
.fx-pulse-cs-no[data-m=r]{align-items:flex-end;transform:translate(-100%,-50%)}
.fx-pulse-cs-no[data-m=r] .fx-pulse-cs-ns{right:0}
.fx-pulse-cs-no[data-m=l]{transform:translate(0,-50%)}
.fx-pulse-cs-no[data-m=b],.fx-pulse-cs-no[data-m=d]{align-items:center;transform:translate(-50%,0)}
.fx-pulse-cs-no[data-m=a],.fx-pulse-cs-no[data-m=e]{align-items:center;transform:translate(-50%,-100%)}
.fx-pulse-cs-no[data-m=s]{align-items:center;transform:translate(-50%,-50%)}
.fx-pulse-cs-no[data-m=b] .fx-pulse-cs-ns{left:50%;transform:translateX(-50%)}
.fx-pulse-cs-no[data-m=d] .fx-pulse-cs-nl,.fx-pulse-cs-no[data-m=e] .fx-pulse-cs-nl,.fx-pulse-cs-no[data-m=s] .fx-pulse-cs-nl{flex-direction:column;align-items:center;gap:3px}
.fx-pulse-cs-no[data-m=s] .fx-pulse-cs-nl{gap:var(--fx-pulse-cs-vao,34px)}
/* nota do nó: o evento que acabou de passar (replay), há quanto tempo foi o último (parado ou à espera) e o selo AGORA (só evento que chegou nesta visita) */
.fx-pulse-cs-nota{height:13px;font-size:10px;line-height:13px;color:#dfe3ee;opacity:0;transition:opacity .22s ease}
.fx-pulse-cs-nota.fx-pulse-cs-v{opacity:1}
.fx-pulse-cs-nota[data-t=ok]{color:#8fe3a5}
.fx-pulse-cs-nota[data-t=id]{color:#7b8399}
.fx-pulse-cs-nota[data-t=agora] span{display:inline-block;padding:3px 6px 2px 7px;border-radius:5px;background:rgb(var(--fx-pulse-cs-cor,198,242,78));color:#0b0d12;font:700 9px/1 var(--mono);letter-spacing:.12em;text-shadow:none;box-shadow:0 0 0 3px rgba(var(--fx-pulse-cs-cor,198,242,78),.22),0 0 20px rgba(var(--fx-pulse-cs-cor,198,242,78),.75);animation:fx-pulse-cs-selo .45s cubic-bezier(.2,1.6,.4,1) both}
@keyframes fx-pulse-cs-selo{from{transform:scale(.7)}to{transform:none}}
/* o contador soma ao vivo: o número salta na cor do fluxo (dois nomes iguais para a animação recomeçar) */
.fx-pulse-cs-pop{animation:fx-pulse-cs-pop .7s cubic-bezier(.2,1.5,.4,1)}
.fx-pulse-cs-pop2{animation:fx-pulse-cs-pop2 .7s cubic-bezier(.2,1.5,.4,1)}
@keyframes fx-pulse-cs-pop{0%{transform:scale(1.6);color:rgb(var(--fx-pulse-cs-cor,198,242,78))}55%{color:rgb(var(--fx-pulse-cs-cor,198,242,78))}100%{transform:none}}
@keyframes fx-pulse-cs-pop2{0%{transform:scale(1.6);color:rgb(var(--fx-pulse-cs-cor,198,242,78))}55%{color:rgb(var(--fx-pulse-cs-cor,198,242,78))}100%{transform:none}}
/* só quando esta camada roda sozinha (teste): diz que é replay; na peça inteira o relógio é do Horizonte */
.fx-pulse-cs-relo{display:flex;flex-direction:column;gap:6px;font-size:9px;letter-spacing:.12em}
.fx-pulse-cs-relo b{font-weight:600;color:#c4b5fd}
.fx-pulse-cs-relo[data-m=vivo] b{color:#8fe3a5}
.fx-pulse-cs-relo[data-m=fixo] b{color:#b9bfcd}
.fx-pulse-cs-relo span{font:600 11.5px/1 var(--mono);letter-spacing:0;color:#eef0f6;font-variant-numeric:tabular-nums}
html.fx-paused .fx-pulse-cs *{animation:none!important;transition:none!important}
@media print{.fx-pulse-cs{display:none}}
/* camada: rio — o rio de eventos corre na faixa do topo do hero (acima do cartão) e é desenhado inteiro
   nas telas do diretor (.fx-pulse-ceu). Não cria elemento nem classe: não precisa de regra própria. */
/* ---- camada horizonte: as 24 h na base do hero (tijolos, cursor do replay, fita e legenda) ----
   Tudo aqui é aditivo, não recebe clique e só aparece com .fx-pulse-on no hero + .fx-pulse-hz-on
   (sem arquivo ou sem as faixas de 24 h = hero como é hoje). Classes só desta camada: fx-pulse-hz-*. */
.fx-pulse-hz{--fx-hz-in:198,242,78;--fx-hz-out:167,139,250;--fx-hz-w:240,166,255;position:absolute;left:0;top:0;z-index:0;display:flex;flex-direction:column;justify-content:flex-end;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility 0s linear .7s}
.hero.fx-pulse-on .fx-pulse-hz.fx-pulse-hz-on{opacity:1;visibility:visible;transition:opacity .9s ease,visibility 0s}
.fx-pulse-hz-f-in{--fx-hz-c:var(--fx-hz-in)}.fx-pulse-hz-f-out{--fx-hz-c:var(--fx-hz-out)}.fx-pulse-hz-f-w{--fx-hz-c:var(--fx-hz-w)}
/* duas colunas: enquanto a base do hero está abaixo da janela, a faixa encosta na base da janela.
   Única regra que toca um elemento de fora: o hero troca overflow:hidden por clip (mesmo recorte,
   sem virar caixa de rolagem), senão a âncora sticky não enxerga a janela. */
@supports (overflow:clip){.sales-home .hero.fx-pulse-on{overflow:clip}}
.fx-pulse-hz-bloco{position:sticky;bottom:0;flex:none;width:100%;height:90px}
.fx-pulse-hz-tela{position:absolute;left:0;top:-30px;display:block}
/* bandeira do relógio do replay, junto ao cursor */
.fx-pulse-hz-agulha{position:absolute;left:0;top:0;height:15px;padding:0 7px 0 6px;display:inline-flex;align-items:center;gap:5px;border-radius:999px;white-space:nowrap;font:600 9.5px/1 var(--mono);letter-spacing:.03em;color:#eef0f6;background:#0b0e14f2;border:1px solid #c4b5fd73;box-shadow:0 0 16px -4px #c4b5fdb3;will-change:transform;transition:opacity .18s ease,top .28s ease}
.fx-pulse-hz-agulha b{font-weight:600}
.fx-pulse-hz-agulha i{flex:none;width:0;height:0;border-style:solid;border-width:3px 0 3px 4.5px;border-color:transparent transparent transparent #8fe0ff}
.fx-pulse-hz-agulha[data-m=v]{border-color:#8fe3a580;box-shadow:0 0 16px -4px #8fe3a5b3}
.fx-pulse-hz-agulha[data-m=v] i{width:4.5px;height:4.5px;border:0;border-radius:50%;background:var(--ok,#5bc97a);animation:fx-live-dot 1.6s ease-out infinite}
.fx-pulse-hz-agulha.fx-pulse-hz-some,.fx-pulse-hz-agulha b:empty{opacity:0}
.fx-pulse-hz-parado .fx-pulse-hz-agulha{display:none}
/* quando a bandeira anda na linha da fita, o texto da fita some de mansinho dos dois lados dela */
.fx-pulse-hz-agulha[data-l=b]::before,.fx-pulse-hz-agulha[data-l=b]::after{content:'';position:absolute;top:-2px;bottom:-2px;width:18px;pointer-events:none}
.fx-pulse-hz-agulha[data-l=b]::before{right:100%;margin-right:1px;background:linear-gradient(90deg,#07080b00,#07080be6)}
.fx-pulse-hz-agulha[data-l=b]::after{left:100%;margin-left:1px;background:linear-gradient(270deg,#07080b00,#07080be6)}
/* fita dos últimos eventos + legenda (famílias, totais, latência), sob a linha do horizonte */
.fx-pulse-hz-linhas{position:absolute;left:24px;top:56px;font:10px/1 var(--mono);color:#7b8399;transition:opacity .2s ease}
.fx-pulse-hz-fita{height:18px;overflow:hidden;contain:content;-webkit-mask-image:linear-gradient(90deg,#0000,#000 26px,#000 calc(100% - 54px),#0000);mask-image:linear-gradient(90deg,#0000,#000 26px,#000 calc(100% - 54px),#0000)}
.fx-pulse-hz-fita-in{display:inline-flex;align-items:center;height:18px;white-space:nowrap;will-change:transform}
.fx-pulse-hz-it{flex:none;display:inline-flex;align-items:center;gap:7px;padding-right:12px;color:#8d94a7}
.fx-pulse-hz-it::after{content:'';flex:none;width:1px;height:9px;margin-left:5px;background:#ffffff1f}
.fx-pulse-hz-it b{font:600 11px/1 var(--sans);color:#d5d9e4}
.fx-pulse-hz-it .fx-pulse-hz-ok{color:#8fe3a5}
.fx-pulse-hz-it .fx-pulse-hz-id{color:#6f778c}
.fx-pulse-hz-it.fx-pulse-hz-novo .fx-pulse-hz-id{color:#c6f24e;font-weight:600}
.fx-pulse-hz-fam i,.fx-pulse-hz-it i{flex:none;width:6px;height:6px;border-radius:2px;background:rgb(var(--fx-hz-c));box-shadow:0 0 8px rgba(var(--fx-hz-c),.75)}
.fx-pulse-hz-leg{height:16px;display:flex;align-items:center;gap:0 13px;white-space:nowrap;overflow:hidden}
.fx-pulse-hz-fam{flex:none;display:inline-flex;align-items:center;gap:6px}
.fx-pulse-hz-tot{flex:0 1 auto;min-width:0;margin-left:auto;display:inline-flex;align-items:center;overflow:hidden}
.fx-pulse-hz-tot b{font-weight:600;color:#d5d9e4}
.fx-pulse-hz-tot span:not(:empty)::before,.fx-pulse-hz-tot em:not(:empty)::before{content:'·';margin:0 7px;color:#586074;font-weight:400}
.fx-pulse-hz-tot em{font-style:normal;font-weight:600;color:#c6f24e}
/* empilhado (celular e tablet): o bloco vai no fluxo, logo acima do cartão; este vão guarda o lugar dele */
.fx-pulse-hz-vao{display:none}
@media(max-width:980px){.hero.fx-pulse-on .fx-pulse-hz-vao.fx-pulse-hz-on{display:block}}
.fx-pulse-hz-emp .fx-pulse-hz-linhas{font-size:9.5px}
.fx-pulse-hz-emp .fx-pulse-hz-leg{height:30px;flex-wrap:wrap;align-content:flex-start;gap:0 10px;font-family:var(--sans)}
.fx-pulse-hz-emp .fx-pulse-hz-fam{height:15px}
.fx-pulse-hz-emp .fx-pulse-hz-tot{flex:0 0 100%;height:15px;margin-left:0;font-family:var(--mono)}
@media print{.fx-pulse-hz,.fx-pulse-hz-vao{display:none!important}}
/* ---------- camada núcleo: um painel dentro do cartão, entre os chips e a demonstração ---------- */
/* Espectro das 24 h + cabeçalho do relógio + leitura do scanner (2 linhas) + contadores + mini-barras dos tipos.
   A tela (espectro, faíscas, feixe do "agora") fica ATRÁS do texto do cartão e usa o fundo da área do título;
   nada que já existia muda de lugar. Só aparece com o diretor ligado E com as faixas das 24 h no arquivo. */
.fx-pulse-nuc,.fx-pulse-nuc-cv{display:none}
.stage-shell.fx-pulse-on>.fx-pulse-nuc.fx-pulse-nuc-on,.stage-shell.fx-pulse-on>.fx-pulse-nuc-cv.fx-pulse-nuc-on{display:block}
.fx-pulse-nuc-cv{position:absolute;left:0;top:0;z-index:-1;pointer-events:none}
.fx-pulse-nuc{--fx-pulse-nuc-in:#c6f24e;--fx-pulse-nuc-out:#a78bfa;--fx-pulse-nuc-w:#f0a6ff;height:112px;padding:0 24px;overflow:hidden;font:9px/1 var(--mono);color:var(--dim);animation:fx-pulse-nuc-in .8s .1s ease both}
@keyframes fx-pulse-nuc-in{from{opacity:0}to{opacity:1}}
.fx-pulse-nuc [data-f=in]{--fx-pulse-nuc-c:var(--fx-pulse-nuc-in)}
.fx-pulse-nuc [data-f=out]{--fx-pulse-nuc-c:var(--fx-pulse-nuc-out)}
.fx-pulse-nuc [data-f=w]{--fx-pulse-nuc-c:var(--fx-pulse-nuc-w)}
/* espectro: só reserva a altura; quem desenha é a tela */
.fx-pulse-nuc-spec{height:24px}
/* legenda das famílias + cabeçalho: REPLAY · últimas 24 h · há 7 h | AO VIVO · agora */
.fx-pulse-nuc-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;height:10px;margin-top:3px;white-space:nowrap}
.fx-pulse-nuc-leg{display:flex;gap:11px;min-width:0;overflow:hidden;font:8.5px/10px var(--sans);letter-spacing:.02em;color:#8d94a7}
.fx-pulse-nuc-leg span{display:inline-flex;flex:none;align-items:center;gap:5px}
.fx-pulse-nuc-leg i{width:5px;height:5px;border-radius:1.5px;background:var(--fx-pulse-nuc-c)}
.fx-pulse-nuc-st{display:inline-flex;align-items:center;gap:5px;flex:none;font:600 8px/10px var(--mono);letter-spacing:.13em;text-transform:uppercase;color:#8d94a7}
.fx-pulse-nuc-st i{flex:none;width:6px;height:6px;background:#c4b5fd;clip-path:polygon(0 0,100% 50%,0 100%)}
.fx-pulse-nuc-st b{font-weight:600;color:#c4b5fd}
.fx-pulse-nuc-st em{font-style:normal;letter-spacing:.03em;text-transform:none;color:#dfe3ee}
.fx-pulse-nuc-st b:empty,.fx-pulse-nuc-st span:empty,.fx-pulse-nuc-st em:empty{display:none}
.fx-pulse-nuc-st b:not(:empty)~span::before,.fx-pulse-nuc-st b:not(:empty)~em::before{content:'· ';color:#8d94a7}
.fx-pulse-nuc-st[data-st=volta] i{transform:scaleX(-1)}
.fx-pulse-nuc-st[data-st=vivo] b,.fx-pulse-nuc-st[data-st=vivo] em{color:#8fe3a5}
.fx-pulse-nuc-st[data-st=hit] b,.fx-pulse-nuc-st[data-st=hit] em{color:#c6f24e}
.fx-pulse-nuc-st[data-st=vivo] i,.fx-pulse-nuc-st[data-st=hit] i{clip-path:none;border-radius:50%;background:var(--ok);animation:fx-live-dot 1.8s ease-out infinite}
.fx-pulse-nuc-st[data-st=hit] i{background:#c6f24e}
.fx-pulse-nuc-st[data-st=par] i{clip-path:none;background:linear-gradient(90deg,#8d94a7 0 2px,#0000 2px 4px,#8d94a7 4px 6px)}
/* leitura do scanner: 2 linhas, a mais nova em cima; a de baixo é a anterior */
.fx-pulse-nuc-read{position:relative;display:flex;height:38px;margin-top:4px;border:1px solid #ffffff14;border-radius:7px;background:linear-gradient(180deg,#090b11,#0c0e15);overflow:hidden;transition:border-color .5s ease}
.fx-pulse-nuc-read[data-v]{border-color:#c6f24e66}
.fx-pulse-nuc-tag{flex:none;display:flex;align-items:center;justify-content:center;width:15px;border-right:1px solid #ffffff12;background:#8fe0ff0d;font:600 7px/1 var(--mono);letter-spacing:.1em;color:#8fe0ffcc;writing-mode:vertical-rl}
.fx-pulse-nuc-tag span{transform:rotate(180deg)}
.fx-pulse-nuc[data-l=zh] .fx-pulse-nuc-tag{letter-spacing:.06em}
.fx-pulse-nuc[data-l=zh] .fx-pulse-nuc-tag span{transform:none}
.fx-pulse-nuc-rows{flex:1 1 0;min-width:0;padding:2px 9px 2px 8px}
.fx-pulse-nuc-row{display:flex;align-items:center;gap:7px;height:16px;white-space:nowrap}
.fx-pulse-nuc-row:not([data-s]){visibility:hidden}
.fx-pulse-nuc-row+.fx-pulse-nuc-row{opacity:.58}
.fx-pulse-nuc-qd{flex:none;font:9.5px/14px var(--mono);color:#9aa1b3}
.fx-pulse-nuc-qd b{font-weight:400}
.fx-pulse-nuc-row[data-v] .fx-pulse-nuc-qd b{display:inline-block;padding:0 5px 0 6px;border-radius:4px;font:700 8.5px/13px var(--mono);letter-spacing:.14em;color:#0b1404;background:#c6f24e}
.fx-pulse-nuc-dot{flex:none;width:5px;height:5px;border-radius:50%;background:var(--fx-pulse-nuc-c,#8d94a7);box-shadow:0 0 7px var(--fx-pulse-nuc-c,#0000)}
.fx-pulse-nuc-txt{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:9px;height:14px;overflow:hidden;font:10px/14px var(--mono);color:#9aa1b3;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 14px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 14px),#0000)}
.fx-pulse-nuc-txt b{flex:none;font:600 10.5px/14px var(--mono);color:#eef0f6}
.fx-pulse-nuc-txt span{flex:none}
.fx-pulse-nuc-txt span:empty{display:none}
.fx-pulse-nuc-res{flex:none;display:flex;gap:5px;font:600 10px/14px var(--mono);color:#8fe3a5}
.fx-pulse-nuc-res span:empty{display:none}
.fx-pulse-nuc-ms:not(:empty)::before{content:'· '}
.fx-pulse-nuc-row[data-s=tx] .fx-pulse-nuc-qd,.fx-pulse-nuc-row[data-s=tx] .fx-pulse-nuc-dot{display:none}
.fx-pulse-nuc-row[data-s=tx] .fx-pulse-nuc-txt b{font-weight:400;color:#b9bfcd}
/* a linha nova entra por cima e a anterior desce (dois nomes iguais: trocar de um para o outro recomeça a animação) */
.fx-pulse-nuc-rows[data-k=a] .fx-pulse-nuc-row{animation:fx-pulse-nuc-ra .2s cubic-bezier(.2,.8,.2,1)}
.fx-pulse-nuc-rows[data-k=b] .fx-pulse-nuc-row{animation:fx-pulse-nuc-rb .2s cubic-bezier(.2,.8,.2,1)}
.fx-pulse-nuc-rows[data-k=a] .fx-pulse-nuc-row+.fx-pulse-nuc-row{animation-name:fx-pulse-nuc-sa}
.fx-pulse-nuc-rows[data-k=b] .fx-pulse-nuc-row+.fx-pulse-nuc-row{animation-name:fx-pulse-nuc-sb}
@keyframes fx-pulse-nuc-ra{from{transform:translateY(-16px)}to{transform:none}}
@keyframes fx-pulse-nuc-rb{from{transform:translateY(-16px)}to{transform:none}}
@keyframes fx-pulse-nuc-sa{from{transform:translateY(-16px);opacity:1}to{transform:none;opacity:.58}}
@keyframes fx-pulse-nuc-sb{from{transform:translateY(-16px);opacity:1}to{transform:none;opacity:.58}}
/* evento ao vivo na leitura: o selo AGORA pulsa e um brilho atravessa a caixa */
.fx-pulse-nuc-read::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,#0000 28%,#c6f24e47 50%,#0000 72%);transform:translateX(-100%);opacity:0;pointer-events:none}
.fx-pulse-nuc-read[data-h=a]::after{animation:fx-pulse-nuc-va .9s ease-out both}
.fx-pulse-nuc-read[data-h=b]::after{animation:fx-pulse-nuc-vb .9s ease-out both}
@keyframes fx-pulse-nuc-va{0%{transform:translateX(-100%);opacity:1}100%{transform:translateX(100%);opacity:0}}
@keyframes fx-pulse-nuc-vb{0%{transform:translateX(-100%);opacity:1}100%{transform:translateX(100%);opacity:0}}
.fx-pulse-nuc-row:first-child[data-v=a] .fx-pulse-nuc-qd b{animation:fx-pulse-nuc-pa 1.1s ease-out 2}
.fx-pulse-nuc-row:first-child[data-v=b] .fx-pulse-nuc-qd b{animation:fx-pulse-nuc-pb 1.1s ease-out 2}
@keyframes fx-pulse-nuc-pa{0%{box-shadow:0 0 0 0 #c6f24ecc}100%{box-shadow:0 0 0 9px #c6f24e00}}
@keyframes fx-pulse-nuc-pb{0%{box-shadow:0 0 0 0 #c6f24ecc}100%{box-shadow:0 0 0 9px #c6f24e00}}
/* contadores de odômetro + mini-barras dos 8 tipos */
.fx-pulse-nuc-stats{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;height:22px;margin-top:4px}
.fx-pulse-nuc-stat{flex:none}
.fx-pulse-nuc-num{display:flex;align-items:flex-end;height:14px;font:600 14px/14px var(--mono);color:#eef0f6;white-space:nowrap}
.fx-pulse-nuc-odo{display:inline-flex;height:14px;overflow:hidden}
.fx-pulse-nuc-d{display:block;height:14px;overflow:hidden;transition:opacity .25s ease}
.fx-pulse-nuc-d>span{display:block;white-space:pre}
.fx-pulse-nuc-z{opacity:.24}
.fx-pulse-nuc-un{margin-left:3px;font:500 9px/12px var(--mono);color:#8d94a7}
.fx-pulse-nuc-pre{margin:0 4px 0 0}
.fx-pulse-nuc-pre:empty{display:none}
.fx-pulse-nuc-lt{margin:0 1px 0 0;font-size:11px;color:#b9bfcd}
.fx-pulse-nuc-de{transition:opacity .4s ease}
.fx-pulse-nuc-cheio .fx-pulse-nuc-de{opacity:0}
.fx-pulse-nuc-lab{margin-top:2px;font:600 8px/6px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:#6f7790;white-space:nowrap}
.fx-pulse-nuc-stat[data-h=a] .fx-pulse-nuc-num{animation:fx-pulse-nuc-ba 1s ease-out both}
.fx-pulse-nuc-stat[data-h=b] .fx-pulse-nuc-num{animation:fx-pulse-nuc-bb 1s ease-out both}
@keyframes fx-pulse-nuc-ba{0%{color:#c6f24e;text-shadow:0 0 12px #c6f24ecc}100%{color:#eef0f6;text-shadow:0 0 0 #c6f24e00}}
@keyframes fx-pulse-nuc-bb{0%{color:#c6f24e;text-shadow:0 0 12px #c6f24ecc}100%{color:#eef0f6;text-shadow:0 0 0 #c6f24e00}}
.fx-pulse-nuc-types{display:flex;align-items:flex-end;gap:8px;flex:0 1 auto;min-width:0;height:22px}
.fx-pulse-nuc-eq{display:flex;align-items:flex-end;gap:2px;flex:none;height:22px;border-bottom:1px solid #ffffff1f}
.fx-pulse-nuc-eq i{width:4px;border-radius:1px 1px 0 0;background:var(--fx-pulse-nuc-c);opacity:.42;transition:height .7s cubic-bezier(.2,.8,.2,1),opacity .3s ease}
.fx-pulse-nuc-eq i[data-f=in]+i[data-f=out],.fx-pulse-nuc-eq i[data-f=out]+i[data-f=w]{margin-left:4px}
.fx-pulse-nuc-eq i.fx-pulse-nuc-a{opacity:1;box-shadow:0 0 9px var(--fx-pulse-nuc-c)}
.fx-pulse-nuc-tl{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;width:118px;min-width:0;overflow:hidden;white-space:nowrap}
.fx-pulse-nuc-tl>b{font:600 9.5px/11px var(--sans);color:#dfe3ee}
.fx-pulse-nuc-tl>span{font:8.5px/10px var(--mono);color:#8d94a7}
.fx-pulse-nuc-tl>span b{font:600 9px/10px var(--mono);color:var(--fx-pulse-nuc-c)}
/* pausa: nada do painel fica no meio de uma animação */
html.fx-paused .fx-pulse-nuc,html.fx-paused .fx-pulse-nuc *,html.fx-paused .fx-pulse-nuc *::before,html.fx-paused .fx-pulse-nuc *::after{animation:none!important;transition:none!important}
@media(max-width:560px){
  .fx-pulse-nuc{height:119px}
  .fx-pulse-nuc-spec{height:20px}
  .fx-pulse-nuc-leg{gap:8px;font-size:8px}
  .fx-pulse-nuc-st{letter-spacing:.08em}
  .fx-pulse-nuc-st:not([data-st=par]) span{display:none}
  .fx-pulse-nuc-read{height:34px;margin-top:3px}
  .fx-pulse-nuc-tag{font-size:6.5px;letter-spacing:.04em}
  .fx-pulse-nuc-rows{padding:1px 7px 1px 6px}
  .fx-pulse-nuc-row{gap:6px;height:15px}
  .fx-pulse-nuc-qd{font-size:9px}
  .fx-pulse-nuc-txt{gap:7px}
  .fx-pulse-nuc-txt b{font-size:10px}
  .fx-pulse-nuc-val,.fx-pulse-nuc-http{display:none}
  .fx-pulse-nuc-ms:not(:empty)::before{content:none}
  .fx-pulse-nuc-rows[data-k] .fx-pulse-nuc-row{animation-duration:.18s}
  .fx-pulse-nuc-stats{flex-wrap:wrap;row-gap:4px;height:auto}
  .fx-pulse-nuc-types{flex:1 0 100%;align-items:center;height:14px}
  .fx-pulse-nuc-eq{height:13px}
  .fx-pulse-nuc-tl{flex-direction:row;align-items:baseline;justify-content:flex-start;gap:6px;width:auto}
}
@media(max-width:420px){.fx-pulse-nuc{padding-inline:18px}}
@media(max-width:380px){
  .fx-pulse-nuc-meta{gap:6px}
  .fx-pulse-nuc-leg{gap:6px;font-size:7.5px}
  .fx-pulse-nuc-leg span{gap:4px}
  .fx-pulse-nuc-st{gap:4px;font-size:7.5px;letter-spacing:.04em}
  .fx-pulse-nuc-st b:not(:empty)~em::before{content:none}
}

/* ---------- 13. pausas: fora da tela, botão "Pausar animação" e movimento reduzido ---------- */
html.fx-js .fx-zone:not(.fx-view) *,html.fx-js .fx-zone:not(.fx-view) *::before,html.fx-js .fx-zone:not(.fx-view) *::after,html.fx-js .fx-zone:not(.fx-view)::before,html.fx-js .fx-zone:not(.fx-view)::after{animation-play-state:paused!important}
html.fx-paused .sales-home *,html.fx-paused .sales-home *::before,html.fx-paused .sales-home *::after{animation-play-state:paused!important}
html.fx-paused .sales-home .hero-copy>*,html.fx-paused .sales-home .hero-stage,html.fx-paused .sales-home .fx-in,html.fx-paused .sales-home .fx-w,html.fx-paused .sales-home .codebox pre code{animation:none!important}
html.fx-paused .sales-home .fx-pre,html.fx-paused .sales-home .fx-pre .fx-w{opacity:1;transform:none}
html.fx-paused .sales-home .codebox pre code.fx-code-pre{clip-path:none}
@media (prefers-reduced-motion:reduce){
  .sales-home *,.sales-home *::before,.sales-home *::after{animation:none!important;transition:none!important}
  html.fx-js .sales-home .fx-pre,html.fx-js .sales-home .fx-pre .fx-w{opacity:1;transform:none}
  html.fx-js .sales-home .codebox pre code.fx-code-pre{clip-path:none}
  .fx-currents,.fx-mesh{opacity:.5}
}
