.o-public-shell {
  min-height: 100vh;
  padding: 24px;
}

.o-public-header {
  max-width: 1260px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  background: rgba(20, 13, 31, 0.72);
  border: 1px solid var(--o-border);
  border-radius: var(--o-r-lg);
  backdrop-filter: blur(18px);
  box-shadow: var(--o-shadow-sm);
}

.o-public-nav,
.o-public-actions,
.o-inline-actions,
.o-chip-row,
.o-stat-grid,
.o-feature-grid,
.o-form-layout,
.o-form-grid,
.o-form-grid-3,
.o-choice-grid,
.o-list-grid {
  display: grid;
}

.o-public-nav {
  grid-auto-flow: column;
  gap: 16px;
  align-items: center;
}

.o-public-nav a {
  color: var(--o-text-soft);
  font-size: 0.92rem;
}

.o-public-nav a:hover {
  color: var(--o-text);
}

.o-public-actions {
  grid-auto-flow: column;
  gap: 12px;
  align-items: center;
}

.o-public-main {
  max-width: 1260px;
  margin: 0 auto;
}

.o-flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.o-form-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.o-flow-copy,
.o-flow-panel {
  background:
    radial-gradient(420px 220px at 100% 0, rgba(255, 45, 142, 0.16), transparent 60%),
    radial-gradient(320px 200px at 0 20%, rgba(124, 58, 237, 0.18), transparent 58%),
    rgba(20, 13, 31, 0.74);
  border: 1px solid var(--o-border);
  border-radius: var(--o-r-lg);
  padding: 28px;
  backdrop-filter: blur(18px);
  box-shadow: var(--o-shadow-sm);
}

.o-flow-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--o-r-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--o-pink-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.o-flow-title {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 12ch;
}

.o-flow-sub {
  margin-top: 14px;
  max-width: 58ch;
  color: var(--o-text-soft);
  font-size: 1rem;
}

.o-chip-row {
  grid-auto-flow: column;
  justify-content: start;
  gap: 10px;
  margin-top: 22px;
}

.o-chip-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--o-r-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--o-border-2);
  color: var(--o-text-soft);
  font-size: 0.85rem;
}

.o-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.o-stat-card,
.o-feature-card {
  background: rgba(14, 9, 22, 0.86);
  border: 1px solid var(--o-border);
  border-radius: var(--o-r-md);
  padding: 18px;
}

.o-stat-value {
  font-family: var(--o-font-display);
  font-size: 1.7rem;
  font-weight: 800;
}

.o-stat-label {
  margin-top: 6px;
  color: var(--o-text-muted);
  font-size: 0.84rem;
}

.o-login-value {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  max-width: 52ch;
}

.o-login-value-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--o-r-md);
  background: var(--o-grad-main);
  color: #fff;
}

.o-login-value-ico svg {
  width: 20px;
  height: 20px;
}

.o-login-value p {
  margin: 0;
  color: var(--o-text-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

.o-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.o-feature-card h3,
.o-feature-card h4 {
  font-size: 1rem;
}

.o-feature-card p {
  margin-top: 8px;
  color: var(--o-text-muted);
  font-size: 0.88rem;
}

.o-form-card {
  position: sticky;
  top: 24px;
}

.o-form-card .o-card-head {
  margin-bottom: 12px;
}

.o-flow-banner {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: var(--o-r);
  border: 1px solid var(--o-border-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--o-text-soft);
}

.o-flow-banner.is-success {
  background: rgba(52, 211, 153, 0.11);
  border-color: rgba(52, 211, 153, 0.28);
  color: #d7fff0;
}

.o-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.o-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.o-field-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--o-border);
}

.o-field-inline:first-child {
  border-top: 0;
}

.o-micro-copy {
  margin-top: 16px;
  color: var(--o-text-muted);
  font-size: 0.84rem;
}

.o-micro-copy a {
  color: var(--o-pink-2);
  font-weight: 600;
}

.o-inline-actions {
  grid-auto-flow: column;
  justify-content: start;
  gap: 12px;
  margin-top: 20px;
}

.o-list-grid {
  gap: 12px;
}

.o-step-item,
.o-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: var(--o-r);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--o-border);
}

.o-step-index,
.o-highlight-ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--o-grad-soft);
  border: 1px solid var(--o-border-2);
  color: var(--o-pink-2);
  font-weight: 800;
}

.o-step-item strong,
.o-highlight-box strong {
  display: block;
  margin-bottom: 4px;
}

.o-step-item p,
.o-highlight-box p {
  color: var(--o-text-muted);
  font-size: 0.86rem;
}

.o-highlight-box.is-gradient {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(255, 45, 142, 0.14)),
    rgba(255, 255, 255, 0.03);
}

.o-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.o-choice-card {
  position: relative;
  display: block;
}

.o-choice-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.o-choice-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: var(--o-r);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--o-border);
  color: var(--o-text-soft);
  transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

.o-choice-card span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.o-choice-card:hover span {
  transform: translateY(-1px);
  border-color: var(--o-border-glow);
}

.o-choice-card input:checked + span {
  background: rgba(224, 33, 138, 0.12);
  border-color: rgba(224, 33, 138, 0.42);
  color: var(--o-text);
}

.o-choice-card input:checked + span::after {
  background: linear-gradient(135deg, #ff2d8e, #7c3aed);
}

.o-empty-note {
  padding: 16px;
  border-radius: var(--o-r);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--o-border-2);
  color: var(--o-text-muted);
  font-size: 0.86rem;
}

