/* ============================================================
   SÁIFER RASTREAMENTO — Design tokens & styles
   Navy + amber editorial system
   ============================================================ */

:root {
  /* Surfaces — deep navy with a cool blue tone */
  --bg:        oklch(0.165 0.032 256);
  --bg-1:      oklch(0.195 0.034 256);
  --bg-2:      oklch(0.235 0.036 256);
  --bg-3:      oklch(0.285 0.038 255);

  /* Lines */
  --line:      oklch(0.99 0 0 / 0.10);
  --line-soft: oklch(0.99 0 0 / 0.055);
  --line-strong: oklch(0.99 0 0 / 0.18);

  /* Ink */
  --ink:       oklch(0.975 0.006 250);
  --muted:     oklch(0.78 0.018 250);
  --faint:     oklch(0.60 0.02 252);

  /* Accent — logo amber/orange (default) */
  --accent:        oklch(0.745 0.155 58);
  --accent-strong: oklch(0.70 0.165 52);
  --accent-soft:   oklch(0.745 0.155 58 / 0.14);
  --accent-line:   oklch(0.745 0.155 58 / 0.40);

  /* Secondary — logo blue */
  --blue:      oklch(0.66 0.13 248);
  --blue-soft: oklch(0.66 0.13 248 / 0.16);

  /* Signal greens for "live/online" */
  --live:      oklch(0.78 0.16 150);
  --live-soft: oklch(0.78 0.16 150 / 0.18);

  /* Fonts */
  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans:  'IBM Plex Sans', -apple-system, system-ui, sans-serif;
  --mono:  'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--accent-soft); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Typography helpers ---------- */
.serif { font-family: var(--serif); }
.mono  { font-family: var(--mono); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-line);
}
.eyebrow.center::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-line);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }

.display {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.018em;
  font-size: clamp(40px, 6.2vw, 80px);
}
.display em { font-style: italic; color: var(--accent); font-weight: 500; }

.h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.07; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); }

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 56ch;
  text-wrap: pretty;
}

.kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(72px, 9vw, 132px); }

.divider { height: 1px; background: var(--line-soft); width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 14px 24px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: oklch(0.20 0.04 60);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.25) inset, 0 10px 30px -12px var(--accent);
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--accent-line); color: var(--ink); background: oklch(1 0 0 / 0.03); }

.btn-lg { padding: 16px 28px; font-size: 16px; }

.whats-ico { width: 17px; height: 17px; flex: none; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center;
  height: 86px;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: oklch(0.165 0.032 256 / 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 0; flex: none; }
.brand img {
  height: 78px; width: auto;
  filter: drop-shadow(0 2px 6px oklch(0 0 0 / 0.5));
}

.nav-actions { display: flex; align-items: center; gap: 14px; flex: none; margin-left: auto; }
.nav-phone {
  font-family: var(--mono); font-size: 14px; color: var(--ink);
  display: flex; align-items: center; gap: 8px; font-weight: 500;
}
.nav-phone .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px var(--live-soft); }

.nav-burger {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line-strong); border-radius: 9px;
  height: 42px; padding: 0 16px 0 13px; color: var(--ink); cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  transition: border-color .2s, background .2s; flex: none;
}
.nav-burger:hover { border-color: var(--accent-line); background: oklch(1 0 0 / 0.03); }
.nav-burger svg { width: 19px; height: 19px; }
.nav-burger-label { line-height: 1; }

/* ---------- Drawer (slides left → right) ---------- */
.drawer-scrim {
  position: fixed; inset: 0; z-index: 80;
  background: oklch(0.12 0.025 258 / 0.6);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.drawer-scrim.show { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(420px, 86vw);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  border-left: 1px solid var(--line-strong);
  box-shadow: -40px 0 90px -30px oklch(0 0 0 / 0.7);
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.4,0,.1,1);
  display: flex; flex-direction: column;
  padding: 22px 0 26px;
}
.drawer.open { transform: translateX(0); }

.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 26px 22px; border-bottom: 1px solid var(--line-soft); margin-bottom: 8px; }
.drawer-head img { height: 54px; width: auto; filter: drop-shadow(0 2px 6px oklch(0 0 0 / 0.5)); }
.drawer-close { width: 42px; height: 42px; border-radius: 9px; background: none; border: 1px solid var(--line-strong); color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s; }
.drawer-close:hover { color: var(--accent); border-color: var(--accent-line); }
.drawer-close svg { width: 19px; height: 19px; }

