:root {
  --navy-950: #06122f;
  --navy-900: #0a1f5c;
  --navy-800: #0e2a7a;
  --blue-600: #1a56f0;
  --blue-500: #2f6bff;
  --cyan: #38bdf8;
  --success: #0f9f6e;
  --success-soft: #e8f8f1;
  --warning: #b86205;
  --error: #b4233a;
  --error-soft: #fdecec;
  --surface: #f5f7fb;
  --surface-2: #eef2fb;
  --white: #ffffff;
  --ink: #0c1424;
  --ink-2: #334155;
  --ink-3: #5b6b82;
  --line: rgba(12, 20, 36, 0.08);
  --line-strong: rgba(12, 20, 36, 0.14);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(6, 18, 47, 0.06), 0 8px 24px rgba(6, 18, 47, 0.05);
  --shadow-md: 0 8px 16px rgba(6, 18, 47, 0.08), 0 24px 48px rgba(6, 18, 47, 0.1);
  --shadow-lg: 0 16px 40px rgba(6, 18, 47, 0.18);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Archivo", "DM Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --max: 1240px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { color: var(--white); background: var(--blue-600); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 14px; border-radius: var(--radius-sm);
  color: var(--white); background: var(--navy-950); font-weight: 700;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--blue-600); outline-offset: 3px;
}

