/* =========================================================
   Locomotiva Tech — estilos
   Paleta: marinho profundo + azul Locomotiva + areia
   ========================================================= */
:root {
  --navy-950: #040912;
  --navy-900: #071224;
  --navy-800: #0c1c35;
  --navy-700: #15284a;
  --line-dark: rgba(255, 255, 255, .09);

  --blue: #155eef;
  --blue-600: #0f4fd1;
  --blue-300: #6f9dff;
  --blue-glow: rgba(21, 94, 239, .35);

  --sand: #f4f2ee;
  --sand-200: #e9e5dd;
  --white: #ffffff;
  --ink: #0a0f1a;
  --muted: #5d6576;
  --muted-light: #9aa4b8;
  --line: #e4e0d8;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-lg: 30px;
  --container: 1240px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; border-radius: 6px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; padding: 10px 16px; background: var(--white); border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Tipografia base ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.eyebrow-light { color: var(--blue-300); }
.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--ink);
  max-width: 820px;
}
.title em, h1 em, .mission-title em, .final h2 em { color: var(--blue); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.14rem); max-width: 520px; margin-top: 22px; }
.section { padding: 120px 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 56px; }
.section-head .lead { margin-top: 0; padding-bottom: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: .92rem; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 11px 18px; font-size: .85rem; }
.btn-lg { min-height: 58px; padding: 17px 30px; font-size: .98rem; }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 10px 30px -8px var(--blue-glow); }
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 16px 38px -8px var(--blue-glow); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.07); }
.btn-dark { margin-top: 34px; color: #fff; background: var(--ink); }
.btn-dark:hover { background: var(--navy-700); }
.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { background: var(--sand); }
.arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow, .card-link:hover .arrow { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { position: relative; z-index: 60; background: var(--blue); color: #fff; font-size: .84rem; }
.topbar-inner { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.topbar p { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.topbar-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); animation: pulse 2s infinite; }
.topbar-btn { padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s; }
.topbar-btn:hover { transform: translateY(-1px); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 9, 18, .55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
.header.scrolled { background: rgba(4, 9, 18, .9); border-color: var(--line-dark); }
.header-inner { height: 78px; display: flex; align-items: center; gap: 36px; }
.brand img { width: 158px; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 600;
  transition: color .25s, background .25s;
}
.nav-link:hover, .nav-trigger[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.06); }
.nav-trigger svg { transition: transform .3s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-mobile-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-item { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: 620px; padding: 14px;
  background: var(--navy-900);
  border: 1px solid var(--line-dark); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .15s, transform .15s var(--ease), visibility .15s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-menu.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-link { display: block; padding: 14px 16px; border-radius: 14px; transition: background .2s; }
.mega-link:hover { background: rgba(255,255,255,.05); }
.mega-link strong { display: block; color: #fff; font-size: .92rem; }
.mega-link span { display: block; color: var(--muted-light); font-size: .8rem; }
.mega-cta {
  text-align: left; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #0b3fae);
  transition: filter .2s;
}
.mega-cta:hover { filter: brightness(1.1); }
.mega-cta small { display: block; color: rgba(255,255,255,.75); font-size: .76rem; }
.mega-cta strong { display: block; color: #fff; font-size: .92rem; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: #fff; transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 170px;
  color: #fff;
  background: radial-gradient(120% 90% at 85% 0%, #0f2550 0%, var(--navy-950) 55%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  pointer-events: none;
}
.hero-glow { position: absolute; width: 640px; height: 640px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(21,94,239,.35), transparent 65%); filter: blur(20px); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.82); font-size: .82rem; font-weight: 600;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #2bd47d; box-shadow: 0 0 0 4px rgba(43,212,125,.15); }
.hero h1 {
  margin-top: 28px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  line-height: .98; letter-spacing: -.025em;
}
.hero h1 em { color: var(--blue-300); }
.hero-lead { margin-top: 28px; max-width: 560px; color: rgba(255,255,255,.7); font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.hero-lead strong { color: #fff; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: rgba(255,255,255,.55); font-size: .84rem; font-weight: 600; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: "✓"; color: var(--blue-300); font-weight: 800; }

/* Rota (card do hero) */
.route-card {
  position: relative;
  padding: 26px 26px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(160deg, rgba(21,40,74,.75), rgba(7,18,36,.85));
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.route-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted-light); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.live { display: flex; align-items: center; gap: 7px; color: #2bd47d; letter-spacing: .06em; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulseGreen 2s infinite; }
@keyframes pulseGreen { 0% { box-shadow: 0 0 0 0 rgba(43,212,125,.5); } 100% { box-shadow: 0 0 0 8px rgba(43,212,125,0); } }
.route { position: relative; padding-left: 4px; }
.route::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 26px; width: 2px; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.18) 0 6px, transparent 6px 12px); }
.station { position: relative; display: flex; align-items: center; gap: 18px; padding: 13px 0; }
.station + .station { border-top: 1px solid rgba(255,255,255,.06); }
.station-dot {
  position: relative; z-index: 1; flex: 0 0 auto;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25); background: var(--navy-900);
  animation: stationOn 6s infinite;
  animation-delay: calc(var(--i) * 1.1s);
}
.station strong { display: block; font-size: .96rem; font-weight: 700; color: #fff; }
.station small { display: block; color: var(--muted-light); font-size: .78rem; }
@keyframes stationOn {
  0%, 22%, 100% { border-color: rgba(255,255,255,.25); background: var(--navy-900); box-shadow: none; }
  6%, 14% { border-color: var(--blue-300); background: var(--blue); box-shadow: 0 0 0 6px rgba(21,94,239,.25), 0 0 24px var(--blue); }
}
.route-train {
  position: absolute; left: 9px; top: 24px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 14px 4px var(--blue);
  animation: train 6s linear infinite;
}
@keyframes train { 0% { top: 24px; opacity: 0; } 5% { opacity: 1; } 80% { top: calc(100% - 34px); opacity: 1; } 90%, 100% { top: calc(100% - 34px); opacity: 0; } }

/* Trilhos */
.rails { position: absolute; left: 0; right: 0; bottom: 48px; height: 26px; pointer-events: none; }
.rails::before, .rails::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(111,157,255,.55) 20%, rgba(111,157,255,.55) 80%, transparent); }
.rails::before { top: 4px; }
.rails::after { bottom: 4px; }
.rail-ties {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 3px, transparent 3px 34px);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  animation: ties 1.6s linear infinite;
}
@keyframes ties { to { background-position: -34px 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; background: var(--navy-900); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span {
  display: flex; align-items: center; gap: 44px; padding-right: 44px;
  font-family: var(--serif); font-size: 1.7rem; color: rgba(255,255,255,.55); white-space: nowrap;
}
.marquee span::after { content: "✦"; font-size: .8rem; color: var(--blue-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Problema ---------- */
.problem { background: var(--sand); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.problem-head { position: sticky; top: 130px; }
.problem-list { border-top: 1px solid var(--line); }
.problem-list li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.problem-list span { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--blue); }
.problem-list h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.problem-list p { margin-top: 6px; color: var(--muted); }

/* ---------- Soluções ---------- */
.solutions { background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards > *, .card-site > * { min-width: 0; }
.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.card:hover { border-color: #cfd8ec; box-shadow: 0 30px 70px -30px rgba(10,15,26,.28); }
.card-visual {
  position: relative; height: 280px; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, #17336a, var(--navy-950));
  display: grid; place-items: center; padding: 20px;
}
.card-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.card-visual > * { position: relative; z-index: 1; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 26px 28px 28px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { padding: 4px 10px; border-radius: 999px; background: #eef3ff; color: var(--blue); font-size: .72rem; font-weight: 800; }
.badge { padding: 4px 10px; border-radius: 999px; background: var(--sand); color: var(--ink); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.card h3 { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.08; letter-spacing: -.01em; }
.card h3 em { color: var(--blue); }
.card-body > p:not(.card-label) { margin-top: 12px; color: var(--muted); font-size: .95rem; }
.card-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; font-size: .9rem; align-self: flex-start; }

/* Card de sites (destaque, largura total) */
.card-site { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.site-copy { padding: 44px 44px 44px; display: flex; flex-direction: column; }
.site-copy h3 { font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.02; }
.site-copy > p:not(.card-label) { margin-top: 16px; color: var(--muted); font-size: 1.02rem; }
.site-list { margin: 24px 0 32px; display: grid; gap: 10px; }
.site-list li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; font-size: .95rem; }
.site-list li::before { content: "✓"; flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #eef3ff; color: var(--blue); font-size: .7rem; font-weight: 900; }
.site-copy .btn { margin-top: auto; align-self: flex-start; }

.builder { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px; background: radial-gradient(120% 100% at 90% 0%, #17336a, var(--navy-950)); color: #fff; }
.builder::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.builder > * { position: relative; }
.builder-controls { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field > span { color: var(--muted-light); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.field input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);
  color: #fff; font: inherit; font-size: .92rem; outline: none; transition: border-color .2s, background .2s;
}
.field input::placeholder { color: rgba(255,255,255,.4); }
.field input:focus { border-color: var(--blue-300); background: rgba(255,255,255,.09); }
.field-row { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.seg button { padding: 7px 13px; border-radius: 9px; color: rgba(255,255,255,.7); font-size: .82rem; font-weight: 700; transition: background .2s, color .2s; }
.seg button:hover { color: #fff; }
.seg button.on { background: #fff; color: var(--ink); }
.swatches { display: flex; gap: 8px; padding: 4px 0; }
.swatches button { width: 32px; height: 32px; padding: 3px; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.swatches button:hover { transform: scale(1.08); }
.swatches button.on { border-color: var(--blue-300); }
.swatches i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

.stage { flex: 1; min-height: 330px; display: grid; place-items: center; }
.preview {
  --bg: #fff; --fg: #0a0f1a; --mut: #6b7280; --acc: #155eef; --soft: #eef3ff; --bar: #f3f5f9;
  width: 100%; border-radius: 14px; overflow: hidden; background: var(--bg); color: var(--fg);
  box-shadow: 0 30px 70px -10px rgba(0,0,0,.55);
  transition: width .5s var(--ease), background .4s, color .4s, border-radius .4s;
}
.preview.t-escuro { --bg: #0b0f18; --fg: #fff; --mut: #9aa4b8; --acc: #6f9dff; --soft: #17203a; --bar: #141a26; }
.preview.t-azul { --bg: #fff; --fg: #0a0f1a; --mut: #5d6576; --acc: #155eef; --soft: #155eef; --bar: #eef3ff; }
.preview.t-verde { --bg: #f4faf8; --fg: #0b2620; --mut: #4b6660; --acc: #0f766e; --soft: #ccebe5; --bar: #e5f3ef; }
.preview.is-mobile { width: 230px; border-radius: 26px; }
.preview.flash { animation: flash .45s var(--ease); }
@keyframes flash { 40% { transform: scale(.98); opacity: .7; } }
.pv-bar { display: flex; align-items: center; gap: 5px; padding: 10px 14px; background: var(--bar); transition: background .4s; }
.pv-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(127,127,127,.35); }
.pv-bar span { flex: 1; margin-left: 10px; padding: 4px 10px; border-radius: 6px; background: var(--bg); color: var(--mut); font-size: .66rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .4s; }
.pv-page { padding: 18px 22px 22px; }
.pv-nav { display: flex; align-items: center; gap: 12px; }
.pv-nav strong { margin-right: auto; font-size: .9rem; font-weight: 800; letter-spacing: -.02em; color: var(--acc); }
.pv-nav span { width: 36px; height: 6px; border-radius: 3px; background: currentColor; opacity: .18; }
.pv-hero { margin-top: 22px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: center; }
.pv-text small { color: var(--acc); font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pv-text h4 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.05; }
.pv-text p { margin-top: 8px; color: var(--mut); font-size: .74rem; line-height: 1.5; }
.pv-btn { display: inline-block; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: var(--acc); color: #fff; font-size: .7rem; font-weight: 800; }
.t-azul .pv-img { background: linear-gradient(145deg, #155eef, #0a2f86); }
.pv-img { aspect-ratio: 1 / 1; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg, var(--soft), color-mix(in srgb, var(--acc) 45%, var(--soft))); transition: background .4s; }
.pv-img span { font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 8px 14px rgba(0,0,0,.18)); }
.pv-feats { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pv-feats span { height: 44px; border-radius: 10px; background: var(--soft); opacity: .8; transition: background .4s; }
.t-azul .pv-feats span { background: #eef3ff; }
.preview.is-mobile .pv-page { padding: 14px; }
.preview.is-mobile .pv-nav span { display: none; }
.preview.is-mobile .pv-nav::after { content: "☰"; font-size: .8rem; opacity: .6; }
.preview.is-mobile .pv-hero { grid-template-columns: 1fr; }
.preview.is-mobile .pv-img { order: -1; aspect-ratio: 16 / 9; }
.preview.is-mobile .pv-text h4 { font-size: 1.3rem; }
.preview.is-mobile .pv-feats { grid-template-columns: 1fr 1fr; }
.preview.is-mobile .pv-feats span:last-child { display: none; }

/* Chatbot */
.chat { width: 100%; max-width: 330px; height: 250px; display: flex; flex-direction: column; border-radius: 18px; background: #0d1220; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 50px rgba(0,0,0,.45); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.chat-head i { width: 28px; height: 28px; border-radius: 50%; background: var(--blue) url("assets/favicon.svg") center / 70% no-repeat; background-color: #fff; }
.chat-head strong { display: block; color: #fff; font-size: .78rem; }
.chat-head small { display: block; color: #2bd47d; font-size: .64rem; font-weight: 700; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 7px; scrollbar-width: none; }
.chat-msgs::-webkit-scrollbar { display: none; }
.msg { max-width: 85%; padding: 8px 11px; border-radius: 13px 13px 13px 4px; background: rgba(255,255,255,.08); color: #e2e8f5; font-size: .74rem; line-height: 1.4; animation: bubble .35s var(--ease) both; }
.msg.user { align-self: flex-end; border-radius: 13px 13px 4px 13px; background: var(--blue); color: #fff; }
.msg.typing { display: flex; gap: 4px; padding: 11px 12px; }
.msg.typing i { width: 5px; height: 5px; border-radius: 50%; background: #8f9ab0; animation: dots 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-3px); opacity: .5; } }
@keyframes bubble { from { opacity: 0; transform: translateY(6px); } }
.chat-quick { display: flex; gap: 5px; padding: 0 10px 8px; overflow-x: auto; scrollbar-width: none; }
.chat-quick::-webkit-scrollbar { display: none; }
.chat-quick button { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(111,157,255,.4); color: #bcd0ff; font-size: .68rem; font-weight: 700; transition: background .2s; }
.chat-quick button:hover { background: rgba(21,94,239,.25); }
.chat-form { display: flex; gap: 6px; padding: 8px 10px 10px; border-top: 1px solid rgba(255,255,255,.06); }
.chat-form input { flex: 1; min-width: 0; padding: 8px 11px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: .74rem; outline: none; }
.chat-form input:focus { border-color: var(--blue-300); }
.chat-form button { width: 34px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 900; }

/* Agenda */
.agenda { width: 100%; max-width: 330px; padding: 16px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.agenda-top { display: flex; justify-content: space-between; align-items: baseline; font-size: .8rem; }
.agenda-top span { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: capitalize; }
.ag-days { margin-top: 12px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.ag-day { padding: 6px 0; border-radius: 10px; background: #f3f5f9; text-align: center; transition: background .2s, color .2s, transform .2s; }
.ag-day small { display: block; color: var(--muted); font-size: .56rem; font-weight: 700; text-transform: uppercase; }
.ag-day b { display: block; font-size: .86rem; }
.ag-day:hover { transform: translateY(-2px); }
.ag-day.on { background: var(--blue); color: #fff; box-shadow: 0 8px 18px var(--blue-glow); }
.ag-day.on small { color: rgba(255,255,255,.75); }
.ag-day:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.ag-times { margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.ag-times button { padding: 7px 0; border-radius: 9px; background: #eef3ff; color: var(--blue); font-size: .7rem; font-weight: 800; transition: background .2s, color .2s; }
.ag-times button:hover, .ag-times button.on { background: var(--blue); color: #fff; }
.ag-feedback { margin-top: 10px; min-height: 2.6em; color: var(--muted); font-size: .7rem; font-weight: 700; line-height: 1.35; }
.ag-feedback.ok { color: #0f8b51; }

/* Google */
.v-google { align-content: center; gap: 12px; }
.gsearch { width: 100%; max-width: 330px; display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 14px; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.gsearch span { color: #7d8695; }
.gsearch input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: .8rem; color: var(--ink); }
.gsearch button { padding: 8px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; }
.gresult { width: 100%; max-width: 330px; padding: 14px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.4); opacity: .35; filter: blur(1.5px); transform: translateY(8px); transition: opacity .45s, filter .45s, transform .45s var(--ease); }
.gresult.show { opacity: 1; filter: none; transform: none; }
.g-top { display: flex; align-items: center; gap: 11px; }
.g-top i { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: var(--blue); color: #fff; font-style: normal; font-weight: 900; }
.g-top b { display: block; font-size: .9rem; }
.g-top small { display: block; color: #e9a400; font-size: .7rem; }
.g-top small em { font-style: normal; color: var(--muted); font-weight: 700; }
.g-actions { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.g-actions span { padding: 6px 0; border-radius: 999px; border: 1px solid #dfe5f0; color: var(--blue); text-align: center; font-size: .68rem; font-weight: 800; }

/* ---------- Missão ---------- */
.mission { position: relative; overflow: hidden; padding: 140px 0; color: #fff; background: var(--navy-950); }
.mission::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(21,94,239,.22), transparent 62%); pointer-events: none; }
.mission .container { position: relative; text-align: center; }
.mission .eyebrow { justify-content: center; }
.mission-title { max-width: 1000px; margin: 0 auto; font-family: var(--serif); font-weight: 400; font-size: clamp(2.8rem, 6.4vw, 5.8rem); line-height: 1; letter-spacing: -.02em; }
.mission-title em { color: var(--blue-300); }
.mission-sub { margin-top: 26px; color: rgba(255,255,255,.6); font-size: 1.15rem; }
.stats { margin-top: 90px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.stat { padding: 42px 28px 0; text-align: left; }
.stat + .stat { border-left: 1px solid var(--line-dark); }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(4rem, 8vw, 6.5rem); line-height: .9; color: #fff; }
.stat p { margin-top: 14px; max-width: 260px; color: var(--muted-light); }

/* ---------- Como funciona ---------- */
.process { background: var(--sand); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 26px 34px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.step:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(10,15,26,.3); }
.step-n { display: block; font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--blue); }
.step h3 { margin-top: 44px; font-size: 1.18rem; font-weight: 700; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--muted); font-size: .94rem; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 38px; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: .8rem; font-weight: 800; }

/* ---------- Para quem ---------- */
.audiences { background: var(--white); }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.aud { padding: 34px 32px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.aud:hover { background: var(--sand); }
.aud-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #eef3ff; color: var(--blue); transition: background .3s, color .3s; }
.aud:hover .aud-ico { background: var(--blue); color: #fff; }
.aud-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aud h3 { margin-top: 38px; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.aud p { margin-top: 8px; color: var(--muted); font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--sand); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.faq-q i { position: relative; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #cfc9be; transition: background .3s, border-color .3s, transform .3s; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 15px; height: 1.5px; background: var(--ink); transition: transform .3s, background .3s; }
.faq-q i::after { transform: rotate(90deg); }
.faq-item.open .faq-q i { background: var(--blue); border-color: var(--blue); transform: rotate(180deg); }
.faq-item.open .faq-q i::before, .faq-item.open .faq-q i::after { background: #fff; }
.faq-item.open .faq-q i::after { transform: rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s var(--ease); }
.faq-a p { padding: 0 56px 26px 0; color: var(--muted); }

/* ---------- CTA final ---------- */
.final { position: relative; overflow: hidden; padding: 140px 0; color: #fff; text-align: center; background: radial-gradient(90% 80% at 50% 110%, #12306a, var(--navy-950) 60%); }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-mark { width: 70px; height: 70px; color: #fff; animation: chug 3s ease-in-out infinite; }
@keyframes chug { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-4px) rotate(-2deg); } 75% { transform: translateY(-2px) rotate(2deg); } }
.final h2 { margin-top: 30px; max-width: 900px; font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7vw, 6.2rem); line-height: .98; letter-spacing: -.02em; }
.final h2 em { color: var(--blue-300); }
.final p { margin-top: 24px; max-width: 520px; color: rgba(255,255,255,.65); font-size: 1.12rem; }
.final-actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 34px; color: var(--muted-light); background: var(--navy-950); border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 170px; height: auto; }
.footer-brand p { margin-top: 14px; max-width: 280px; font-size: .92rem; }
.footer-col h4 { margin-bottom: 18px; color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-col a, .footer-col button { display: block; margin-bottom: 11px; font-size: .92rem; text-align: left; transition: color .2s; }
.footer-col a:hover, .footer-col button:hover { color: #fff; }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; font-size: .84rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; z-index: 40; right: 24px; bottom: 24px; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #1fb85a; box-shadow: 0 14px 34px rgba(31,184,90,.4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-4px) scale(1.04); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Quiz ---------- */
.quiz { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.quiz[hidden] { display: none; }
.quiz-backdrop { position: absolute; inset: 0; background: rgba(2,6,14,.82); animation: fade .15s; }
.quiz-panel {
  position: relative; width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  padding: 44px 40px 34px; border-radius: 28px;
  background: var(--navy-900); color: #fff;
  border: 1px solid var(--line-dark);
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
  animation: pop .2s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.quiz-close { position: absolute; right: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--muted-light); transition: background .2s, color .2s; }
.quiz-close:hover { background: rgba(255,255,255,.08); color: #fff; }
.quiz-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--blue); transition: width .45s var(--ease); }
.quiz-step { margin-top: 26px; color: var(--blue-300); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.quiz-title { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.08; }
.quiz-options { margin-top: 26px; display: grid; gap: 10px; }
.quiz-opt {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 16px 18px; border-radius: 16px; text-align: left;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03);
  font-weight: 600; transition: border-color .2s, background .2s, transform .2s;
  animation: fade .2s both;
}
.quiz-opt:hover { border-color: var(--blue-300); background: rgba(21,94,239,.14); transform: translateX(3px); }
.quiz-opt .k { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.08); color: var(--muted-light); font-size: .74rem; font-weight: 800; }
.quiz-back { margin-top: 20px; color: var(--muted-light); font-size: .86rem; font-weight: 700; }
.quiz-back:hover { color: #fff; }
.quiz-result { margin-top: 24px; animation: fade .4s; }
.result-main { padding: 24px; border-radius: 20px; background: linear-gradient(150deg, var(--blue), #0a2f86); }
.result-main small { display: block; color: rgba(255,255,255,.7); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.result-main h3 { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.05; }
.result-main p { margin-top: 10px; color: rgba(255,255,255,.82); }
.result-extra { margin-top: 12px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line-dark); color: var(--muted-light); font-size: .92rem; }
.result-extra strong { color: #fff; }
.result-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .route-card { max-width: 520px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-site { grid-template-columns: minmax(0, 1fr); }
  .site-copy { padding: 36px 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)::after { display: none; }
  .problem-grid, .faq-grid { gap: 56px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  /* sem backdrop-filter: ele prenderia o menu fixo dentro do header */
  .header, .header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(4, 9, 18, .97); }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .header-inner { height: 68px; justify-content: space-between; }
  .brand img { width: 134px; }
  .nav {
    position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: -1;
    padding: 130px 24px 32px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--navy-950);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .15s, transform .15s var(--ease), visibility .15s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { justify-content: space-between; width: 100%; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line-dark); font-size: 1.1rem; color: #fff; }
  .nav-link:hover, .nav-trigger[aria-expanded="true"] { background: none; }
  .mega { position: static; width: auto; padding: 6px 0 12px; transform: none; border: 0; background: none; box-shadow: none; display: none; opacity: 1; visibility: visible; }
  .has-menu.open .mega { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav-mobile-cta { display: inline-flex; margin-top: 24px; min-height: 56px; }

  .section { padding: 90px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 40px; }
  .section-head .lead { margin-top: 20px; }
  .problem-grid, .faq-grid { grid-template-columns: 1fr; }
  .problem-head { position: static; }
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-dark); }
  .stat { padding: 34px 0; text-align: center; }
  .stat p { margin-inline: auto; }
  .topbar p { font-size: .78rem; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .topbar-inner { justify-content: space-between; gap: 12px; padding: 8px 0; }
  .topbar p { gap: 8px; line-height: 1.35; }
  .topbar-dot { display: none; }
  .topbar-btn { white-space: nowrap; }
  .hero { padding: 70px 0 130px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .route-card { padding: 22px 18px 12px; }
  .marquee span { font-size: 1.35rem; gap: 30px; padding-right: 30px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .site-copy { padding: 30px 22px; }
  .builder { padding: 20px 16px; }
  .stage { min-height: 300px; }
  .pv-page { padding: 14px; }
  .pv-text h4 { font-size: 1.2rem; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .step h3 { margin-top: 24px; }
  .aud-grid { grid-template-columns: 1fr; }
  .problem-list li { grid-template-columns: 54px 1fr; }
  .problem-list span { font-size: 2rem; }
  .mission, .final { padding: 100px 0; }
  .final-actions { display: grid; width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; padding-bottom: 60px; }
  .quiz { padding: 0; align-items: end; }
  .quiz-panel { border-radius: 26px 26px 0 0; padding: 38px 22px 28px; max-height: 92vh; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