.drawer-links { display: flex; flex-direction: column; padding: 8px 0; flex: 1; overflow-y: auto; }
.drawer-links a {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 28px; color: var(--ink); position: relative;
  font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-soft);
  opacity: 0; transform: translateX(-18px);
  transition: opacity .4s ease, transform .4s ease, background .2s, color .2s;
}
.drawer.open .drawer-links a { opacity: 1; transform: none; }
.drawer-links a:hover { background: oklch(1 0 0 / 0.025); color: var(--accent); }
.drawer-links .dl-idx { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; width: 22px; flex: none; }
.drawer-links .dl-txt { flex: 1; }
.drawer-links .dl-arrow { width: 18px; height: 18px; color: var(--faint); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s, color .2s; }
.drawer-links a:hover .dl-arrow { opacity: 1; transform: none; color: var(--accent); }

.drawer-foot { padding: 22px 28px 4px; display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--line-soft); margin-top: 8px; }
.drawer-foot .btn { width: 100%; justify-content: center; }
.drawer-phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 15px; color: var(--ink); font-weight: 500; justify-content: center; }
.drawer-phone .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px var(--live-soft); }

/* ---------- Hero shared ---------- */
.hero { position: relative; padding-top: 144px; overflow: hidden; }
.hero-bg-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 30%, transparent 75%);
  opacity: .6;
}
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 62%);
  filter: blur(20px);
  top: -260px; right: -160px;
}
.hero-glow.blue {
  background: radial-gradient(circle, var(--blue-soft), transparent 62%);
  top: 220px; left: -300px; width: 620px; height: 620px;
}

/* Variant A — editorial split */
.hero-split { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 2; padding-bottom: clamp(60px, 8vw, 110px); }
.hero-copy { max-width: 620px; }
.hero-copy .display { margin-top: 26px; }
.hero-copy .lead { margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.trust-row { display: flex; gap: 0; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 26px; }
.trust-item { flex: 1; padding-right: 18px; }
.trust-item + .trust-item { padding-left: 24px; border-left: 1px solid var(--line); }
.trust-num { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.trust-num b { color: var(--accent); font-weight: 600; }
.trust-label { font-size: 12.5px; color: var(--faint); margin-top: 4px; line-height: 1.4; }

/* Variant B — immersive */
.hero-immersive { position: relative; z-index: 2; min-height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: clamp(40px, 6vw, 90px) clamp(70px, 9vw, 130px); }
.hero-immersive .display { margin-top: 28px; max-width: 16ch; }
.hero-immersive .lead { margin: 26px auto 0; text-align: center; }
.hero-immersive .hero-cta { justify-content: center; }
.hero-immersive-map {
  position: absolute; inset: 0; z-index: -1;
  opacity: .5;
  mask-image: radial-gradient(120% 100% at 50% 40%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 25%, transparent 72%);
}
.hero-chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: oklch(0.195 0.034 256 / 0.7); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 16px; font-size: 13px; color: var(--muted);
  font-family: var(--mono); letter-spacing: 0.02em;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.chip .dot.live { background: var(--live); box-shadow: 0 0 0 3px var(--live-soft); }

/* Variant C — product forward */
.hero-product { position: relative; z-index: 2; text-align: center; padding-bottom: clamp(20px, 3vw, 40px); }
.hero-product .display { margin: 26px auto 0; max-width: 17ch; }
.hero-product .lead { margin: 24px auto 0; text-align: center; }
.hero-product .hero-cta { justify-content: center; }
.hero-product-stage { margin-top: 56px; position: relative; z-index: 2; }

/* ---------- Browser frame (variant C) ---------- */
.browser {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-1);
  box-shadow: 0 40px 120px -40px oklch(0 0 0 / 0.8), 0 0 0 1px var(--line-soft);
}
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 7px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-3); display: block; }
.browser-url {
  flex: 1; max-width: 380px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--line); border-radius: 7px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  padding: 6px 14px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.browser-url .lock { width: 11px; height: 11px; color: var(--live); }

/* ============================================================
   PLATFORM MAP MOCK
   ============================================================ */
.platform {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-1);
  box-shadow: 0 30px 80px -34px oklch(0 0 0 / 0.7);
}
.browser .platform { border: none; border-radius: 0; box-shadow: none; }

