/* Marca IMAITRE: logo triangular (máscara) e escrita IM + AI + TRE. Carrega por último para valer em todo o painel e no site. */
html body .logo b, html body.is-panel:not(.is-ped):not(.is-driver) .logo b, .ws .logo b {
  width: 36px !important; height: 32px !important; border-radius: 0 !important; display: block; position: static !important;
  background: var(--mint, #21f1a8) !important;
  -webkit-mask: url(../img/imaitre-mark.svg) center / contain no-repeat; mask: url(../img/imaitre-mark.svg) center / contain no-repeat;
}
html body .logo b::after, .ws .logo b::after, html body.is-panel:not(.is-ped):not(.is-driver) .logo b::after { display: none !important; content: none !important; }
.ws .logo { width: 38px; height: 34px; }
.imark { display: inline-block; font-family: Poppins, 'Segoe UI', system-ui, sans-serif; font-weight: 300; letter-spacing: .16em; text-transform: none; white-space: nowrap; line-height: 1; }
.imark b { font-weight: 600; color: var(--mint, #21f1a8); }
.ws .brand-mark { gap: 14px; letter-spacing: 0; }
.ws .brand-mark .imark { font-size: 20px; margin-right: -.16em; }
.ws-foot .brand-mark .imark, .ws .foot .brand-mark .imark { font-size: 22px; }

/* ---- Cartaz QR (painel do gestor) ---- */
.cartaz-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;margin-top:16px;align-items:start}
.cartaz-grid .muted{overflow-wrap:anywhere}
.poster-box{display:flex;justify-content:center;background:#171717;padding:14px}
.poster-cv{display:block;width:100%;max-width:340px;height:auto;aspect-ratio:1080/1960;border-radius:14px}
.cartaz-grid .row-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 6px}
@media (max-width:820px){.poster-box{order:-1}}

/* ---- Site: dois jeitos de rodar + cadastro de motoristas ---- */
.ws .waysec { background: var(--g1); padding: clamp(56px, 8vw, 110px) 0; }
.ws .ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(24px, 3vw, 40px); }
.ws .way { all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 14px; align-content: start; padding: clamp(18px, 2.4vw, 28px); border-radius: 30px; background: var(--g2); border: 1px solid var(--line2); color: var(--text); transition: border-color .25s, transform .25s, background .25s, box-shadow .25s; }
.ws .way::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .25s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(33,241,168,.16), transparent 60%); }
.ws .way:hover::before, .ws .way:focus-visible::before { opacity: 1; }
.ws .way:hover { border-color: rgba(33,241,168,.5); transform: translateY(-4px); box-shadow: 0 22px 50px -26px rgba(33,241,168,.35); }
.ws .way:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.ws .way.on { border-color: var(--mint); background: #13261f; box-shadow: 0 0 0 1px var(--mint) inset, 0 22px 60px -28px rgba(33,241,168,.5); }
.ws .way .wtag { justify-self: start; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 99px; background: rgba(33,241,168,.13); color: var(--mint); }
.ws .way h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 300; letter-spacing: -.035em; line-height: 1.08; margin: 0; }
.ws .way .wsub { color: var(--soft); margin: -6px 0 2px; font-size: 16px; }
.ws .way ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 11px; font-size: 15.5px; color: var(--soft); line-height: 1.5; }
.ws .way li { display: flex; gap: 10px; align-items: flex-start; } .ws .way li svg { flex: none; color: var(--mint); margin-top: 5px; }
.ws .way .btn { margin-top: auto; pointer-events: none; }
.ws .way.on .btn { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); font-weight: 600; }
.ws .waysec .fine { margin-top: 22px; }
/* ilustrações dos cards */
.ws .wa-art { position: relative; height: 170px; border-radius: 20px; background: linear-gradient(160deg, #0f1b16, #0b1210); border: 1px solid var(--line2); overflow: hidden; display: grid; place-items: center; }
.ws .wa-art.poster { background: radial-gradient(260px 170px at 50% 0%, rgba(33,241,168,.18), transparent 70%), #0b1210; }
.ws .wa-route { width: 100%; height: 100%; }
.ws .wr-road { fill: none; stroke: #1d2d26; stroke-width: 15; stroke-linecap: round; }
.ws .wr-dash { fill: none; stroke: rgba(33,241,168,.55); stroke-width: 2.4; stroke-dasharray: 3 9; stroke-linecap: round; animation: wrDash 2.4s linear infinite; }
@keyframes wrDash { to { stroke-dashoffset: -48; } }
.ws .wr-pin circle:last-child { fill: var(--mint); } .ws .wr-pin .halo { fill: rgba(33,241,168,.18); transform-box: fill-box; transform-origin: center; animation: wrPulse 2.6s ease-in-out infinite; }
.ws .wr-pin.p1 .halo { animation-delay: .8s; } .ws .wr-pin.p2 .halo { animation-delay: 1.6s; }
@keyframes wrPulse { 0%, 100% { transform: scale(.8); opacity: .9; } 50% { transform: scale(1.5); opacity: .25; } }
.ws .wr-car { fill: #fff; stroke: var(--mint); stroke-width: 3; }
.ws .wa-chip { position: absolute; font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 99px; background: #1f2c34; color: #e9edef; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.ws .wa-chip.c1 { left: 12px; top: 12px; } .ws .wa-chip.c2 { right: 12px; bottom: 12px; background: var(--mint); color: var(--mint-ink); font-weight: 600; }
.ws .wa-art.poster { place-items: start center; }
.ws .wa-poster { display: block; width: 150px; height: auto; aspect-ratio: 1080 / 1960; margin-top: 22px; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.5); transition: opacity .22s, transform .22s; }
.ws .wa-poster.swap { opacity: 0; transform: translateY(8px) scale(.98); }
/* estúdio: formulário + prévia ao vivo */
.ws .studio { margin-top: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(20px, 3vw, 44px); align-items: start; scroll-margin-top: 90px; }
.ws .studio[hidden] { display: none; }
.ws .pv { position: sticky; top: 96px; display: grid; gap: 14px; padding: 22px; border-radius: 28px; background: var(--g2); border: 1px solid var(--line2); justify-items: center; }
.ws .pv-head { display: flex; justify-content: space-between; align-items: baseline; width: 100%; gap: 10px; flex-wrap: wrap; }
.ws .pv-head b { font-weight: 500; font-size: 17px; } .ws .pv-head span { color: var(--muted); font-size: 13.5px; }
.ws .pv-tabs { width: 100%; }
.ws .pv-tabs button { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: 10px; border-radius: 99px; font: 500 15px 'Poppins', sans-serif; color: var(--soft); transition: background .2s, color .2s; }
.ws .pv-tabs button.on { background: rgba(33,241,168,.14); color: var(--mint); box-shadow: 0 0 0 1px rgba(33,241,168,.5) inset; }
.ws .pv-tabs button:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.ws .pv-phone, .ws .pv-postbox { display: flex; justify-content: center; width: 100%; }
.ws .pv-phone[hidden], .ws .pv-postbox[hidden] { display: none; }
.ws .pv-phone .wph { --w: min(270px, 100%); }
.ws .pv-poster { width: min(270px, 100%); height: auto; aspect-ratio: 1080 / 1960; border-radius: 16px; box-shadow: 0 22px 50px rgba(0,0,0,.5); }
.ws .pv-cap { margin: 0; text-align: center; color: var(--soft); font-size: 14.5px; line-height: 1.5; min-height: 2.9em; }
.ws .wh .av.ini { background: #2a6f54; } .ws .wh .av.ini b { font: 600 1.15em 'Roboto', sans-serif; color: #fff; }
.ws .studio .form2 { max-width: none; }
.ws .cadform .cad-title { font-size: 28px; }
.ws .cadform .meibox { display: grid; gap: 18px; padding: 18px; border-radius: 18px; border: 1px dashed var(--line2); }
.ws .cadform .meibox[hidden], .ws .cadform .notice[hidden] { display: none; }
.ws .cadform .notice { padding: 12px 16px; border-radius: 14px; background: rgba(255,120,100,.12); border: 1px solid rgba(255,120,100,.4); color: #ffb4a8; font-size: 15px; }
.ws .tight .prep { max-width: 760px; margin-inline: auto; margin-top: 32px; }
@media (max-width: 900px) { .ws .studio { grid-template-columns: minmax(0, 1fr); } .ws .pv { position: static; order: -1; } }
@media (max-width: 760px) { .ws .ways { grid-template-columns: minmax(0, 1fr); } .ws .wa-art { height: 150px; } }
@media (prefers-reduced-motion: reduce) { .ws .way, .ws .wr-dash, .ws .wr-pin .halo { animation: none; transition: none; } .ws .way:hover { transform: none; } }

/* ---- custos e passos do MEI ---- */
.ws .meicost { background: var(--g1); padding: clamp(56px, 8vw, 110px) 0; }
.ws .mc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(24px, 3vw, 40px); }
.ws .mc-card { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: var(--g2); border: 1px solid var(--line2); }
.ws .mc-card .wtag { justify-self: start; font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 99px; background: rgba(33,241,168,.13); color: var(--mint); }
.ws .mc-big { font-size: clamp(44px, 5.4vw, 72px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.ws .mc-card p { margin: 0; color: var(--soft); font-size: 15.5px; line-height: 1.55; }
.ws .mc-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; color: var(--soft); }
.ws .mc-card li { display: flex; gap: 10px; align-items: center; } .ws .mc-card li svg { color: var(--mint); flex: none; }
.ws .mc-tiers li { justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; color: var(--text); }
.ws .mc-tiers li:last-child { border-bottom: 0; } .ws .mc-tiers b { font-weight: 600; color: var(--mint); font-size: 19px; }
.ws .mc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(28px, 4vw, 48px); }
.ws .mc-step { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--ink-line, #2b2f2d); position: relative; }
.ws .mc-step i { font-style: normal; font-weight: 600; font-size: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--mint-ink); }
.ws .mc-step b { font-weight: 500; font-size: 18px; } .ws .mc-step span { color: var(--soft); font-size: 15px; line-height: 1.5; }
.ws .cadform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ws .cadform input[type=file].inp { padding: 11px 14px; font-size: 14.5px; }
@media (max-width: 900px) { .ws .mc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ws .mc-grid { grid-template-columns: minmax(0, 1fr); } .ws .cadform .two { grid-template-columns: 1fr; } }

/* consulta do CNPJ no cadastro do MEI */
.ws .cnpjbox { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); font-size: 14.5px; line-height: 1.45; color: var(--soft); }
.ws .cnpjbox[hidden] { display: none; }
.ws .cnpjbox b { color: #fff; font-weight: 600; font-size: 15px; }
.ws .cnpjbox.ok { border-color: rgba(33,241,168,.45); background: rgba(33,241,168,.07); }
.ws .cnpjbox.ok b { color: var(--mint); }
.ws .cnpjbox.warn { border-color: rgba(255,196,87,.5); background: rgba(255,196,87,.07); }
.ws .cnpjbox.warn b { color: #ffc457; }
.ws .cnpjbox.bad { border-color: rgba(255,107,107,.5); background: rgba(255,107,107,.07); }
.ws .cnpjbox.bad b { color: #ff8a8a; }
.ws .cnpjbox.load b::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--mint); vertical-align: -1px; animation: cnpjspin .8s linear infinite; }
.ws .cnpjbox .btn { justify-self: start; margin-top: 6px; }
@keyframes cnpjspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ws .cnpjbox.load b::after { animation: none; } }

/* ---- Site só MEI: indicação, selfie, motorista sugerido, passos ---- */
.ws .refband { background: var(--mint); color: var(--mint-ink); padding: clamp(40px, 6vw, 80px) 0; }
.ws .ref-in { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ws .ref-big { display: grid; gap: 4px; } .ws .ref-big b { font-size: clamp(64px, 9vw, 128px); font-weight: 300; letter-spacing: -.05em; line-height: .95; } .ws .ref-big span { font-size: 16px; font-weight: 500; }
.ws .ref-copy { display: grid; gap: 16px; } .ws .ref-copy h2 { color: var(--mint-ink); font-size: clamp(22px, 2.6vw, 34px); font-weight: 400; line-height: 1.25; max-width: 28em; }
.ws .ref-copy .fine { color: rgba(4,35,26,.78); margin: 0; max-width: 40em; }
.ws .refband .btn.primary { background: var(--mint-ink); border-color: var(--mint-ink); color: #fff; } .ws .refband .btn.primary:hover:not(:disabled) { background: #fff; border-color: #fff; color: var(--g1); }
.ws .refstrip { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 14px 18px; margin-bottom: 22px; border-radius: 16px; border: 1px solid rgba(33,241,168,.4); background: rgba(33,241,168,.07); font-size: 15px; color: var(--soft); }
.ws .refstrip b { color: var(--text); font-weight: 500; }
.ws .refrules { display: grid; gap: 14px; padding: 26px; border-radius: 24px; border: 1px solid var(--line2); background: var(--g1); } .ws .refrules h3 { font-size: 22px; font-weight: 400; }
.ws .refrules ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--soft); } .ws .refrules ol li::marker { color: var(--mint); font-weight: 600; }
.ws .refdone { display: grid; gap: 16px; padding: 28px; border-radius: 24px; border: 1px solid rgba(33,241,168,.45); background: rgba(33,241,168,.08); } .ws .refdone[hidden] { display: none; }
.ws .refdone .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.ws .meiflow { padding: clamp(56px, 8vw, 110px) 0; }
.ws .facesec { background: var(--g1); } .ws .facesec .copy { display: grid; gap: 18px; align-content: center; } .ws .facesec .fine { margin: 0; color: var(--muted); }
.ws .scr-selfie { display: grid; justify-items: center; align-content: center; gap: 10px; height: 100%; padding: 56px 22px 34px; background: #0e1110; text-align: center; }
.ws .scr-selfie b { font-size: 19px; font-weight: 500; } .ws .scr-selfie p { margin: 0; font-size: 13.5px; color: var(--soft); }
.ws .sf-art { width: 78%; height: auto; margin: 8px 0; }
.ws .sf-bg { fill: #1b1f1d; } .ws .sf-ring { fill: none; stroke: var(--mint); stroke-width: 3; stroke-dasharray: 7 7; }
.ws .sf-head { fill: #3a423e; } .ws .sf-body { fill: #3a423e; } .ws .sf-dot { fill: var(--mint); } .ws .sf-arrow { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ws .sf-pill { font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 99px; background: rgba(33,241,168,.14); color: var(--mint); }
@media (prefers-reduced-motion: no-preference) { .ws .sf-dot { animation: sfdot 2.4s ease-in-out infinite; } .ws .sf-head { animation: sfhead 2.4s ease-in-out infinite; } }
@keyframes sfdot { 50% { transform: translateX(-4px); } } @keyframes sfhead { 0%, 20% { transform: translateX(0); } 55%, 75% { transform: translateX(26px); } 100% { transform: translateX(0); } }
.ws .nearsec { padding: clamp(56px, 8vw, 110px) 0; }
.ws .near { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 90px); align-items: center; } .ws .near .copy { display: grid; gap: 18px; }
.ws .near-card { display: grid; gap: 12px; padding: clamp(20px, 3vw, 30px); border-radius: 28px; background: var(--g2); border: 1px solid var(--line2); max-width: 460px; }
.ws .near-card p { margin: 0; } .ws .nc-t { font-weight: 500; font-size: 18px; } .ws .nc-s { color: var(--soft); font-size: 14.5px; }
.ws .near-card .alt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.ws .near-card .alt > div { flex: 1; display: grid; line-height: 1.3; } .ws .near-card .alt small { color: var(--muted); font-size: 13px; }
.ws .near-card .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--mint-ink); font-weight: 600; }
.ws .near-card .on { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: rgba(33,241,168,.16); color: var(--mint); }
@media (max-width: 900px) { .ws .ref-in, .ws .near { grid-template-columns: minmax(0, 1fr); } }
.ws .facesec .copy h2 { max-width: 20ch; } .ws .nearsec .copy h2 { max-width: 20ch; }
.ws .redebox { display: grid; gap: 10px; border: 1px solid var(--line2); border-radius: 18px; padding: 16px 18px; margin: 4px 0; min-inline-size: 0; }
.ws .redebox legend { padding: 0 8px; font-weight: 500; font-size: 15.5px; }
.ws .redeinfo { margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: rgba(33,241,168,.06); border: 1px solid rgba(33,241,168,.25); font-size: 14.5px; color: var(--soft); display: grid; gap: 8px; }
.ws .redeinfo b { color: var(--text); font-weight: 500; } .ws .redeinfo ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; line-height: 1.5; }
.ws .ws-head nav a { white-space: nowrap; }
.ws .extrato { display: grid; gap: 14px; width: min(100%, 440px); padding: clamp(20px, 3vw, 30px); border-radius: 28px; background: var(--g2); border: 1px solid var(--line2); }
.ws .extrato small { color: var(--muted); font-size: 14px; } .ws .ex-t { font-size: clamp(24px, 2.6vw, 32px); font-weight: 300; letter-spacing: -.02em; }
.ws .extrato ul { list-style: none; margin: 0; padding: 0; display: grid; } .ws .extrato li { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--soft); align-items: baseline; }
.ws .extrato li em { font-style: normal; color: var(--muted); } .ws .extrato li b { color: var(--text); font-weight: 500; }
.ws .ex-tot { display: flex; justify-content: space-between; align-items: baseline; } .ws .ex-tot b { font-size: 26px; font-weight: 500; color: var(--mint); }
.ws .extrato .fine { margin: 0; }

/* agenda no formulário do motorista */
.ws .agendabox .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.ws .agendabox .chk.dia { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line, rgba(127,127,127,.35)); border-radius: 999px; cursor: pointer; font-size: 14px; }
.ws .agendabox .chk.dia:has(input:checked) { background: var(--mint); color: var(--mint-ink); border-color: transparent; font-weight: 600; }
