/* ==========================================================================
   Sygma Track — Rastreamento e Telemetria
   ========================================================================== */

:root {
  color-scheme: dark;
  --purple: #704bc9;
  --violet: #6842e5;
  --purple-600: #5b37b8;
  --purple-300: #a58bf0;
  --purple-100: #ece6fb;
  --ink: #1f191a;
  --bg: #0a0714;
  --bg-2: #110c22;
  --bg-3: #181130;
  --line: rgba(165, 139, 240, .16);
  --text: #f4f1fb;
  --muted: #a9a1c2;
  --green: #3ddc97;
  --red: #ff5f7a;
  --grad: linear-gradient(120deg, #7b52d8 0%, #6842e5 55%, #8b6cff 100%);
  --radius: 22px;
  --shadow: 0 30px 80px -30px rgba(104, 66, 229, .55);
  --ease: cubic-bezier(.22, .9, .3, 1);
  --container: 1200px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--violet); color: #fff; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader img { width: 86px; animation: pulse 1.4s ease-in-out infinite; }
.preloader__bar { position: absolute; bottom: 42%; width: 140px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; transform: translateY(80px); }
.preloader__bar::after { content: ""; position: absolute; inset: 0; background: var(--grad); animation: load 1.1s var(--ease) infinite; }
.is-loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(.92); opacity: .7; } }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 120; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding: 0 1.6em; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s;
  isolation: isolate; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -10px rgba(104, 66, 229, .8); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(104, 66, 229, .95); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { border: 1px solid rgba(255,255,255,.22); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--purple-300); background: rgba(165,139,240,.1); transform: translateY(-2px); }