.platform-head {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
}
.platform-head .pf-brand { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.platform-head .pf-brand b { color: var(--accent); }
.platform-live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--live); letter-spacing: 0.08em; }
.platform-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px var(--live-soft); animation: livepulse 2s infinite; }
@keyframes livepulse { 0%,100% { box-shadow: 0 0 0 3px var(--live-soft);} 50%{ box-shadow: 0 0 0 6px transparent;} }

.platform-body { display: grid; grid-template-columns: 1fr 232px; min-height: 380px; }

/* Map */
.map { position: relative; background:
    radial-gradient(120% 120% at 30% 10%, oklch(0.22 0.035 256), oklch(0.15 0.03 258) 70%);
  overflow: hidden; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-streets line { stroke: var(--line); }
.map-streets .major { stroke: oklch(0.99 0 0 / 0.13); }
.map-block { fill: oklch(0.99 0 0 / 0.022); }
.route-base { fill: none; stroke: oklch(0.66 0.13 248 / 0.35); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.route-line { fill: none; stroke: var(--accent); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--accent-line)); }
.route-pulse { fill: none; stroke: oklch(1 0 0 / 0.9); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 6 240; animation: dash 4.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -246; } }

.map-pin { position: absolute; transform: translate(-50%, -50%); }
.map-pin.start { width: 12px; height: 12px; }
.map-pin.start i { display:block; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid var(--bg); box-shadow: 0 0 0 3px var(--blue-soft); }

.veh-marker { position: absolute; transform: translate(-50%, -50%); z-index: 3; }
.veh-marker .ring { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-line); animation: pulse 2.4s infinite; }
.veh-marker .core { position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 2.5px solid var(--bg); box-shadow: 0 2px 8px oklch(0 0 0 / .5); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent-line);} 70%{ box-shadow: 0 0 0 18px transparent;} 100%{ box-shadow:0 0 0 0 transparent;} }
.veh-label {
  position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 7px;
  padding: 6px 10px; white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--ink);
  box-shadow: 0 8px 24px -8px oklch(0 0 0 /.6); display:flex; gap:8px; align-items:center;
}
.veh-label b { color: var(--accent); }
.veh-label::after { content:""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--bg-2); }

.map-controls { position: absolute; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 6px; }
.map-controls button { width: 30px; height: 30px; border-radius: 7px; background: oklch(0.2 0.034 256 / 0.85); border: 1px solid var(--line); color: var(--muted); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.map-controls button:hover { color: var(--ink); border-color: var(--accent-line); }
.map-scale { position: absolute; left: 14px; bottom: 14px; font-family: var(--mono); font-size: 10.5px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.map-scale i { display:block; width: 42px; height: 6px; border: 1px solid var(--faint); border-top: none; }

/* Telemetry */
.telemetry { border-left: 1px solid var(--line); background: var(--bg-1); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.tele-plate { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); margin-bottom: 12px; }
.tele-plate .plate { font-family: var(--mono); font-weight: 600; font-size: 17px; letter-spacing: 0.06em; color: var(--ink); }
.tele-plate .veh-type { font-size: 11px; color: var(--faint); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; }
.tele-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.tele-row:last-child { border-bottom: none; }
.tele-row .k { font-size: 12.5px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.tele-row .v { font-family: var(--mono); font-size: 13.5px; color: var(--ink); font-weight: 500; display: flex; align-items: center; gap: 7px; }
.tele-row .v .pip { width: 7px; height: 7px; border-radius: 50%; }
.pip.on { background: var(--live); box-shadow: 0 0 0 3px var(--live-soft); }
.pip.off { background: var(--faint); }
.pip.warn { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tele-speed { padding: 12px 0 4px; }
.tele-speed .big { font-family: var(--serif); font-size: 38px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.tele-speed .unit { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-left: 6px; }
.tele-loc { font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.tele-loc .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); display:block; margin-bottom: 4px; }

/* small/compact platform tweaks for hero immersive bg */

/* ============================================================
   SECTIONS
   ============================================================ */
.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }
.section-head.center .lead { margin-inline: auto; }

/* Vehicles */
.veh-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.veh-card { padding: 30px 22px 30px 0; border-right: 1px solid var(--line); position: relative; transition: background .25s; }
.veh-card:last-child { border-right: none; }
.veh-card { padding-inline: 22px; }
.veh-card:first-child { padding-left: 0; }
.veh-idx { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.veh-name { font-family: var(--serif); font-size: 23px; font-weight: 600; margin-top: 18px; min-height: 2.3em; }
.veh-desc { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.veh-card::after { content:""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); transition: width .3s ease; }
.veh-card:first-child::after { left: 0; }
.veh-card:hover::after { width: 38px; }

/* Features — editorial alternating blocks */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; padding-block: clamp(44px, 6vw, 72px); border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: none; }
.feature.flip .feature-media { order: -1; }
.feature-text .num { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.12em; }
.feature-text .h3 { margin-top: 16px; }
.feature-text p { color: var(--muted); margin-top: 16px; font-size: 16.5px; line-height: 1.62; max-width: 46ch; }
.feature-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 11px; }
.feature-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--ink); }
.feature-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 8px; flex: none; box-shadow: 0 0 0 3px var(--accent-soft); }

