:root {
  --bg: #060912;
  --bg-2: #0a0f1c;
  --surface: #0e1424;
  --surface-2: #141b2e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f6fa;
  --muted: #8b95ab;
  --dim: #5c667d;
  --blue: #1a6bff;
  --blue-2: #5a93ff;
  --blue-3: #a9c4ff;
  --green: #22c55e;
  --amber: #f5a524;
  --radius: 20px;
  --pad: clamp(16px, 4vw, 48px);
  --f-body: "Inter", system-ui, sans-serif;
  --f-head: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-brand: "Lexend", "Inter Tight", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
body { -webkit-user-select: none; user-select: none; }
img, svg { -webkit-user-drag: none; }
::selection { background: transparent; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-family: var(--f-brand);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-2);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--blue); }
.hero__eyebrow::before { display: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(26,107,255,.2); animation: pulse 2s infinite; }

.section-title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -.03em;
}
.muted { color: var(--dim); }
.accent {
  background: linear-gradient(90deg, var(--blue-2), var(--blue-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* o degradê só pinta dentro da caixa: estende para baixo para não cortar g, p, ç */
  padding-bottom: .22em; margin-bottom: -.22em;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .3s ease, background .3s, box-shadow .3s;
  box-shadow: 0 10px 40px -10px rgba(26,107,255,.6);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: #3a80ff; box-shadow: 0 16px 50px -10px rgba(26,107,255,.8); }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.05); box-shadow: none; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--wa { background: #f4f6fa; color: #060912; box-shadow: none; }
.btn--wa:hover { background: #fff; box-shadow: none; }
.btn--wa svg { width: 18px; height: 18px; color: #1faa53; flex: none; }

/* PRELOADER */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 28px;
  animation: preFallback .6s 5s forwards;
}
.preloader__mark { width: 88px; }
.preloader__mark path { stroke-width: 6; fill-opacity: 0; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: draw 1.6s ease forwards, fillIn .5s 1.1s forwards; }
.pm-blue { stroke: var(--blue); fill: var(--blue); }
.pm-white { stroke: #f7f8fa; fill: #f7f8fa; animation-delay: .2s, 1.3s !important; }
.preloader__count { font-family: var(--f-brand); font-size: 12px; letter-spacing: .2em; color: var(--muted); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillIn { to { fill-opacity: 1; } }
@keyframes preFallback { to { opacity: 0; visibility: hidden; } }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  transition: background .4s, padding .4s, border-color .4s, transform .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(6,9,18,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__word { font-family: var(--f-brand); font-weight: 600; font-size: 24px; line-height: 1; letter-spacing: -.02em; color: #f4f6fa; display: inline-flex; align-items: baseline; padding-bottom: .08em; }
.brand__word em { font-style: normal; background: linear-gradient(180deg, var(--blue-2) 0 30%, #f4f6fa 30%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__tagline { font-family: var(--f-brand); font-weight: 300; font-size: 13px; letter-spacing: .04em; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.footer__tagline::before, .footer__tagline::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--blue); }
.nav__links { display: flex; gap: 34px; }
.nav__links a, .nav__client { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav__links a:hover, .nav__client:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 22px; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .3s; }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(6,9,18,.97);
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: 0 24px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--f-head); font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.mobile-menu .btn { font-size: 16px; align-self: flex-start; margin-top: 12px; }

/* HERO */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 120px;
  overflow: hidden;
}
.hero__waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow {
  position: absolute; width: 900px; height: 900px; right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(26,107,255,.1), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: .98; letter-spacing: -.045em;
  margin-bottom: 30px;
}
.line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.14em; }
.line > span { display: inline-block; }
.hero__sub { max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__mark {
  position: absolute; right: 6%; top: 50%; margin-top: -11.8vw;
  width: min(30vw, 470px); aspect-ratio: 700/550; z-index: 1;
}
@media (min-width: 1600px) { .hero__mark { margin-top: -185px; } }
.hm-tilt { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: hmFloat 6s ease-in-out infinite; }
.hm-logo { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
@keyframes hmFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* 3D tilt */
.tilt { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.8,.2,1); will-change: transform; }
.tilt.is-tilting { transition: transform .12s linear; }
.tilt h3 { transform: translateZ(25px); }
.wa__grid { perspective: 1400px; }
.phone { transform-style: preserve-3d; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); z-index: 2;
}
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(var(--blue), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2s infinite; }
@keyframes cue { to { top: 110%; } }

/* MARQUEE */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--f-head); font-size: clamp(22px, 3vw, 38px); font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.marquee i { color: var(--blue); font-style: normal; font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* MANIFESTO */
.manifesto { padding: clamp(110px, 16vw, 200px) 0; }
.manifesto__text {
  font-family: var(--f-head); font-weight: 500;
  font-size: clamp(26px, 4vw, 54px); line-height: 1.18; letter-spacing: -.025em;
  max-width: 1100px;
}
.manifesto__text .hl {
  font-weight: 600;
  /* sublinhado em degradê que se desenha ao rolar */
  background: linear-gradient(90deg, var(--blue), var(--blue-3)) no-repeat left bottom / var(--u, 0%) 2px;
  padding-bottom: .1em;
}
.manifesto__text .hl span {
  /* degradê azul com um brilho branco passando devagar */
  background: linear-gradient(100deg, var(--blue-2) 0%, var(--blue-3) 30%, #ffffff 42%, var(--blue-3) 54%, var(--blue-2) 80%, var(--blue-2) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hlShine 7s linear infinite;
}
@keyframes hlShine { from { background-position: 0% 0; } to { background-position: -200% 0; } }
.manifesto__text .w { opacity: .14; transition: none; }

/* SOLUTIONS */
.solutions { padding: 110px 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.solutions__head { margin-bottom: 56px; }
.solutions__viewport { overflow: visible; }
.solutions__track { display: flex; gap: 24px; padding: 0 var(--pad); width: max-content; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(26,107,255,.14), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.card:hover::before { opacity: 1; }
.sol { width: min(540px, 82vw); padding: 30px; display: flex; flex-direction: column; }
.sol__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.sol__num { font-family: var(--f-brand); font-size: 12px; color: var(--dim); letter-spacing: .15em; }
.tag { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--blue-3); }
.sol h3 { font-family: var(--f-head); font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 28px 0 10px; }
.sol p { color: var(--muted); font-size: 15px; }
.sol__visual { height: 230px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); padding: 18px; position: relative; overflow: hidden; }

.sol__visual--chat { display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.bubble { max-width: 80%; padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.4; }
.bubble.in { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--blue); align-self: flex-end; border-bottom-right-radius: 4px; }

.sol__visual--flow { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.node { font-size: 13px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); }
.node--ai { border-color: var(--blue); color: var(--blue-3); box-shadow: 0 0 24px rgba(26,107,255,.35); }
.node--ok { border-color: rgba(34,197,94,.5); color: #86efac; }
.wire { width: 1px; height: 16px; background: linear-gradient(var(--blue), transparent); position: relative; overflow: hidden; }
.wire::after { content: ""; position: absolute; left: -1px; top: -6px; width: 3px; height: 6px; border-radius: 2px; background: var(--blue-2); animation: flow 1.4s linear infinite; }
@keyframes flow { to { top: 100%; } }

.sol__visual--bars { display: flex; flex-direction: column; justify-content: space-between; }
.mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; }
.mini-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--blue-2), rgba(26,107,255,.15)); transform-origin: bottom; }
.mini-kpi { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.mini-kpi strong { font-family: var(--f-head); font-size: 26px; color: var(--text); }

.sol__visual--erp { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.erp-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 11px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.erp-row b { font-weight: 500; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.erp-row b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ok { color: #4ade80; }
.warn { color: var(--amber); }

/* WHATSAPP */
.wa { padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(800px 500px at 80% 50%, rgba(26,107,255,.1), transparent 70%); }
.wa__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.wa__list { list-style: none; margin-top: 42px; display: grid; gap: 22px; }
.wa__list li { padding-left: 22px; border-left: 1px solid var(--line-2); color: var(--muted); }
.wa__list b { display: block; color: var(--text); font-family: var(--f-head); font-size: 19px; font-weight: 600; margin-bottom: 2px; }
.phone {
  width: 340px; max-width: 100%; height: 640px; justify-self: center;
  border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #22262f, #0d0f14);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -20px rgba(26,107,255,.35), inset 0 0 0 1px rgba(255,255,255,.04);
  position: relative; display: flex; flex-direction: column;
}
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 2; }
.phone__head { display: flex; align-items: center; gap: 12px; padding: 50px 16px 14px; background: #111620; border-radius: 34px 34px 0 0; border-bottom: 1px solid var(--line); }
.phone__head strong { display: block; font-size: 15px; }
.phone__head small { color: #4ade80; font-size: 12px; }
.phone__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; border: 1px solid var(--line-2); }
.phone__avatar img { width: 18px; }
.phone__body {
  flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end;
  background: #0a0d13; border-radius: 0 0 34px 34px; overflow: hidden;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px); background-size: 18px 18px;
}
.msg { max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.msg.in { background: #1c212c; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.out { background: var(--blue); align-self: flex-end; border-bottom-right-radius: 4px; }
.typing { align-self: flex-start; background: #1c212c; padding: 12px 14px; border-radius: 16px; display: flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* PLATFORM */
.platform { padding: clamp(80px, 10vw, 140px) 0; }
.platform__head { text-align: center; margin-bottom: 64px; }
.platform__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--blue); }
.dash {
  border-radius: 22px; border: 1px solid var(--line-2);
  background: var(--bg-2);
  box-shadow: 0 60px 160px -40px rgba(26,107,255,.45);
  overflow: hidden; transform-origin: 50% 0;
}
.dash__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.dash__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f3a; }
.dash__bar span { margin: 0 auto; font-size: 12px; color: var(--dim); padding: 4px 16px; border-radius: 8px; background: var(--bg); }
.dash__grid { display: grid; grid-template-columns: 64px 1fr; min-height: 440px; }
.dash__side { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 20px 0; }
.dash__side span { width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); }
.dash__side span.on { background: var(--blue); }
.dash__main { padding: 24px; display: grid; gap: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.kpi small { display: block; color: var(--muted); font-size: 12px; }
.kpi strong { display: block; font-family: var(--f-head); font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; margin: 6px 0 2px; }
.kpi em { font-style: normal; font-size: 12px; }
.up { color: #4ade80; }
.charts { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.chart { padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.chart small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.chart svg { width: 100%; height: 180px; }
.chart--log ul { list-style: none; display: grid; gap: 12px; }
.chart--log li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); } 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.note { text-align: center; color: var(--dim); font-size: 13px; margin-top: 20px; }

/* PROCESS */
.process { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.process__head { position: sticky; top: 120px; align-self: start; }
.steps { list-style: none; position: relative; display: grid; gap: 18px; }
.steps__line { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 1px; background: var(--line-2); }
.steps__line span { position: absolute; inset: 0 0 auto 0; height: 100%; background: linear-gradient(var(--blue-2), var(--blue)); transform-origin: top; transform: scaleY(0); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 26px 26px 0; position: relative; z-index: 1; }
.step__n {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-brand); font-size: 13px; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line-2); transition: all .4s;
}
.step.is-active .step__n { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 0 30px rgba(26,107,255,.6); }
.step h3 { font-family: var(--f-head); font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 12px 0 6px; }
.step p { color: var(--muted); max-width: 460px; }

/* STATS */
.stats { padding: 0 0 clamp(80px, 10vw, 140px); }
.stats__head { margin-bottom: 56px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px; display: flex; flex-direction: column; min-height: 340px; transition: border-color .4s; }
.stat:hover { border-color: var(--line-2); }
.stat::after { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue-2), transparent); transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.stat:hover::after { transform: scaleX(1); }
.stat__tag { align-self: flex-start; font-size: 12px; color: var(--blue-3); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px; margin-bottom: 30px; }
.stat__num { display: block; font-family: var(--f-head); font-size: clamp(52px, 5vw, 76px); font-weight: 600; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, var(--blue-3)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; padding-bottom: .1em; margin-bottom: 4px; }
.stat p { color: var(--muted); font-size: 15px; line-height: 1.5; margin-bottom: auto; padding-bottom: 28px; }
.stat__viz { position: relative; height: 40px; display: flex; align-items: center; }
.stat__cap { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; letter-spacing: .04em; color: var(--dim); }
/* 24/7: barras das 24 horas */
.viz-hours { gap: 3px; align-items: flex-end; }
.viz-hours i { flex: 1; height: var(--h); border-radius: 2px; background: rgba(77,139,255,.14); transition: background .3s; }
.viz-hours i.on { background: var(--blue-2); }
.viz-hours.live i { animation: hourBlink 3s ease-in-out infinite; animation-delay: calc(var(--i) * .08s); }
@keyframes hourBlink { 0%, 100% { opacity: .6; } 12% { opacity: 1; } }
/* 100%: barra de progresso */
.viz-bar .track { display: block; width: 100%; height: 6px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.viz-bar .track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--blue-3)); transform-origin: left; }
/* 1: vários pontos viram um */
.viz-merge i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%; background: rgba(232,238,250,.45); transform: translateX(calc(var(--k) * 30px)); transition: transform 1.1s cubic-bezier(.7,0,.2,1), opacity .5s .6s, background .5s .6s, box-shadow .5s .6s; }
.viz-merge.done i { transform: translateX(0); opacity: 0; }
.viz-merge .panel { position: absolute; left: 50%; top: 50%; width: 76px; height: 36px; margin: -18px 0 0 -38px; padding: 6px 8px; display: flex; align-items: flex-end; gap: 4px; border: 1px solid var(--line-2); border-radius: 6px; opacity: 0; transform: scale(.85); transition: opacity .5s .7s, transform .5s .7s; }
.viz-merge .panel b { flex: 1; height: var(--h); border-radius: 2px; background: var(--blue-2); transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.viz-merge .panel b:nth-child(1) { --h: 40%; transition-delay: .9s; }
.viz-merge .panel b:nth-child(2) { --h: 75%; transition-delay: 1s; }
.viz-merge .panel b:nth-child(3) { --h: 55%; transition-delay: 1.1s; }
.viz-merge .panel b:nth-child(4) { --h: 95%; transition-delay: 1.2s; }
.viz-merge.done .panel { opacity: 1; transform: none; }
.viz-merge.done .panel b { transform: none; }
/* 0: planilhas somem */
.viz-sheets { gap: 10px; }
.viz-sheets i { width: 20px; height: 26px; border: 1px solid rgba(255,255,255,.22); border-radius: 3px; background: repeating-linear-gradient(180deg, transparent 0 6px, rgba(255,255,255,.14) 6px 7px); background-clip: content-box; padding: 4px 3px; transition: opacity .35s, transform .35s; }
.viz-sheets i.gone { opacity: 0; transform: translateY(-6px) scale(.8); }
.viz-sheets .ok { position: absolute; left: 0; font-size: 13px; color: var(--blue-3); opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.viz-sheets.done .ok { opacity: 1; transform: none; }

/* FAQ */
.faq { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--f-head); font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; letter-spacing: -.01em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-3); }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-size: 18px; font-weight: 400; transition: transform .3s, background .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--blue); border-color: var(--blue); }
.faq details p { color: var(--muted); padding: 0 48px 26px 0; max-width: 640px; }

/* CTA */
.cta { position: relative; padding: clamp(130px, 16vw, 220px) 0; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.cta__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
/* N em matriz de pontos */
.cta__dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* escurece o centro para o texto ficar sempre legível */
.cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 42% 30% at 50% 50%, rgba(6,9,18,.7), transparent 80%);
}
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__inner .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--blue); }
.cta__title { font-family: var(--f-head); font-weight: 600; font-size: clamp(38px, 6.4vw, 92px); line-height: 1; letter-spacing: -.04em; margin-bottom: 28px; }
.cta .hero__sub { margin-inline: auto; }
.cta .hero__cta { justify-content: center; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer .brand small { font-size: 9px; letter-spacing: .4em; color: var(--muted); margin-left: -2px; }
.footer nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer nav a { color: var(--muted); font-size: 14px; }
.footer nav a:hover { color: var(--text); }
.footer p { color: var(--dim); font-size: 13px; }
.footer p.footer__tagline { color: var(--muted); }


/* CURSOR GLOW */
.cursor-glow { position: fixed; left: 0; top: 0; width: 500px; height: 500px; margin: -250px 0 0 -250px; border-radius: 50%; background: radial-gradient(circle, rgba(26,107,255,.08), transparent 60%); pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s; }
@media (hover: hover) { body:hover .cursor-glow { opacity: 1; } }

/* SEÇÕES FIXADAS (desktop): cabem inteiras na altura da tela, inclusive notebooks */
@media (min-width: 1001px) {
  .solutions {
    height: 100vh; min-height: 560px;
    display: flex; flex-direction: column; justify-content: center;
    padding: clamp(72px, 10vh, 110px) 0 clamp(20px, 4vh, 56px);
  }
  .solutions .section-title { font-size: clamp(34px, min(5.2vw, 7.4vh), 68px); }
  .solutions .eyebrow { margin-bottom: clamp(10px, 2.2vh, 22px); }
  .solutions__head { margin-bottom: clamp(20px, 4.6vh, 56px); }
  .sol { padding: clamp(18px, 3vh, 30px); }
  .sol__top { margin-bottom: clamp(12px, 2.4vh, 26px); }
  .sol__visual { height: clamp(150px, 26vh, 230px); }
  .sol h3 { font-size: clamp(21px, 3vh, 26px); margin: clamp(14px, 2.6vh, 28px) 0 clamp(4px, 1vh, 10px); }

  .wa {
    height: 100vh; min-height: 560px;
    display: flex; align-items: center;
    padding: clamp(72px, 10vh, 110px) 0 clamp(20px, 4vh, 48px);
  }
  .wa .container { width: 100%; }
  .wa .section-title { font-size: clamp(34px, min(5.2vw, 7.4vh), 68px); }
  .wa__list { margin-top: clamp(20px, 4vh, 42px); gap: clamp(12px, 2.2vh, 22px); }
  .phone { height: min(640px, calc(100vh - 130px)); min-height: 440px; }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .hero__mark { right: -4%; width: 44vw; margin-top: -17.3vw; opacity: .3 !important; }
}
@media (max-width: 1000px) {
  .nav__links, .nav__client { display: none; }
  .nav__burger { display: block; }
  .hero__mark { right: -8%; width: 56vw; margin-top: -22vw; }
  .wa__grid, .process__grid, .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .process__head { position: static; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .charts { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .solutions__track { width: auto; flex-direction: column; padding: 0 var(--pad); }
  .sol { width: 100%; }
}
@media (max-width: 640px) {
  .nav .btn--sm { display: none; }
  .hero { padding-top: 120px; }
  .hero__mark { top: 16%; margin-top: 0; width: 70vw; right: -18%; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .dash__grid { grid-template-columns: 1fr; }
  .dash__side { display: none; }
  .dash__main { padding: 14px; }
  .kpi { padding: 14px; }
  .phone { height: 600px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
  .step { grid-template-columns: 52px 1fr; gap: 16px; padding-right: 0; }
  .step__n { width: 52px; height: 52px; }
  .steps__line { left: 25.5px; }
  .faq summary { padding-right: 44px; }
  .faq details p { padding-right: 0; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation-duration: 60s; }
}

/* =========================================================
   CELULAR E TABLET (não afeta a versão desktop, >1000px)
   ========================================================= */
.sol-dots, .wa-fab { display: none; }

@media (max-width: 1000px) {
  html, body { overflow-x: clip; }

  /* Soluções: carrossel com deslize lateral */
  .solutions__track {
    flex-direction: row; width: auto; gap: 12px;
    padding: 4px var(--pad) 8px; scroll-padding-inline: var(--pad);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .solutions__track::-webkit-scrollbar { display: none; }
  .sol { flex: 0 0 min(84vw, 440px); width: auto; scroll-snap-align: start; }
  .sol-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
  .sol-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-2); transition: width .35s cubic-bezier(.2,.8,.2,1), background .35s; }
  .sol-dots i.on { width: 22px; background: var(--blue); }

  /* Botão flutuante do WhatsApp */
  .wa-fab {
    display: grid; place-items: center;
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff;
    box-shadow: 0 10px 30px -6px rgba(37,211,102,.55), 0 4px 12px rgba(0,0,0,.35);
    opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
    transition: opacity .35s, transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .wa-fab svg { width: 30px; height: 30px; }
  .wa-fab.show { opacity: 1; transform: none; pointer-events: auto; }
  .wa-fab:active { transform: scale(.94); }
}

@media (max-width: 640px) {
  /* Respiro entre seções mais enxuto */
  .manifesto { padding: 88px 0; }
  .solutions { padding: 80px 0 72px; }
  .solutions__head, .stats__head { margin-bottom: 32px; }
  .wa, .platform, .process, .faq { padding: 72px 0; }
  .stats { padding-bottom: 72px; }
  .cta { padding: 96px 0 104px; }
  .wa__grid, .process__grid, .faq__grid { gap: 36px; }

  /* Hero: logo inteira embaixo dos botões, sem cobrir o título */
  .hero { align-items: flex-start; padding: 118px 0 calc(33vw + 96px); }
  .hero__mark {
    top: auto; bottom: 56px; right: auto; left: calc(50% - 21vw);
    width: 42vw; margin-top: 0; opacity: 1 !important;
  }
  .scroll-cue { display: none; }

  /* Cards de solução mais compactos */
  .sol { padding: 20px; }
  .sol__top { margin-bottom: 16px; }
  .sol__visual { height: 196px; padding: 14px; }
  .sol h3 { font-size: 22px; margin: 18px 0 6px; }
  .sol p { font-size: 14.5px; }

  /* Celular do WhatsApp */
  .phone { height: 540px; }

  /* Diferenciais em grade 2x2 */
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat { padding: 16px; border-radius: 16px; }
  .stat::after { left: 16px; right: 16px; }
  .stat__tag { font-size: 10.5px; padding: 4px 9px; margin-bottom: 18px; }
  .stat__num { font-size: 42px; }
  .stat p { font-size: 13px; line-height: 1.45; padding-bottom: 16px; }
  .stat__viz { height: 32px; }
  .stat__cap { display: none; }
  .viz-hours { gap: 2px; }
  .viz-merge i { transform: translateX(calc(var(--k) * 20px)); }
  .viz-sheets { gap: 6px; }
  .viz-sheets i { width: 16px; height: 21px; }

  /* Passos e FAQ */
  .step { padding-block: 18px; }
  .faq summary { font-size: 16px; min-height: 56px; }

  /* Toques confortáveis */
  .nav__burger { width: 44px; height: 44px; }
  .nav__burger span:first-child { top: 18px; }
  .nav__burger span:last-child { top: 25px; }

  /* Rodapé centralizado */
  .footer__inner { align-items: center; text-align: center; gap: 18px; }
  .footer nav { justify-content: center; gap: 20px; }
  .footer { padding-bottom: calc(40px + 72px); }
}
