/* Cadastro — usa os tokens de landing.css */
.np-signup-help { font-size: 14px; color: var(--muted); align-self: center; }
.np-signup { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; padding: 48px 0 96px; align-items: start; }
.np-signup-aside { position: sticky; top: 110px; }
.np-signup-aside .np-h2 { margin-bottom: 28px; }
.np-signup-terms { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.np-signup-terms li { padding-left: 30px; position: relative; color: var(--ink-2); }
.np-signup-terms li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); }
.np-signup-terms li::after { content: ""; position: absolute; left: 6px; top: 7.5px; width: 4.5px; height: 8px; border: solid var(--opa-on-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.np-signup-card { background: var(--opa-background); border: 1px solid var(--line); border-radius: calc(var(--opa-radius-card) * 1.25); padding: 36px; box-shadow: var(--shadow); min-width: 0; }

.np-progress { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0; margin: 0 0 30px; counter-reset: s; }
.np-progress li { counter-increment: s; font-size: 12.5px; font-weight: 600; color: var(--muted); padding-top: 12px; border-top: 3px solid var(--line); transition: border-color .3s, color .3s; }
.np-progress li::before { content: counter(s) " · "; }
.np-progress li.is-current { color: var(--ink); border-color: var(--terra); }
.np-progress li.is-done { color: var(--green); border-color: var(--green); }

.np-step-panel { border: 0; padding: 0; margin: 0; display: grid; gap: 20px; }
.np-step-panel legend { font-family: var(--display); font-size: 1.75rem; font-weight: var(--opa-weight-bold); letter-spacing: -.02em; margin-bottom: 6px; padding: 0; }
.np-field { display: grid; gap: 8px; }
.np-field > span:first-child { font-size: 14px; font-weight: 600; }
/* D12 (25/10/2026): borda do campo >= 3:1 (antes --line, 1,24:1); foco e erro seguem as regras abaixo. */
.np-field input, .np-slug { width: 100%; min-height: 52px; border: 1.5px solid var(--opa-border-field); border-radius: var(--opa-radius-control); background: var(--opa-background); font: 400 16px var(--sans); color: var(--ink); padding: 0 16px; transition: border-color .2s, box-shadow .2s; }
.np-field input:focus, .np-slug:focus-within { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px var(--terra-soft); }
.np-field small { font-size: 13px; color: var(--muted); }
.np-err { font-style: normal; font-size: 13.5px; color: var(--terra-deep); font-weight: 600; min-height: 0; }
.np-err:empty { display: none; }
.np-signup-card .has-error input, .np-signup-card .has-error .np-slug { border-color: var(--terra-deep); }
.np-slug { display: flex; align-items: center; padding: 0 0 0 16px; overflow: hidden; }
.np-slug-base { color: var(--muted); font-size: 15px; white-space: nowrap; }
.np-slug input { border: 0; min-height: 49px; padding-left: 2px; box-shadow: none !important; min-width: 0; }
.np-pass { position: relative; display: block; }
.np-pass input { padding-right: 90px; }
.np-pass .np-link { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.np-link { background: none; border: 0; padding: 6px; font: 600 14px var(--sans); color: var(--terra-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.np-tax-letters { justify-self: start; padding: 2px 0; }
.np-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; flex-wrap: wrap; }
.np-check input { width: 22px; height: 22px; accent-color: var(--terra); margin-top: 1px; flex: none; }
.np-check span { flex: 1; min-width: 0; }
.np-check .np-err { width: 100%; }
.np-summary { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.np-summary div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.np-summary div:last-child { border-bottom: 0; }
.np-summary dt { color: var(--muted); }
.np-summary dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.np-trial-box { background: var(--green-soft); border-radius: 16px; padding: 18px 20px; }
.np-trial-box p { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }
.np-errors:not(:empty) { background: var(--opa-primary-soft); color: var(--opa-primary-hover); border-radius: var(--opa-radius-control); padding: 12px 14px; font-weight: 600; font-size: 14.5px; margin-bottom: 18px; }
.np-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.np-actions [data-next] { margin-left: auto; }
.np-actions [data-next]:disabled { opacity: .7; cursor: progress; }

.np-signup-closed, .np-done { display: grid; gap: 18px; justify-items: start; }
.np-signup-closed h2, .np-done h2 { font-family: var(--display); font-size: 2rem; font-weight: var(--opa-weight-bold); letter-spacing: -.02em; }
.np-signup-closed p, .np-done p { color: var(--muted); }
.np-done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--green); position: relative; }
.np-done-mark::after { content: ""; position: absolute; left: 24px; top: 15px; width: 13px; height: 25px; border: solid var(--opa-on-primary); border-width: 0 4px 4px 0; transform: rotate(45deg); }

@media (max-width: 900px) {
  .np-signup { grid-template-columns: 1fr; gap: 30px; padding-top: 24px; }
  .np-signup-aside { position: static; }
  .np-signup-help { display: none; }
}
@media (max-width: 560px) {
  .np-signup-card { padding: 24px 18px; border-radius: var(--opa-radius-card); }
  .np-progress li { font-size: 0; padding-top: 8px; }
  .np-progress li::before { font-size: 12px; content: counter(s); }
  .np-progress li.is-current::after { content: attr(data-label); }
  .np-actions [data-next] { width: 100%; }
  .np-slug { flex-wrap: wrap; padding: 8px 12px 0; }
  .np-slug-base { width: 100%; font-size: 13px; }
  .np-slug input { min-height: 40px; padding-left: 0; }
}

/* [hidden] precisa vencer os display: grid/flex acima (etapas, conclusão, avisos). */
.np-signup-page [hidden] { display: none !important; }
.np-signup-page .np-nav-cta { margin-left: auto; }

.np-signup-page .np-nav-cta .np-btn-ghost { display: inline-flex; }