.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header .nav a:not(.btn) { color: rgba(255,255,255,.82); }
.site-header .nav a:not(.btn):hover,
.site-header .nav a:not(.btn).is-current { color: #fff; background: rgba(255,255,255,.08); }
.site-header .btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.menu-toggle {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
}
.menu-toggle span { background: #fff; }
.site-header.is-compact {
  --header-h: 62px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(6,18,47,.08);
}
.site-header.is-compact .nav a:not(.btn) { color: var(--ink-2); }
.site-header.is-compact .nav a:not(.btn):hover,
.site-header.is-compact .nav a:not(.btn).is-current { color: var(--navy-900); background: rgba(26,86,240,.08); }
.site-header.is-compact .menu-toggle {
  border-color: var(--line-strong);
  background: #fff;
}
.site-header.is-compact .menu-toggle span { background: var(--navy-900); }
.header-inner {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  position: relative; display: block; width: 148px; height: 64px; overflow: hidden; flex-shrink: 0;
}
.brand img {
  position: absolute; top: 50%; left: 50%;
  width: 148px; height: 148px; max-width: none;
  transform: translate(-50%, -50%);
}
.nav-simple { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-simple a { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav a:not(.btn) {
  padding: 8px 12px; border-radius: 999px;
  color: var(--ink-2); font-size: 14px; font-weight: 600;
  transition: color .2s, background .2s;
}
.nav a:not(.btn):hover,
.nav a:not(.btn).is-current { color: var(--navy-900); background: rgba(26,86,240,.08); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid transparent; font-size: 14px; font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn-primary {
  color: #fff; background: var(--blue-600);
  box-shadow: 0 10px 24px rgba(26,86,240,.28);
}
.btn-primary:hover { background: #1549d4; }
.btn-ghost {
  color: var(--navy-900); background: transparent;
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--white); border-color: rgba(26,86,240,.35); }
.btn-on-dark {
  color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06);
}
.btn-on-dark:hover { background: #fff; color: var(--navy-950); border-color: #fff; }
.btn-whatsapp { color: #fff; background: #128c7e; }
.btn-whatsapp:hover { background: #0e7368; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section { padding: 96px 0; }
.section-soft { background: var(--surface); }
.section-dark { background: var(--navy-950); color: #fff; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue-600); font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
.section-dark .kicker { color: #9bb6ff; }
.section-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 800;
  color: var(--navy-950); margin-bottom: 14px; text-wrap: balance;
}
.section-dark .section-title { color: #fff; }
.section-lead { color: var(--ink-2); font-size: 1.05rem; line-height: 1.65; max-width: 42rem; }
.section-dark .section-lead { color: rgba(255,255,255,.72); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .section-lead { margin-inline: auto; }
.section-head.left { margin-left: 0; text-align: left; }

/* Hero — palco do produto */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 20px) 0 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 420px at 82% 18%, rgba(26,86,240,.38), transparent 58%),
    radial-gradient(700px 380px at 8% 92%, rgba(15,159,110,.14), transparent 50%),
    linear-gradient(180deg, #040916 0%, #06122f 46%, #08183c 100%);
}
.hero-bg {
  position: absolute;
  inset: 0 0 0 26%;
  pointer-events: none;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 12% 38%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #040916 0%, rgba(4, 9, 22, .72) 18%, rgba(4, 9, 22, .28) 52%, rgba(4, 9, 22, .5) 100%),
    linear-gradient(180deg, rgba(4, 9, 22, .2) 0%, transparent 36%, rgba(4, 9, 22, .62) 100%);
}
.hero-atmosphere {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 100% 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.4), transparent 70%);
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: 40px;
  align-items: end;
  min-height: 720px;
  padding-bottom: 36px;
}
.hero-copy { min-width: 0; padding-bottom: 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 34px; padding: 0 14px 0 10px; margin-bottom: 22px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.82);
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 0 4px rgba(15,159,110,.22);
}
.hero h1 {
  font-family: var(--display);
  margin-bottom: 18px; color: #fff;
  font-size: clamp(2.55rem, 5.2vw, 4.15rem);
  line-height: .98; letter-spacing: -.035em; font-weight: 800; text-wrap: balance;
}
.hero-lead {
  max-width: 36rem; margin-bottom: 14px;
  color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.65;
}
.hero-tag {
  margin-bottom: 28px; color: #9bb6ff;
  font-size: 15px; font-weight: 700;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.28); background: transparent;
}
.hero .btn-ghost:hover { color: var(--navy-950); background: #fff; border-color: #fff; }
.hero-points {
  display: grid; gap: 8px; color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600;
}
.hero-points span { display: flex; align-items: center; gap: 8px; }
.hero-points svg { color: #9bb6ff; flex-shrink: 0; }

.hero-product {
  position: relative;
  min-width: 0;
  padding: 0 0 18px;
}
.match-chain {
  position: absolute;
  z-index: 3;
  left: -18px;
  top: 72px;
  width: 168px;
  list-style: none;
  padding: 14px 14px 14px 16px;
  border-radius: 14px;
  background: rgba(4,9,22,.78);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}
.match-chain li { position: relative; padding: 0 0 14px 14px; }
.match-chain li:last-child { padding-bottom: 0; }
.match-chain li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #5b8cff;
}
.match-chain li.is-found::before { background: var(--success); box-shadow: 0 0 0 4px rgba(15,159,110,.2); }
.match-chain li:not(:last-child)::after {
  content: "";
  position: absolute; left: 3px; top: 16px; bottom: 0;
  width: 1px; background: rgba(255,255,255,.16);
}
.match-chain small {
  display: block; margin-bottom: 2px;
  color: rgba(255,255,255,.5); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.match-chain b { display: block; font-size: 13px; font-weight: 800; }
.match-chain .is-found b { color: #6ee7b7; }

.console {
  position: relative;
  z-index: 2;
  margin-left: 86px;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f7fc;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,.38), 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transform-origin: 70% 60%;
}
.console-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px;
  background: linear-gradient(90deg, #071135, #0b2468);
  color: #fff;
}
.console-bar strong { font-size: 13px; }
.console-live {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(15,159,110,.18); color: #86efac;
  font-size: 12px; font-weight: 800;
}
.console-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399;
}
.console-toolbar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fff;
}
.console-toolbar span {
  padding: 7px 10px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 12px; font-weight: 800; color: var(--navy-900);
}
.console-toolbar span small {
  display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 800;
}
.console-toolbar .is-code { background: var(--navy-950); color: #fff; border-color: transparent; }
.console-main {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(210px, .85fr);
  min-height: 360px;
}
.console-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.console-table th {
  text-align: left; padding: 9px 12px;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  background: #eef2f8; border-bottom: 1px solid var(--line);
}
.console-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.console-table tr.is-on td { background: #eaf1ff; }
.console-table .code { color: var(--blue-600); font-weight: 800; }
.found-pill {
  display: inline-flex; padding: 3px 8px; border-radius: 999px;
  background: var(--success-soft); color: #0b7a54; font-size: 12px; font-weight: 800;
}
.console-sheet {
  padding: 14px; background: #fff; border-left: 1px solid var(--line);
}
.console-sheet img {
  width: 100%; height: 150px; object-fit: contain;
  border-radius: 10px; background: var(--navy-950); margin-bottom: 10px;
}
.console-sheet .code { color: var(--blue-600); font-size: 12px; font-weight: 800; }
.console-sheet h3 { font-size: 16px; margin: 4px 0 6px; font-family: var(--display); }
.console-sheet p { color: var(--ink-3); font-size: 13px; }

.app-window {
  border: 1px solid rgba(12,20,36,.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app-chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--navy-950); color: #fff;
}
.app-chrome strong { font-size: 13px; letter-spacing: -.01em; }
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); font-style: normal; }
.app-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 430px; }
.app-filters { padding: 16px; background: var(--surface); border-right: 1px solid var(--line); }
.filter {
  margin-bottom: 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.filter small {
  display: block; margin-bottom: 3px;
  color: var(--ink-3); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.filter b { display: block; color: var(--ink); font-size: 14px; }
.app-result { padding: 16px 18px; }
.match-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; padding: 10px 12px;
  border-radius: 10px; background: var(--success-soft); color: #0b7a54;
  font-size: 13px; font-weight: 800;
}
.part-row {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px;
  padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.part-row img {
  width: 92px; height: 92px; object-fit: contain;
  border-radius: 10px; background: var(--navy-950);
}
.part-row .code { color: var(--blue-600); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.part-row h3 { margin: 4px 0 2px; font-size: 16px; letter-spacing: -.015em; }
.part-row .sub { color: var(--ink-3); font-size: 13px; font-weight: 600; }
.meta-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.meta-pills span {
  padding: 5px 8px; border-radius: 999px;
  background: var(--surface); color: var(--navy-900);
  border: 1px solid var(--line); font-size: 12px; font-weight: 700;
}
.illus-note { margin-top: 10px; color: var(--ink-3); font-size: 12px; font-weight: 600; }

.coverage {
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #040916;
}
.coverage p { display: none; }
.coverage-track {
  display: flex; gap: 36px;
  width: max-content;
  padding: 16px 0;
  animation: coverage-move 34s linear infinite;
}
.coverage-track span {
  color: rgba(255,255,255,.58);
  font-size: 13px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; white-space: nowrap;
  padding: 0; border: 0; background: none; border-radius: 0;
}
.coverage-track span::before {
  content: "";
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-500); margin-right: 12px; vertical-align: middle;
}
@keyframes coverage-move {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Problem */
.problem-layout {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 72px); align-items: center;
}
.problem-list { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.problem-item {
  display: grid; grid-template-columns: 18px 1fr; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.problem-item h3 { font-size: 1rem; margin-bottom: 2px; }
.problem-item p { color: var(--ink-3); font-size: 14px; }
.split-flow {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch;
  padding: 18px; border-radius: 16px; background: var(--navy-950); color: #fff;
}
.flow-col {
  padding: 18px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.flow-col h3 { font-size: 14px; margin-bottom: 14px; }
.flow-col ul { list-style: none; display: grid; gap: 8px; }
.flow-col li {
  padding: 8px 10px; border-radius: 8px;
  background: rgba(255,255,255,.06); font-size: 13px; font-weight: 700;
}
.flow-col.is-good { background: rgba(15,159,110,.1); border-color: rgba(15,159,110,.28); }
.flow-col.is-good li { background: rgba(15,159,110,.16); }
.flow-arrow {
  align-self: center; color: #9bb6ff; font-size: 22px; font-weight: 800;
}
.flow-arrow::before { content: "→"; }

/* Demo — palco fotográfico + HUD do produto */
.demo-board {
  display: grid; grid-template-columns: 248px minmax(0, 1fr);
  border-radius: 16px; overflow: hidden; background: var(--navy-950);
  box-shadow: var(--shadow-lg);
}
.demo-rail { padding: 28px 22px; color: #fff; }
.demo-rail h3 {
  font-family: var(--display);
  font-size: 1.45rem; letter-spacing: -.02em; margin: 10px 0 12px;
}
.demo-rail p { color: rgba(255,255,255,.64); font-size: 14px; }
.demo-steps { list-style: none; margin-top: 28px; }
.demo-steps button {
  width: 100%; text-align: left; background: none; border: 0;
  display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center;
  padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55); cursor: pointer;
  transition: color .25s var(--ease);
}
.demo-steps button.is-active { color: #fff; }
.demo-steps button:hover { color: #fff; }
.demo-steps span { color: #9bb6ff; font-size: 12px; font-weight: 800; }
.demo-panel-wrap { position: relative; min-height: 560px; }
.demo-scene {
  position: absolute; inset: 0;
}
.demo-scene[hidden] { display: none !important; }
.demo-photo {
  position: absolute; inset: 0; margin: 0; overflow: hidden; background: #040916;
}
.demo-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: shot-settle 7.5s var(--ease) both;
}
.demo-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,9,22,.18), transparent 36%),
    linear-gradient(180deg, rgba(4,9,22,.08) 0%, transparent 40%, rgba(4,9,22,.62) 100%);
}
.demo-photo--id img { object-position: 82% 78%; }
.demo-photo--find img { object-position: 38% 42%; }
.demo-photo--check img { object-position: 48% 42%; }
.demo-hud {
  position: absolute; right: 18px; bottom: 18px;
  width: min(420px, 54%);
  max-height: calc(100% - 36px);
  overflow: auto;
  box-shadow: var(--shadow-lg);
}
.demo-hud-body {
  min-height: 0;
  grid-template-columns: 1fr;
}
.demo-hud .app-filters {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  border-right: 0; border-bottom: 1px solid var(--line);
  padding: 12px;
}
.demo-hud .filter { margin: 0; }
.demo-hud .app-result p { color: var(--ink-2); font-size: 14px; }

.search-grid {
  display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 22px; align-items: stretch;
}
.search-switch { display: grid; gap: 8px; }
.search-switch button {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center;
  text-align: left; padding: 8px 10px 8px 8px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  color: var(--ink-2); font-weight: 700;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.search-switch button img {
  width: 64px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--navy-950);
}
.search-switch button[data-search-method="veiculo"] img { object-position: 12% 88%; }
.search-switch button[data-search-method="oem"] img { object-position: 92% 8%; }
.search-switch button[data-search-method="fabricante"] img { object-position: 50% 22%; }
.search-switch button[data-search-method="equivalente"] img { object-fit: contain; padding: 6px; }
.search-switch button.is-active {
  border-color: transparent; background: var(--navy-950); color: #fff;
  box-shadow: var(--shadow-sm);
}
.search-switch small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; opacity: .75; }
.search-stage { position: relative; min-height: 540px; }
.search-scene {
  position: absolute; inset: 0;
  border-radius: 16px; overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
}
.search-scene[hidden] { display: none !important; }
.search-photo { position: absolute; inset: 0; margin: 0; }
.search-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: shot-settle 8s var(--ease) both;
}
.search-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,9,22,.18) 0%, rgba(4,9,22,.08) 42%, rgba(4,9,22,.72) 100%),
    linear-gradient(90deg, rgba(4,9,22,.2), transparent 50%);
}
.search-photo--car img { object-position: 10% 92%; }
.search-photo--part img { object-position: 50% 48%; }
.search-photo--box img { object-position: 55% 18%; }
.search-photo--oem img { object-position: 50% 40%; }
.search-photo--eq {
  background: #040916;
}
.search-photo--eq img {
  object-fit: contain; object-position: center; padding: 8% 18% 22%;
  background: radial-gradient(circle at 50% 40%, #12307a, #040916 70%);
}
.search-hud {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  max-width: 460px; margin: 0;
}
.search-hud-body { min-height: 0; grid-template-columns: 150px minmax(0, 1fr); }
.search-hud .app-result p { color: var(--ink-2); font-size: 14.5px; }

@keyframes shot-settle {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

.ficha {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px;
  padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  box-shadow: var(--shadow-sm);
}
.ficha-photo {
  border-radius: 12px; overflow: hidden; background: var(--navy-950);
  min-height: 280px; display: grid; place-items: center;
}
.ficha-photo img { width: 100%; height: 100%; object-fit: contain; }
.ficha-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0;
}
.ficha-grid div { padding: 12px; border-radius: 10px; background: var(--surface); }
.ficha-grid strong { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; letter-spacing: .04em; text-transform: uppercase; }
.apps-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.apps-table th, .apps-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.apps-table th { color: var(--ink-3); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

.xref {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.xref-node {
  padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
}
.xref-node.is-origin { background: var(--navy-950); color: #fff; border-color: transparent; }
.xref-node small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; opacity: .7; }
.xref-node strong { display: block; font-size: 1.05rem; }
.xref-note { margin-top: 16px; color: var(--ink-3); font-size: 14px; }

.split-copy {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.stack { display: grid; gap: 18px; }
.stack article {
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.stack h3 { font-size: 1.05rem; margin-bottom: 6px; }
.stack p { color: var(--ink-2); font-size: 15px; }

.audience-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.audience {
  display: grid; grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  min-height: 168px;
}
.audience img { width: 100%; height: 100%; object-fit: cover; }
.audience div { padding: 22px 24px; }
.audience h3 { margin-bottom: 6px; font-size: 1.15rem; }
.audience p { color: var(--ink-2); font-size: 14.5px; max-width: 34ch; }

.devices {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.device-cluster { position: relative; min-height: 420px; }
.laptop {
  width: 100%; border-radius: 14px; overflow: hidden;
  border: 10px solid #1a2030; box-shadow: var(--shadow-lg); background: #fff;
}
.phone {
  position: absolute; right: 8%; bottom: -24px; width: 180px;
  border-radius: 22px; padding: 8px; background: #111827;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.phone-screen { border-radius: 16px; overflow: hidden; background: #f4f7ff; min-height: 300px; padding: 14px 12px; }
.phone-item { margin-top: 8px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.phone-item strong { display: block; font-size: 12px; }
.phone-item span { font-size: 12px; color: var(--ink-3); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.chip-row span {
  padding: 7px 12px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy-900);
}

.plate-flow, .integ-flow, .eco-flow {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
}
.flow-card {
  padding: 16px; border-radius: 12px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); text-align: center;
}
.flow-card strong { display: block; margin-bottom: 6px; }
.flow-card span { color: rgba(255,255,255,.62); font-size: 13px; }
.dev-tag {
  display: inline-flex; margin-bottom: 12px; padding: 4px 8px; border-radius: 999px;
  border: 1px solid rgba(184,98,5,.4); color: #f0d57f; font-size: 12px; font-weight: 800;
}

.principles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line-strong);
}
.principle { padding: 28px 24px; }
.principle + .principle { border-left: 1px solid var(--line-strong); }
.principle h3 { margin-bottom: 8px; }
.principle p { color: var(--ink-2); font-size: 15px; }

.roadmap-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.roadmap-col {
  padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
}
.roadmap-col h3 { margin-bottom: 14px; font-size: 1.05rem; }
.roadmap-col li { list-style: none; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.roadmap-col.is-now { background: var(--navy-950); color: #fff; border-color: transparent; }
.roadmap-col.is-now li { color: rgba(255,255,255,.78); border-bottom-color: rgba(255,255,255,.1); }
.roadmap-col.is-now h3 { color: #fff; }

.history-layout {
  display: grid; grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.history-visual {
  position: relative;
  margin: 0;
  min-height: 680px;
  border-radius: 16px;
  overflow: hidden;
  background: #040916;
  box-shadow: var(--shadow-lg);
}
.history-main {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 28%;
}
.history-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(4,9,22,.78) 100%);
}
.history-inset {
  position: absolute; right: 18px; top: 18px; z-index: 1;
  width: 42%; max-width: 220px; height: 148px;
  object-fit: cover; object-position: 30% 35%;
  border-radius: 12px;
  border: 3px solid rgba(255,255,255,.88);
  box-shadow: 0 16px 32px rgba(0,0,0,.35);
}
.history-visual figcaption {
  position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1;
  color: #fff; font-size: 15px; font-weight: 600; line-height: 1.45;
  max-width: 32ch;
}
.history-visual figcaption span {
  display: block; margin-bottom: 6px;
  color: #9bb6ff; font-size: 12px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
}
.history-copy { padding-top: 8px; }
.history-intro { margin-bottom: 36px; }
.timeline { list-style: none; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 6px; width: 1px;
  background: linear-gradient(#9bb6ff, rgba(255,255,255,.16), #f0d57f);
}
.history-event { position: relative; padding: 0 0 32px 34px; }
.history-event::before {
  content: ""; position: absolute; top: 6px; left: 1px; width: 11px; height: 11px;
  border-radius: 50%; background: #9bb6ff; border: 3px solid var(--navy-950);
}
.history-event.is-milestone::before { background: #f0d57f; }
.history-event time { display: block; margin-bottom: 6px; color: #9bb6ff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.history-event.is-milestone time { color: #f0d57f; }
.history-event h3 { margin-bottom: 6px; }
.history-event p { color: rgba(255,255,255,.64); font-size: 14.5px; max-width: 50ch; }
.history-status {
  display: inline-flex; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  border: 1px solid rgba(240,213,127,.3); color: #f0d57f; font-size: 11px; font-weight: 800;
}

.faq-list { display: grid; gap: 10px; max-width: 820px; margin-inline: auto; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 4px 18px;
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-weight: 800; color: var(--navy-950);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { padding-bottom: 16px; color: var(--ink-2); }

.cta-final {
  padding: clamp(40px, 6vw, 64px);
  border-radius: 24px; color: #fff;
  background: linear-gradient(160deg, #06122f 0%, #0a1f5c 58%, #12307a 100%);
  box-shadow: var(--shadow-lg);
}
.cta-final h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.025em; max-width: 16ch; margin-bottom: 12px; }
.cta-final p { color: rgba(255,255,255,.72); max-width: 42ch; margin-bottom: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-grid {
  display: grid; grid-template-columns: .86fr 1.14fr; gap: 28px; align-items: start;
}
.contact-card {
  padding: 28px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; color: var(--ink-2); }
.opt { font-weight: 600; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 12px 14px; background: var(--surface); color: var(--ink); outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(26,86,240,.45); background: #fff; box-shadow: 0 0 0 4px rgba(26,86,240,.08);
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.submit-btn { width: 100%; margin-top: 16px; }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.form-status { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.form-status.is-loading, .form-status.is-ok, .form-status.is-error { display: block; }
.form-status.is-loading { background: var(--surface-2); color: var(--navy-900); }
.form-status.is-ok { background: var(--success-soft); color: #0b7a54; }
.form-status.is-error { background: var(--error-soft); color: var(--error); }
.aside-list { display: grid; gap: 12px; margin-top: 20px; list-style: none; }
.aside-list li { display: flex; gap: 10px; color: var(--ink-2); font-weight: 600; font-size: 14px; }

.site-footer {
  background: var(--navy-950); color: rgba(255,255,255,.7); padding: 64px 0 28px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 22px;
}
.footer-logo { position: relative; width: 140px; height: 62px; overflow: hidden; margin-bottom: 12px; }
.footer-logo img {
  position: absolute; top: 50%; left: 50%; width: 140px; height: 140px; max-width: none;
  transform: translate(-50%, -50%); filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 14px; max-width: 30ch; }
.footer-col h4 {
  color: #fff; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,.62); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.5);
}

.legal-main { padding: calc(var(--header-h) + 36px) 0 96px; }
.legal-main h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.legal-main h2 { margin: 28px 0 10px; font-size: 1.2rem; }
.legal-main p, .legal-main li { color: var(--ink-2); margin-bottom: 10px; max-width: 68ch; }
.legal-main ul { padding-left: 18px; }

@media (max-width: 980px) {
  .hero-stage, .app-body, .problem-layout, .demo-board, .search-grid,
  .ficha, .split-copy, .devices, .contact-grid, .history-layout, .principles,
  .roadmap-grid, .footer-top, .xref, .audience-grid, .plate-flow, .integ-flow,
  .eco-flow, .console-main, .search-hud-body {
    grid-template-columns: 1fr;
  }
  .hero-stage { min-height: 0; align-items: start; gap: 28px; }
  .hero-copy { padding-bottom: 0; }
  .hero-bg { inset: 0; }
  .hero-bg img { object-position: 20% 30%; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(4, 9, 22, .82) 0%, rgba(4, 9, 22, .55) 42%, rgba(4, 9, 22, .78) 100%),
      linear-gradient(90deg, rgba(4, 9, 22, .55), rgba(4, 9, 22, .2));
  }
  .match-chain { position: static; width: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
  .match-chain li { padding: 0 0 0 14px; }
  .match-chain li:not(:last-child)::after { display: none; }
  .console { margin-left: 0; transform: none; }
  .console-sheet { border-left: 0; border-top: 1px solid var(--line); }
  .app-filters { border-right: 0; border-bottom: 1px solid var(--line); }
  .split-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: none; justify-self: center; }
  .flow-arrow::before { content: "↓"; }
  .audience { grid-template-columns: 1fr; }
  .audience img { height: 180px; object-fit: cover; }
  .phone { position: relative; right: auto; bottom: auto; margin-top: 16px; }
  .history-intro { position: static; }
  .demo-rail { padding: 20px 18px 10px; }
  .demo-rail h3 { font-size: 1.25rem; margin: 8px 0 8px; }
  .demo-steps {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-top: 10px;
  }
  .demo-steps button {
    border-top: 0; border-bottom: 2px solid transparent;
    padding: 10px 4px; text-align: center;
    grid-template-columns: 1fr; justify-items: center; gap: 4px;
  }
  .demo-steps button.is-active { border-bottom-color: #9bb6ff; }
  .demo-panel-wrap { min-height: 380px; }
  .demo-scene { position: relative; height: 380px; }
  .demo-photo { position: absolute; inset: 0; height: 100%; }
  .demo-rail p:not(.kicker) { display: none; }
  .demo-hud {
    position: absolute; left: 12px; right: 12px; bottom: 12px;
    width: auto; max-height: 58%; border-radius: 12px;
  }
  .search-switch {
    display: flex; overflow-x: auto; gap: 8px;
    padding-bottom: 6px; -webkit-overflow-scrolling: touch;
  }
  .search-switch button { flex: 0 0 210px; }
  .search-stage { min-height: 380px; }
  .search-scene { position: relative; min-height: 380px; }
  .search-hud { left: 12px; right: 12px; bottom: 12px; }
  .history-visual { min-height: 480px; }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--line-strong); }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 16px; right: 16px;
    display: none; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px; background: rgba(255,255,255,.97);
    border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .site-header .nav a:not(.btn),
  .site-header.is-compact .nav a:not(.btn) { color: var(--ink-2); }
  .site-header .nav a:not(.btn):hover { color: var(--navy-900); background: rgba(26,86,240,.08); }
  body.menu-open { overflow: hidden; }
  .nav .btn { width: 100%; margin-top: 6px; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 24px, var(--max)); }
  .section { padding: 72px 0; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .form-grid, .ficha-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.2rem, 12vw, 2.9rem); }
  .brand { width: 128px; height: 56px; }
  .brand img { width: 128px; height: 128px; }
  .part-row { grid-template-columns: 72px 1fr; }
  .history-inset { width: 46%; height: 112px; }
  .history-visual { min-height: 420px; }
  .demo-scene { height: 340px; }
  .search-scene { min-height: 320px; }
  .xref { grid-template-columns: 1fr 1fr; }
  .match-chain { grid-template-columns: 1fr 1fr; }
  .console-table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .coverage-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .console { transform: none; }
  .demo-photo img, .search-photo img { animation: none; transform: none; }
}
