/* Fluxos de cadastro / checkout / teste grátis - alinhado ao tema PedidoLink */

.ob-skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ob-skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-md);
  color: var(--text-1);
}

.ob-page {
  min-height: 100vh;
  padding: 24px 16px 48px;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(107, 33, 168, 0.35), transparent),
    var(--bg-root);
}

.ob-header {
  max-width: 560px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ob-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: var(--text-1);
}

.ob-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(107, 33, 168, 0.45);
}

.ob-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

.ob-step {
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--border-dim);
  background: var(--bg-surface);
}
.ob-step.is-active {
  color: var(--text-1);
  border-color: rgba(200, 66, 15, 0.45);
  background: rgba(200, 66, 15, 0.12);
}
.ob-step.is-done {
  color: var(--success);
  border-color: rgba(31, 200, 118, 0.35);
}

.ob-shell {
  max-width: 560px;
  margin: 0 auto;
}

.ob-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  box-shadow: var(--glass-shadow-soft, 0 8px 32px rgba(0, 0, 0, 0.35));
}

.ob-card-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--text-1);
}

.ob-card-lead {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 24px;
}

.ob-plan-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--text-2);
}
.ob-plan-pill strong {
  color: var(--text-1);
  font-weight: 700;
}

.ob-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.ob-actions .btn {
  flex: 1;
  min-width: 140px;
  justify-content: center;
}

.ob-notice {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-3);
  padding: 14px;
  border-radius: var(--r-md);
  background: rgba(240, 160, 32, 0.08);
  border: 1px solid rgba(240, 160, 32, 0.25);
  margin-top: 16px;
}

.ob-gateway-mock {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px dashed var(--border-mid);
  background: var(--bg-surface);
}
.ob-gateway-mock h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 12px;
}

.ob-trial-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.ob-trial-progress span {
  flex: 1;
  height: 4px;
  border-radius: 100px;
  background: var(--border-dim);
  transition: background 0.2s;
}
.ob-trial-progress span.is-on {
  background: linear-gradient(90deg, var(--purple), var(--brand));
}

.ob-step-panel {
  display: none;
}
.ob-step-panel.is-visible {
  display: block;
}

.ob-preview-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.ob-logo-preview {
  width: 88px;
  height: 88px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-mid);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 11px;
  color: var(--text-4);
  text-align: center;
  padding: 8px;
}
.ob-logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ob-color-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ob-color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid var(--border-mid);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.ob-highlight-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.15), rgba(200, 66, 15, 0.08));
  border: 1px solid rgba(155, 94, 199, 0.25);
}
.ob-highlight-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}
.ob-highlight-box p + p {
  margin-top: 10px;
}

.ob-icon-row {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.ob-icon-tile {
  flex: 1;
  min-width: 100px;
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
}
.ob-icon-tile svg {
  margin: 0 auto 8px;
  color: var(--brand-light);
}

@media (max-width: 640px) {
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ob-actions .btn {
    flex: 1 1 100%;
  }
}