.feature-media { position: relative; }
.mini-panel {
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1);
  overflow: hidden; box-shadow: 0 24px 60px -34px oklch(0 0 0 /.7);
}
.mini-panel-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mini-panel-head .ttl { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mini-panel-head .tag { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: var(--live); }
.mini-panel-body { padding: 18px; }

/* history list */
.hist-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.hist-row:last-child { border-bottom: none; }
.hist-time { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.hist-place { font-size: 13.5px; color: var(--ink); }
.hist-sub { font-size: 11.5px; color: var(--faint); font-family: var(--mono); }
.hist-speed { font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-align: right; }
.hist-speed b { color: var(--accent); }

/* alerts list */
.alert-item { display: flex; align-items: flex-start; gap: 13px; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-soft); background: var(--bg); margin-bottom: 10px; }
.alert-item:last-child { margin-bottom: 0; }
.alert-ico { width: 32px; height: 32px; border-radius: 8px; flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-weight: 600; font-size: 13px; }
.alert-ico.amber { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.alert-ico.blue { background: var(--blue-soft); color: var(--blue); border: 1px solid oklch(0.66 0.13 248 / 0.4); }
.alert-ico.live { background: var(--live-soft); color: var(--live); border: 1px solid oklch(0.78 0.16 150 / 0.4); }
.alert-body .t { font-size: 14px; color: var(--ink); font-weight: 500; }
.alert-body .d { font-size: 12px; color: var(--faint); margin-top: 2px; font-family: var(--mono); }
.alert-time { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap; }

/* About */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.about-statement { font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.18; font-weight: 500; letter-spacing: -0.01em; }
.about-statement em { font-style: italic; color: var(--accent); }
.about-body p { color: var(--muted); font-size: 16.5px; line-height: 1.7; margin: 0 0 18px; max-width: 56ch; }
.about-body p:last-child { margin-bottom: 0; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 38px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.about-stat { background: var(--bg-1); padding: 22px 20px; }
.about-stat .n { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); }
.about-stat .n b { color: var(--accent); font-weight: 600; }
.about-stat .l { font-size: 12.5px; color: var(--faint); margin-top: 6px; line-height: 1.4; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding: 0 26px 0 0; }
.step + .step { padding-left: 26px; }
.step-line { position: relative; height: 1px; background: var(--line); margin-bottom: 26px; }
.step-line::before { content:""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.step:first-child .step-line::after { content:""; position:absolute; left: 13px; right: 0; top: 50%; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); transform: translateY(-50%);}
.step-num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.step-title { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-top: 12px; }
.step-desc { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.55; }

/* Testimonials */
.testi-band { background: var(--bg-1); border-block: 1px solid var(--line); }
.testi-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 52px; }
.testi-col { display: flex; flex-direction: column; gap: 22px; }
.testi {
  border: 1px solid var(--line); border-radius: 14px; padding: 28px;
  background: var(--bg); position: relative; transition: border-color .25s, transform .25s;
}
.testi:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.testi.feature-testi { background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.testi .quote-mark { font-family: var(--serif); font-size: 60px; line-height: 0.6; color: var(--accent-line); height: 26px; }
.testi blockquote { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.5; letter-spacing: -0.005em; }
.testi .q { font-size: 17px; }
.feature-testi .q { font-size: clamp(20px, 2vw, 27px); line-height: 1.42; }
.testi-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; }
.testi:not(.feature-testi) .testi-foot { margin-top: 22px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); background: var(--bg-3); border: 1px solid var(--line-strong); }
.avatar.amber { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.testi-name { font-size: 15px; font-weight: 600; color: var(--ink); font-family: var(--sans); }
.testi-loc { font-size: 12.5px; color: var(--faint); font-family: var(--mono); margin-top: 2px; }
.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 15px; height: 15px; display: block; color: var(--accent); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; color: var(--ink); font-family: var(--serif); font-size: clamp(18px, 1.8vw, 21px); font-weight: 500; padding: 24px 48px 24px 0; position: relative; display: block; line-height: 1.3; letter-spacing: -0.005em; }
.faq-icon { position: absolute; right: 0; top: 28px; width: 18px; height: 18px; flex: none; transition: transform .3s; color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 40px 26px 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, var(--bg-2), var(--bg-1)); padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta-band .glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 60%); top: -300px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.cta-band .h2 { position: relative; }
.cta-band .lead { margin: 18px auto 0; position: relative; }
.cta-band .hero-cta { justify-content: center; margin-top: 34px; position: relative; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 84px); padding-bottom: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 72px; margin-bottom: 20px; filter: drop-shadow(0 2px 6px oklch(0 0 0 / 0.5)); }
.footer-brand p { color: var(--faint); font-size: 14px; line-height: 1.6; max-width: 30ch; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin: 0 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: var(--muted); transition: color .18s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact .row { display: flex; flex-direction: column; gap: 3px; margin-bottom: 16px; }
.footer-contact .row .l { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.footer-contact .row .v { font-size: 15.5px; color: var(--ink); font-weight: 500; }
.footer-contact .btn-primary { color: oklch(0.12 0 0); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; }
.footer-bottom-left { display: flex; flex-direction: column; gap: 4px; }
.footer-bottom p { font-size: 12.5px; color: var(--faint); margin: 0; font-family: var(--mono); }
.footer-dev-link { color: var(--accent); transition: opacity .18s; }
.footer-dev-link:hover { opacity: 0.75; }
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-family: var(--mono); font-size: 12.5px;
  border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 8px 14px; transition: color .2s, border-color .2s, background .2s;
}
.footer-social-link:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.footer-social-link svg { width: 17px; height: 17px; flex: none; }
.footer-col .footer-social-link { margin-bottom: 20px; display: inline-flex; width: fit-content; }

/* Floating WhatsApp */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  display: inline-flex; align-items: center; gap: 11px;
  background: oklch(0.66 0.17 150); color: oklch(0.18 0.03 150);
  border-radius: 100px; padding: 13px 20px 13px 16px; font-weight: 600; font-size: 15px;
  box-shadow: 0 14px 40px -10px oklch(0.66 0.17 150 / 0.6); cursor: pointer;
  transition: transform .2s, box-shadow .2s; font-family: var(--sans);
  border: 1px solid oklch(0.78 0.16 150 / 0.5);
}
.float-wa:hover { transform: translateY(-2px); box-shadow: 0 18px 46px -10px oklch(0.66 0.17 150 / 0.7); }
.float-wa svg { width: 22px; height: 22px; }

