/* ==========================================================================
   SISTEMAS MENDES — Home imersiva (v3)
   Depende de style.css (tokens, botões, .eyebrow, .sec-title, .spot, .glass).
   Prefixos: hx (hero) · mq (marquee) · sv (serviços) · eco (demo de automação)
             pr (processo) · cz (cases) · wy (diferenciais) · cf (CTA final)
   ========================================================================== */

.page-home { --signal: #34d399; }

/* Estados iniciais de animação — só escondem quando o JS está ativo.
   .anim-off (failsafe/movimento reduzido) garante que nada fique invisível. */
.has-js:not(.anim-off) .hx-anim,
.has-js:not(.anim-off) .hx-rotator,
.has-js:not(.anim-off) [data-sv],
.has-js:not(.anim-off) [data-reveal] { opacity: 0; }
.has-js:not(.anim-off) .hx-line .w > span { transform: translateY(110%); }
.anim-off .hx-anim, .anim-off .hx-rotator, .anim-off [data-sv], .anim-off [data-reveal] { opacity: 1 !important; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hx {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 128px 0 110px;
}
.hx-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; opacity: 0; transition: opacity 1.4s var(--ease); }
.hx-gl.is-ready { opacity: 1; }
.hx-fallback {
  position: absolute; inset: 0; z-index: -4;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(99,102,241,.38), transparent 70%),
    radial-gradient(45% 45% at 92% 80%, rgba(34,211,238,.22), transparent 70%),
    radial-gradient(50% 50% at 55% 10%, rgba(139,92,246,.30), transparent 70%),
    var(--bg);
}
.hx-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,6,11,.82) 0%, rgba(5,6,11,.45) 42%, rgba(5,6,11,0) 70%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5,6,11,0) 28%);
}
@media (max-width: 991px) {
  .hx-shade { background: linear-gradient(180deg, rgba(5,6,11,.35), rgba(5,6,11,.7) 60%, var(--bg)); }
}

/* Núcleo 3D (Three.js) — desktop */
.hx-core {
  position: absolute; z-index: -1; pointer-events: none;
  right: max(-6vw, -90px); top: 50%; transform: translateY(-50%);
  width: min(54vw, 820px); aspect-ratio: 1;
}
.hx-core canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s var(--ease); }
.hx-core.is-ready canvas { opacity: 1; }
.hx-core:not(.is-ready) .hx-chip { display: none; }
@media (max-width: 991px) { .hx-core { display: none; } }

.hx-chip {
  position: absolute; display: inline-flex; align-items: center; gap: .55rem;
  padding: .55rem .85rem; border-radius: 12px; white-space: nowrap;
  font-size: .78rem; color: #dfe3f5; font-weight: 500;
  background: rgba(12,14,28,.62); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.8);
  animation: chipFloat 7s ease-in-out infinite;
}
.hx-chip i { color: #a5b4fc; font-size: .95rem; }
.hx-chip em { font-style: normal; color: var(--signal); font-family: var(--f-mono); }
.hx-chip .hx-live { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: pulseDot 1.6s infinite; }
.hx-chip--1 { top: 20%; left: 18%; }
.hx-chip--2 { top: 30%; right: 16%; animation-delay: -2s; }
.hx-chip--3 { bottom: 26%; left: 10%; animation-delay: -4s; }
.hx-chip--4 { bottom: 18%; right: 22%; animation-delay: -1s; }
.hx-chip--1 i { color: #25d366; }
@keyframes chipFloat { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-12px,0); } }

