/* ==========================================================================
   BUGA VEÍCULOS · Rastreamento
   Design system + landing
   Paleta extraída do logo: preto profundo, vermelho de marca, cromo.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Superfícies */
  --bg:            #05060a;
  --bg-2:          #0a0d14;
  --surface:       #10141e;
  --surface-2:     #161c29;
  --line:          #232a3a;
  --line-soft:     #1a2030;

  /* Marca */
  --red:           #e01e2d;
  --red-bright:    #ff3344;
  --red-deep:      #9c0d19;
  --red-glow:      rgba(224, 30, 45, .35);

  /* Telemetria / dados */
  --tech:          #2f7dff;
  --tech-soft:     rgba(47, 125, 255, .15);
  --ok:            #22c55e;
  --warn:          #f59e0b;

  /* Cromo */
  --chrome-1:      #ffffff;
  --chrome-2:      #cfd6e2;
  --chrome-3:      #8b93a3;
  --chrome-4:      #5a6274;

  /* Texto */
  --ink:           #eef2f8;
  --ink-2:         #a8b1c2;
  --ink-3:         #6b7487;

  /* Tipografia */
  --f-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono:    'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Escala */
  --shell: 1200px;
  --gutter: 20px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .18s;
  --t: .38s;
  --t-slow: .8s;

  /* Sombras */
  --sh-1: 0 2px 10px rgba(0,0,0,.4);
  --sh-2: 0 12px 40px rgba(0,0,0,.55);
  --sh-red: 0 8px 30px rgba(224,30,45,.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  /* Os reveals de entrada deslocam elementos no eixo X antes de aparecer.
     'clip' contém isso sem criar um container de rolagem, o que manteria
     o header fixo desalinhado com o viewport. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
/* o <picture> some do layout: as regras de tamanho continuam valendo no <img> */
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0;
  text-transform: uppercase;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--red); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--chrome-4); }

/* ---------- Utilitários ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red));
}

.h-xl { font-size: clamp(2.6rem, 7vw, 5rem); }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-2);
  max-width: 62ch;
}

.chrome-text {
  background: linear-gradient(180deg, #fff 0%, var(--chrome-2) 45%, var(--chrome-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.red-text { color: var(--red-bright); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- Botões ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-sm);
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease),
              background var(--t) var(--ease),
              border-color var(--t) var(--ease);
  overflow: hidden;
  isolation: isolate;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  color: #fff;
  box-shadow: var(--sh-red);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
  z-index: -1;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px var(--red-glow); }
.btn--primary:hover::after { transform: translateX(120%); }

.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--chrome-4); background: rgba(255,255,255,.06); transform: translateY(-2px); }

.btn--wa { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; box-shadow: 0 8px 30px rgba(37,211,102,.25); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(37,211,102,.35); }

.btn--lg { padding: 18px 36px; font-size: 1.2rem; }
.btn--block { width: 100%; }

.btn:focus-visible { outline: 2px solid var(--tech); outline-offset: 3px; }

/* ---------- Header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(5, 6, 10, .82);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
}

.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; filter: drop-shadow(0 2px 8px rgba(224,30,45,.3)); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  position: relative;
  font-size: .87rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-2);
  transition: color var(--t-fast);
  padding-block: 6px;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.hdr__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.hdr__cta .btn { padding: 11px 20px; font-size: .92rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t-fast);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* grade em perspectiva */
.hero__grid {
  position: absolute;
  inset: auto 0 -10% 0;
  height: 70%;
  background-image:
    linear-gradient(to right, rgba(47,125,255,.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47,125,255,.09) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(520px) rotateX(70deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  animation: gridRun 14s linear infinite;
}
@keyframes gridRun { to { background-position: 0 56px, 0 56px; } }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.hero__glow--a { width: 620px; height: 620px; top: -18%; right: -12%; background: radial-gradient(circle, rgba(224,30,45,.4), transparent 68%); animation: drift 16s ease-in-out infinite alternate; }
.hero__glow--b { width: 520px; height: 520px; bottom: -14%; left: -10%; background: radial-gradient(circle, rgba(47,125,255,.3), transparent 68%); animation: drift 20s ease-in-out infinite alternate-reverse; }
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(50px, 40px, 0) scale(1.12); }
}

