:root {
  --bg: #06101f;
  --bg-soft: #0b1730;
  --panel: rgba(9, 21, 42, 0.96);
  --panel-2: rgba(8, 18, 34, 0.98);
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.12);
  --text: #f7f9ff;
  --muted: #9fb3d1;
  --primary: #ff7a00;
  --primary-2: #ff9a2f;
  --blue: #2f9bff;
  --green: #2cd37f;
  --danger: #ff6f6f;
  --shadow: 0 30px 80px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:
radial-gradient(circle at top left, rgba(47,155,255,.18), transparent 28%),
radial-gradient(circle at top right, rgba(255,122,0,.12), transparent 24%),
linear-gradient(180deg,#05101f,#071326 44%,#08182c 100%);
color:var(--text);min-height:100vh}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
img{max-width:100%;display:block}
.shell{width:min(1180px,calc(100% - 32px));margin:0 auto}
.page-shell{width:min(960px,calc(100% - 32px));margin:0 auto}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:18px 0;position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(4,10,18,.82);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.04)}
.brand{font-size:30px;font-weight:800;letter-spacing:-.05em}.brand span{color:var(--primary)}
.step-pill,.chip-top{padding:10px 14px;border-radius:999px;font-size:13px;font-weight:700;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04)}
.step-pill{background:rgba(47,155,255,.12);border-color:rgba(47,155,255,.22);color:#b6dcff}
.chip-top{background:rgba(44,211,127,.08);border-color:rgba(44,211,127,.18);color:#beffd7}
.card{background:linear-gradient(180deg,var(--panel),var(--panel-2));border:1px solid var(--line);border-radius:30px;box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,.03)}
.hero{margin:26px auto 18px;padding:30px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:center}
.badge{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,122,0,.12);border:1px solid rgba(255,122,0,.25);color:#ffbd7d;font-size:13px;font-weight:700;margin-bottom:16px}
.hero h1{font-size:clamp(40px,5vw,74px);line-height:.95;letter-spacing:-.07em;margin:0 0 16px}
.hero p{margin:0 0 22px;color:var(--muted);font-size:20px;max-width:620px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.primary-btn,.ghost-btn,.copy-btn,.tab-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:18px;padding:16px 22px;font-weight:800;cursor:pointer;transition:transform .22s ease, box-shadow .22s ease, opacity .22s ease, background .22s ease}
.primary-btn{background:linear-gradient(180deg,var(--primary-2),var(--primary));color:#fff;box-shadow:0 16px 34px rgba(255,122,0,.28)}
.ghost-btn,.copy-btn,.tab-btn{background:rgba(255,255,255,.04);color:#fff;border:1px solid var(--line)}
.primary-btn:hover,.ghost-btn:hover,.copy-btn:hover,.tab-btn:hover{transform:translateY(-2px) scale(1.01)}
.primary-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}
.social-proof{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:18px;color:#ffe08d}
.social-proof .served{color:var(--muted)}
.hero-visual{position:relative;min-height:420px;display:grid;place-items:center}
.hero-visual::before{content:"";position:absolute;inset:14% 10% 10%;background:radial-gradient(circle, rgba(47,155,255,.32), transparent 68%);filter:blur(34px)}
.hero-visual img{position:relative;max-width:560px;filter:drop-shadow(0 28px 44px rgba(0,0,0,.36))}
.stat-grid,.quote-grid,.how-grid{display:grid;gap:16px}
.stat-grid{grid-template-columns:repeat(3,1fr);margin:18px auto}
.quote-grid{grid-template-columns:repeat(3,1fr)}
.how-grid{grid-template-columns:repeat(4,1fr)}
.mini,.quotes,.how{padding:22px}
.mini strong{display:block;font-size:34px;margin-bottom:6px}
.mini span,.quotes p,.quotes span,.how span,.muted{color:var(--muted)}
.quotes h2,.how h2{margin:0 0 16px;font-size:34px;letter-spacing:-.04em}
.quote-grid article,.how-grid>div{border:1px solid var(--line);border-radius:22px;padding:18px;background:rgba(255,255,255,.03)}
.quote-grid b{display:block;margin-bottom:8px}
.how-grid i{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(255,122,0,.14);color:#ffb266;font-style:normal;font-weight:800;margin-bottom:12px}
.footer{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 0 36px;color:var(--muted);font-size:14px}
.footer div{display:flex;gap:16px;flex-wrap:wrap}
.page-wrap{padding:120px 0 34px}
.stage-page{padding:24px}
.stage-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.stage-title h1{margin:0 0 8px;font-size:34px;letter-spacing:-.05em}
.stage-title p{margin:0;color:var(--muted);max-width:720px}
.map-shell{position:relative;height:430px;border-radius:28px;overflow:hidden;border:1px solid var(--line);background:#081427;margin-bottom:14px}
.map-shell.compact{height:320px}
.live-map{position:absolute;inset:0;width:100%;height:100%}
.map-overlay{position:absolute;left:16px;right:16px;bottom:16px;padding:12px 14px;border-radius:16px;background:rgba(6,16,31,.82);border:1px solid rgba(255,255,255,.08);color:var(--muted);z-index:430;backdrop-filter:blur(10px)}
.map-floating-card{position:absolute;left:16px;top:16px;z-index:430;display:grid;gap:8px;min-width:250px;max-width:min(300px,calc(100% - 32px))}
.map-floating-card div{background:rgba(6,16,31,.84);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(10px);padding:12px 14px;border-radius:16px;display:grid;gap:4px}
.map-floating-card span{font-size:12px;color:var(--muted)}
.map-floating-card strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}
.helper{color:var(--muted);font-size:14px}
.field-grid{display:grid;gap:14px;margin:16px 0}
.field-grid.two{grid-template-columns:repeat(2,1fr)}
.field-grid.three{grid-template-columns:repeat(3,1fr)}
.field-grid.four{grid-template-columns:repeat(4,1fr)}
label{display:grid;gap:8px;position:relative}
label>span,label>small{color:var(--muted)}
label>span{font-size:14px}
label>small{font-size:12px;line-height:1.45}
input,select,textarea{width:100%;border:1px solid var(--line);border-radius:16px;padding:15px 16px;background:rgba(255,255,255,.04);color:var(--text);outline:none;transition:border-color .2s ease, box-shadow .2s ease, background .2s ease}
input:focus,select:focus,textarea:focus{border-color:rgba(62,165,255,.45);box-shadow:0 0 0 4px rgba(62,165,255,.1);background:rgba(255,255,255,.06)}
textarea{min-height:120px;resize:vertical}
.input-wrap{position:relative}
.autocomplete-list{position:absolute;left:0;right:0;top:calc(100% - 4px);background:#0d1a31;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:8px;display:grid;gap:6px;box-shadow:0 20px 40px rgba(0,0,0,.34);z-index:1500;max-height:280px;overflow:auto}
.autocomplete-item{border:0;background:rgba(255,255,255,.03);color:#fff;text-align:left;padding:12px;border-radius:12px;cursor:pointer;display:block;width:100%}
.autocomplete-item:hover{background:rgba(47,155,255,.12)}
.autocomplete-item small{display:block;color:var(--muted);margin-top:4px}
.autocomplete-loading,.autocomplete-empty{padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.03);color:var(--muted);font-size:14px}
.input-valid{border-color:rgba(44,211,127,.42)!important}
.input-error{border-color:rgba(255,111,111,.42)!important}
.hidden{display:none!important}
.info-row,.summary-row,.price-box,.pix-values{display:grid;gap:12px}
.info-row{grid-template-columns:repeat(2,1fr);margin:16px 0 18px}
.summary-row{grid-template-columns:repeat(3,1fr);margin:12px 0 18px}
.summary-row .full{grid-column:1/-1}
.info-row div,.summary-row div,.price-box div,.pix-values div,.callout{border:1px solid var(--line);border-radius:18px;padding:15px;background:rgba(255,255,255,.03)}
.info-row div,.summary-row div,.price-box div,.pix-values div{display:flex;justify-content:space-between;align-items:center;gap:12px}
.price-box .total,.price-box .green,.callout.success{border-color:rgba(44,211,127,.22);background:rgba(44,211,127,.08)}
.callout.warn{border-color:rgba(255,122,0,.22);background:rgba(255,122,0,.06)}
.action-row{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:18px;flex-wrap:wrap}
.action-row.end{justify-content:flex-end}
.tabs,.chips{display:flex;flex-wrap:wrap;gap:10px}
.tab-btn.active,.chip.active{border-color:rgba(255,122,0,.45);background:rgba(255,122,0,.1);color:#ffbf7c}
.search-panel{border:1px solid var(--line);border-radius:22px;padding:20px;background:rgba(255,255,255,.03);margin:14px 0}
.radar{width:110px;height:110px;margin:0 auto 14px;border-radius:50%;background:radial-gradient(circle, rgba(62,165,255,.3), rgba(18,54,112,.12) 45%, transparent 50%);box-shadow:0 0 0 18px rgba(62,165,255,.05),0 0 0 36px rgba(62,165,255,.03);animation:pulse 1.8s infinite}
@keyframes pulse{0%,100%{transform:scale(1);opacity:.9}50%{transform:scale(1.06);opacity:1}}
.progress-text{text-align:center;color:var(--muted);margin:0 0 14px}
.driver-found,.driver-line{display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:14px;border-radius:22px;padding:16px}
.driver-found{margin-top:14px;border:1px solid rgba(44,211,127,.24);background:rgba(44,211,127,.07)}
.driver-line{border:1px solid var(--line);background:rgba(255,255,255,.03)}
.driver-found img,.driver-line img{width:72px;height:72px;object-fit:cover;border-radius:50%}
.eta-badge,.arrival{width:78px;height:78px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.04);border:1px solid var(--line);justify-self:center;text-align:center}
.eta-badge b,.arrival b{font-size:28px}
.pix-box{display:grid;gap:14px}
.pix-qr{border:1px solid var(--line);border-radius:20px;padding:14px;background:#fff;max-width:260px;display:grid;justify-items:center;align-items:center;margin:0 auto}
.pix-copy-row{display:grid;grid-template-columns:1fr auto;gap:10px}
.pay-wait{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}
.payment-ok,.done-card{margin-top:16px;border:1px solid rgba(44,211,127,.24);background:rgba(44,211,127,.08);border-radius:24px;padding:18px;display:grid;gap:10px;justify-items:center;text-align:center}
.ok-circle{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle, rgba(44,211,127,.28), rgba(44,211,127,.08));color:#9dffca;font-size:36px;font-weight:800}
.inline-map{position:relative;height:320px;border-radius:24px;overflow:hidden;border:1px solid var(--line);background:#091427}
.track-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.track-meta div{border:1px solid var(--line);border-radius:18px;padding:14px;background:rgba(255,255,255,.03)}
.rating{display:flex;gap:6px;font-size:28px;color:#ffd875}
.choice-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.choice-grid button{border:1px solid var(--line);background:rgba(255,255,255,.03);color:#fff;border-radius:16px;padding:14px 10px;cursor:pointer;transition:.2s ease}
.choice-grid button.active{border-color:rgba(255,122,0,.45);background:rgba(255,122,0,.1);color:#ffbf7c}
.leaflet-container{background:#0b1527}
.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#0e1b33;color:#fff;border:1px solid rgba(255,255,255,.08)}
.leaflet-control-zoom a{background:#0e1b33!important;color:#fff!important;border-bottom-color:rgba(255,255,255,.08)!important}
.leaflet-control-attribution{background:rgba(8,16,30,.72)!important;color:#c5d4ea!important}
.leaflet-control-attribution a{color:#fff!important}
.map-pin-wrap{background:transparent;border:0}
.map-pin{display:block;width:18px;height:18px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);position:relative;box-shadow:0 12px 24px rgba(0,0,0,.28)}
.map-pin::after{content:"";position:absolute;width:8px;height:8px;background:#fff;border-radius:50%;left:5px;top:5px}
.pin-origin{background:#ff7a00}.pin-dest{background:#2f9bff}.pin-driver{background:#2cd37f}
.notice{padding:12px 14px;border-radius:16px;border:1px solid rgba(47,155,255,.18);background:rgba(47,155,255,.08);color:#bddfff}
@media (max-width: 980px){
  .hero-grid,.stat-grid,.quote-grid,.how-grid,.field-grid.two,.field-grid.three,.field-grid.four,.summary-row,.info-row,.track-meta,.pix-copy-row,.pay-wait,.map-actions,.choice-grid{grid-template-columns:1fr}
  .hero-visual{min-height:280px}
  .driver-found,.driver-line{grid-template-columns:1fr}
  .action-row,.stage-top,.topbar,.footer{flex-direction:column;align-items:stretch}
  .map-shell{height:360px}
  .page-wrap{padding-top:108px}
  .stage-page{padding:18px}
}

.autocomplete-item.exact-match{border:1px solid rgba(255,122,0,.28);background:rgba(255,122,0,.08)}
.autocomplete-item b{display:block;font-size:14px;margin-bottom:4px}
.autocomplete-item .primary-line{display:block;font-weight:700}

.topbar-logo-only{justify-content:flex-start;gap:0}
.topbar-logo-only .brand{margin-right:auto}
.topbar-logo-only .step-pill{display:none!important}
.summary-row .full strong{white-space:normal;line-height:1.4}

/* etapa 3 profissional */
.summary-row-3 div,.price-box-3 div{align-items:flex-start}
.summary-row-3 strong,.price-box-3 strong{white-space:normal;line-height:1.4;text-align:right}
.card-soft{border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.03);padding:18px}
.route-monitor{margin:18px 0}
.route-monitor-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:14px}
.route-monitor-head h3{margin:0 0 6px;font-size:1.08rem}
.route-monitor-head p{margin:0;color:var(--muted)}
.mini-badges{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.mini-badges span{padding:10px 12px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.04);font-size:.86rem;color:var(--muted)}
.driver-map{height:360px;border-radius:22px;overflow:hidden;border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}
.driver-map-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px;color:var(--muted);font-size:.92rem}
.driver-map-legend span{display:flex;align-items:center;gap:8px}
.dot{width:10px;height:10px;border-radius:50%;display:inline-block}
.dot-origin{background:#ff7a00}
.dot-dest{background:#2f9bff}
.dot-driver{background:#19c37d}
.map-pin{background:transparent;border:none}
.map-pin span{display:block;width:22px;height:22px;border-radius:50%;border:3px solid #fff;box-shadow:0 12px 24px rgba(0,0,0,.22)}
.map-pin-origin span{background:#ff7a00}
.map-pin-dest span{background:#2f9bff}
.map-truck-icon{background:transparent;border:none}
.map-truck-icon span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#19c37d;color:#081325;font-size:18px;box-shadow:0 14px 26px rgba(0,0,0,.24);border:2px solid rgba(255,255,255,.86)}
.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#11214d;color:#fff}
@media (max-width: 900px){
  .route-monitor-head{flex-direction:column}
  .mini-badges{justify-content:flex-start}
  .driver-map{height:300px}
}

.eta-badge div{display:grid;justify-items:center;gap:2px}
.pix-main-row{justify-content:center}
.pix-qr-center img{display:block;max-width:100%;height:auto;margin:0 auto}
.pay-wait{align-items:center}
.pay-wait .eta-badge{margin:0 auto}

select option{color:#000;background:#fff}
select optgroup{color:#000;background:#fff}


/* index fixes */
.home-page .topbar-home{position:fixed;top:0;left:0;right:0;width:100%;padding:0;background:rgba(4,10,18,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.06);z-index:1200}
.home-page .topbar-home .topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;min-height:84px}
.home-page .home-main{padding-top:116px;padding-bottom:32px}
.home-page .hero{margin-top:0;padding:38px;overflow:visible}
.home-page .hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:28px}
.home-page .hero-grid>div{min-width:0}
.home-page .hero h1{font-size:clamp(36px,6vw,72px);line-height:1.02;letter-spacing:-.06em;max-width:11ch;overflow-wrap:anywhere;word-break:normal}
.home-page .hero p{font-size:clamp(16px,2vw,20px);line-height:1.6;max-width:58ch;color:#bfd0e8;overflow-wrap:anywhere}
.home-page .hero-actions .primary-btn,.home-page .hero-actions .ghost-btn{min-height:56px}
.home-page .hero-visual{min-width:0}
.home-page .hero-visual img{width:min(100%,560px);height:auto;object-fit:contain}
.home-page .chip-top{white-space:nowrap;flex:0 0 auto}
.home-page .footer-home{justify-content:center;text-align:center;padding-top:8px}

@media (max-width: 980px){
  .home-page .topbar-home .topbar-inner{flex-direction:row;align-items:center;justify-content:space-between;min-height:76px;padding:14px 0}
  .home-page .home-main{padding-top:104px}
  .home-page .hero{padding:24px 18px}
  .home-page .hero-grid{grid-template-columns:1fr;gap:20px}
  .home-page .hero h1{font-size:clamp(30px,9vw,42px);max-width:none}
  .home-page .hero p{font-size:16px;max-width:none}
  .home-page .hero-actions{flex-direction:column}
  .home-page .hero-actions a{width:100%}
  .home-page .social-proof{gap:10px}
  .home-page .stat-grid,.home-page .quote-grid,.home-page .how-grid{grid-template-columns:1fr}
  .home-page .quotes h2,.home-page .how h2{font-size:28px}
  .home-page .mini,.home-page .quotes,.home-page .how{padding:18px}
}

@media (max-width: 640px){
  .home-page .shell{width:min(100% - 24px,1180px)}
  .home-page .topbar-home .topbar-inner{gap:10px;min-height:70px;padding:12px 0}
  .home-page .brand{font-size:24px;line-height:1}
  .home-page .chip-top{font-size:11px;padding:8px 10px;max-width:145px;text-align:center;white-space:normal;line-height:1.2}
  .home-page .home-main{padding-top:92px}
  .home-page .hero{border-radius:24px;padding:20px 16px}
  .home-page .badge{font-size:11px;padding:8px 10px;line-height:1.35;display:inline-flex;max-width:100%}
  .home-page .hero h1{font-size:30px;line-height:1.08;letter-spacing:-.05em}
  .home-page .hero p{font-size:15px;line-height:1.55}
  .home-page .social-proof{flex-direction:column;align-items:flex-start}
  .home-page .hero-visual{min-height:220px}
  .home-page .hero-visual img{max-width:100%}
}