.btn--sm { --h: 42px; padding: 0 1.2em; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.topbar { background: #07050f; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar__info { display: flex; gap: 22px; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: var(--purple-300); }
.topbar__social { display: flex; gap: 14px; }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 101; background: var(--bg); }
[hidden] { display: none !important; }
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.header.is-scrolled { background: rgba(10, 7, 20, .82); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px #000; }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.header.is-scrolled .container { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { height: 44px; width: auto; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__word { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { position: relative; padding: 10px 14px; font-size: .92rem; font-weight: 500; color: #d9d3ee; transition: color .3s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__link--client { display: none; }

main { overflow-x: clip; }
.topbar__app { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: #d9d3ee; }
.topbar__app svg { width: 14px; height: 14px; }
.topbar__right { display: flex; align-items: center; gap: 22px; }

/* ---------- Hero slider ---------- */
.hero { position: relative; margin-top: -84px; min-height: 100svh; display: flex; overflow: hidden; background: radial-gradient(1200px 600px at 75% 30%, rgba(104,66,229,.28), transparent 60%), radial-gradient(800px 500px at 10% 90%, rgba(112,75,201,.22), transparent 60%), var(--bg); }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(165,139,240,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(165,139,240,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero__glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(139,108,255,.35), transparent 65%); filter: blur(20px); pointer-events: none; transform: translate(-50%, -50%); left: 70%; top: 45%; transition: left 1.2s var(--ease), top 1.2s var(--ease); }
.slides { position: relative; width: 100%; }
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 150px 0 140px;
  opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
}
.slide.is-active { position: relative; opacity: 1; visibility: visible; }
.slide .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.slide__content > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > *:nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide__content > *:nth-child(3) { transition-delay: .24s; }
.slide.is-active .slide__content > *:nth-child(4) { transition-delay: .36s; }
.slide.is-active .slide__content > *:nth-child(5) { transition-delay: .48s; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: rgba(165,139,240,.1); border: 1px solid var(--line); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-300); margin-bottom: 22px; }
.eyebrow i { width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.eyebrow i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.slide h1, .slide h2 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 700; margin-bottom: 20px; }
.slide__lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.slide__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.slide__checks { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; font-size: .9rem; color: #d4cdea; }
.slide__checks li { display: flex; align-items: center; gap: 8px; }
.slide__checks svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.slide__art { position: relative; transform: scale(.94) translateX(40px); opacity: 0; transition: transform 1.4s var(--ease), opacity 1.2s var(--ease); }
.slide.is-active .slide__art { transform: none; opacity: 1; transition-delay: .15s; }
.slide__art svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 40px 60px rgba(0,0,0,.45)); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(24, 17, 48, .78); border: 1px solid var(--line); backdrop-filter: blur(12px);
  font-size: .8rem; box-shadow: 0 20px 40px -20px #000;
  animation: floaty 6s ease-in-out infinite;
}
.float-card b { display: block; font-size: .95rem; color: #fff; }
.float-card span { color: var(--muted); }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); flex: none; }
.float-card .ic svg { width: 20px; height: 20px; filter: none; color: #fff; }
.float-card .ic--green { background: linear-gradient(135deg, #2bc184, #3ddc97); }
.float-card--a { top: 6%; left: -4%; }
.float-card--b { bottom: 8%; right: -2%; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 5; }
.hero__controls .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dots { display: flex; gap: 14px; flex: 1; max-width: 640px; }
.dot { flex: 1; text-align: left; padding: 10px 0 0; position: relative; color: var(--muted); font-size: .78rem; transition: color .3s; }
.dot::before, .dot::after { content: ""; position: absolute; top: 0; left: 0; height: 3px; border-radius: 3px; }
.dot::before { right: 0; background: rgba(255,255,255,.12); }
.dot::after { width: 0; background: var(--grad); }
.dot.is-active { color: #fff; }
.dot.is-active::after { animation: fill var(--slide-time, 7s) linear forwards; }
.hero.is-paused .dot.is-active::after { animation-play-state: paused; }
.dot b { font-family: var(--font-display); margin-right: 6px; }
@keyframes fill { to { width: 100%; } }
.arrows { display: flex; gap: 10px; }
.arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.arrow:hover { background: var(--violet); border-color: var(--violet); transform: scale(1.06); }
.arrow svg { width: 20px; height: 20px; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* SVG illustration animations */
.route { stroke-dasharray: 8 10; animation: dash 1.6s linear infinite; }
.route-draw { stroke-dasharray: 900; stroke-dashoffset: 900; }
.slide.is-active .route-draw { animation: draw 2.6s var(--ease) .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dash { to { stroke-dashoffset: -36; } }
.ping { transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }
.ping--2 { animation-delay: 1.1s; }
@keyframes ping { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.radar-sweep { transform-origin: 260px 250px; animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bar-grow { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.slide.is-active .bar-grow { animation: grow 1.2s var(--ease) forwards; }
@keyframes grow { to { transform: scaleY(1); } }
.needle { transform-origin: 408px 214px; transform: rotate(-80deg); }
.slide.is-active .needle { animation: needle 2.4s var(--ease) .5s forwards; }
@keyframes needle { 60% { transform: rotate(40deg); } to { transform: rotate(25deg); } }
.blink { animation: blink 1.4s infinite; }
.lock-shackle { transition: transform .6s var(--ease); }
.slide.is-active .lock-shackle { animation: lock 3.5s var(--ease) infinite; }
@keyframes lock { 0%, 30% { transform: translateY(-14px); } 45%, 100% { transform: translateY(0); } }
.shield-glow { animation: pulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.orbit { transform-origin: 260px 250px; animation: spin 18s linear infinite; }

/* ---------- Generic section ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 130px) 0; }
.section--alt { background: var(--bg-2); }
.section--light { background: #f7f5fd; color: var(--ink); }
.section--light .section__lead, .section--light p { color: #5c5670; }
.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-300); margin-bottom: 14px; }
.section--light .section__tag { color: var(--purple); }
.section__title { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; }
.section__lead { color: var(--muted); font-size: 1.05rem; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Stats strip ---------- */
.stats { position: relative; z-index: 3; margin-top: -1px; padding: 0 0 20px; background: var(--bg); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(24,17,48,.9), rgba(17,12,34,.9)); overflow: hidden; }
.stat { padding: 34px 28px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; line-height: 1; margin-bottom: 8px; }
.stat__label { color: var(--muted); font-size: .9rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--bg); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #cfc7e8; white-space: nowrap; }
.marquee__item svg { width: 22px; height: 22px; color: var(--purple-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(28,20,56,.8), rgba(17,12,34,.8));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
  overflow: hidden;
  transform-style: preserve-3d;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(139,108,255,.18), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { border-color: rgba(165,139,240,.45); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(139,108,255,.14); border: 1px solid var(--line); margin-bottom: 24px; transition: background .4s, transform .5s var(--ease); }
.card__icon svg { width: 28px; height: 28px; color: var(--purple-300); transition: color .4s; }
.card:hover .card__icon { background: var(--grad); transform: rotate(-6deg) scale(1.05); }
.card:hover .card__icon svg { color: #fff; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: .88rem; font-weight: 600; color: var(--purple-300); }
.card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__visual { position: relative; }
.about__visual .panel { border-radius: 28px; background: linear-gradient(160deg, #7b52d8, #5a36c9 60%, #3c2394); padding: 44px; box-shadow: var(--shadow); position: relative; overflow: hidden; aspect-ratio: 1 / 1.02; display: flex; align-items: center; justify-content: center; }
.about__visual .panel::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; }
.about__visual .panel img { position: relative; width: 62%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: floaty 7s ease-in-out infinite; }
.badge-exp { position: absolute; right: -20px; bottom: 40px; padding: 22px 26px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -20px rgba(31,25,26,.4); }
.badge-exp b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--purple); display: block; }
.badge-exp span { font-size: .85rem; color: #5c5670; }
.checklist { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .95rem; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--purple); margin-top: 1px; }
.section--light .btn--ghost { color: var(--ink); border-color: rgba(31,25,26,.2); }
.section--light .btn--ghost:hover { background: var(--purple-100); border-color: var(--purple); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--line) 10%, var(--line) 90%, transparent); }
.steps__line { position: absolute; top: 38px; left: 12%; height: 2px; width: 0; background: var(--grad); transition: width 2s var(--ease) .3s; }
.steps.is-visible .steps__line { width: 76%; }
.step { text-align: center; position: relative; }
.step__num { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); position: relative; z-index: 1; transition: transform .5s var(--ease), background .4s; }
.step__num svg { width: 30px; height: 30px; color: var(--purple-300); }
.step__num::after { counter-increment: step; content: "0" counter(step); position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); font-size: .7rem; font-weight: 700; display: grid; place-items: center; color: #fff; }
.step:hover .step__num { transform: translateY(-6px); background: rgba(139,108,255,.2); }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* ---------- App ---------- */
.app { overflow: hidden; }
.app__phone { position: relative; display: flex; justify-content: center; }
.phone { width: min(300px, 78%); aspect-ratio: 9 / 18.5; border-radius: 44px; padding: 12px; background: linear-gradient(145deg, #2a2240, #0e0a1a); box-shadow: 0 0 0 2px #3a3156, var(--shadow), 0 60px 100px -40px #000; position: relative; z-index: 2; animation: floaty 7s ease-in-out infinite; }
.phone__screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #120d24; position: relative; }
.phone__screen svg { width: 100%; height: 100%; }
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #0e0a1a; z-index: 3; }
.app__ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px dashed rgba(165,139,240,.25); transform: translate(-50%, -50%); }
.app__ring--1 { width: 420px; height: 420px; animation: spin 40s linear infinite; }
.app__ring--2 { width: 580px; height: 580px; animation: spin 60s linear infinite reverse; }
.app__chip { position: absolute; z-index: 3; }
.app__chip--1 { top: 16%; left: 2%; }
.app__chip--2 { top: 48%; right: 0; animation-delay: -2s; }
.app__chip--3 { bottom: 10%; left: 8%; animation-delay: -4s; }
.app__list { display: grid; gap: 18px; margin: 30px 0 36px; }
.app__item { display: flex; gap: 18px; padding: 18px 20px; border-radius: 18px; border: 1px solid transparent; transition: background .4s, border-color .4s, transform .4s var(--ease); }
.app__item:hover { background: rgba(139,108,255,.08); border-color: var(--line); transform: translateX(6px); }
.app__item .ic { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: rgba(139,108,255,.14); }
.app__item .ic svg { width: 22px; height: 22px; color: var(--purple-300); }
.app__item h4 { font-size: 1.02rem; margin: 0 0 4px; }
.app__item p { margin: 0; color: var(--muted); font-size: .9rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border-radius: 14px; background: #000; border: 1px solid rgba(255,255,255,.18); transition: transform .3s var(--ease), border-color .3s; }
.store:hover { transform: translateY(-3px); border-color: var(--purple-300); }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: .65rem; color: #bbb; line-height: 1; }
.store b { display: block; font-size: 1.05rem; line-height: 1.2; }

/* ---------- Segments (tabs) ---------- */
.tabs__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 6px; margin: 0 auto 48px; width: fit-content; border-radius: 999px; background: #fff; box-shadow: 0 10px 40px -20px rgba(31,25,26,.3); position: relative; }
.tabs__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: #5c5670; transition: color .35s; }
.tabs__btn svg { width: 18px; height: 18px; }
.tabs__btn.is-active { color: #fff; }
.tabs__pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; border-radius: 999px; background: var(--grad); box-shadow: 0 10px 20px -8px rgba(104,66,229,.7); transition: left .5s var(--ease), width .5s var(--ease); }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: grid; animation: fadeUp .7s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.segment { grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.segment__art { border-radius: 28px; background: linear-gradient(160deg, #ece6fb, #ddd2fa); padding: 30px; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; position: relative; }
.segment__art svg { width: 100%; height: 100%; }
.segment h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); }
.segment ul { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.segment li { display: flex; gap: 12px; align-items: flex-start; color: #3d3750; }
.segment li svg { width: 22px; height: 22px; flex: none; color: var(--purple); }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px 32px; border-radius: 26px; background: var(--bg-3); border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.plan--featured { background: linear-gradient(165deg, #7b52d8, #5a36c9 55%, #3c2394); border-color: transparent; box-shadow: var(--shadow); }
.plan--featured .plan__desc, .plan--featured .plan__feat li { color: rgba(255,255,255,.85); }
.plan__badge { position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--purple); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { font-size: 1.35rem; margin-bottom: 6px; }
.plan__desc { color: var(--muted); font-size: .92rem; min-height: 3em; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 26px; font-family: var(--font-display); }
.plan__price small { font-size: .9rem; opacity: .8; }
.plan__price b { font-size: 3rem; line-height: 1; }
.plan__price span { font-size: .9rem; opacity: .75; }
.plan__feat { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; flex: 1; }
.plan__feat li { display: flex; gap: 10px; color: #d4cdea; font-size: .93rem; }
.plan__feat svg { width: 20px; height: 20px; flex: none; color: var(--green); }
.plan--featured .plan__feat svg { color: #fff; }
.plan--featured .btn--primary { background: #fff; color: var(--purple); }
.plans__note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 30px; }

/* ---------- Testimonials ---------- */
.testi { position: relative; max-width: 860px; margin: 0 auto; }
.testi__viewport { overflow: hidden; }
.testi__track { display: flex; transition: transform .8s var(--ease); }
.testi__item { flex: 0 0 100%; padding: 0 10px; text-align: center; }
.testi__quote { font-family: var(--font-display); font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 500; line-height: 1.5; color: var(--ink); margin-bottom: 30px; }
.testi__quote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; height: 40px; color: var(--purple); }
.testi__who { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.testi__avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; color: #fff; }
.testi__who b { display: block; color: var(--ink); }
.testi__who span { font-size: .88rem; color: #5c5670; }
.stars { display: flex; gap: 3px; justify-content: center; margin-bottom: 18px; color: #f5b82e; }
.stars svg { width: 20px; height: 20px; }
.testi__nav { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.testi__dot { width: 10px; height: 10px; border-radius: 10px; background: #d6cdef; transition: width .4s var(--ease), background .4s; }
.testi__dot.is-active { width: 32px; background: var(--purple); }

/* ---------- Compromissos ---------- */
.commits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.commit { padding: 32px 26px; border-radius: var(--radius); background: #fff; border: 1px solid #e6e0f7; box-shadow: 0 20px 50px -35px rgba(31,25,26,.35); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.commit:hover { transform: translateY(-6px); border-color: var(--purple-300); box-shadow: 0 30px 60px -30px rgba(104,66,229,.45); }
.commit__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--purple-100); margin-bottom: 22px; transition: background .4s, transform .5s var(--ease); }
.commit__icon svg { width: 28px; height: 28px; color: var(--purple); transition: color .4s; }
.commit:hover .commit__icon { background: var(--grad); transform: rotate(-6deg); }
.commit:hover .commit__icon svg { color: #fff; }
.commit h3 { font-size: 1.12rem; color: var(--ink); margin-bottom: 10px; }
.section--light .commit p { margin: 0; font-size: .93rem; }
.commits__cta { text-align: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 48px; }
.section--light .commits__cta p { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 1080px) { .commits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .commits { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; background: rgba(24,17,48,.6); transition: border-color .4s, background .4s; }
.faq__item.is-open { border-color: rgba(165,139,240,.45); background: rgba(28,20,56,.9); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; text-align: left; font-weight: 600; font-size: 1.02rem; }
.faq__icon { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .4s, transform .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--violet); border-color: var(--violet); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 26px 24px; margin: 0; color: var(--muted); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: 32px; padding: clamp(44px, 6vw, 72px); background: linear-gradient(120deg, #7b52d8, #6842e5 60%, #4f2fc0); overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; box-shadow: var(--shadow); }
.cta::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.07); }
.cta::after { content: ""; position: absolute; left: 30%; bottom: -200px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.06); }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); position: relative; z-index: 1; }
.cta p { color: rgba(255,255,255,.85); position: relative; z-index: 1; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; position: relative; z-index: 1; }
.cta .btn--primary { background: #fff; color: var(--purple); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); }
.contact__info { display: grid; gap: 16px; align-content: start; margin-top: 30px; }
.info-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(24,17,48,.6); transition: border-color .4s, transform .4s var(--ease); }
.info-card:hover { border-color: rgba(165,139,240,.45); transform: translateX(6px); }
.info-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; flex: none; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card small { display: block; color: var(--muted); font-size: .8rem; }
.info-card b { font-weight: 600; }
.form { padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: var(--bg-3); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form h3 { grid-column: 1 / -1; font-size: 1.4rem; margin-bottom: 4px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 18px 10px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(10,7,20,.6); color: #fff;
  font: inherit; font-size: .95rem; outline: none;
  transition: border-color .3s, box-shadow .3s;
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a58bf0' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field select option { background: var(--bg-3); }
.field label { position: absolute; left: 19px; top: 16px; color: var(--muted); font-size: .95rem; pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: left; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(104,66,229,.2); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-9px); font-size: .72rem; color: var(--purple-300); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--red); }
.form__note { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); margin: 0; }
.form__note svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.form .btn { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.footer { background: #07050f; border-top: 1px solid var(--line); padding: 80px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer__brand img { height: 110px; width: auto; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: .92rem; max-width: 320px; }
.footer h4 { font-size: 1rem; margin-bottom: 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { color: var(--muted); font-size: .92rem; transition: color .3s, padding .3s var(--ease); }
.footer ul a:hover { color: #fff; padding-left: 6px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--violet); border-color: var(--violet); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid var(--line); padding: 24px 0; font-size: .84rem; color: var(--muted); }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.seals { display: flex; gap: 18px; flex-wrap: wrap; }
.seals span { display: inline-flex; align-items: center; gap: 6px; }
.seals svg { width: 16px; height: 16px; color: var(--green); }

.footer__credit { border-top: 1px solid var(--line); padding: 18px 0 22px; }
.footer__credit .container { display: flex; justify-content: center; }
.footer__credit a { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); opacity: .8; transition: opacity .3s, color .3s; }
.footer__credit a:hover { opacity: 1; color: #fff; }
.footer__credit img { height: 22px; width: auto; transition: transform .4s var(--ease); }
.footer__credit a:hover img { transform: scale(1.06); }

/* ---------- Floating ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: ping 2.4s ease-out infinite; z-index: -1; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.wa-float__tip { position: absolute; right: 74px; white-space: nowrap; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s, transform .4s var(--ease), visibility .4s, background .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--violet); }
.to-top svg { width: 18px; height: 18px; }

.toast { position: fixed; left: 50%; bottom: 30px; z-index: 200; transform: translate(-50%, 30px); opacity: 0; padding: 14px 22px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; display: flex; gap: 10px; align-items: center; }
.toast svg { width: 20px; height: 20px; color: #22a86b; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .float-card--a { left: 0; }
}

@media (max-width: 960px) {
  .topbar__info span:nth-child(3) { display: none; }
  .nav__link--client { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--purple-300); }
  .nav__link--client svg { width: 26px; height: 26px; }
  .burger { display: block; }
  .header__actions .btn--ghost { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 4px;
    background: rgba(10,7,20,.97); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav__link { font-size: 1.6rem; font-family: var(--font-display); font-weight: 600; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .nav__link { opacity: 1; transform: none; }
  .nav-open .nav__link:nth-child(2) { transition-delay: .05s; } .nav-open .nav__link:nth-child(3) { transition-delay: .1s; }
  .nav-open .nav__link:nth-child(4) { transition-delay: .15s; } .nav-open .nav__link:nth-child(5) { transition-delay: .2s; }
  .nav-open .nav__link:nth-child(6) { transition-delay: .25s; } .nav-open .nav__link:nth-child(7) { transition-delay: .3s; }
  .slide { padding: 130px 0 170px; }
  .slide .container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .slide__lead { margin-inline: auto; }
  .slide__ctas, .slide__checks { justify-content: center; }
  .slide__art { max-width: 520px; margin: 0 auto; width: 100%; }
  .dot span { display: none; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .contact, .segment, .cta { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
  .about__visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .badge-exp { right: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before, .steps__line { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .app__phone { order: -1; min-height: 520px; align-items: center; }
  .app__ring--2 { width: 480px; height: 480px; }
}

@media (max-width: 600px) {
  .topbar { display: none; }
  .header .container { height: 72px; }
  .hero { margin-top: -72px; }
  .brand__mark { height: 38px; }
  .brand__word { height: 24px; }
  .header__actions .btn--primary { display: none; }
  .slide__checks { flex-direction: column; align-items: center; gap: 8px; }
  .float-card { font-size: .7rem; padding: 8px 12px; }
  .float-card .ic { width: 30px; height: 30px; }
  .float-card b { font-size: .8rem; }
  .arrows { display: none; }
  .features, .checklist { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat { padding: 26px 14px; }
  .tabs__nav { border-radius: 22px; width: 100%; }
  .tabs__btn { flex: 1 1 40%; justify-content: center; padding: 12px 10px; }
  .tabs__pill { display: none; }
  .tabs__btn.is-active { background: var(--grad); }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .app__chip { display: none; }
  .wa-float { right: 16px; bottom: 16px; }
  .to-top { right: 24px; bottom: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