.hero__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(47,125,255,.045) 50%, transparent);
  height: 240px;
  animation: scanDown 7s linear infinite;
}
@keyframes scanDown { from { transform: translateY(-260px); } to { transform: translateY(100svh); } }

.hero__noise {
  position: absolute; inset: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: 100%;
}

.hero h1 { margin-bottom: 20px; }
.hero h1 span { display: block; }

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255,255,255,.02);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.pulse-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}
.pulse-dot::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--ok);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.9); opacity: 0; }
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: .85rem;
  color: var(--ink-3);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { width: 15px; height: 15px; color: var(--red); flex: none; }

/* ---------- Radar do hero ---------- */
.radar {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.radar__ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(47,125,255,.2);
  border-radius: 50%;
}
.radar__ring:nth-child(2) { inset: 13%; border-color: rgba(47,125,255,.16); }
.radar__ring:nth-child(3) { inset: 26%; border-color: rgba(47,125,255,.13); }
.radar__ring:nth-child(4) { inset: 39%; border-color: rgba(47,125,255,.1); }

.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(224,30,45,.02) 250deg, rgba(224,30,45,.22) 340deg, rgba(255,51,68,.5) 359deg, transparent 360deg);
  animation: sweep 4s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }

.radar__cross { position: absolute; inset: 0; }
.radar__cross::before,
.radar__cross::after {
  content: '';
  position: absolute;
  background: rgba(47,125,255,.14);
}
.radar__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar__cross::after { top: 50%; left: 0; right: 0; height: 1px; }

.radar__blip {
  position: absolute;
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 12px var(--red-bright);
  animation: blip 4s ease-in-out infinite;
}
@keyframes blip { 0%, 70%, 100% { opacity: .25; transform: scale(.8); } 80% { opacity: 1; transform: scale(1.3); } }

.radar__core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 66%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(224,30,45,.4));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 10px)); } }

.radar__hud {
  position: absolute;
  padding: 9px 13px;
  background: rgba(16,20,30,.85);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  backdrop-filter: blur(10px);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  line-height: 1.5;
  box-shadow: var(--sh-2);
  white-space: nowrap;
}
.radar__hud b { display: block; color: var(--ink); font-size: 13px; font-weight: 600; }
.radar__hud i { font-style: normal; color: var(--ink-3); text-transform: uppercase; font-size: 9.5px; }
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.radar__hud--tl { top: 2%; left: -4%; animation: flutua 7s ease-in-out infinite .5s; }
.radar__hud--br { bottom: 4%; right: -2%; animation: flutua 8s ease-in-out infinite 1.2s; }

/* ---------- Faixa de números ---------- */
.stats { border-block: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(255,255,255,.015), transparent); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
}
.stat { background: var(--bg); padding: 36px 24px; text-align: center; }
.stat__n {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, #fff, var(--chrome-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__n sup { color: var(--red-bright); -webkit-text-fill-color: var(--red-bright); font-size: .5em; vertical-align: super; }
.stat__l { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }

/* ---------- Cards genéricos ---------- */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  padding: 30px 28px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(224,30,45,.09), transparent 42%);
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: var(--sh-2); }
.card:hover::before { opacity: 1; }

.card__ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, rgba(224,30,45,.16), rgba(224,30,45,.04));
  border: 1px solid rgba(224,30,45,.22);
  color: var(--red-bright);
  margin-bottom: 18px;
}
.card__ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.card p { font-size: .93rem; color: var(--ink-2); }