.hx-inner { position: relative; z-index: 1; }
.hx-copy { max-width: 720px; }
.hx-title {
  font-size: clamp(2.5rem, 6.2vw, 5.4rem); font-weight: 700; line-height: 1.02;
  letter-spacing: -.045em; margin: 1.4rem 0 1.5rem;
}
.hx-line { display: block; }
.hx-line .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hx-line .w > span { display: inline-block; will-change: transform; }
.hx-rotator { display: grid; overflow: hidden; padding-bottom: .12em; font-size: .8em; white-space: nowrap; }
@media (max-width: 767px) { .hx-rotator { font-size: .86em; white-space: normal; } }
.hx-rot-word {
  grid-area: 1 / 1; opacity: 0; transform: translateY(70%); filter: blur(8px);
  transition: opacity .7s var(--ease), transform .8s var(--ease), filter .7s var(--ease);
  background: linear-gradient(90deg, #c4b5fd, #818cf8 45%, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-rot-word.is-on { opacity: 1; transform: none; filter: none; }
.hx-rot-word.is-out { opacity: 0; transform: translateY(-60%); filter: blur(8px); }
.hx-sub { font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.7; color: #b4b8cc; max-width: 600px; margin-bottom: 2rem; }
.hx-sub strong { color: #fff; font-weight: 600; }
.hx-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.6rem; }
.hx-ctas .btn-glow { box-shadow: 0 14px 44px -10px rgba(99,102,241,.85), inset 0 1px 0 rgba(255,255,255,.22); }
[data-magnetic] { will-change: transform; }
.hx-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; }
.hx-trust li { display: flex; flex-direction: column; padding: 0 1.6rem; border-left: 1px solid var(--line-2); }
.hx-trust li:first-child { padding-left: 0; border-left: 0; }
.hx-trust strong { font-family: var(--f-display); color: #fff; font-size: 1.05rem; letter-spacing: -.01em; }
.hx-trust span { color: var(--muted); font-size: .8rem; }
@media (max-width: 575px) {
  .hx { padding-top: 108px; }
  .hx-ctas .btn { width: 100%; }
  .hx-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .hx-trust li { padding: 0 0 0 .7rem; border-left: 1px solid var(--line-2); }
  .hx-trust li:first-child { padding-left: .7rem; border-left: 1px solid var(--line-2); }
  .hx-trust strong { font-size: .9rem; }
  .hx-trust span { font-size: .72rem; line-height: 1.3; }
}

.hx-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--dim); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
}
.hx-scroll:hover { color: #fff; }
.hx-scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--line-2), transparent); position: relative; overflow: hidden; }
.hx-scroll-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: linear-gradient(transparent, var(--cyan)); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 110%; } }
@media (max-height: 720px), (max-width: 575px) { .hx-scroll { display: none; } }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.mq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.012); padding: 1.3rem 0; position: relative; z-index: 2; }
.mq-row { display: flex; align-items: center; gap: 2rem; }
.mq-label { flex: 0 0 auto; padding-left: max(16px, calc((100vw - 1296px) / 2 + 12px)); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); max-width: 260px; line-height: 1.5; }
.mq-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-move { display: flex; align-items: center; width: max-content; animation: mqMove 48s linear infinite; }
.mq-track:hover .mq-move { animation-play-state: paused; }
.mq-item { padding: 0 1.1rem; white-space: nowrap; }
.mq-brand { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.02em; color: #e8eaf3; }
.mq-tech { font-family: var(--f-mono); font-size: .82rem; color: var(--muted); }
.mq-sep { color: #6366f1; font-size: .8rem; padding: 0 .6rem; }
@keyframes mqMove { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .mq-row { flex-direction: column; align-items: stretch; gap: .8rem; } .mq-label { padding: 0 16px; max-width: none; text-align: center; } }

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.sv-head { margin-bottom: 3.2rem; max-width: 760px; }
.sv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; perspective: 1400px; }
@media (max-width: 1199px) { .sv-grid { grid-template-columns: 1fr 1fr; } .sv-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 767px)  { .sv-grid { grid-template-columns: 1fr; } }

.sv-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.25rem 1.25rem 1.6rem; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  border: 1px solid var(--line);
  transform-style: preserve-3d; transition: border-color .4s, box-shadow .5s var(--ease);
}
.sv-card:hover { border-color: rgba(165,180,252,.25); box-shadow: 0 40px 80px -40px rgba(99,102,241,.55); }
.sv-visual {
  height: 196px; border-radius: 16px; margin-bottom: 1.5rem; padding: 1rem;
  background: radial-gradient(120% 90% at 50% 0%, rgba(99,102,241,.16), transparent 60%), #070912;
  border: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; justify-content: center; gap: 1rem; overflow: hidden;
  transform: translateZ(30px);
}
.sv-num { font-size: .72rem; color: #818cf8; letter-spacing: .12em; padding: 0 .35rem; }
.sv-title { font-size: 1.32rem; font-weight: 700; margin: .45rem .35rem .6rem; line-height: 1.25; }
.sv-pitch { color: #c9cce0; margin: 0 .35rem 1rem; font-size: .98rem; }
.sv-list { list-style: none; padding: 0; margin: 0 .35rem 1.4rem; display: grid; gap: .5rem; }
.sv-list li { position: relative; padding-left: 1.4rem; color: var(--muted); font-size: .9rem; }
.sv-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
.sv-link { margin: auto .35rem 0; font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: .45rem; }
.sv-link i { transition: transform .3s var(--ease); }
.sv-link:hover { color: #c4b5fd; }
.sv-link:hover i { transform: translateX(4px); }
.sv-note { display: block; margin: .9rem .35rem 0; font-size: .7rem; color: var(--dim); }

/* Visual 01 — anéis de score */
.sv-rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.sv-ring { position: relative; text-align: center; }
.sv-ring svg { width: 100%; max-width: 64px; transform: rotate(-90deg); display: block; margin: 0 auto; }
.sv-ring circle { fill: none; stroke-width: 3.5; }
.sv-ring-bg { stroke: rgba(255,255,255,.07); }
.sv-ring-fg { stroke: var(--signal); stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset 1.6s var(--ease); filter: drop-shadow(0 0 6px rgba(52,211,153,.5)); }
.sv-ring b { position: absolute; left: 0; right: 0; top: 0; height: 100%; max-height: 64px; display: grid; place-items: center; font-family: var(--f-display); font-size: 1rem; color: #fff; }
.sv-ring small { display: block; margin-top: .4rem; font-size: .62rem; color: var(--muted); line-height: 1.2; }
.sv-vitals { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; font-size: .66rem; color: #cfd3e6; }
.sv-vitals span { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .55rem; border-radius: 999px; background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.2); }
.sv-vitals i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }

/* Visual 02 — mini dashboard */
.sv-dash { display: flex; flex-direction: column; gap: .7rem; height: 100%; justify-content: space-between; }
.sv-dash-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sv-dash-top small { display: block; font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.sv-dash-kpi { font-family: var(--f-display); font-size: 1.6rem; color: #fff; font-variant-numeric: tabular-nums; }
.sv-dash-badge { font-size: .66rem; color: var(--signal); font-family: var(--f-mono); display: inline-flex; gap: .3rem; align-items: center; }
.sv-dash-badge i { font-size: .45rem; animation: pulseDot 1.4s infinite; }
.sv-bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; }
.sv-bars i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #818cf8, rgba(99,102,241,.25)); transition: height .9s var(--ease); }
.sv-bars i:nth-child(3n) { background: linear-gradient(180deg, #22d3ee, rgba(34,211,238,.2)); }
.sv-rows { display: grid; gap: .3rem; }
.sv-rows span { display: flex; align-items: center; gap: .5rem; font-size: .7rem; color: #cfd3e6; padding: .3rem .5rem; border-radius: 8px; background: rgba(255,255,255,.03); }
.sv-rows em { margin-left: auto; font-style: normal; color: var(--muted); font-family: var(--f-mono); font-size: .62rem; }
.sv-rows i { width: 6px; height: 6px; border-radius: 50%; }
.sv-rows i.ok { background: var(--signal); }
.sv-rows i.wait { background: var(--amber); animation: pulseDot 1.2s infinite; }

/* Visual 03 — cadeia de automação */
.sv-chain { display: flex; align-items: center; }
.sv-chain-node { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.1rem; color: #c7d2fe; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.sv-chain-node--hub { width: 54px; height: 54px; color: #fff; background: var(--grad-btn); border: 0; box-shadow: 0 0 30px -4px rgba(99,102,241,.8); }
.sv-chain-node .bi-whatsapp { color: #25d366; }
.sv-chain-link { flex: 1; height: 2px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.sv-chain-link b { position: absolute; top: -1px; left: -30%; width: 30%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--cyan)); animation: chainFlow 1.8s linear infinite; }
@keyframes chainFlow { to { left: 110%; } }
.sv-code { display: block; font-size: .68rem; color: var(--muted); padding: .6rem .75rem; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-code em { color: #c4b5fd; font-style: normal; }

/* ==========================================================================
   ECOSSISTEMA — demo interativa
   ========================================================================== */
.eco { overflow: hidden; }
.eco-head { margin-bottom: 3rem; }
.eco-shell {
  border-radius: 26px; padding: 0; overflow: hidden;
  background: linear-gradient(180deg, rgba(14,16,30,.9), rgba(8,10,19,.95));
  border: 1px solid var(--line-2);
  box-shadow: 0 60px 120px -50px rgba(99,102,241,.45), inset 0 1px 0 rgba(255,255,255,.06);
}
.eco-bar { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); }
.eco-dots { display: flex; gap: 6px; }
.eco-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.eco-dots i:first-child { background: #f87171; } .eco-dots i:nth-child(2) { background: #fbbf24; } .eco-dots i:nth-child(3) { background: #34d399; }
.eco-addr { font-size: .74rem; color: var(--muted); flex: 1; text-align: center; }
.eco-status { font-size: .72rem; color: var(--signal); display: inline-flex; align-items: center; gap: .4rem; }
.eco-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); animation: pulseDot 1.6s infinite; }
@media (max-width: 575px) { .eco-addr { display: none; } .eco-status { margin-left: auto; } }

.eco-tabs { display: flex; gap: .5rem; padding: 1rem 1.2rem 0; flex-wrap: wrap; }
.eco-tab {
  border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--muted);
  border-radius: 999px; padding: .5rem 1rem; font-size: .86rem; font-weight: 500; transition: all .3s var(--ease);
}
.eco-tab:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.eco-tab.is-active { color: #fff; background: rgba(99,102,241,.18); border-color: rgba(165,180,252,.5); box-shadow: 0 0 24px -6px rgba(99,102,241,.7); }
.eco-tab i { margin-right: .3rem; }
@media (max-width: 575px) { .eco-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .eco-tab { flex: 0 0 auto; } }

.eco-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; }
@media (max-width: 991px) { .eco-body { grid-template-columns: 1fr; } }

.eco-stage { position: relative; height: clamp(400px, 42vw, 520px); touch-action: pan-y; }
@media (max-width: 767px) { .eco-stage { height: auto; aspect-ratio: 4 / 5; } }
.eco-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco-nodes { position: absolute; inset: 0; }
.eco-hint { position: absolute; left: 1rem; bottom: .8rem; font-size: .66rem; color: var(--dim); pointer-events: none; }
@media (pointer: coarse) { .eco-hint { display: none; } }

.eco-node {
  position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%);
  transform: translate(-50%, -50%) translate3d(var(--dx, 0px), var(--dy, 0px), 0);
  display: block;
  background: none; border: 0; padding: 0; color: #cfd3e6; cursor: grab; user-select: none; -webkit-user-select: none;
  touch-action: none; transition: opacity .35s;
}
.eco-node:active { cursor: grabbing; }
.eco-node-ic {
  position: relative; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem;
  background: rgba(16,18,34,.92); border: 1px solid rgba(255,255,255,.12); color: #c7d2fe;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.9); transition: border-color .3s, box-shadow .3s, color .3s, transform .3s var(--ease);
}
.eco-node:hover .eco-node-ic, .eco-node:focus-visible .eco-node-ic { transform: scale(1.08); border-color: rgba(165,180,252,.6); }
.eco-node-lb { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: .45rem; font-size: .74rem; font-weight: 500; white-space: nowrap; text-shadow: 0 2px 8px #05060b; pointer-events: none; }
.eco-node[data-id="whats"] .eco-node-ic i, .eco-node[data-id="msg"] .eco-node-ic i { color: #25d366; }
.eco-node--hub .eco-node-ic { width: 86px; height: 86px; border-radius: 26px; font-size: 2rem; color: #fff; background: var(--grad-btn); border: 0; box-shadow: 0 0 60px -10px rgba(99,102,241,.9); }
.eco-node--hub .eco-node-ic::before { content: ''; position: absolute; inset: -8px; border-radius: 32px; border: 1px dashed rgba(165,180,252,.45); animation: hubSpin 16s linear infinite; }
.eco-node--hub .eco-node-lb { font-weight: 600; color: #fff; }
@keyframes hubSpin { to { transform: rotate(360deg); } }
.eco-node.is-path .eco-node-ic { border-color: rgba(165,180,252,.55); color: #fff; }
.eco-node.is-dim { opacity: .35; }
.eco-node.is-hit .eco-node-ic { animation: nodeHit .7s var(--ease); }
.eco-node.is-hit .eco-node-ic::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--cyan); animation: nodeRing .8s ease-out forwards; }
@keyframes nodeHit { 40% { transform: scale(1.14); box-shadow: 0 0 40px -4px rgba(34,211,238,.9); } }
@keyframes nodeRing { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
@media (max-width: 767px) {
  .eco-node-ic { width: 44px; height: 44px; border-radius: 13px; font-size: 1.05rem; }
  .eco-node--hub .eco-node-ic { width: 66px; height: 66px; border-radius: 20px; font-size: 1.6rem; }
  .eco-node-lb { font-size: .64rem; white-space: normal; text-align: center; max-width: 76px; line-height: 1.2; }
}

.eco-tip {
  position: absolute; z-index: 5; max-width: 240px; pointer-events: none;
  padding: .65rem .8rem; border-radius: 12px; font-size: .78rem; line-height: 1.45; color: #dfe3f5;
  background: rgba(10,12,24,.96); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -16px #000;
}
.eco-tip strong { display: block; color: #fff; margin-bottom: .15rem; }

.eco-side { border-left: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
@media (max-width: 991px) { .eco-side { border-left: 0; border-top: 1px solid var(--line); } }
.eco-kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.eco-kpis > div { padding: 1rem .9rem; border-left: 1px solid var(--line); }
.eco-kpis > div:first-child { border-left: 0; }
.eco-kpis small { display: block; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: .2rem; }
.eco-kpis b { font-family: var(--f-display); font-size: 1.35rem; color: #fff; font-variant-numeric: tabular-nums; }
.eco-term { flex: 1; display: flex; flex-direction: column; min-height: 280px; background: rgba(3,4,9,.55); }
.eco-term-head { display: flex; justify-content: space-between; padding: .7rem 1rem; font-size: .68rem; color: var(--dim); border-bottom: 1px solid var(--line); }
.eco-term-run { color: var(--muted); }
.eco-term-run.is-live { color: var(--signal); }
.eco-log { list-style: none; margin: 0; padding: .6rem .8rem 1rem; font-size: .7rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; flex: 1; overflow: hidden; }
.eco-log li { display: grid; grid-template-columns: auto 1fr auto; column-gap: .55rem; row-gap: .1rem; align-items: baseline; animation: logIn .45s var(--ease); }
.eco-log time { color: var(--dim); }
.eco-log b { color: #a5b4fc; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eco-log em { font-style: normal; color: var(--signal); }
.eco-log span { grid-column: 2 / -1; color: #9aa0b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eco-log li.is-done b { color: var(--signal); }
@keyframes logIn { from { opacity: 0; transform: translateY(8px); } }

.eco-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.1rem 1.2rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.eco-desc { margin: 0; color: #c9cce0; font-size: .92rem; max-width: 620px; min-height: 2.8em; }
.eco-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
@media (max-width: 575px) { .eco-actions, .eco-actions .btn { width: 100%; } }
.eco-disclaimer { text-align: center; color: var(--dim); font-size: .76rem; margin: 1rem 0 0; }

/* ==========================================================================
   PROCESSO
   ========================================================================== */
.pr-track { position: relative; }
.pr-line { position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: var(--line); }
.pr-line-fill { position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 14px rgba(99,102,241,.8); }
.pr-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.pr-dot {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line-2); margin-bottom: 1.4rem; transition: all .5s var(--ease);
}
.pr-step.is-on .pr-dot { color: #fff; background: var(--grad-btn); border-color: transparent; box-shadow: 0 0 30px -4px rgba(99,102,241,.9); }
.pr-step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.pr-step p { color: var(--muted); font-size: .92rem; line-height: 1.65; margin: 0; }
@media (max-width: 991px) {
  .pr-line { left: 22px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pr-line-fill { transform-origin: 50% 0; transform: scaleY(0); }
  .pr-steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .pr-step { display: grid; grid-template-columns: 46px 1fr; column-gap: 1.2rem; }
  .pr-dot { grid-row: span 2; margin: 0; }
}

/* ==========================================================================
   CASES
   ========================================================================== */
.cz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-bottom: 3rem; }
.cz-stat { background: var(--bg); padding: 1.8rem 1.5rem; }
.cz-stat strong { display: block; font-family: var(--f-display); font-size: clamp(2.1rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -.04em; margin-bottom: .6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cz-stat > span { color: var(--muted); font-size: .88rem; line-height: 1.5; display: block; }
@media (max-width: 991px) { .cz-stats { grid-template-columns: 1fr 1fr; } }
.cz-more { margin-top: 3.5rem; }
.cz-more-title { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.2rem; }
.cz-more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 991px) { .cz-more-grid { grid-template-columns: 1fr; } }
.cz-more-card { display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--text); transition: border-color .3s; }
.cz-more-card:hover { color: var(--text); border-color: rgba(165,180,252,.3); }
.cz-seg { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #a5b4fc; }
.cz-more-card strong { font-family: var(--f-display); font-size: 1.12rem; color: #fff; }
.cz-sum { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.cz-go { margin-top: auto; font-weight: 600; font-size: .88rem; color: #fff; }

/* ==========================================================================
   DIFERENCIAIS / PROVA SOCIAL
   ========================================================================== */
.wy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
@media (max-width: 1199px) { .wy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px)  { .wy-grid { grid-template-columns: 1fr; } }
.wy-item { padding: 1.7rem 1.5rem; transform-style: preserve-3d; }
.wy-item i { font-size: 1.5rem; display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(99,102,241,.12); color: #c4b5fd; margin-bottom: 1.1rem; }
.wy-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .5rem; }
.wy-item p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin: 0; }
.wy-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.wy-quote { padding: 1.8rem; margin: 0; }
.wy-quote blockquote { color: #dfe3f5; font-size: 1rem; line-height: 1.7; }
.wy-quote figcaption strong { display: block; color: #fff; }
.wy-quote figcaption span { color: var(--muted); font-size: .84rem; }

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cf { position: relative; padding: 120px 0 80px; overflow: hidden; }
.cf-aura {
  position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 1.6; transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, rgba(139,92,246,.5), rgba(34,211,238,.35), rgba(99,102,241,.5), rgba(139,92,246,.5));
  filter: blur(110px); opacity: .45; border-radius: 50%; animation: auraSpin 22s linear infinite; pointer-events: none;
}
@keyframes auraSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cf-box {
  position: relative; text-align: center; padding: clamp(3rem, 7vw, 5.5rem) clamp(1.2rem, 5vw, 4rem);
  border-radius: 32px; background: rgba(8,10,20,.72); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 60px 120px -60px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08);
}
.cf-title { font-size: clamp(2rem, 4.6vw, 3.7rem); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; margin: 1.2rem auto 1rem; max-width: 900px; }
.cf-sub { color: #b4b8cc; font-size: 1.08rem; max-width: 600px; margin: 0 auto 2.2rem; line-height: 1.7; }
.cf-ctas { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.cf-wa { background: linear-gradient(135deg, #22c55e, #059669) !important; box-shadow: 0 16px 40px -12px rgba(34,197,94,.75), inset 0 1px 0 rgba(255,255,255,.25) !important; }
.cf-micro { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.6rem; color: var(--muted); font-size: .86rem; }
.cf-micro i { color: var(--signal); margin-right: .25rem; }
@media (max-width: 575px) { .cf-ctas .btn { width: 100%; } }

/* A home tem CTA final próprio: menos respiro antes do rodapé */
.page-home .footer-sm { margin-top: 0 !important; }

/* ==========================================================================
   MOVIMENTO REDUZIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hx-chip, .cf-aura, .mq-move, .hx-scroll-line::after, .eco-node--hub .eco-node-ic::before, .sv-chain-link b { animation: none !important; }
  .hx-rot-word { transition: none; }
}