/* ---------- Drawer tracking buttons ---------- */
.drawer-track-btns { display: flex; flex-direction: column; gap: 10px; }
.drawer-track-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--line-strong);
  color: var(--ink); text-decoration: none;
  transition: background .2s, border-color .2s, transform .18s;
}
.drawer-track-btn:hover {
  background: var(--bg-3); border-color: var(--accent-line);
  transform: translateX(3px);
}
.drawer-track-num {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.12em; flex: none; width: 22px;
}
.drawer-track-label { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.drawer-track-title { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.drawer-track-sub { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 0.06em; }
.drawer-track-arrow { width: 16px; height: 16px; color: var(--faint); flex: none; transition: color .2s, transform .2s; }
.drawer-track-btn:hover .drawer-track-arrow { color: var(--accent); transform: translateX(3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Tablet largo (≤ 1080px) ── */
@media (max-width: 1080px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { max-width: 680px; width: 100%; margin: 0 auto; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 22px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(3) { padding-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .veh-grid { grid-template-columns: repeat(3, 1fr); }
  .veh-card:nth-child(4),
  .veh-card:nth-child(5) { border-top: 1px solid var(--line); }
}

/* ── Tablet (≤ 860px) ── */
@media (max-width: 860px) {
  /* Nav */
  .nav-burger-label { display: none; }
  .nav-burger { padding: 0; width: 42px; justify-content: center; }
  .nav-phone { display: none; }
  .nav-actions { gap: 10px; }
  .btn-primary.nav-wa { font-size: 13px; padding: 11px 16px; }

  /* Hero */
  .hero { padding-top: 112px; }
  .hero-copy .display { font-size: clamp(34px, 7vw, 52px); }
  .trust-row { flex-wrap: wrap; gap: 0; }
  .trust-item { flex: 0 0 50%; }
  .trust-item:nth-child(3) { flex: 0 0 100%; border-left: none; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; padding-left: 0; }

  /* Platform */
  .platform-body { grid-template-columns: 1fr; }
  .map { min-height: 260px; }
  .telemetry {
    border-left: none; border-top: 1px solid var(--line);
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; padding: 12px 16px;
  }
  .tele-plate { grid-column: 1 / -1; padding-bottom: 12px; margin-bottom: 4px; }
  .tele-speed { grid-column: 1 / -1; padding: 8px 0; }
  .tele-loc { grid-column: 1 / -1; }

  /* Vehicles */
  .veh-grid { grid-template-columns: 1fr 1fr; }
  .veh-card { border-bottom: 1px solid var(--line); padding-block: 26px; }
  .veh-card:nth-child(odd) { padding-left: 0; }
  .veh-card:nth-child(even) { border-right: none; }
  .veh-card:nth-child(4),
  .veh-card:nth-child(5) { border-top: none; }

  /* Features */
  .feature { grid-template-columns: 1fr; gap: 30px; }
  .feature.flip .feature-media { order: 0; }

  /* Testimonials */
  .testi-grid { grid-template-columns: 1fr; }

  /* About */
  .about-stats { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Hero variants */
  .hero-immersive { padding-block: 30px 60px; }
  .hero-product-stage { margin-top: 36px; }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }

  /* Nav */
  .nav { height: 82px; }
  .brand img { height: 74px; }
  .nav-actions .btn { font-size: 13px; padding: 10px 14px; }

  /* Hero */
  .hero { padding-top: 104px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .trust-row { flex-direction: column; gap: 0; }
  .trust-item { flex: none; width: 100%; padding-left: 0 !important; border-left: none !important; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
  .trust-item:first-child { border-top: none; padding-top: 0; margin-top: 0; }

  /* Hero immersive chips */
  .hero-chips { gap: 8px; }
  .chip { font-size: 12px; padding: 7px 12px; }

  /* Platform */
  .map { min-height: 220px; }
  .telemetry { grid-template-columns: 1fr; }
  .tele-speed .big { font-size: 32px; }
  .veh-label { font-size: 10px; padding: 4px 7px; }

  /* Browser frame */
  .browser-bar { padding: 8px 12px; }
  .browser-url { font-size: 11px; padding: 5px 10px; }

  /* Vehicles */
  .veh-grid { grid-template-columns: 1fr; }
  .veh-card { padding-left: 0 !important; border-right: none; }

  /* Steps */
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; padding-right: 0; }

  /* About */
  .about-stats { grid-template-columns: 1fr; }
  .about-statement { font-size: clamp(22px, 6vw, 30px); }

  /* Testimonials */
  .testi { padding: 22px 18px; }
  .feature-testi { padding: 24px 20px; }
  .feature-testi .q { font-size: clamp(17px, 4.5vw, 22px); }

  /* FAQ */
  .faq-q { font-size: clamp(16px, 4vw, 19px); padding: 20px 40px 20px 0; }

  /* CTA band */
  .cta-band { padding: clamp(28px, 7vw, 48px) clamp(20px, 5vw, 40px); }
  .cta-band .hero-cta { flex-direction: column; }
  .cta-band .hero-cta .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand img { height: 62px; }

  /* Drawer */
  .drawer { width: 100vw; }
  .drawer-track-btn { padding: 13px 14px; }
}

/* ── Mobile pequeno (≤ 400px) ── */
@media (max-width: 400px) {
  :root { --gutter: 14px; }
  .display { font-size: clamp(30px, 9vw, 42px); }
  .h2 { font-size: clamp(24px, 7.5vw, 34px); }
  .nav-actions .btn span { display: none; }
  .platform-head { padding: 10px 12px; }
  .pf-brand { font-size: 11px; }
}