/* ---------- Planos ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 940px;
  margin-inline: auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  background: linear-gradient(170deg, var(--surface), var(--bg-2) 70%);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
}
.plan::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--chrome-4), transparent);
  opacity: .5;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line); box-shadow: var(--sh-2); }

.plan--featured { border-color: rgba(224,30,45,.35); box-shadow: 0 0 0 1px rgba(224,30,45,.12), 0 20px 60px rgba(224,30,45,.1); }
.plan--featured::after { background: linear-gradient(90deg, transparent, var(--red-bright), transparent); opacity: 1; }
.plan--featured:hover { box-shadow: 0 0 0 1px rgba(224,30,45,.2), 0 26px 70px rgba(224,30,45,.18); }

.plan__badge {
  position: absolute;
  top: 18px; right: 18px;
  padding: 5px 11px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.plan__code { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red-bright); }
.plan__name { font-size: 1.85rem; margin: 6px 0 4px; }
.plan__sub { font-size: .9rem; color: var(--ink-3); margin-bottom: 24px; }

.plan__price { display: flex; align-items: flex-end; gap: 6px; padding-bottom: 8px; }
.plan__price .cur { font-family: var(--f-display); font-size: 1.3rem; color: var(--ink-2); padding-bottom: 9px; }
.plan__price .val { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 3.9rem); font-weight: 700; line-height: .9; background: linear-gradient(180deg, #fff, var(--chrome-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__price .per { font-size: .9rem; color: var(--ink-3); padding-bottom: 10px; }

.plan__setup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  margin-bottom: 24px;
  border-radius: var(--r-sm);
  background: rgba(47,125,255,.07);
  border: 1px solid rgba(47,125,255,.18);
  font-size: .84rem;
  color: var(--ink-2);
}
.plan__setup b { color: var(--ink); }

.plan__list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 12px; flex: 1; }
.plan__list li { position: relative; padding-left: 28px; font-size: .92rem; color: var(--ink-2); }
.plan__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.35);
}
.plan__list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 10px;
  width: 5px; height: 8px;
  border-right: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(40deg);
}
.plan__list li.is-off { color: var(--ink-3); }
.plan__list li.is-off::before { background: rgba(255,255,255,.03); border-color: var(--line); }
.plan__list li.is-off::after { left: 5.5px; top: 11px; width: 6px; height: 6px; border: none; background: var(--ink-3); border-radius: 50%; transform: none; }

.plans__note {
  max-width: 940px;
  margin: 26px auto 0;
  padding: 16px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  font-size: .85rem;
  color: var(--ink-3);
  text-align: center;
}

/* ---------- Como funciona / App ---------- */
.how__wrap {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 18px 0;
}
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 23px; top: 56px; bottom: -4px;
  width: 1px;
  background: linear-gradient(180deg, var(--line), transparent);
}
.step__n {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--red-bright);
}
.step h3 { font-size: 1.15rem; margin-bottom: 5px; }
.step p { font-size: .9rem; color: var(--ink-2); }

/* Vídeo */
.video-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--sh-2);
  aspect-ratio: 16 / 9;
}
.video-frame video, .video-frame iframe { width: 100%; height: 100%; object-fit: cover; border: none; }
.video-frame__ph {
  position: absolute; inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(600px circle at 50% 0%, rgba(224,30,45,.12), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.012) 0 12px, transparent 12px 24px),
    var(--bg-2);
}
.video-frame__ph .play {
  width: 66px; height: 66px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red-bright), var(--red-deep));
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: playPulse 2.4s ease-out infinite;
}
@keyframes playPulse { to { box-shadow: 0 0 0 26px transparent; } }
.video-frame__ph .play svg { width: 24px; height: 24px; color: #fff; margin-left: 4px; }
.video-frame__ph p { font-size: .88rem; color: var(--ink-3); max-width: 38ch; }

/* ---------- Simulador do app ---------- */
.demo {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 300 / 610;
  margin-inline: auto;
  background: linear-gradient(150deg, #262b36, #0c0f16);
  border-radius: 40px;
  padding: 11px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07),
    0 30px 80px rgba(0,0,0,.7),
    0 0 70px rgba(224,30,45,.12);
}
.phone::before {
  content: '';
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 22px;
  border-radius: 100px;
  background: #05060a;
  z-index: 5;
}
.phone__screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.appview { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t); }
.appview.is-active { opacity: 1; visibility: visible; transform: none; }

