/* ==========================================================
   Vai Comigo — design system
   ========================================================== */
:root {
  --brand: #0f766e;
  --brand-600: #0d9488;
  --brand-700: #115e59;
  --brand-50: #effcf9;
  --brand-100: #d5f5ee;
  --accent: #f59e0b;
  --accent-50: #fff7e6;
  --ink: #0b1f1c;
  --ink-2: #334845;
  --muted: #64748b;
  --line: #e4ebe9;
  --bg: #f6f9f8;
  --card: #ffffff;
  --danger: #dc2626;
  --danger-50: #fef2f2;
  --ok: #15803d;
  --ok-50: #f0fdf4;
  --info-50: #eff6ff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 28, .06);
  --shadow: 0 1px 2px rgba(11, 31, 28, .04), 0 8px 24px -8px rgba(11, 31, 28, .12);
  --shadow-lg: 0 24px 48px -16px rgba(11, 31, 28, .25);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: 1.45rem; font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 760px; }
.page { padding: 32px 0 80px; min-height: 60vh; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: 1.9rem; margin: 0; }
.page-head p { margin: 4px 0 0; }

/* ---------- Header ---------- */
/* Mesmo verde-escuro do topo da página inicial: vidro escuro com brilho verde-água, integrado ao hero */
.site-header {
  position: sticky; top: 0; z-index: 50; color: #fff;
  background: linear-gradient(90deg, rgba(6, 32, 28, .92), rgba(11, 59, 53, .9) 60%, rgba(15, 90, 81, .9));
  backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .55);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -.03em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(15, 118, 110, .7); }