.o-subsection-title {
  margin-bottom: 12px;
  font-size: 1rem;
}

.o-category-total {
  color: var(--o-pink-2);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---- Cadastro em 3 passos (wizard) ---- */
.o-wizard-intro {
  margin-bottom: 22px;
}

.o-wizard {
  display: block;
}

.o-stepper {
  list-style: none;
  margin: 0 auto 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.o-step-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  color: var(--o-text-muted);
}

.o-step-node::before {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(50% + 26px);
  width: calc(100% - 52px);
  height: 2px;
  background: var(--o-border-2);
}

.o-step-node:last-child::before {
  display: none;
}

.o-step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--o-border-2);
  color: var(--o-text-muted);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  z-index: 1;
}

.o-step-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.o-step-node.is-active .o-step-dot,
.o-step-node.is-done .o-step-dot {
  background: var(--o-grad-primary, linear-gradient(135deg, #ff2d8e, #7c3aed));
  border-color: transparent;
  color: #fff;
}

.o-step-node.is-active,
.o-step-node.is-done {
  color: var(--o-text);
}

.o-step-node.is-done::before {
  background: linear-gradient(90deg, #ff2d8e, #7c3aed);
}

.o-steps-cols {
  display: block;
}

.o-step-col {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.o-step-col.is-active {
  display: flex;
}

.o-step-col[hidden] {
  display: none !important;
}

.o-step-col-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2px;
}

.o-step-num-badge {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--o-grad-soft);
  border: 1px solid var(--o-border-2);
  color: var(--o-pink-2);
}

.o-step-col-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.o-step-col-actions .o-btn-primary {
  margin-left: auto;
}

.o-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.o-label-opt {
  color: var(--o-text-muted);
  font-weight: 500;
}

.o-upload-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 24px 18px;
  border-radius: var(--o-r);
  border: 1px dashed var(--o-border-2);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.o-upload-drop:hover {
  border-color: var(--o-border-glow);
  background: rgba(224, 33, 138, 0.06);
}

.o-upload-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--o-grad-soft);
  border: 1px solid var(--o-border-2);
  color: var(--o-pink-2);
  margin-bottom: 4px;
}

.o-upload-hint {
  color: var(--o-text-muted);
  font-size: 0.82rem;
}

.o-upload-files {
  color: var(--o-pink-2);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .o-flow-grid,
  .o-form-layout {
    grid-template-columns: 1fr;
  }

  .o-form-card {
    position: static;
  }

  .o-step-node::before {
    top: 19px;
  }
}

@media (max-width: 860px) {
  .o-public-shell {
    padding: 16px;
  }

  .o-public-header {
    flex-direction: column;
    align-items: stretch;
  }

  .o-public-nav,
  .o-public-actions,
  .o-inline-actions,
  .o-chip-row {
    grid-auto-flow: row;
  }

  .o-stat-grid,
  .o-feature-grid,
  .o-form-grid,
  .o-form-grid-3,
  .o-choice-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Login split (referencia aprovada) ---- */
.o-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 440px) minmax(0, 0.9fr);
  gap: 0;
  align-items: stretch;
  background: rgba(20, 13, 31, 0.74);
  border: 1px solid var(--o-border);
  border-radius: var(--o-r-lg);
  overflow: hidden;
  box-shadow: var(--o-shadow-sm);
  min-height: 560px;
}

.o-auth-copy {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(420px 220px at 0 0, rgba(124, 58, 237, 0.20), transparent 60%),
    radial-gradient(320px 200px at 0 100%, rgba(255, 45, 142, 0.14), transparent 58%);
}

.o-auth-brand {
  margin-bottom: 28px;
}

.o-auth-title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.2;
  max-width: 16ch;
}

.o-auth-bullets {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.o-auth-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.o-auth-bullet-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--o-grad-soft);
  border: 1px solid var(--o-border-2);
  color: var(--o-pink-2);
}

.o-auth-bullets strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.o-auth-bullets p {
  color: var(--o-text-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.o-auth-card {
  border: none;
  border-left: 1px solid var(--o-border);
  border-right: 1px solid var(--o-border);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(14, 9, 22, 0.6);
}

.o-auth-card-title {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 22px;
}

.o-input-wrap {
  position: relative;
  display: block;
}

.o-input-wrap .o-input {
  width: 100%;
  padding-right: 44px;
}

.o-input-eye {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--o-text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.o-input-eye:hover {
  color: var(--o-text);
}

.o-field-link {
  align-self: flex-end;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--o-text-muted);
}

.o-field-link:hover {
  color: var(--o-pink-2);
}

.o-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--o-text-muted);
  font-size: 0.82rem;
}

.o-auth-divider::before,
.o-auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--o-border-2);
}

.o-btn.o-btn-google {
  background: #fff;
  color: #1f1f24;
  border: 1px solid var(--o-border-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.o-btn.o-btn-google img {
  flex-shrink: 0;
}

.o-btn.o-btn-google:hover {
  background: #f1f1f3;
  color: #1f1f24;
}

.o-auth-foot {
  text-align: center;
  margin-top: 18px;
}

.o-auth-photo {
  position: relative;
  min-height: 100%;
}

.o-auth-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.o-auth-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 9, 22, 0.55), transparent 30%);
}

@media (max-width: 1080px) {
  .o-auth-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .o-auth-photo {
    display: none;
  }

  .o-auth-card {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--o-border);
  }
}