/* login */
.applogin { padding: 64px 22px 22px; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 14px; background: radial-gradient(400px circle at 50% 22%, rgba(224,30,45,.16), transparent 62%), var(--bg); }
.applogin img { width: 92px; margin: 0 auto 6px; }
.applogin h4 { font-family: var(--f-display); font-size: 1.15rem; text-align: center; text-transform: uppercase; margin-bottom: 2px; }
.applogin p { font-size: 11px; color: var(--ink-3); text-align: center; margin-bottom: 8px; }
.appfield { position: relative; }
.appfield input {
  width: 100%;
  padding: 12px 13px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.appfield input:focus { outline: none; border-color: var(--red); background: rgba(224,30,45,.06); }
.appfield input::placeholder { color: var(--ink-3); }
.applogin .btn { padding: 12px; font-size: .95rem; }
.applogin__hint { font-family: var(--f-mono); font-size: 10px; text-align: center; color: var(--ink-3); line-height: 1.7; padding-top: 6px; border-top: 1px solid var(--line-soft); margin-top: 4px; }
.applogin__hint b { color: var(--red-bright); }
.applogin__err { font-size: 11px; color: var(--red-bright); text-align: center; min-height: 15px; }

/* dashboard */
.appbar { display: flex; align-items: center; justify-content: space-between; padding: 44px 16px 12px; border-bottom: 1px solid var(--line-soft); background: var(--bg-2); flex: none; }
.appbar__t { font-family: var(--f-display); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.appbar__s { display: flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); }

.appmap { position: relative; flex: 1; overflow: hidden; background: #070a11; }
.appmap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.appmap__car {
  position: absolute;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(224,30,45,.22), 0 0 20px rgba(224,30,45,.6);
  transition: left .1s linear, top .1s linear;
  z-index: 3;
}
.appmap__car svg { position: static; width: 14px; height: 14px; color: #fff; }
.appmap__chip {
  position: absolute;
  top: 12px; left: 12px;
  padding: 6px 10px;
  background: rgba(10,13,20,.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  font-family: var(--f-mono);
  font-size: 9.5px;
  line-height: 1.6;
  z-index: 4;
}
.appmap__chip b { color: var(--ink); font-size: 11px; }

.apptiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); flex: none; }
.apptile { background: var(--bg-2); padding: 11px 8px; text-align: center; }
.apptile b { display: block; font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); line-height: 1.1; }
.apptile span { font-family: var(--f-mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.appalerts { flex: none; max-height: 132px; overflow: hidden; background: var(--bg); }
.appalert { display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-bottom: 1px solid var(--line-soft); font-size: 11px; }
.appalert i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.appalert i.ok { background: var(--ok); } .appalert i.warn { background: var(--warn); } .appalert i.red { background: var(--red); }
.appalert span { color: var(--ink-2); flex: 1; }
.appalert time { font-family: var(--f-mono); font-size: 9px; color: var(--ink-3); }

.demo__side .feat { display: grid; gap: 16px; margin-top: 26px; }
.demo__feat { display: flex; gap: 14px; align-items: flex-start; }
.demo__feat .ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(47,125,255,.09); border: 1px solid rgba(47,125,255,.2); color: var(--tech); }
.demo__feat .ic svg { width: 18px; height: 18px; }
.demo__feat h4 { font-size: 1.02rem; margin-bottom: 3px; }
.demo__feat p { font-size: .88rem; color: var(--ink-2); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,.02); transition: border-color var(--t-fast), transform var(--t-fast), background var(--t-fast); }
.store:hover { border-color: var(--chrome-4); transform: translateY(-2px); background: rgba(255,255,255,.05); }
.store svg { width: 22px; height: 22px; flex: none; }
.store i { font-style: normal; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); display: block; }
.store b { font-family: var(--f-display); font-size: 1.02rem; font-weight: 600; }

