/* Conecta+ — login / criar conta */
body.auth { background: #fff; min-height: 100vh; }
.auth__wrap { display: grid; grid-template-columns: minmax(340px, 42%) 1fr; min-height: 100vh; }

/* Painel da marca */
.auth__brand { position: sticky; top: 0; height: 100vh; background: radial-gradient(120% 90% at 85% 10%, #1f6fff 0%, #0f3d91 40%, #0b1f3a 100%); color: #fff; padding: 32px 44px; display: flex; flex-direction: column; justify-content: space-between; }
.auth__back { font-size: 14px; color: #cfe0ff; align-self: flex-start; }
.auth__back:hover { color: #fff; text-decoration: underline; }
.auth__logo { height: 84px; width: auto; margin-bottom: 30px; }
.auth__brand h1 { font-size: 34px; line-height: 1.15; letter-spacing: -.02em; max-width: 420px; margin-bottom: 26px; }
.auth__brand ul { display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; color: #dbe8ff; }
.auth__brand li { display: flex; gap: 12px; align-items: center; }
.auth__brand li span { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; font-size: 18px; flex: none; }
.auth__brand small { color: #9fb8e0; }

/* Painel do formulário */
.auth__panel { display: flex; justify-content: center; align-items: flex-start; padding: 40px 24px 60px; background: var(--bg); }
.auth__card { width: 100%; max-width: 560px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 30px 34px 34px; }
.auth__logo-m { display: none; margin-bottom: 18px; }
.auth__logo-m img { height: 46px; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #eef1f5; border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.tabs button { padding: 10px; border-radius: 8px; font-weight: 700; color: var(--muted); transition: all .15s; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 1px 4px rgba(11, 31, 58, .14); }

.form h2 { font-size: 24px; color: var(--navy); letter-spacing: -.01em; }
.form .sub { margin: 6px 0 20px; color: var(--muted); }
.form fieldset { border: 0; padding: 0; margin: 0 0 8px; }
.form legend { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); padding: 0; margin: 14px 0 10px; width: 100%; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row--cep { grid-template-columns: 170px 1fr; align-items: start; }
.row--rua { grid-template-columns: 1fr 110px; }
.row--cid { grid-template-columns: 1fr 90px; }
.cepinfo { font-size: 13px; color: var(--muted); padding-top: 30px; }
.cepinfo.warn { color: #b45309; font-weight: 600; }

.fld { display: block; margin-bottom: 14px; min-width: 0; }
.fld > span { display: block; font-size: 13px; font-weight: 600; color: #33475c; margin-bottom: 5px; }
.fld > span small { font-weight: 400; color: var(--muted); }
.fld input { width: 100%; padding: 11px 13px; border: 1.5px solid #d5dce6; border-radius: 9px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.fld input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 107, 255, .12); }
.fld.bad input { border-color: var(--red); }
.fld.bad input:focus { box-shadow: 0 0 0 4px rgba(229, 56, 59, .12); }
.err { display: block; min-height: 0; font-style: normal; font-size: 12.5px; color: var(--red); margin-top: 4px; }
.err:empty { display: none; }
.pw { position: relative; }
.pw input { padding-right: 46px; }
.pw__t { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 34px; border-radius: 8px; font-size: 16px; opacity: .55; }
.pw__t:hover, .pw__t.on { opacity: 1; background: #eef3ff; }

.btn--lg { padding: 14px 22px; font-size: 16px; margin-top: 8px; }
.btn:disabled { opacity: .65; cursor: wait; }
.formerr { background: #fdecec; color: #b42318; border: 1px solid #f7c5c5; padding: 11px 14px; border-radius: 9px; font-size: 14px; margin: 4px 0 8px; }
.switch { text-align: center; margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.switch a { color: var(--blue); font-weight: 700; }
.switch a:hover { text-decoration: underline; }

/* Aviso de bloqueio */
.blocked { text-align: center; padding: 6px 0 4px; }
.blocked__ic { font-size: 46px; }
.blocked h2 { color: var(--red); font-size: 26px; margin: 4px 0 8px; }
.blocked p { margin: 0 0 14px; }
.blocked__obs { text-align: left; background: #fff6f6; border: 1px solid #f7c5c5; border-left: 5px solid var(--red); border-radius: 10px; padding: 14px 16px; margin: 6px 0 16px; }
.blocked__obs b { display: block; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: #b42318; margin-bottom: 4px; }
.blocked__obs span { white-space: pre-wrap; overflow-wrap: anywhere; color: #3a1d1d; }
.blocked__act { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 900px) {
  .auth__wrap { grid-template-columns: 1fr; }
  .auth__brand { display: none; }
  .auth__logo-m { display: block; }
  .auth__panel { padding: 16px 12px 40px; }
  .auth__card { padding: 22px 18px 26px; box-shadow: var(--shadow); }
}
@media (max-width: 520px) {
  .row, .row--cep, .row--rua { grid-template-columns: 1fr; }
  .row--rua { grid-template-columns: 1fr 96px; }
  .row--cid { grid-template-columns: 1fr 80px; }
  .cepinfo { padding-top: 0; margin: -6px 0 12px; }
}

/* ---------- Esqueci a senha / código por e-mail ---------- */
.esqueci { margin: 2px 0 6px; font-size: 14px; color: var(--muted); }
.esqueci a { color: var(--blue); font-weight: 700; }
.esqueci a:hover { text-decoration: underline; }
.passo__ic { width: 54px; height: 54px; border-radius: 14px; background: #eef4ff; display: grid; place-items: center; font-size: 26px; margin-bottom: 14px; }
.fld input.codigo { font-size: 28px; letter-spacing: 12px; text-align: center; font-weight: 700; padding: 12px; font-variant-numeric: tabular-nums; }
.fld input.codigo::placeholder { color: #cfd7e3; }
.form .sub b { color: var(--navy); overflow-wrap: anywhere; }
.okmsg { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; padding: 11px 14px; border-radius: 9px; font-size: 14px; margin: 4px 0 8px; }
[data-reenvio] button { color: var(--blue); font-weight: 700; }
[data-reenvio] button:disabled { color: var(--muted); font-weight: 400; cursor: default; }

/* Seja parceiro */
.auth__card--lg { max-width: 680px; }
.form textarea { width: 100%; padding: 11px 13px; border: 1.5px solid #d5dce6; border-radius: 9px; font: inherit; resize: vertical; outline: none; }
.form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30, 107, 255, .12); }
.resumo-taxas { background: #f4f8ff; border: 1px solid #cfdcf5; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; font-size: 14px; }
.resumo-taxas h4 { margin: 0 0 8px; color: var(--navy); font-size: 15px; }
.resumo-taxas .rt { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed #d5e0f2; }
.resumo-taxas .rt b { color: var(--navy); white-space: nowrap; }
.resumo-taxas p { margin: 10px 0 0; color: #33475c; font-size: 13px; line-height: 1.5; }
.contrato { max-height: 340px; overflow-y: auto; border: 1.5px solid #d5dce6; border-radius: 12px; padding: 14px 18px; font-size: 13.5px; line-height: 1.55; color: #22364d; background: #fff; }
.contrato h2 { font-size: 17px; margin: 0 0 10px; } .contrato h3 { font-size: 14px; margin: 16px 0 4px; color: var(--blue); } .contrato p { margin: 0 0 8px; }
.contrato table { width: 100%; border-collapse: collapse; margin: 4px 0 10px; font-size: 13px; } .contrato th, .contrato td { border-bottom: 1px solid #e3e8ef; padding: 5px 6px; text-align: left; } .contrato th { background: #f4f7fb; }
.contrato__links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; margin: 6px 0 10px; color: #b45309; }
.contrato__links a { color: var(--blue); font-weight: 600; margin-left: auto; }
.aceite { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; background: #f7f9fc; border-radius: 10px; padding: 12px; }
.aceite input { width: 20px; height: 20px; flex: none; margin-top: 1px; } .aceite input:disabled + span { opacity: .55; }
.enviado { text-align: center; } .enviado h2 { color: var(--navy); margin: 6px 0 8px; } .enviado .btn { margin-top: 16px; }
.parceiro-cta { margin-top: 18px; padding: 14px; border-radius: 12px; background: #f4f8ff; border: 1px dashed #b9cdf2; text-align: center; font-size: 14px; color: #33475c; }
.parceiro-cta a { display: inline-block; margin-top: 6px; color: var(--blue); font-weight: 700; }
