/* ==========================================================================
   SacolaUp · Área do lojista (2ª etapa): apresentação, cadastro em 5 passos
   Usa as variáveis e os componentes de styles.css
   ========================================================================== */

/* ---------- Página "Para lojistas" ---------- */
.m-status { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 14px 18px; border-radius: 20px; background: var(--amber-bg); color: var(--amber); text-decoration: none; }
.m-status > .ic:first-child { width: 22px; height: 22px; }
.m-status span { flex: 1; min-width: 0; font-size: 14px; }
.m-status b { display: block; font-size: 15px; }
.m-how { margin-top: clamp(44px, 6vw, 80px); }
.m-how-head { max-width: 640px; }
.m-how-head h2 { margin-top: 12px; font-size: clamp(28px, 3.6vw, 46px); }
.m-how-head h2 em { color: var(--green); white-space: nowrap; }
.m-how-head p:not(.eyebrow) { margin-top: 10px; color: var(--muted); }
.m-steps { display: grid; gap: 14px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.m-steps li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.m-steps .ic { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--lime); color: var(--deep); }
.m-steps h3 { font-size: 19px; }
.m-steps p { color: var(--muted); font-size: 14.5px; }
.m-n { position: absolute; top: 12px; right: 18px; font: 800 46px/1 var(--font-display); letter-spacing: -.05em; color: var(--mint-2); }
.m-need { display: grid; gap: 12px; margin-top: 18px; }
.m-need li { display: flex; align-items: center; gap: 12px; font-weight: 650; }
.m-need .ic { width: 40px; height: 40px; padding: 10px; flex: none; border-radius: 50%; background: #fff; color: var(--green); }
.m-cta { display: grid; gap: 12px; padding: 22px; border-radius: 24px; background: #fff; box-shadow: var(--shadow-1); }

/* ---------- Cabeçalho e rodapé do cadastro ---------- */
body[data-view="cadastro"] .tabs, body[data-view="cadastro"] .ftr { display: none; }
body[data-view="cadastro"] main { min-height: calc(100dvh - var(--hdr-h)); }
.hdr-tag { display: none; padding-left: 16px; border-left: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; }
.hdr-help { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 12px; font-weight: 700; font-size: 14px; color: var(--green); }
.hdr-help .ic { width: 18px; height: 18px; }
@media (min-width: 720px) { .hdr-tag { display: inline-block; } .hdr-help { display: inline-flex; } }

/* ---------- Estrutura do cadastro ---------- */
.cad { display: grid; gap: 16px; padding-top: 14px; padding-bottom: 36px; }
.cad > * { min-width: 0; }
.cad-rail { display: none; }
@media (min-width: 960px) {
  .cad { grid-template-columns: minmax(300px, 370px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: 30px; padding-bottom: 72px; }
  .cad-rail { display: block; position: sticky; top: calc(var(--sat) + var(--hdr-h) + 22px); }
  .cad-top { display: none; }
}
.cad-main { display: grid; gap: 14px; max-width: 800px; }
.cad-main > * { min-width: 0; }

/* Barra lateral com as etapas */
.cad-rail-in { position: relative; overflow: hidden; padding: 30px 28px; border-radius: 32px; background: linear-gradient(165deg, #00645e, #003632); color: #fff; }
.cad-rail-in::after { content: ''; position: absolute; right: -80px; bottom: -110px; width: 250px; height: 300px; border-radius: 999px 999px 0 0; box-shadow: 0 0 0 26px rgba(255, 255, 255, .04), 0 0 0 52px rgba(255, 255, 255, .03); pointer-events: none; }
.cad-rail .eyebrow { color: var(--lime); }
.cad-rail h2 { margin-top: 12px; font-size: 30px; line-height: 1.05; }
.cad-rail h2 em { color: var(--lime); }
.cad-rail .time { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: #bcd9d2; }
.cad-rail .time .ic { width: 16px; height: 16px; }
.cad-steps { position: relative; z-index: 1; display: grid; margin-top: 26px; }
.cad-steps li { position: relative; padding-bottom: 22px; }
.cad-steps li:last-child { padding-bottom: 0; }
.cad-steps li::before { content: ''; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: rgba(255, 255, 255, .18); }
.cad-steps li:last-child::before { display: none; }
.cad-steps li.done::before { background: var(--lime); opacity: .65; }
.cad-steps .st { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.cad-steps a.st:hover b { text-decoration: underline; text-underline-offset: 3px; }
.cad-steps i { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; font: 800 15px var(--font-display); font-style: normal; color: #cfe3dd; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28); }
.cad-steps i .ic { width: 18px; height: 18px; stroke-width: 2.8; }
.cad-steps li.cur i { background: var(--lime); color: var(--deep); box-shadow: 0 0 0 5px rgba(248, 237, 156, .2); }
.cad-steps li.done i { background: var(--lime); color: var(--deep); box-shadow: none; }
.cad-steps b { display: block; font-weight: 750; font-size: 15.5px; }
.cad-steps small { display: block; font-size: 13px; color: #a9cbc3; }
.cad-steps li.todo b { color: #cfe3dd; font-weight: 650; }
.cad-need { position: relative; z-index: 1; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.cad-need h3 { font: 800 11.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.cad-need ul { display: grid; gap: 10px; margin-top: 14px; font-size: 14px; color: #dcebe6; }
.cad-need li { display: flex; align-items: center; gap: 10px; }
.cad-need .ic { width: 18px; height: 18px; color: var(--lime); }

/* Progresso compacto (celular) */
.cad-top { padding: 2px 2px 0; }
.cad-top-row { font-size: 14px; color: var(--muted); }
.cad-top-row b { color: var(--ink); font-weight: 800; }
.cad-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.cad-bar i { height: 6px; border-radius: 6px; background: var(--mint-2); }
.cad-bar i.on { background: var(--green); }
.cad-bar i.cur { background: linear-gradient(90deg, var(--green) 50%, var(--mint-2) 50%); }

/* Cartão do passo */
.cad-card { position: relative; padding: 22px 18px 18px; border-radius: 26px; background: #fff; box-shadow: var(--shadow-1); animation: rise .5s var(--ease) both; }
@media (min-width: 720px) { .cad-card { padding: 38px 40px 34px; border-radius: 32px; box-shadow: var(--shadow-2); } }
.cad-card.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.cad-head { display: grid; gap: 10px; }
.cad-head-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.cad-head h1 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.04; }
.cad-head h1 em { color: var(--green); }
.cad-head h1:focus { outline: none; }
.cad-head .lead { max-width: 56ch; font-size: 16px; color: var(--muted); }
.cad-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; padding: 11px 14px; border-radius: 14px; background: var(--amber-bg); color: var(--amber); font-size: 13.5px; line-height: 1.45; }
.cad-note .ic { width: 18px; height: 18px; margin-top: 1px; flex: none; }
.cad-demo { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--amber-bg); color: var(--amber); font: 750 12.5px var(--font); transition: filter .2s; }
.cad-demo:hover { filter: brightness(.96); }
.cad-demo .ic { width: 14px; height: 14px; }
.cad-form { display: grid; gap: 20px; margin-top: 26px; }
.cad-slot { display: grid; gap: 20px; }
.cad-slot:empty { display: none; }
.cad-actions { display: flex; gap: 12px; margin-top: 30px; }
.cad-actions .btn { min-height: 56px; }
.cad-actions .btn-primary { flex: 1; }
.cad-actions .btn-ghost { flex: 0 0 auto; }
.cad-actions .btn-primary { min-width: 0; white-space: normal; line-height: 1.2; text-align: center; }
@media (max-width: 479px) {
  .cad-actions .btn-lg { padding: 0 18px; }
  .cad-actions .btn-ghost { width: 56px; padding: 0; }
  .cad-actions .btn-ghost span { display: none; }
}
@media (max-width: 959px) {
  .cad-actions { position: sticky; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 5; margin: 26px -6px 0; padding: 8px; border-radius: 28px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line), 0 16px 34px -14px rgba(0, 54, 50, .35); }
}

/* ---------- Campos ---------- */
.fld { display: grid; gap: 8px; min-width: 0; }
.fld > * { min-width: 0; }
.fld > label, .fld > .lbl { font-weight: 750; font-size: 14.5px; color: var(--ink); }
.inp { position: relative; display: flex; align-items: center; min-height: 58px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px #d2dbd1; transition: box-shadow .2s; }
.inp:hover { box-shadow: inset 0 0 0 1.5px #aebfb4; }
.inp:focus-within { box-shadow: inset 0 0 0 2px var(--green), 0 0 0 5px rgba(0, 100, 94, .12); }
.inp input { flex: 1; min-width: 0; height: 56px; padding: 0 16px; border: 0; outline: 0; border-radius: 16px; background: none; font: 600 17px var(--font); color: var(--ink); }
.inp input::placeholder { color: #9aa7a2; font-weight: 500; }
.inp input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #fff inset; -webkit-text-fill-color: var(--ink); }
.inp-pre { display: grid; place-items: center; width: 48px; flex: none; color: var(--green); }
.inp-pre + input { padding-left: 0; }
.inp-end { display: grid; place-items: center; min-width: 14px; padding-right: 14px; flex: none; color: var(--green); }
.inp-end:empty { display: none; }
.inp-end .okc { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #1fa971; color: #fff; stroke-width: 3; }
.inp-btn { display: grid; place-items: center; width: 48px; height: 48px; margin-right: 4px; flex: none; border-radius: 12px; color: var(--muted); transition: color .2s, background .2s; }
.inp-btn:hover { color: var(--green); background: var(--mint); }
.fld.has-error .inp { box-shadow: inset 0 0 0 2px #c4412b; }
.fld.has-error .inp:focus-within { box-shadow: inset 0 0 0 2px #c4412b, 0 0 0 5px rgba(196, 65, 43, .14); }
.fld.is-ok .inp { box-shadow: inset 0 0 0 2px #1fa971; }
.msg { display: flex; align-items: flex-start; gap: 6px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.msg:empty { display: none; }
.msg .ic { width: 16px; height: 16px; margin-top: 1px; flex: none; }
.fld.has-error .msg { color: #b3321f; font-weight: 600; }
.fld.is-ok .msg { color: #167a52; font-weight: 600; }
.fld-row { display: grid; gap: 20px; }
@media (min-width: 620px) { .fld-row { grid-template-columns: 1fr 1.7fr; } }
.cad-conta { display: flex; align-items: center; gap: 10px; }
.cad-conta > .inp:first-child { flex: 1; min-width: 0; }
.cad-conta .dv { width: 92px; flex: none; }
.cad-conta .dv input { text-align: center; padding: 0 8px; }
.cad-conta .dash { color: var(--muted); font-weight: 700; }
.spin { animation: spin .9s linear infinite; }

/* Escolha entre CNPJ e CPF */
.cad-seg { display: grid; gap: 12px; }
@media (min-width: 480px) { .cad-seg { grid-template-columns: 1fr 1fr; } }
.cad-seg button { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px #d2dbd1; text-align: left; transition: background .2s, box-shadow .2s; }
.cad-seg button:hover { box-shadow: inset 0 0 0 1.5px var(--green); }
.cad-seg button .ic { width: 40px; height: 40px; padding: 10px; flex: none; border-radius: 50%; background: var(--mint); color: var(--green); transition: background .2s, color .2s; }
.cad-seg b { display: block; font-weight: 800; font-size: 16px; }
.cad-seg small { display: block; font-size: 12.5px; color: var(--muted); }
.cad-seg button[aria-checked="true"] { background: var(--mint); box-shadow: inset 0 0 0 2px var(--green); }
.cad-seg button[aria-checked="true"] .ic { background: var(--green); color: var(--lime); }

/* Dados da empresa encontrados */
.cad-co { display: grid; gap: 14px; padding: 18px; border-radius: 20px; background: var(--mint); animation: rise .45s var(--ease) both; }
.cad-co-h { display: flex; align-items: center; gap: 12px; }
.cad-co-h .ok { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; animation: pop .5s var(--spring) both; }
.cad-co-h .ok .ic { width: 18px; height: 18px; stroke-width: 2.8; }
.cad-co-h > div { flex: 1; min-width: 0; }
.cad-co-h b { display: block; font-size: 16.5px; }
.cad-co-h small { display: block; font-size: 12.5px; color: #4f6a63; }
.cad-co dl { display: grid; gap: 12px 20px; margin: 0; }
@media (min-width: 620px) { .cad-co dl { grid-template-columns: 1fr 1fr; } .cad-co dl .wide { grid-column: 1 / -1; } }
.cad-co dt { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #5c776f; }
.cad-co dd { margin: 2px 0 0; font-weight: 650; font-size: 15px; overflow-wrap: anywhere; }
.cad-link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 40px; padding: 0 2px; font-weight: 700; font-size: 14px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.cad-link .ic { width: 16px; height: 16px; }
.cad-skel { display: grid; gap: 12px; padding: 18px; border-radius: 20px; background: var(--mint); }
.cad-skel p { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--green); }
.cad-skel i { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, #d6e7cf 25%, #eaf3ec 50%, #d6e7cf 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Força da senha */
.pw-meter { display: grid; gap: 10px; margin-top: 2px; }
.pw-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pw-bars i { height: 6px; border-radius: 6px; background: #e3e8e0; transition: background .25s; }
.pw-meter[data-lv="1"] .pw-bars i:nth-child(-n+1) { background: #d65a3f; }
.pw-meter[data-lv="2"] .pw-bars i:nth-child(-n+2) { background: #e0a22c; }
.pw-meter[data-lv="3"] .pw-bars i:nth-child(-n+3) { background: #6aaa5a; }
.pw-meter[data-lv="4"] .pw-bars i { background: var(--green); }
.pw-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.pw-row b { color: var(--ink); }
.pw-rules { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.pw-rules li { display: flex; align-items: center; gap: 6px; }
.pw-rules .ic { width: 15px; height: 15px; color: #b9c7bd; stroke-width: 2.6; }
.pw-rules li.ok { color: var(--green); font-weight: 650; }
.pw-rules li.ok .ic { color: var(--green); }

/* Conta bancária */
.cad-holder { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--cream); }
.cad-holder .ic { width: 40px; height: 40px; padding: 10px; flex: none; border-radius: 50%; background: #fff; color: var(--green); }
.cad-holder small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7a6a3b; }
.cad-holder b { display: block; font-size: 16px; overflow-wrap: anywhere; }
.cad-holder span { font-size: 14px; color: #5b6b61; }
.inp.pick { width: 100%; gap: 12px; padding: 0 16px 0 10px; text-align: left; cursor: pointer; font: 600 17px var(--font); color: var(--ink); }
.inp.pick .ph { color: #9aa7a2; font-weight: 500; }
.inp.pick > .ic:last-child { width: 20px; height: 20px; margin-left: auto; color: var(--muted); }
.bank-badge { min-width: 48px; height: 34px; padding: 0 8px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--mint); color: var(--green); font: 800 13.5px var(--font-display); letter-spacing: .02em; }
.bank-badge.empty { background: var(--paper); color: #9aa7a2; }
.bank-list { display: grid; max-height: min(52dvh, 430px); margin: 14px -6px 0; padding: 0 6px; overflow: auto; overscroll-behavior: contain; }
.bank-list h4 { margin: 14px 0 4px; font: 800 12px var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bank-list h4:first-child { margin-top: 4px; }
.bank-opt { min-height: 58px; }
.opt.bank-opt > span.bank-badge { flex: none; margin-right: 2px; }
.bank-empty { padding: 22px 4px; color: var(--muted); }

/* Selfie */
.selfie { display: grid; justify-items: center; gap: 18px; }
.selfie-frame { position: relative; width: min(260px, 66vw); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px 999px 32px 32px; background: linear-gradient(180deg, var(--mint) 0%, var(--mint-2) 100%); box-shadow: 0 0 0 6px #fff, 0 0 0 8px #cfdad1; transition: box-shadow .3s; }
.selfie.is-live .selfie-frame { box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--green), 0 0 0 18px rgba(0, 100, 94, .12); }
.selfie.is-done .selfie-frame { box-shadow: 0 0 0 6px #fff, 0 0 0 9px #1fa971; animation: pop .45s var(--spring); }
.selfie-frame video, .selfie-frame img, .selfie-demo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.selfie-frame video { transform: scaleX(-1); }
.selfie-demo { background: var(--lime); }
.selfie-demo svg { display: block; width: 100%; height: 100%; }
.selfie .cad-link { justify-self: center; }
.selfie-sil { position: absolute; inset: 14% 8% 0; width: 84%; height: auto; }
.selfie-cap { position: absolute; left: 12px; right: 12px; bottom: 14px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); text-align: center; font: 700 13px var(--font); color: var(--deep); }
.selfie-badge { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px; border-radius: 999px; background: #1fa971; color: #fff; font: 800 13px var(--font); white-space: nowrap; box-shadow: var(--shadow-1); }
.selfie-badge .ic { width: 15px; height: 15px; stroke-width: 3; }
.selfie-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.selfie-err { display: flex; align-items: flex-start; gap: 8px; max-width: 420px; padding: 12px 14px; border-radius: 14px; background: var(--amber-bg); color: var(--amber); font-size: 13.5px; }
.selfie-err .ic { width: 18px; height: 18px; margin-top: 1px; }
.shutter { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--green), 0 10px 24px -8px rgba(0, 75, 70, .5); transition: transform .2s var(--spring); }
.shutter i { width: 58px; height: 58px; border-radius: 50%; background: var(--green); }
.shutter:active { transform: scale(.92); }
.cad-tips { display: grid; gap: 10px; width: 100%; max-width: 380px; margin: 18px auto 0; font-size: 14.5px; }
.cad-tips li { display: flex; align-items: center; gap: 12px; }
.cad-tips .ic { width: 34px; height: 34px; padding: 8px; flex: none; border-radius: 50%; background: var(--mint); color: var(--green); }
.fld[data-f="selfie"] .msg { justify-content: center; margin-top: 6px; }
.cad-check { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14.5px; line-height: 1.5; cursor: pointer; }
.cad-check input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 1px 0 0; flex: none; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 2px #b9c7bd; cursor: pointer; transition: background .2s, box-shadow .2s; }
.cad-check input:checked { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: none; }
.cad-check input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.cad-check a { color: var(--green); text-underline-offset: 3px; }
.fld.has-error .cad-check { box-shadow: inset 0 0 0 2px #c4412b; }

/* ---------- Passo 5: cadastro enviado ---------- */
.cad-done { display: grid; gap: 14px; justify-items: start; }
.cad-done .lead { color: var(--muted); font-size: 17px; max-width: 52ch; }
.cad-done h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1; }
.cad-done h1 em { color: var(--green); }
.cad-done h1:focus { outline: none; }
.done-badge { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 6px; border-radius: 50%; background: var(--lime); color: var(--deep); animation: pop .6s var(--spring) both; }
.done-badge::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0, 100, 94, .18); animation: ping 2.6s var(--ease) infinite; }
.done-badge .ic { width: 40px; height: 40px; stroke-width: 2.6; }
.done-proto { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--muted); }
.done-proto b { color: var(--ink); letter-spacing: .04em; }
.cad-copy { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--green); transition: background .2s; }
.cad-copy:hover { background: var(--mint); }
.cad-copy .ic { width: 17px; height: 17px; }
.done-grid { display: grid; gap: 22px; width: 100%; margin-top: 8px; }
@media (min-width: 860px) { .done-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.tl { display: grid; }
.tl li { position: relative; display: flex; gap: 14px; padding-bottom: 24px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line); }
.tl li:last-child::before { display: none; }
.tl li.done::before { background: var(--green); }
.tl i { position: relative; width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #cfdad1; }
.tl li.done i { background: var(--green); color: #fff; box-shadow: none; }
.tl li.done i .ic { width: 15px; height: 15px; stroke-width: 3; }
.tl li.cur i { box-shadow: inset 0 0 0 2px var(--gold); background: var(--amber-bg); }
.tl li.cur i::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s infinite; }
.tl b { display: block; font-weight: 750; }
.tl small { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.cad-sum { margin: 0; padding: 4px 18px; border-radius: 22px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.cad-sum > div { display: grid; gap: 2px 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cad-sum > div:last-child { border-bottom: 0; }
.cad-sum dt { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cad-sum dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.cad-next { width: 100%; padding: 20px; border-radius: 22px; background: var(--cream); }
.cad-next h3 { font-size: 18px; }
.cad-next ul { display: grid; gap: 10px; margin-top: 14px; }
.cad-next li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.cad-next .ic { width: 36px; height: 36px; padding: 9px; flex: none; border-radius: 50%; background: #fff; color: var(--green); }
.cad-done .btn-row { margin-top: 6px; }

/* ---------- Entrar (modal) ---------- */
.lj-err { min-height: 0; font-size: 13.5px; font-weight: 600; color: #b3321f; }
.lj-err:empty { display: none; }