/* ---------- Trabalhe conosco ---------- */
.work {
  position: relative;
  padding: clamp(40px, 6vw, 64px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(760px circle at 12% 0%, rgba(224,30,45,.14), transparent 55%),
    radial-gradient(620px circle at 96% 100%, rgba(47,125,255,.12), transparent 55%),
    linear-gradient(160deg, var(--surface), var(--bg-2));
  overflow: hidden;
}
.work::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  pointer-events: none;
}
.work__in { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: center; }
.work__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.work__tags span { padding: 6px 13px; border: 1px solid var(--line); border-radius: 100px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); background: rgba(255,255,255,.025); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line-soft); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color var(--t); }
.faq__item[open] { border-color: var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 1.14rem;
  font-weight: 600;
  text-transform: uppercase;
  list-style: none;
  transition: color var(--t-fast);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--red-bright); }
.faq__item summary::after {
  content: '';
  width: 10px; height: 10px; flex: none;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t) var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq__body { padding: 0 24px 22px; font-size: .93rem; color: var(--ink-2); }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final .btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: 56px 0 26px; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.ftr__brand img { height: 56px; margin-bottom: 16px; }
.ftr__brand p { font-size: .87rem; color: var(--ink-3); max-width: 34ch; }
.ftr h4 { font-size: .95rem; letter-spacing: .1em; margin-bottom: 16px; color: var(--ink); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li a, .ftr li span { font-size: .87rem; color: var(--ink-3); transition: color var(--t-fast); }
.ftr li a:hover { color: var(--red-bright); }
.ftr__legal { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; font-size: .78rem; color: var(--ink-3); }
.ftr__legal a { color: var(--ink-3); }
.ftr__legal a:hover { color: var(--ink-2); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 10px 34px rgba(37,211,102,.4);
  transition: transform var(--t) var(--ease);
  animation: waIn .5s var(--ease) 1.2s backwards;
}
@keyframes waIn { from { transform: scale(0) rotate(-180deg); opacity: 0; } }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.wa-float::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulseRing 2.4s ease-out infinite;
}

/* ---------- Scroll reveal ---------- */
[data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-rv].is-in { opacity: 1; transform: none; }
[data-rv="l"] { transform: translateX(-30px); }
[data-rv="r"] { transform: translateX(30px); }
[data-rv="s"] { transform: scale(.94); }
[data-rv].is-in { transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .hero__in { grid-template-columns: 1fr; text-align: center; }
  .hero__in .eyebrow::before { display: none; }
  .hero .lead, .hero__tag { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual {
    order: -1;
    /* width explícito: com margin auto o grid item encolhe para o conteúdo,
       e o radar só tem filhos absolutos, ou seja, conteúdo de largura zero */
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }
  .how__wrap, .demo { grid-template-columns: 1fr; }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: repeat(2, 1fr); }
  .work__in { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 22px;
    background: rgba(5,6,10,.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform var(--t) var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav a::after { display: none; }
  .burger { display: flex; }
  .hdr__cta .btn--ghost { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }
  .cards--3, .cards--2 { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; gap: 28px; }
  .hdr__cta .btn { padding: 10px 15px; font-size: .84rem; }
  .brand img { height: 38px; }
  .radar__hud--tl { left: 2%; top: 2%; }
  .radar__hud--br { right: 2%; bottom: 4%; }
  .hero__trust { flex-direction: column; align-items: center; gap: 10px; }
}

/* ---------- Acessibilidade de movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-rv] { opacity: 1 !important; transform: none !important; }
}