.logo-mark svg { width: 20px; height: 20px; }
.logo b { color: var(--brand); }
.site-header .logo, .site-header .logo:hover { color: #fff; font-size: 1.5rem; gap: 12px; }
.site-header .logo-mark { width: 46px; height: 46px; border-radius: 14px; }
.site-header .logo-mark svg { width: 27px; height: 27px; }
.site-header .logo b { color: #5eead4; }
.site-header .logo-mark { background: linear-gradient(135deg, #14b8a6, #0f766e); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 8px 18px -8px rgba(20, 184, 166, .9); }
/* Menu em "pílula": cada item com ícone; a página atual fica destacada em verde-água */
.nav { display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.nav a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, .78); font-weight: 650; font-size: .9rem; transition: background .18s var(--ease), color .18s; white-space: nowrap; }
.nav a .icon { width: 16px; height: 16px; opacity: .85; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a.active { background: #ccfbf1; color: #0b3b35; box-shadow: 0 6px 16px -8px rgba(94, 234, 212, .9); }
.nav a.active .icon { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
@media (min-width: 721px) { .nav + .header-actions { margin-left: 0; } } /* menu visível: ele mesmo centraliza */
.site-header .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .22); background: transparent; }
.site-header .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.site-header .btn-primary { background: linear-gradient(135deg, #5eead4, #2dd4bf); color: #06201c; box-shadow: 0 8px 20px -10px rgba(94, 234, 212, .9); }
.site-header .btn-primary:hover { filter: brightness(1.06); color: #06201c; }
.site-header .avatar { box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2); border: 0; background: transparent; cursor: pointer; }
.icon-btn:hover { background: var(--brand-50); color: var(--brand-700); }
.site-header .icon-btn { color: rgba(255, 255, 255, .85); }
.site-header .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.site-header .icon-btn .dot { border-color: #0b3b35; }
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--brand-100); color: var(--brand-700); display: inline-grid; place-items: center; font-weight: 800; font-size: .9rem; flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 1.2rem; }
.menu { position: relative; }
.menu > button { border: 0; background: none; padding: 2px; border-radius: 50%; cursor: pointer; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: .18s var(--ease); }
.menu.open .menu-panel { opacity: 1; transform: none; pointer-events: auto; }
.menu-panel .who { padding: 10px 12px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-panel .who strong { display: block; font-size: .92rem; }
.menu-panel a, .menu-panel button.link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 9px; color: var(--ink-2); font-weight: 600; font-size: .9rem; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; }
.menu-panel a:hover, .menu-panel button.link:hover { background: var(--bg); color: var(--ink); }

.bottom-nav { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px;
  border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: .95rem;
  cursor: pointer; transition: transform .12s var(--ease), box-shadow .15s, background .15s; white-space: nowrap; text-decoration: none;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(15, 118, 110, .8); }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-accent { background: var(--accent); color: #241500; }
.btn-accent:hover { background: #e08e06; color: #241500; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfd9d6; background: var(--bg); color: var(--ink); }
.btn-soft { background: var(--brand-50); color: var(--brand-700); }
.btn-soft:hover { background: var(--brand-100); color: var(--brand-700); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f5c2c2; }
.btn-danger:hover { background: var(--danger-50); color: var(--danger); }
.btn-sm { padding: 7px 13px; font-size: .85rem; border-radius: 10px; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; font-weight: 600; }
.btn-google:hover { background: #f8faff; color: #1f1f1f; border-color: #c6d4f5; }

/* ---------- Cards & layout ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card + .card { margin-top: 16px; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-title h2, .card-title h3 { margin: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.sticky { position: sticky; top: 86px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); margin: 18px 0; border: 0; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 650; font-size: .86rem; color: var(--ink-2); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field .err, .err { font-size: .8rem; color: var(--danger); font-weight: 600; }
.input, select.input, textarea.input {
  width: 100%; padding: 11px 14px; border: 1px solid #d6dfdc; border-radius: 12px; font: inherit; color: var(--ink);
  background: #fff; transition: border-color .15s, box-shadow .15s; appearance: none;
}
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(13, 148, 136, .14); }
.input.invalid { border-color: var(--danger); }
textarea.input { min-height: 96px; resize: vertical; }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; font-size: .9rem; }
.input-prefix .input { padding-left: 42px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; margin-bottom: 10px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 14px; }
.form-grid > .col-2 { grid-column: span 2; } .form-grid > .col-3 { grid-column: span 3; } .form-grid > .col-4 { grid-column: span 4; } .form-grid > .col-6 { grid-column: span 6; }
fieldset { border: 0; padding: 0; margin: 0 0 8px; }
legend { font-weight: 750; font-size: 1.02rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }

.segmented { display: inline-flex; background: var(--bg); border: 1px solid var(--line); padding: 4px; border-radius: 12px; gap: 2px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; font-weight: 650; font-size: .88rem; color: var(--muted); cursor: pointer; transition: .15s; }
.segmented input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 2px solid var(--brand-600); }

.stepper { display: inline-flex; align-items: center; border: 1px solid #d6dfdc; border-radius: 12px; overflow: hidden; background: #fff; }
.stepper button { width: 40px; height: 42px; border: 0; background: none; font-size: 1.2rem; color: var(--brand-700); cursor: pointer; }
.stepper button:hover { background: var(--brand-50); }
.stepper input { width: 46px; text-align: center; border: 0; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { display: none; }

/* ---------- Flash / toasts ---------- */
.toast-stack { position: fixed; top: 80px; right: 20px; z-index: 100; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .92rem; font-weight: 550; animation: toastIn .35s var(--ease); }
.toast.error { border-left-color: var(--danger); }
.toast.info { border-left-color: #3b82f6; }
.toast button { margin-left: auto; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.toast.leaving { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }

.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); font-size: .9rem; border: 1px solid var(--brand-100); }
.notice.warn { background: var(--accent-50); color: #8a5300; border-color: #fde4b5; }
.notice.danger { background: var(--danger-50); color: #9b1c1c; border-color: #fbd0d0; }
.notice.info { background: var(--info-50); color: #1e4fa3; border-color: #d4e3fd; }
.notice .icon { margin-top: 2px; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.badge.ok { background: var(--ok-50); color: var(--ok); border-color: #c9ecd4; }
.badge.warn { background: var(--accent-50); color: #9a5b00; border-color: #fde4b5; }
.badge.danger { background: var(--danger-50); color: var(--danger); border-color: #fbd0d0; }
.badge.brand { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.stars { color: var(--accent); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; font-size: .85rem; }

/* ---------- Hero (topo da página inicial): faixa escura, estradas animadas, preço ao vivo ---------- */
.hero2 { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 72px 0 56px; text-align: center;
  background: radial-gradient(900px 480px at 85% -10%, rgba(45, 212, 191, .28), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(245, 158, 11, .22), transparent 60%),
    linear-gradient(160deg, #06201c 0%, #0b3b35 55%, #0f5a51 100%); }
/* Grade sutil ao fundo */
.hero2::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.hero2-roads { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero2-roads path { fill: none; stroke: rgba(153, 246, 228, .22); stroke-width: 2; stroke-dasharray: 10 12; animation: roadFlow 30s linear infinite; }
@keyframes roadFlow { to { stroke-dashoffset: -440; } }
.hero2-inner { position: relative; max-width: 1120px; }
.hero2-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 700; color: #ccfbf1; margin-bottom: 22px; animation: heroIn .7s var(--ease) both; }
.hero2-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .22); animation: liveDot 2s ease-in-out infinite; }
@keyframes liveDot { 50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } }
.hero2-title { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.03; letter-spacing: -.045em; margin: 0 0 .35em; animation: heroIn .7s .08s var(--ease) both; }
.hero2-title em { font-style: normal; background: linear-gradient(90deg, #5eead4, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2-line { white-space: nowrap; }
.hero2-rotator { display: inline-block; position: relative; color: #5eead4; white-space: nowrap; }
/* Telas médias: menu sem ícones para caber ao lado da logo e dos botões */
@media (max-width: 1080px) {
  .nav a .icon { display: none; } .nav a { padding: 8px 11px; } .site-header .container { gap: 14px; }
  .site-header .logo, .site-header .logo:hover { font-size: 1.3rem; gap: 10px; }
  .site-header .logo-mark { width: 40px; height: 40px; border-radius: 12px; }
}
@media (max-width: 920px) and (min-width: 721px) {
  .nav a { padding: 7px 9px; font-size: .85rem; }
  .site-header .header-actions .btn-primary { display: none; } /* "Cadastre-se" segue acessível pela tela de Entrar */
}
.hero2-rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 99px; background: linear-gradient(90deg, #14b8a6, #fbbf24); transform-origin: left; animation: underline 3s var(--ease) infinite; }
@keyframes underline { 0% { transform: scaleX(0); } 25%, 80% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: right; } }
.hero2-rotator [data-rotator-word] { display: inline-block; transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s; }
.hero2-rotator .out { opacity: 0; transform: translateY(-.35em); filter: blur(4px); }
.hero2-rotator .in { opacity: 0; transform: translateY(.35em); filter: blur(4px); }
.hero2-lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .78); max-width: 640px; margin: 0 auto; animation: heroIn .7s .16s var(--ease) both; }
.hero2-search { max-width: 1080px; margin: 30px auto 0; text-align: left; animation: heroIn .7s .24s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } }

/* Barra de busca do topo: pílula única, campos com ícone, destaque ao passar e ao usar */
.hs { --hs-ring: 0 0 0 6px rgba(255, 255, 255, .07); display: flex; align-items: stretch; gap: 4px; padding: 7px; border-radius: 999px; background: #fff;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .65), var(--hs-ring); transition: box-shadow .3s var(--ease); }
.hs.pulse { animation: hsPulse .7s var(--ease); } /* rota popular escolhida */
@keyframes hsPulse { 40% { box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .65), 0 0 0 10px rgba(94, 234, 212, .45); } }
.hs-route { position: relative; display: flex; flex: 2.6; min-width: 0; }
.hs-field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; cursor: pointer; transition: background .2s, box-shadow .2s; }
.hs-field + .hs-field::before, .hs-route + .hs-field::before, .hs-field + .hs-go::before { content: ""; position: absolute; left: -3px; top: 22%; bottom: 22%; width: 1px; background: var(--line); transition: opacity .2s; }
.hs-field:hover { background: var(--bg); }
.hs-field:hover::before, .hs-field:hover + .hs-field::before, .hs-field:focus-within::before, .hs-field:focus-within + .hs-field::before { opacity: 0; }
.hs-field:focus-within { background: #fff; box-shadow: 0 0 0 2px #5eead4, 0 10px 24px -12px rgba(15, 118, 110, .45); }
.hs-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--muted); transition: background .25s, color .25s, transform .25s var(--ease); }
.hs-ic .icon { width: 19px; height: 19px; }
.hs-field:hover .hs-ic { transform: scale(1.06); }
.hs-field.is-set .hs-ic { background: #ccfbf1; color: var(--brand-700); }
.hs-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.hs-txt small { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hs-txt select, .hs-txt b { width: 100%; border: 0; background: transparent; font: inherit; font-weight: 750; font-size: .98rem; color: var(--ink); padding: 1px 0; outline: none; appearance: none; cursor: pointer; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.hs-field:not(.is-set) .hs-txt select, .hs-field:not(.is-set) .hs-txt b { color: #7b8b88; font-weight: 600; }
/* Trocar origem/destino: bolinha sobre a divisória entre os dois campos */
.hs-swap { position: absolute; left: 50%; top: 50%; z-index: 2; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--brand); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px -4px rgba(11, 31, 28, .25); transition: transform .35s var(--ease), background .2s, color .2s; }
.hs-swap .icon { width: 15px; height: 15px; }
.hs-swap:hover { transform: rotate(180deg); background: var(--brand); color: #fff; border-color: var(--brand); }
.hs-route .hs-field:first-child { padding-right: 26px; } .hs-route .hs-field:last-child { padding-left: 24px; }
/* Data: o calendário abre com um clique em qualquer lugar do campo */
.hs-date input[type=date] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; }
.hs-clear { position: relative; z-index: 1; flex: none; margin-left: auto; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--bg); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.hs-clear:hover { background: var(--line); color: var(--ink); }
.hs-clear .icon { width: 13px; height: 13px; }
.hs-clear[hidden] { display: none; }
/* Pessoas: − 1 + */
.hs-seats { flex: .85; cursor: default; }
.hs-stepper { display: inline-flex; align-items: center; gap: 4px; }
.hs-stepper button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--brand-700); font: inherit; font-weight: 800; font-size: 1rem; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.hs-stepper button:hover:not(:disabled) { background: #ccfbf1; border-color: #5eead4; transform: scale(1.08); }
.hs-stepper button:disabled { opacity: .35; cursor: default; }
.hs-stepper output { min-width: 18px; text-align: center; font-weight: 800; font-size: 1rem; color: var(--ink); }
/* Buscar */
.hs-go { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 26px 0 22px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 800; font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0f766e); box-shadow: 0 10px 24px -10px rgba(15, 118, 110, .9); transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.hs-go .icon { width: 19px; height: 19px; }
.hs-go:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 14px 30px -10px rgba(15, 118, 110, 1); }
.hs-go:active { transform: none; }
.hs-field + .hs-go::before { display: none; }
@media (max-width: 1140px) {
  /* Telas menores: cartão compacto — rota em cima, data e pessoas lado a lado, botão largo */
  .hero2-search { max-width: 640px; }
  .hs { flex-wrap: wrap; border-radius: 26px; padding: 8px; gap: 6px; }
  .hs-route { flex: 1 1 100%; flex-direction: column; gap: 4px; }
  .hs-route .hs-field:first-child, .hs-route .hs-field:last-child { padding: 8px 54px 8px 9px; }
  .hs-field { border-radius: 18px; }
  .hs-route .hs-field + .hs-field::before { left: 60px; right: 16px; top: -2px; bottom: auto; width: auto; height: 1px; }
  .hs-swap { left: auto; right: 14px; margin: -16px 0 0; transform: rotate(90deg); }
  .hs-swap:hover { transform: rotate(270deg); }
  .hs-date, .hs-seats { flex: 1 1 calc(50% - 3px); }
  .hs-route + .hs-field::before { display: none; }
  .hs-go { flex: 1 1 100%; justify-content: center; height: 52px; border-radius: 18px; }
}
@media (max-width: 420px) {
  .hs-ic { width: 34px; height: 34px; }
  .hs-date, .hs-seats { padding: 8px 8px 8px 14px; gap: 8px; }
  .hs-date .hs-ic, .hs-seats .hs-ic { display: none; } /* metade da largura: o rótulo já diz o que é */
}

/* Preço ao vivo da rota escolhida */
.hero2-quote { min-height: 52px; margin-top: 14px; display: flex; justify-content: center; }
.hq-hint { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .62); font-size: .9rem; }
.hq-hint .icon { width: 16px; height: 16px; }
.hq-card { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px 16px; padding: 10px 18px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); animation: heroIn .4s var(--ease) both; }
.hq-card .hq-route { font-weight: 700; color: #ccfbf1; font-size: .92rem; }
.hq-card .hq-price { font-size: 1.5rem; font-weight: 850; letter-spacing: -.03em; color: #fff; }
.hq-card .hq-price small { font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .65); margin-left: 4px; letter-spacing: 0; }
.hq-card .hq-save { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: #241500; font-weight: 800; font-size: .8rem; }
.hq-card .hq-save .icon { width: 14px; height: 14px; }

/* Rotas populares */
.hero2-popular { margin-top: 18px; animation: heroIn .7s .32s var(--ease) both; }
.hp-label { display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .5); margin-bottom: 12px; }
/* Rotas populares em cartões: cidades ligadas por estrada tracejada com carrinho, preço e distância */
.hp-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; text-align: left; } /* uma coluna por rota */
.hp-card { display: block; padding: 16px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s; animation: heroIn .6s var(--ease) backwards; animation-delay: calc(.4s + var(--i) * .07s); }
.hp-card:hover, .hp-card.active { transform: translateY(-4px); background: rgba(255, 255, 255, .11); border-color: rgba(94, 234, 212, .6); box-shadow: 0 16px 34px -18px rgba(45, 212, 191, .7); }
.hp-card.active { background: rgba(20, 184, 166, .22); border-color: #5eead4; }
.hp-card:focus-visible { outline: 3px solid #5eead4; outline-offset: 2px; }
.hp-city { display: block; font-weight: 800; font-size: 1rem; line-height: 1.2; }
.hp-line { display: flex; align-items: center; gap: 6px; margin: 8px 0; color: #5eead4; }
.hp-line .icon { width: 16px; height: 16px; flex: none; }
.hp-line i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(153, 246, 228, .5) 0 5px, transparent 5px 10px); }
.hp-card:hover .hp-line .icon { animation: hpDrive .9s var(--ease); }
@keyframes hpDrive { 50% { transform: translateX(6px); } }
.hp-price { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); font-weight: 850; font-size: 1.15rem; }
.hp-price small { display: block; font-size: .72rem; font-weight: 600; color: rgba(255, 255, 255, .55); }
@media (max-width: 960px) { .hp-list { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hero2-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); font-size: .86rem; font-weight: 600; animation: heroIn .7s .5s var(--ease) both; }
.hero2-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero2-trust .icon { color: #5eead4; width: 17px; height: 17px; }

.search-box { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-areas: "o o o d d d" "dt dt dt pp b b"; gap: 6px; align-items: center; margin-top: 28px; }
.search-box .sb-origin { grid-area: o; } .search-box .sb-dest { grid-area: d; }
/* Espaço para o botão de inverter (centralizado entre os dois campos) não cobrir os textos */
.search-box .sb-field.sb-origin { padding-right: 34px; } .search-box .sb-field.sb-dest { padding-left: 34px; }
.search-box .sb-date { grid-area: dt; } .search-box .sb-seats { grid-area: pp; } .search-box > .btn { grid-area: b; }
.search-box > .swap { position: absolute; left: 50%; top: 38px; transform: translate(-50%, -50%); z-index: 1; }
.search-box > .swap:hover { transform: translate(-50%, -50%) rotate(180deg); }
.search-box .sb-field { padding: 6px 12px; border-radius: 12px; transition: background .15s; }
.search-box .sb-field:hover { background: var(--bg); }
.search-box .sb-field label { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.search-box .sb-field select, .search-box .sb-field input { width: 100%; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--ink); padding: 2px 0; outline: none; appearance: none; }
.swap { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--brand); transition: transform .3s var(--ease); }
.swap:hover { transform: rotate(180deg); background: var(--brand-50); }
.search-box .btn { height: 52px; border-radius: 14px; padding: 0 22px; }

.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: .86rem; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--brand); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; display: block; }
.feature { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ficon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 14px; }
.feature .ficon .icon { width: 22px; height: 22px; }
.feature p { color: var(--muted); margin: 0; font-size: .93rem; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; margin-bottom: 12px; }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat-band > div { background: #fff; padding: 22px; }
.stat-band strong { display: block; font-size: 1.7rem; letter-spacing: -.03em; }
.stat-band span { color: var(--muted); font-size: .85rem; font-weight: 600; }

.city-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.city-cloud a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 650; font-size: .88rem; transition: .15s; }
.city-cloud a:hover { border-color: var(--brand-600); color: var(--brand-700); background: var(--brand-50); }

.cta-band { background: linear-gradient(135deg, var(--brand-700), var(--brand) 60%, #14b8a6); color: #fff; border-radius: 24px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: 1.8rem; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, .08); }

/* ---------- Ride card ---------- */
.ride-list { display: flex; flex-direction: column; gap: 12px; }
.ride-card { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.ride-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #cfe3de; color: var(--ink); }
.timeline { display: grid; grid-template-columns: 52px 16px 1fr; gap: 2px 10px; align-items: center; }
.timeline .t { font-weight: 800; font-size: 1rem; }
.timeline .city { font-weight: 700; }
.timeline .dot { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--brand); background: #fff; justify-self: center; }
.timeline .dot.end { background: var(--brand); }
.timeline .bar { width: 2px; height: 22px; background: repeating-linear-gradient(var(--brand-100) 0 4px, transparent 4px 7px); justify-self: center; }
.timeline .dur { font-size: .78rem; color: var(--muted); font-weight: 600; }
.ride-meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.ride-meta .name { font-weight: 700; font-size: .9rem; }
.price { text-align: right; }
.price strong { display: block; font-size: 1.45rem; letter-spacing: -.03em; }
.price small { color: var(--muted); font-weight: 600; }
.save-chip { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 3px 9px; border-radius: 999px; background: var(--ok-50); color: var(--ok); font-weight: 700; font-size: .76rem; }

.date-head { font-weight: 800; color: var(--ink-2); font-size: .9rem; margin: 18px 0 2px; }
[id] { scroll-margin-top: 90px; }

/* ---------- Filters bar ---------- */
.filters { display: grid; grid-template-columns: 1fr auto 1fr 170px 110px auto; gap: 10px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.filters .field { margin: 0; }
.filters .swap { margin-bottom: 3px; }

/* ---------- Empty ---------- */
.empty { text-align: center; padding: 48px 24px; background: #fff; border: 1px dashed #cfd9d6; border-radius: var(--radius); }
.empty .icon-wrap { width: 64px; height: 64px; border-radius: 20px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin: 0 auto 14px; }
.empty .icon-wrap .icon { width: 28px; height: 28px; }
.empty p { color: var(--muted); max-width: 420px; margin: 0 auto 18px; }

/* ---------- Detail ---------- */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .92rem; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 650; }
.feature-list { display: flex; gap: 8px; flex-wrap: wrap; }
.person { display: flex; align-items: center; gap: 12px; }
.person strong { display: block; }
.big-price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.savings-box { border-radius: 14px; background: linear-gradient(180deg, var(--ok-50), #fff); border: 1px solid #c9ecd4; padding: 16px; }
.savings-box strong { color: var(--ok); }
.meter { height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; border: 1px solid var(--line); }
.meter > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-600), #2dd4bf); width: 0; transition: width .8s var(--ease); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 14px; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.active { color: var(--brand-700); border-bottom-color: var(--brand); }
.tabs .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bg); font-size: .72rem; margin-left: 6px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }

/* ---------- KPI ---------- */
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.kpi span { color: var(--muted); font-size: .82rem; font-weight: 650; display: flex; align-items: center; gap: 6px; }
.kpi strong { display: block; font-size: 1.6rem; letter-spacing: -.03em; margin-top: 4px; }
.kpi.hl { background: linear-gradient(135deg, var(--brand-700), var(--brand)); color: #fff; border: 0; }
.kpi.hl span { color: rgba(255, 255, 255, .8); }

/* ---------- Payment ---------- */
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.pay-method { border: 2px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 700; background: #fff; font: inherit; transition: .15s; }
.pay-method:hover { border-color: #b9d6cf; }
.pay-method.active { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.pay-method.disabled { opacity: .5; cursor: not-allowed; border-style: dashed; }
.pay-method.disabled:hover { border-color: var(--line); }
.qr { width: 240px; height: 240px; margin: 0 auto; border-radius: 16px; border: 1px solid var(--line); padding: 10px; background: #fff; }
.copy-field { display: flex; gap: 8px; }
.copy-field input { font-family: ui-monospace, monospace; font-size: .78rem; }
.card-preview { aspect-ratio: 1.586; max-width: 340px; border-radius: 18px; padding: 22px; color: #fff; background: linear-gradient(135deg, #0b2b26, var(--brand-700) 55%, #14b8a6); position: relative; overflow: hidden; margin: 0 auto 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; justify-content: space-between; }
.card-preview::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; top: -90px; background: rgba(255, 255, 255, .08); }
.card-preview .num { font-family: ui-monospace, monospace; font-size: 1.2rem; letter-spacing: .12em; }
.card-preview .chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, #f6d27a, #c9a24a); }
.card-preview .lbl { font-size: .62rem; text-transform: uppercase; opacity: .7; letter-spacing: .1em; }
.success-anim { width: 84px; height: 84px; border-radius: 50%; background: var(--ok-50); color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; animation: pop .5s var(--ease); }
.success-anim .icon { width: 42px; height: 42px; stroke-width: 2.5; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } }
.code-big { font-family: ui-monospace, monospace; font-size: 2rem; font-weight: 800; letter-spacing: .3em; padding: 14px 20px; background: var(--bg); border: 2px dashed var(--brand-100); border-radius: 14px; text-align: center; color: var(--brand-700); }

/* ---------- Calculator ---------- */
.calc-result { background: linear-gradient(160deg, #0b2b26, var(--brand-700)); color: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg); }
.calc-result .big { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.calc-result .muted { color: rgba(255, 255, 255, .7); }
.calc-result .row-between { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: .93rem; }
.calc-result .row-between:last-child { border: 0; }
.bars { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.bar-row { display: grid; grid-template-columns: 110px 1fr 90px; gap: 10px; align-items: center; font-size: .85rem; font-weight: 600; }
.bar-row .track { height: 12px; background: rgba(255, 255, 255, .1); border-radius: 999px; overflow: hidden; }
.bar-row .fill { height: 100%; border-radius: 999px; background: rgba(255, 255, 255, .5); width: 0; transition: width .7s var(--ease); }
.bar-row .fill.hl { background: linear-gradient(90deg, #2dd4bf, #a7f3d0); }
.bar-row b { text-align: right; }
input[type=range] { width: 100%; accent-color: var(--brand); }

/* ---------- Notifications ---------- */
.notif { display: flex; gap: 14px; padding: 16px; border-bottom: 1px solid var(--line); color: var(--ink); }
.notif:hover { background: var(--bg); color: var(--ink); }
.notif .ni { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; flex: none; }
.notif.unread { background: #fbfefd; }
.notif.unread strong::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: 8px; vertical-align: middle; }

/* ---------- Legal ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; font-size: 1.25rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .4em; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 66px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(160deg, var(--brand-700), var(--brand) 55%, #14b8a6); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.auth-side h2 { color: #fff; font-size: 2rem; max-width: 420px; }
.auth-side p { color: rgba(255, 255, 255, .85); max-width: 420px; }
.auth-main { display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 400px; }
/* Passageiro confirma a viagem (libera o repasse ao motorista) */
.trip-confirm { padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #f0fdfa, #d5f5ee); border: 1px solid var(--brand-100); }
.trip-confirm > strong { display: flex; align-items: center; gap: 8px; color: var(--brand-700); margin-bottom: 6px; }
.trip-confirm details summary { list-style: none; cursor: pointer; }
.trip-confirm details summary::-webkit-details-marker { display: none; }
.account-card { max-width: 460px; margin: 24px auto; padding: 32px; }
.account-card h1 { font-size: 1.6rem; }
.account-icon { width: 56px; height: 56px; border-radius: 18px; display: inline-grid; place-items: center; margin-bottom: 14px; background: linear-gradient(135deg, #14b8a6, var(--brand-700)); color: #fff; box-shadow: 0 12px 24px -12px rgba(15, 118, 110, .8); }
.account-icon .icon { width: 26px; height: 26px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-signup { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 40px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--brand); }
.legal-line { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; color: var(--muted); font-size: .8rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Tables (admin + listas) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfcfc; white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fbfdfc; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Admin ---------- */
.admin-body { background: #f3f6f5; }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: #0b1f1c; color: #cfe3de; padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; }
.admin-side .logo { color: #fff; margin: 4px 8px 22px; }
.admin-side .logo b { color: #5eead4; }
.admin-side a { display: flex; align-items: center; gap: 10px; color: #a9c4be; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.admin-side a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.admin-side a.active { background: rgba(94, 234, 212, .12); color: #5eead4; }
.admin-side .sep { margin-top: auto; }
.admin-main { padding: 28px 32px 60px; min-width: 0; }
.admin-main .page-head h1 { font-size: 1.6rem; }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: 10px; }
.chart .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.chart .b { width: 100%; border-radius: 6px 6px 2px 2px; background: var(--brand-100); position: relative; min-height: 2px; transition: height .6s var(--ease); }
.chart .b i { position: absolute; bottom: 0; left: 0; right: 0; background: var(--brand); border-radius: 6px 6px 2px 2px; }
.chart .col span { font-size: .66rem; color: var(--muted); font-weight: 600; }
.chart .col:hover .b { filter: brightness(.95); }
.doc-thumb { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .split, .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .sticky { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr auto 1fr; }
  .filters .btn { grid-column: 1 / -1; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 10px; }
  .admin-side .logo, .admin-side .sep { display: none; }
  .admin-side a { white-space: nowrap; }
  .admin-main { padding: 20px 16px 60px; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .nav { display: none; }
  .site-header .container { height: 66px; }
  .site-header .logo, .site-header .logo:hover { font-size: 1.3rem; gap: 10px; }
  .site-header .logo-mark { width: 40px; height: 40px; border-radius: 12px; }
  .site-header .logo-mark svg { width: 24px; height: 24px; }
  .grid-2, .grid-3, .grid-4, .stat-band { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .form-grid > [class*=col-] { grid-column: span 6; }
  .search-box { grid-template-columns: 1fr 1fr; grid-template-areas: "o o" "d d" "dt pp" "b b"; }
  .search-box .sb-field.sb-origin, .search-box .sb-field.sb-dest { padding-right: 56px; padding-left: 12px; }
  .search-box > .swap { left: auto; right: 18px; top: 66px; transform: translateY(-50%) rotate(90deg); }
  .search-box > .swap:hover { transform: translateY(-50%) rotate(270deg); }
  .filters { grid-template-columns: 1fr; }
  .filters .swap { justify-self: center; transform: rotate(90deg); }
  .ride-card { grid-template-columns: 1fr; padding: 16px; }
  .price { text-align: left; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .cta-band { padding: 28px; }
  .section { padding: 48px 0; }
  .page { padding-bottom: 110px; }
  .toast-stack { left: 16px; right: 16px; top: 70px; max-width: none; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 700; color: var(--muted); padding: 6px 0; }
  .bottom-nav a.active { color: var(--brand); }
  .bottom-nav .icon { width: 22px; height: 22px; }
  .bottom-nav .plus { width: 44px; height: 44px; margin-top: -18px; border-radius: 14px; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(15, 118, 110, .8); }
  .footer-grid { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: 1fr 1fr; }
  .bar-row { grid-template-columns: 80px 1fr 80px; }
  .calc-result .big { font-size: 2.4rem; }
}

/* ---------- Simulador ---------- */
/* Simulador no padrão bento de "A solução": cartão branco (controles) + cartão escuro (resultado) */
.sim { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: stretch; }
.sim > .bento-card, .sim > .bento-card:hover { transform: none; } /* cartões interativos: não "pulam" sob o mouse */
.sim > .bento-card:hover { box-shadow: 0 22px 44px -26px rgba(11, 31, 28, .32); }
.sim-controls { padding: 30px; }
.sim-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sim-head .bc-icon { margin-bottom: 0; flex: none; }
.sim-head h3 { font-size: 1.18rem; letter-spacing: -.02em; margin: 0 0 2px; }
.sim-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; padding: 12px 14px; border-radius: 14px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--ink-2); font-size: .88rem; line-height: 1.5; }
.sim-note .icon { flex: none; width: 18px; height: 18px; color: var(--brand); margin-top: 1px; }
.sim-route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: end; margin-bottom: 8px; }
.sim-route .swap { margin-bottom: 20px; }
.sim-value { font-size: .95rem; color: var(--ink-2); }
.sim-value strong { font-size: 1.15rem; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.link-btn { border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.sim-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sim-people label { position: relative; }
.sim-people input { position: absolute; opacity: 0; }
.sim-people span { display: grid; place-items: center; height: 48px; border-radius: 14px; border: 2px solid var(--line); font-weight: 800; font-size: 1.1rem; color: var(--ink-2); cursor: pointer; transition: .15s; }
.sim-people span:hover { border-color: #b9d6cf; }
.sim-people input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.sim-people input:focus-visible + span { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.sim-result { padding: 30px; color: #fff; } /* fundo, cantos e brilho vêm de .bento-card.dark */
.sim-result .bc-tag { margin-bottom: 6px; }
.sim-result.bento-card p.sim-foot { color: rgba(255, 255, 255, .55); }
#simulador .vision-title { text-wrap: balance; } /* evita uma palavra sozinha na segunda linha */
.sim-big { font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.sim-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #a7f3d0; font-weight: 700; font-size: .85rem; }
.sim-seats { display: flex; align-items: center; gap: 8px; margin: 22px 0 6px; flex-wrap: wrap; }
.sim-seats .seat { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .3); border: 1px dashed rgba(255, 255, 255, .2); transition: .25s var(--ease); }
.sim-seats .seat.on { background: #2dd4bf; color: #0b2b26; border: 1px solid #2dd4bf; transform: translateY(-2px); }
.sim-seats .seat.driver.on { background: #fbbf24; border-color: #fbbf24; }
.seat-caption { margin-left: 6px; color: rgba(255, 255, 255, .8); font-size: .9rem; }
.seat-caption strong { color: #fff; }
.sim-result .bars { margin: 18px 0; }
.sim-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sim-facts > div { background: rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px 14px; }
.sim-facts span { display: block; font-size: .78rem; color: rgba(255, 255, 255, .7); font-weight: 600; }
.sim-facts strong { font-size: 1.15rem; }
.sim-foot { font-size: .75rem; color: rgba(255, 255, 255, .55); margin: 8px 0 0; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

input[type=range] { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--brand) var(--fill, 50%), var(--line) var(--fill, 50%)); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--brand); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 8px rgba(11, 31, 28, .25); transition: transform .15s; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 8px rgba(11, 31, 28, .25); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type=range]:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 4px; border-radius: 8px; }

/* ---------- Visão ---------- */
/* O problema: tons quentes para contrastar com a solução (verde) */
.problem { background: radial-gradient(700px 360px at 0% 0%, rgba(244, 63, 94, .06), transparent 65%), radial-gradient(600px 320px at 100% 100%, rgba(245, 158, 11, .08), transparent 65%), #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.problem-badge { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 9px 18px 9px 14px; border-radius: 999px; background: linear-gradient(135deg, #fb7185, #e11d48); color: #fff; font-weight: 850; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 12px 26px -10px rgba(225, 29, 72, .65); }
.problem-badge .icon { width: 18px; height: 18px; }
.pb-pulse { position: absolute; inset: 0; border-radius: inherit; border: 2px solid #fb7185; animation: badgePulse 2.2s var(--ease) infinite; pointer-events: none; }
/* Mesmo selo, em verde, para "A solução" */
.solution-badge { background: linear-gradient(135deg, #14b8a6, var(--brand-700)); box-shadow: 0 12px 26px -10px rgba(15, 118, 110, .7); }
.solution-badge .pb-pulse { border-color: #2dd4bf; }
@keyframes badgePulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.25, 1.6); opacity: 0; } }
.problem-intro p { font-size: 1.05rem; max-width: 440px; }
.empty-car { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 16px 18px; border-radius: 20px; background: #fff; border: 1px solid #fde2e4; box-shadow: var(--shadow); max-width: 460px; }
.empty-car strong { display: block; font-size: 1rem; }
.empty-car small { color: var(--muted); }
.ec-seats { display: flex; gap: 5px; flex: none; }
.ec-seats i { width: 30px; height: 30px; border-radius: 10px; border: 1.5px dashed #fda4af; display: grid; place-items: center; animation: seatEmpty 2.6s ease-in-out infinite; }
.ec-seats i:nth-child(3) { animation-delay: .2s; } .ec-seats i:nth-child(4) { animation-delay: .4s; } .ec-seats i:nth-child(5) { animation-delay: .6s; }
.ec-seats i.on { border: 0; background: linear-gradient(135deg, #fb7185, #e11d48); color: #fff; animation: none; }
.ec-seats .icon { width: 15px; height: 15px; }
@keyframes seatEmpty { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.problem-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pb-card { position: relative; overflow: hidden; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition-delay: var(--d, 0s); }
.pb-card.reveal { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, opacity .6s var(--ease); transition-delay: var(--d, 0s); }
.pb-card.reveal.in:hover, .pb-card:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -24px rgba(159, 18, 57, .35); border-color: #fecdd3; transition-delay: 0s; }
.pb-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 63, 94, .1), transparent 70%); transition: transform .5s var(--ease); }
.pb-card:hover::after { transform: scale(1.5); }
.pb-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: #fff1f2; color: #e11d48; border: 1px solid #ffe4e6; transition: transform .4s var(--ease); }
.pb-card:hover .pb-icon { transform: rotate(-8deg) scale(1.06); }
.pb-icon .icon { width: 22px; height: 22px; }
.pb-card:nth-child(2) .pb-icon, .pb-card:nth-child(3) .pb-icon { background: var(--accent-50); color: #d97706; border-color: #fde4b5; }
.pb-card h3 { font-size: 1.08rem; margin: 0 0 6px; letter-spacing: -.02em; }
.pb-card p { margin: 0; color: var(--muted); font-size: .93rem; }

.vision-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.vision-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.035em; }

/* Cards "como funciona" em grade bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bento-card {
  position: relative; overflow: hidden; isolation: isolate; padding: 28px; border-radius: 24px;
  background: radial-gradient(420px 200px at 100% 0%, rgba(20, 184, 166, .07), transparent 70%), #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, opacity .6s var(--ease);
  transition-delay: var(--d, 0s);
}
/* Seletores mais específicos que .reveal / .reveal.in para manter a animação de hover */
.bento-card.reveal { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, opacity .6s var(--ease); transition-delay: var(--d, 0s); }
.bento-card.reveal.in:hover, .bento-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -24px rgba(11, 31, 28, .35); border-color: #cfe3de; transition-delay: 0s; }
.bento-card.wide { grid-column: span 2; }
.bento-card.full { grid-column: 1 / -1; }
.bento-card.full .bc-split { grid-template-columns: 1fr 1.15fr; }
.bento-card.full .bc-checks { grid-template-columns: 1fr 1fr; }
.bento-card h3 { font-size: 1.18rem; letter-spacing: -.02em; margin: 0 0 8px; }
.bento-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.bento-card p + p { margin-top: 10px; }
.bc-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; box-shadow: 0 10px 20px -10px currentColor; transition: transform .45s var(--ease); }
.bc-icon .icon { width: 24px; height: 24px; color: #fff; }
.bento-card:hover .bc-icon { transform: rotate(-8deg) scale(1.08); }
.bc-icon.teal { background: linear-gradient(135deg, #14b8a6, #0f766e); color: #0f766e; }
.bc-icon.sky { background: linear-gradient(135deg, #38bdf8, #0369a1); color: #0369a1; }
.bc-icon.amber { background: linear-gradient(135deg, #fbbf24, #d97706); color: #d97706; }
.bc-icon.violet { background: linear-gradient(135deg, #a78bfa, #6d28d9); color: #6d28d9; }
.bc-icon.rose { background: linear-gradient(135deg, #fb7185, #be123c); color: #be123c; }
.bc-icon.light { background: linear-gradient(135deg, #14b8a6, var(--brand-700)); color: var(--brand-700); }

/* Card escuro (destaque do rateio) */
.bento-card.dark { color: #fff; border-color: transparent; background: radial-gradient(500px 260px at 90% 110%, rgba(45, 212, 191, .35), transparent 65%), radial-gradient(380px 220px at 0% 0%, rgba(245, 158, 11, .18), transparent 70%), linear-gradient(150deg, #0b2b26, var(--brand-700)); }
.bento-card.dark h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #fff; max-width: 480px; }
.bento-card.dark p { color: rgba(255, 255, 255, .75); max-width: 520px; }
.bc-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; color: #99f6e4; }
.bc-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.bc-formula span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); font-weight: 700; font-size: .85rem; }
.bc-formula span .icon { width: 16px; height: 16px; opacity: .8; }
.bc-formula span.hl { background: var(--accent); color: #241500; border-color: transparent; }
.bc-formula b { color: rgba(255, 255, 255, .55); font-size: 1.05rem; }
.bc-seats { position: absolute; right: 26px; top: 26px; display: flex; gap: 6px; z-index: -1; }
.bc-seats i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(45, 212, 191, .2); color: #5eead4; border: 1px solid rgba(94, 234, 212, .3); animation: seatPop 3.2s var(--ease) infinite; }
.bc-seats i:nth-child(2) { animation-delay: .15s; } .bc-seats i:nth-child(3) { animation-delay: .3s; }
.bc-seats i:nth-child(4) { animation-delay: .45s; } .bc-seats i:nth-child(5) { animation-delay: .6s; }
.bc-seats i.driver { background: var(--accent); color: #241500; border-color: transparent; }
.bc-seats .icon { width: 17px; height: 17px; }
@keyframes seatPop { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-5px); } }

/* Mini rota com cidade de passagem */
.bc-route { display: flex; align-items: center; gap: 6px; margin-top: 20px; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.bc-route span { padding: 5px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); white-space: nowrap; }
.bc-route span.on { background: #e0f2fe; border-color: #bae6fd; color: #0369a1; }
.bc-route i { flex: 1; min-width: 10px; height: 2px; background: repeating-linear-gradient(90deg, #94a3b8 0 4px, transparent 4px 8px); }

/* Card de destaque em âmbar (confiança) */
/* Card de destaque claro, na paleta verde do site (confiança / proteção das encomendas) */
.bento-card.accent { color: var(--ink); border-color: var(--brand-100);
  background: radial-gradient(520px 260px at 100% 0%, rgba(45, 212, 191, .24), transparent 65%),
    radial-gradient(420px 220px at 0% 100%, rgba(15, 118, 110, .10), transparent 70%),
    linear-gradient(135deg, #f0fdfa, #d5f5ee); }
.bento-card.accent:hover { border-color: #99e6d8; box-shadow: 0 28px 50px -24px rgba(15, 118, 110, .45); }
.bento-card.accent p { color: var(--ink-2); }
.bento-card.accent .bc-checks li { background: #fff; border: 1px solid var(--brand-100); box-shadow: var(--shadow-sm); color: var(--ink); }
.bento-card.accent .bc-checks .icon { color: var(--brand); }
.bc-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.bc-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bc-checks li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); font-weight: 750; font-size: .9rem; transition: transform .3s var(--ease); }
.bc-checks li:hover { transform: translateX(4px); }
.bc-checks .icon { width: 18px; height: 18px; color: #b45309; }

/* Como funciona: passo a passo com alternância passageiro / motorista */
.flow { position: relative; }
.flow > input { position: absolute; top: 0; left: 50%; opacity: 0; pointer-events: none; }
.flow-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(340px, 100%); margin: 0 auto 32px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.flow-toggle label { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 999px; font-weight: 750; font-size: .93rem; color: var(--muted); cursor: pointer; transition: color .3s var(--ease); }
.flow-toggle label .icon { width: 18px; height: 18px; }
.flow-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); box-shadow: 0 8px 18px -8px rgba(15, 118, 110, .9); transition: transform .45s var(--ease); }
#flow-p:checked ~ .flow-toggle label[for=flow-p], #flow-d:checked ~ .flow-toggle label[for=flow-d] { color: #fff; }
#flow-d:checked ~ .flow-toggle .flow-pill { transform: translateX(100%); }
#flow-p:focus-visible ~ .flow-toggle label[for=flow-p], #flow-d:focus-visible ~ .flow-toggle label[for=flow-d] { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
#flow-p:checked ~ .flow-p, #flow-d:checked ~ .flow-d { display: grid; }
/* Linha tracejada ligando os passos */
.flow-steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 54px; height: 2px; background: repeating-linear-gradient(90deg, #b8d8d1 0 6px, transparent 6px 12px); z-index: 0; }
.flow-step { position: relative; z-index: 1; padding: 28px 26px; border-radius: 24px; background: radial-gradient(420px 200px at 100% 0%, rgba(20, 184, 166, .07), transparent 70%), #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); animation: stepIn .55s var(--ease) backwards; animation-delay: calc(var(--i) * 90ms); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.flow-step:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -24px rgba(11, 31, 28, .35); border-color: #cfe3de; }
.flow-step:hover .bc-icon { transform: rotate(-8deg) scale(1.08); }
.flow-step .bc-icon { margin-bottom: 0; }
.fs-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.fs-num { font-size: 2.6rem; font-weight: 850; letter-spacing: -.05em; line-height: 1; background: linear-gradient(180deg, #cbd5d3, rgba(203, 213, 211, .15)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: .35s var(--ease); }
.flow-step:hover .fs-num { background-image: linear-gradient(180deg, var(--brand-600), rgba(13, 148, 136, .2)); }
.flow-step h3 { font-size: 1.1rem; letter-spacing: -.02em; margin: 0 0 8px; }
.flow-step p { color: var(--muted); font-size: .93rem; margin: 0; }
@keyframes stepIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
/* Encomendas: fluxo em 3 passos, tamanhos e código */
.pk-flow { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; position: relative; }
.pk-flow::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 2px; background: repeating-linear-gradient(90deg, rgba(153, 246, 228, .45) 0 6px, transparent 6px 12px); }
.pk-flow li { position: relative; display: flex; flex-direction: column; gap: 12px; }
.pk-flow strong { display: block; color: #fff; font-size: .98rem; }
.pk-flow small { color: rgba(255, 255, 255, .62); font-size: .8rem; }
.pk-dot { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #134e48; border: 1px solid rgba(94, 234, 212, .35); color: #5eead4; box-shadow: 0 0 0 6px rgba(11, 43, 38, .9); }
.pk-dot .icon { width: 22px; height: 22px; }
.pk-dot.ok { background: var(--accent); color: #241500; border-color: transparent; }
.pk-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.pk-sizes div { display: grid; gap: 2px; padding: 12px; border-radius: 16px; background: var(--accent-50); border: 1px solid #fde4b5; transition: transform .3s var(--ease); }
.pk-sizes div:hover { transform: translateY(-3px); }
.pk-sizes b { font-size: 1.6rem; line-height: 1; color: #b45309; letter-spacing: -.04em; }
.pk-sizes span { font-weight: 750; font-size: .9rem; }
.pk-sizes small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.pk-code { display: flex; gap: 6px; margin-top: 18px; }
.pk-code i { flex: 1; max-width: 40px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-style: normal; font-size: 1.4rem; font-weight: 900; color: var(--brand); background: var(--brand-50); border: 1px solid var(--brand-100); animation: codeBlink 2.4s var(--ease) infinite; }
.pk-code i:nth-child(2) { animation-delay: .12s; } .pk-code i:nth-child(3) { animation-delay: .24s; }
.pk-code i:nth-child(4) { animation-delay: .36s; } .pk-code i:nth-child(5) { animation-delay: .48s; } .pk-code i:nth-child(6) { animation-delay: .6s; }
@keyframes codeBlink { 0%, 60%, 100% { background: var(--brand-50); } 75% { background: var(--brand-100); transform: translateY(-2px); } }
.bc-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: .93rem; display: grid; gap: 6px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.step p { color: var(--muted); margin: 0; font-size: .93rem; }
.step .step-num { background: var(--brand); }

.parcel-flow { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.pf-step { display: flex; align-items: center; gap: 14px; }
.pf-step strong { display: block; }
.pf-step small { color: var(--muted); }
.pf-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-50); color: #b45309; flex: none; }
.pf-ico .icon { width: 22px; height: 22px; }
.pf-ico.ok { background: var(--ok-50); color: var(--ok); }
.pf-step:nth-child(3) .pf-ico { background: var(--brand-50); color: var(--brand); }
.pf-line { width: 2px; height: 26px; margin: 6px 0 6px 23px; background: repeating-linear-gradient(var(--line) 0 4px, transparent 4px 8px); }
.city-cloud a { display: inline-flex; align-items: center; gap: 6px; }
.city-cloud a .icon { color: var(--accent); width: 1em; height: 1em; }

@media (max-width: 1000px) {
  .sim { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-grid { grid-template-columns: 1fr; gap: 32px; }
  .flow-steps::before { display: none; }
  .bc-seats { position: static; margin-top: 18px; z-index: auto; }
}
@media (max-width: 720px) {
  .hero2 { padding: 40px 0 36px; text-align: left; }
  .hero2-lead { margin: 0; }
  .hero2-search { margin-top: 22px; }
  .hero2-title { font-size: clamp(2.1rem, 10vw, 2.5rem); }
  .hero2-rotator { display: table; }
  .hero2-line { white-space: normal; display: block; min-height: 2.06em; } /* "Vai pra" + cidade: altura fixa */
  .hero2-title br { display: none; }
  .hero2-title em { display: block; }
  .hero2-quote, .hero2-trust { justify-content: flex-start; }
  .hq-card { justify-content: flex-start; }
  /* Rotas populares: cartões em 2 colunas no celular */
  .hp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hp-card { padding: 14px; }
  .hp-city { font-size: .95rem; }
  .hero2-trust { gap: 10px 18px; font-size: .8rem; margin-top: 24px; }
  .sim-controls, .sim-result { padding: 22px; }
  .sim-route { grid-template-columns: 1fr; }
  .sim-route .swap { justify-self: center; margin: -6px 0 6px; transform: rotate(90deg); }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .bento-card { padding: 22px; }
  .bento-card.wide { grid-column: auto; }
  .flow-steps { grid-template-columns: 1fr; gap: 12px; }
  .problem-cards { grid-template-columns: 1fr; gap: 12px; }
  .pb-card { padding: 20px; }
  .empty-car { gap: 12px; padding: 14px; }
  .ec-seats i { width: 26px; height: 26px; }
  .bento-card.full .bc-split, .bento-card.full .bc-checks { grid-template-columns: 1fr; }
  .pk-flow { grid-template-columns: 1fr; gap: 14px; }
  .pk-flow::before { left: 24px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(153, 246, 228, .45) 0 6px, transparent 6px 12px); }
  .pk-flow li { flex-direction: row; align-items: center; }
  .pk-dot { flex: none; }
  .flow-step { padding: 20px; }
  .flow-toggle { margin-bottom: 22px; }
  .bc-seats { position: static; margin-top: 18px; z-index: auto; }
  .bc-split { grid-template-columns: 1fr; }
  .vision-head { text-align: left; margin-bottom: 28px; }
}

.dims-input { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 8px; align-items: center; }
.dims-input span { color: var(--muted); font-weight: 700; }

/* ---------- Termo de responsabilidade ---------- */
.contract-box { max-height: 240px; overflow-y: auto; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: .85rem; color: var(--ink-2); }
.contract-box p { margin: 0 0 .7em; }
.contract-box p:last-child { margin: 0; }
.contract-seal { border-left: 4px solid var(--brand); }
@media print { .site-header, .site-footer, .bottom-nav, .contract-seal .btn { display: none !important; } body { background: #fff; } }

/* ---------- Chat ---------- */
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.chat-head .person small { display: block; }
.chat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: var(--shadow-sm); }
.chat-log { display: flex; flex-direction: column; gap: 8px; height: min(56vh, 520px); overflow-y: auto; padding: 6px; scroll-behavior: smooth; }
.chat-log > :first-child { margin-top: auto; }
.chat-empty { margin: auto; text-align: center; max-width: 280px; }
.bubble { max-width: 78%; align-self: flex-start; background: var(--bg); border: 1px solid var(--line); padding: 9px 13px; border-radius: 16px 16px 16px 4px; font-size: .94rem; white-space: pre-wrap; word-wrap: break-word; animation: fade .2s var(--ease); }
.bubble.mine { align-self: flex-end; background: var(--brand); border-color: var(--brand); color: #fff; border-radius: 16px 16px 4px 16px; }
.bubble time { display: block; font-size: .68rem; opacity: .65; margin-top: 3px; text-align: right; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.chat-form textarea { min-height: 46px; max-height: 140px; resize: none; }
.chat-form .btn { height: 46px; width: 52px; padding: 0; }

.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-select label { position: relative; }
.chip-select input { position: absolute; opacity: 0; }
.chip-select span { display: inline-flex; padding: 7px 13px; border-radius: 999px; border: 1px solid #d6dfdc; background: #fff; font-weight: 650; font-size: .86rem; color: var(--ink-2); cursor: pointer; transition: .15s; user-select: none; }
.chip-select span:hover { border-color: var(--brand-600); }
.chip-select input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip-select input:focus-visible + span { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.chip-select label.off { display: none; }
.via { font-size: .78rem; color: var(--muted); font-weight: 600; }
.request-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.request-card + .request-card { margin-top: 12px; }
.route-line { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; flex-wrap: wrap; }
.route-line .icon { color: var(--brand); }
.steps-track { display: flex; gap: 6px; margin: 6px 0 2px; }
.steps-track i { flex: 1; height: 6px; border-radius: 999px; background: var(--line); }
.steps-track i.on { background: var(--brand); }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 0; }
.star-input label { font-size: 1.8rem; color: #d6dfdc; cursor: pointer; transition: color .12s, transform .12s; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--accent); }
.star-input label:hover { transform: scale(1.15); }
.ficon { display: inline-grid; place-items: center; }
code { background: var(--bg); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .85em; }
@media (max-width: 720px) { .hide-sm { display: none !important; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Acompanhamento da viagem em tempo real ---------- */
/* Chamada na página da viagem */
.track-cta { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.track-cta > div { flex: 1; min-width: 0; }
.track-cta strong { display: block; }
.track-cta p { color: var(--muted); }
.track-cta-ic { position: relative; flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.track-cta-ic i { position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; animation: liveDot 2s ease-in-out infinite; }
.track-cta.is-open { background: linear-gradient(135deg, #06201c, #0b3b35 60%, #0f5a51); border-color: transparent; color: #fff; }
.track-cta.is-open p { color: rgba(255, 255, 255, .75); }
.track-cta.is-open .track-cta-ic { background: rgba(94, 234, 212, .16); color: #5eead4; }
.track-cta.is-open .track-cta-ic i { border-color: #0b3b35; }
.track-cta.is-open .btn-primary { background: linear-gradient(135deg, #5eead4, #2dd4bf); color: #06201c; }
@media (max-width: 720px) { .track-cta { flex-wrap: wrap; } .track-cta .btn { width: 100%; justify-content: center; } }

/* Indicador ao vivo */
.live-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #dcfce7; color: #166534; font-weight: 800; font-size: .82rem; }
.live-pill i { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .22); animation: liveDot 2s ease-in-out infinite; }
.live-pill.is-off { background: var(--bg); color: var(--muted); }
.live-pill.is-off i { background: var(--muted); box-shadow: none; animation: none; }

/* Mapa + painel */
.trip-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.trip-map-wrap { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #e8efed; }
.trip-map { height: min(68vh, 640px); min-height: 380px; z-index: 0; }
.trip-center { position: absolute; right: 12px; bottom: 12px; z-index: 500; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 0; background: #fff; color: var(--brand-700); font: inherit; font-weight: 800; font-size: .85rem; box-shadow: 0 8px 20px -8px rgba(11, 31, 28, .45); cursor: pointer; }
.trip-center .icon { width: 16px; height: 16px; }
.trip-map-overlay { position: absolute; inset: 0; z-index: 600; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 24px; text-align: center; background: rgba(6, 32, 28, .62); backdrop-filter: blur(3px); color: #fff; }
.trip-map-overlay .icon { width: 34px; height: 34px; color: #5eead4; }
.trip-map-overlay span { color: rgba(255, 255, 255, .78); max-width: 340px; }
.trip-side { display: grid; gap: 16px; }
.trip-side .card { margin: 0; }
.trip-me { display: flex; gap: 12px; align-items: flex-start; }
.trip-me-ic { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--muted); transition: background .3s, color .3s; }
.is-sharing .trip-me-ic { background: #ccfbf1; color: var(--brand-700); box-shadow: 0 0 0 0 rgba(20, 184, 166, .5); animation: sharePulse 2s ease-out infinite; }
@keyframes sharePulse { 70% { box-shadow: 0 0 0 12px rgba(20, 184, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); } }
.is-sharing .trip-share-card { border-color: #5eead4; box-shadow: 0 0 0 3px rgba(94, 234, 212, .25), var(--shadow); }
.trip-people { display: grid; gap: 8px; }
.trip-person { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.trip-person:hover { background: var(--bg); border-color: #99f6e4; }
.trip-person strong { display: block; font-size: .95rem; }
.trip-person small { color: var(--muted); }
.trip-person .tm-person { width: 36px; height: 36px; flex: none; }
.trip-eta { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--brand-50); color: var(--brand-700); font-size: .9rem; }
.trip-eta .icon { flex: none; width: 18px; height: 18px; }
.trip-privacy { display: block; line-height: 1.5; }
.trip-privacy .icon { width: 14px; height: 14px; vertical-align: -2px; }
.trip-privacy .link { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
@media (max-width: 960px) {
  .trip-grid { grid-template-columns: 1fr; }
  .trip-map { height: 52vh; min-height: 320px; }
}

/* Marcadores do mapa */
.tm-city { display: block; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(11, 31, 28, .4); }
.tm-start { background: #0f766e; } .tm-end { background: #f59e0b; } .tm-stop { width: 12px; height: 12px; margin: 2px; background: #94a3b8; }
.tm-person { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 3px solid #fff; box-shadow: 0 6px 16px -4px rgba(11, 31, 28, .55); }
.tm-person .icon { width: 18px; height: 18px; }
.tm-driver { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.tm-passenger { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.tm-me { outline: 3px solid rgba(94, 234, 212, .6); outline-offset: 2px; }
.tm-stale { filter: grayscale(.9); opacity: .6; }
.leaflet-tooltip.tm-label { border: 0; border-radius: 8px; padding: 3px 8px; font: 700 .76rem 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink); box-shadow: 0 4px 12px -4px rgba(11, 31, 28, .35); }
.leaflet-tooltip.tm-label::before { display: none; }
.leaflet-tooltip.tm-label-person { background: #0b1f1c; color: #fff; }

/* Consentimento */
.trip-dialog { max-width: 440px; width: calc(100% - 32px); border: 0; border-radius: 22px; padding: 26px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.trip-dialog::backdrop { background: rgba(6, 32, 28, .55); backdrop-filter: blur(2px); }
.trip-dialog h3 { margin: 10px 0 8px; }
.trip-dialog ul { padding-left: 18px; color: var(--ink-2); display: grid; gap: 6px; }
.trip-dialog .row { justify-content: flex-end; gap: 8px; }
.trip-dialog-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #ccfbf1; color: var(--brand-700); }

/* Chave liga/desliga (painel admin) */
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--ink); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { position: relative; flex: none; width: 46px; height: 26px; border-radius: 999px; background: #cbd5d3; transition: background .2s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(11, 31, 28, .3); transition: transform .2s var(--ease); }
.switch input:checked + .switch-ui { background: var(--brand); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid #5eead4; outline-offset: 2px; }

/* Painel: resumo das distâncias */
.dist-stats { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.dist-stats li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.dist-stats .badge { min-width: 38px; justify-content: center; }

/* ---------- Página inicial: fundo escuro contínuo com as estradas animadas do topo (body.theme-night) ---------- */
.night-bg { display: none; }
.theme-night { background: #06201c; }
.theme-night .night-bg { display: block; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 480px at 85% -10%, rgba(45, 212, 191, .28), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(245, 158, 11, .22), transparent 60%),
    linear-gradient(160deg, #06201c 0%, #0b3b35 55%, #0f5a51 100%); }
/* Um só fundo: topo e seções transparentes, sem bordas entre elas */
.theme-night .hero2 { background: transparent; }
.theme-night .hero2::before { display: none; }
.theme-night .section, .theme-night .section-alt, .theme-night .problem { background: transparent; border: 0; }
/* Textos fora dos cartões */
.theme-night .section h2, .theme-night .vision-title { color: #fff; }
.theme-night .vision-head > p, .theme-night .section-head p, .theme-night .problem-intro p { color: rgba(255, 255, 255, .76); }
.theme-night .btn-soft { background: rgba(255, 255, 255, .1); color: #ccfbf1; }
.theme-night .btn-soft:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.theme-night .flow-toggle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.theme-night .flow-toggle label { color: rgba(255, 255, 255, .78); }
.theme-night .flow-steps::before { background: repeating-linear-gradient(90deg, rgba(153, 246, 228, .35) 0 6px, transparent 6px 12px); }
/* Cartões escuros não somem no fundo escuro */
.theme-night .bento-card.dark, .theme-night .sim-result { border: 1px solid rgba(94, 234, 212, .32); box-shadow: 0 0 0 1px rgba(94, 234, 212, .08), 0 30px 60px -28px rgba(0, 0, 0, .7); }
.theme-night .problem-badge { box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .6); }
/* Rodapé sobre o fundo escuro */
.theme-night .site-footer { background: transparent; border-top: 0; color: rgba(255, 255, 255, .72); }
.theme-night .site-footer h4, .theme-night .site-footer .logo { color: #fff; }
.theme-night .site-footer .logo b { color: #5eead4; }
.theme-night .site-footer a { color: rgba(255, 255, 255, .78); }
.theme-night .site-footer a:hover { color: #fff; }
.theme-night .site-footer .muted, .theme-night .legal-line { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .12); }
/* Celular: menos pontos animados (economiza bateria) */
@media (max-width: 720px) { .theme-night .nb-extra { display: none; } }
/* Quem pede "reduzir movimento" no aparelho: estradas paradas e sem pontos andando */
@media (prefers-reduced-motion: reduce) {
  .theme-night .night-bg path { animation: none; }
  .theme-night .night-bg circle { display: none; }
}

/* Envio em andamento: botão com "Enviando…" (trava contra clique duplo, app.js) */
.btn-spin { display: inline-block; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: spin .7s linear infinite; }
.btn.is-loading[disabled] { opacity: .8; cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pagamento: processando / em análise e recusado */
.pay-spinner { width: 56px; height: 56px; margin: 0 auto 18px; border: 5px solid var(--brand-100); border-top-color: var(--brand-600); border-radius: 50%; animation: spin .9s linear infinite; }
.pay-declined { display: flex; gap: 14px; align-items: flex-start; background: var(--danger-50); border: 1px solid #fbd0d0; }
.pay-declined h2 { font-size: 1.15rem; color: #9b1c1c; }
.pay-declined p { color: #7a1f1f; }
.pay-declined-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--danger); display: grid; place-items: center; }
.pay-declined .row { flex-wrap: wrap; gap: 8px; }

/* Cálculo ao vivo (cotação da carona e simulador): esmaece enquanto calcula e avisa se a conexão falhar */
[data-calc].is-calculating { opacity: .55; transition: opacity .2s; }
.calc-error { margin-top: 8px; font-size: .85rem; color: #9b1c1c; font-weight: 600; }
.dark .calc-error { color: #fca5a5; }

/* Entrar: convite para quem é novo, acima do formulário de quem já tem conta */
.auth-new { display: grid; gap: 12px; margin-bottom: 26px; padding: 16px; border-radius: 14px; background: var(--brand-50); border: 1px solid var(--brand-100); }
.auth-new strong { display: block; color: var(--brand-700); font-size: 1.05rem; }
.auth-new span { color: var(--brand-700); font-size: .9rem; opacity: .85; }

/* Aviso de cookies: discreto, no canto; no celular fica acima da barra de navegação */
.cookie-note { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 32px -12px rgba(11, 43, 38, .35); }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink); }
.cookie-note p .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
.cookie-note .btn { flex: none; }
@media (max-width: 720px) { .cookie-note { bottom: 76px; flex-direction: column; align-items: stretch; } .cookie-note .btn { width: 100%; } }

/* Celular estreito: logo e botões do topo menores para "Entrar" e "Cadastre-se" caberem com margem */
@media (max-width: 420px) {
  .site-header .container { gap: 10px; }
  .site-header .logo, .site-header .logo:hover { font-size: 1.2rem; gap: 8px; }
  .site-header .logo-mark { width: 38px; height: 38px; border-radius: 12px; }
  .site-header .logo-mark svg { width: 22px; height: 22px; }
  .site-header .btn-sm { padding: 7px 11px; font-size: .82rem; }
}
/* Celular bem estreito (abaixo de 375 px): só o ícone do logo, para os dois botões caberem (o link tem aria-label) */
@media (max-width: 374px) { .site-header .logo > span:not(.logo-mark) { display: none; } }
