/* MOVE+ — site institucional (home). */
:root {
  --bg: #f6f8f6;
  --surface: #ffffff;
  --surface-2: #eef2ef;
  --line: rgba(15, 27, 21, 0.09);
  --line-strong: rgba(15, 27, 21, 0.16);
  --ink: #0f1a14;
  --muted: #5d6b64;
  --faint: #86918b;
  --neon: #52f50a;
  --neon-strong: #35d500;
  --neon-ink: #0b2104;
  --green-text: #22830a;
  --dark: #0d1310;
  --dark-2: #151d18;
  --radius: 20px;
  --maxw: 1160px;
  --shadow: 0 1px 2px rgba(15, 27, 21, 0.04), 0 12px 32px rgba(15, 27, 21, 0.07);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 3px solid var(--neon-strong); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--surface); padding: 10px 14px; border-radius: 10px; }
.muted { color: var(--faint); }

/* ── Botões ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
  font: 700 15px/1 var(--text); letter-spacing: -0.01em; cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--neon); color: var(--neon-ink); box-shadow: 0 10px 24px rgba(53, 213, 0, .22); }
.btn-primary:hover { background: #63ff1d; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ── Topo ─────────────────────────────────────────────────────────── */
.top {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(246, 248, 246, .82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.top-row { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand img { width: 118px; }
.top-links { display: flex; gap: 28px; margin: 0 auto; }
.top-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s; }
.top-links a:hover { color: var(--ink); }
.top-account { display: flex; align-items: center; gap: 10px; min-width: 96px; justify-content: flex-end; }
/* Enquanto a página não sabe se a pessoa está logada, a área da conta fica
   reservada (sem piscar "Entrar" para quem já entrou). */
html:not([data-auth]) .account-guest,
html:not([data-auth]) .account-user { visibility: hidden; }
.account-guest {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-weight: 700; font-size: 14px;
}
.account-guest:hover { border-color: var(--ink); }
.account-guest svg { width: 18px; height: 18px; }
.account-user { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 4px; border-radius: 999px; }
.account-user:hover { background: var(--surface-2); }
.avatar {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--dark); color: var(--neon); font: 700 15px/1 var(--display);
}
.account-name { font-weight: 700; font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Atalho no topo: só aparece no computador, depois de rolar o cartão. */
.top-cta { opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .2s, transform .2s; }
html.show-cta .top-cta { opacity: 1; transform: none; pointer-events: auto; }

/* ── Destaque ─────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center;
  padding-top: 56px; padding-bottom: 88px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(82, 245, 10, .12); border: 1px solid rgba(53, 213, 0, .25);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-text);
}
.hero .eyebrow { font-family: var(--text); cursor: default; }
button.eyebrow { appearance: none; -webkit-appearance: none; }
.eyebrow.is-actionable { cursor: pointer; transition: background .15s, border-color .15s; }
.eyebrow.is-actionable:hover { background: rgba(82, 245, 10, .2); border-color: rgba(53, 213, 0, .45); }
.hero .eyebrow { max-width: 100%; text-align: left; }
.hero .eyebrow > span { white-space: nowrap; }
.city-action { color: var(--ink); opacity: .7; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12.5px; }
.eyebrow:not(.is-actionable) .city-action { display: none; }
.eyebrow.is-loading .ping { animation-duration: .7s; }
.ping { width: 6px; height: 6px; border-radius: 50%; background: var(--neon-strong); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(53,213,0,.5); } 70% { box-shadow: 0 0 0 8px rgba(53,213,0,0); } 100% { box-shadow: 0 0 0 0 rgba(53,213,0,0); } }
.hero h1 { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.04; font-weight: 700; text-wrap: balance; }
.accent { color: var(--neon-strong); }
.lead { margin-top: 18px; max-width: 480px; font-size: 17px; color: var(--muted); }

.ride-card {
  margin-top: 28px; max-width: 480px; padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow);
}
.ride-card-title { font: 700 19px/1.2 var(--display); margin-bottom: 14px; }
.ride-field {
  display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 16px;
  background: var(--surface-2); border-radius: 14px; border: 1.5px solid transparent;
  transition: border-color .15s, background .15s;
}
.ride-field:hover { border-color: var(--line-strong); background: #e8ede9; }
.ride-field-text { display: grid; gap: 1px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.ride-field-text small { font-size: 11.5px; font-weight: 700; color: var(--faint); letter-spacing: .02em; }
.ride-dot { width: 12px; height: 12px; }
.ride-dot--origin { border-radius: 50%; border: 3px solid var(--neon-strong); }
.ride-dot--dest { border-radius: 3px; background: var(--ink); }
.ride-connector { display: block; width: 2px; height: 10px; margin: 2px 0 2px 21px; background: var(--line-strong); border-radius: 1px; }
.ride-card .btn-block { margin-top: 14px; }
.ride-card-foot { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--muted); }
.ride-card-foot a { color: var(--green-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.trust li { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.trust svg { width: 16px; height: 16px; color: var(--neon-strong); stroke-width: 2.6; }

.route-card {
  position: relative; height: 520px; overflow: hidden;
  background: linear-gradient(160deg, #121a15 0%, #070a08 100%);
  border-radius: 32px; border: 1px solid rgba(255, 255, 255, .06);
  box-shadow: 0 30px 70px rgba(10, 22, 15, .22);
}
.route-card > svg { position: absolute; inset: 0; width: 100%; height: 100%; stroke-width: 3; }
.route-path { fill: none; stroke: rgba(255,255,255,.14); stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.4s ease forwards .3s; }
.route-glow { fill: none; stroke: var(--neon); stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.4s ease forwards .3s; filter: drop-shadow(0 0 7px rgba(82,245,10,.7)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.route-dot {
  position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--neon);
  box-shadow: 0 0 0 5px rgba(82,245,10,.18), 0 0 16px rgba(82,245,10,.7);
  offset-path: path('M 40 380 C 90 380 90 300 150 280 C 230 254 260 180 230 120 C 210 78 250 55 320 55');
  animation: travel 5s linear infinite;
}
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.route-hud { position: absolute; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; z-index: 2; }
.chip {
  display: grid; gap: 3px; padding: 11px 14px; border-radius: 14px; color: #f6f9f7;
  background: rgba(13,18,15,.8); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(10px);
}
.chip-label { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #98a49d; }
.chip-value { font: 600 15px/1 var(--mono); }
.chip-value.green { color: var(--neon); }
.chip-sm { padding: 8px 12px; }
.route-bottom {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; color: #f6f9f7;
  background: rgba(13,18,15,.85); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; backdrop-filter: blur(10px);
}
.fare { font: 600 20px/1 var(--mono); color: var(--neon); }
.fare-sub { margin-top: 4px; font-size: 11.5px; color: #98a49d; }

/* ── Seções ───────────────────────────────────────────────────────── */
.section { padding-top: 88px; padding-bottom: 8px; }
.band { padding: 88px 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 620px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 700; }
.section-head p { margin-top: 12px; color: var(--muted); }
.kicker { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); }
.kicker--light { color: var(--neon); }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  position: relative; display: grid; align-content: start; gap: 14px; min-height: 196px; padding: 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.service--main { background: var(--dark); color: #f6f9f7; border-color: var(--dark); transition: transform .2s; }
.service--main:hover { transform: translateY(-3px); }
.service-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.service--main .service-icon { background: var(--neon); color: var(--neon-ink); border-color: var(--neon); }
.service-icon svg { width: 22px; height: 22px; }
.service-text { display: grid; gap: 4px; }
.service-text b { font: 700 18px/1.2 var(--display); }
.service-text small { font-size: 14px; line-height: 1.45; color: var(--muted); }
.service--main .service-text small { color: #a9b3ad; }
.tag {
  justify-self: start; align-self: end; margin-top: auto; padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--surface-2);
}
.tag--live { background: rgba(82,245,10,.16); color: var(--neon); }

/* Categorias */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: center;
  padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
}
.cat-sw { grid-row: span 2; width: 12px; height: 40px; border-radius: 6px; background: var(--c); }
.cat b { font: 700 16px/1.2 var(--display); }
.cat small { font-size: 13.5px; color: var(--muted); }

/* Como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { padding-top: 18px; border-top: 2px solid var(--line-strong); }
.step-num { display: block; margin-bottom: 14px; font: 600 13px/1 var(--mono); color: var(--green-text); }
.steps b { display: block; margin-bottom: 6px; font: 700 18px/1.2 var(--display); }
.steps p { font-size: 14.5px; color: var(--muted); }

/* Cartões escuros */
.dark-card, .driver-card {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 48px; border-radius: 32px;
}
.dark-card { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: #f6f9f7; }
.dark-card h2, .driver-card h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; max-width: 480px; }
.mini-steps { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 6px; color: #a9b3ad; font-size: 15px; }
.mini-steps b { color: #f6f9f7; }
.dark-actions { display: grid; gap: 12px; min-width: 260px; }
.store {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 20px; border-radius: 14px;
  background: #050706; border: 1px solid rgba(255,255,255,.14); color: #fff; font: 700 16px/1.2 var(--display);
  transition: border-color .15s, transform .15s;
}
.store:hover { border-color: rgba(82,245,10,.6); transform: translateY(-1px); }
.store span { display: grid; }
.store small { font: 500 11px/1.3 var(--text); color: #a4ada8; }
.store--web { background: var(--neon); border-color: var(--neon); color: var(--neon-ink); }
.store--web small { color: #285b10; }
.driver-card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 88px; }
.driver-card p:not(.kicker) { margin-top: 10px; color: var(--muted); }

/* Rodapé */
.foot { background: var(--dark); color: #f6f9f7; padding: 56px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-brand p { margin-top: 12px; max-width: 260px; font-size: 14px; color: #a9b3ad; }
.foot h3 { margin-bottom: 14px; font: 700 12px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; color: #7f8b84; }
.foot-grid a { display: block; margin-bottom: 10px; font-size: 14px; color: #a9b3ad; transition: color .15s; }
.foot-grid a:hover { color: var(--neon); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; color: #7f8b84; }

/* Atalho fixo no celular */
.sticky-cta { display: none; }

/* ── Responsivo ───────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .top-links { gap: 20px; }
}
@media (max-width: 860px) {
  .top-links { display: none; }
  .top-account { margin-left: auto; }
  .top-cta { display: none; }
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 36px; padding-bottom: 64px; }
  .route-card { display: none; }
  .ride-card { max-width: none; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .dark-card, .driver-card { padding: 32px 24px; }
  .dark-actions { min-width: 0; width: 100%; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(246,248,246,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  html.show-cta .sticky-cta { transform: none; }
  html.show-cta .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .top-row { height: 62px; }
  .brand img { width: 104px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 16px; }
  .ride-card { padding: 16px; border-radius: 22px; }
  .services, .cats { grid-template-columns: 1fr; }
  .service { min-height: 0; grid-template-columns: auto 1fr; align-items: center; }
  .service .tag { grid-column: 2; align-self: start; margin-top: 0; }
  .band { padding: 64px 0; }
  .section { padding-top: 64px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .account-name { display: none; }
  .account-user { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route-path, .route-glow, .route-dot, .ping { animation: none !important; stroke-dashoffset: 0 !important; }
  .top-cta, .sticky-cta { transition: none; }
}
