/* Onboarding Atlas — wizard Ascenka */
:root {
	--ob-primary: #282b3e;
	--ob-accent: #022c8d;
	--ob-ink: #1a1d2e;
	--ob-muted: #5c6178;
	--ob-surface: #f3f4f8;
	--ob-card: #ffffff;
	--ob-line: #d5d8e4;
	--ob-ok: #1f7a4c;
	--ob-font: "Manrope", system-ui, sans-serif;
	--ob-display: "Fraunces", Georgia, serif;
	--ob-ease: cubic-bezier(.22, 1, .36, 1);
	--ob-atlas: 30%;
}

*, *::before, *::after { box-sizing: border-box; }

body.ob-body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--ob-font);
	color: var(--ob-ink);
	background:
		radial-gradient(ellipse 60% 45% at 8% 0%, rgba(2, 44, 141, .1), transparent 55%),
		radial-gradient(ellipse 50% 40% at 100% 10%, rgba(31, 170, 110, .1), transparent 50%),
		linear-gradient(180deg, #eef2f8 0%, var(--ob-surface) 50%);
	-webkit-font-smoothing: antialiased;
}

.ob-wrap {
	width: min(100% - 2rem, 1360px);
	margin: 0 auto;
	padding: 1.25rem 0 2.5rem;
}

.ob-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.1rem;
}
.ob-brand {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	text-decoration: none;
	color: var(--ob-ink);
	font-weight: 800;
}
.ob-brand img { height: 34px; width: auto; }
.ob-link {
	color: var(--ob-accent);
	font-weight: 700;
	text-decoration: none;
	font-size: .92rem;
}
.ob-link:hover { text-decoration: underline; }

.ob-plan-chip {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	background: #fff;
	border: 1px solid var(--ob-line);
	border-radius: 999px;
	padding: .35rem .75rem;
	font-size: .8rem;
	font-weight: 700;
	color: var(--ob-muted);
	box-shadow: 0 4px 14px rgba(26, 29, 46, .05);
}
.ob-plan-chip strong { color: var(--ob-primary); }

/* Plan selection (paso 0) */
.ob-plan-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .85rem;
	margin-top: .25rem;
}
.ob-plan-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .55rem;
	padding: 1rem 1rem .95rem;
	border: 2px solid var(--ob-line);
	border-radius: 16px;
	background: #fff;
	cursor: pointer;
	transition: border-color .2s var(--ob-ease), box-shadow .2s var(--ob-ease), transform .2s var(--ob-ease);
	box-shadow: 0 6px 18px rgba(26, 29, 46, .04);
	min-height: 100%;
}
.ob-plan-card:hover {
	border-color: rgba(2, 44, 141, .35);
	box-shadow: 0 10px 24px rgba(26, 29, 46, .08);
}
.ob-plan-card.is-selected {
	border-color: var(--ob-accent);
	box-shadow: 0 12px 28px rgba(2, 44, 141, .12);
}
.ob-plan-card.is-popular {
	border-color: rgba(31, 122, 76, .35);
}
.ob-plan-card.is-popular.is-selected {
	border-color: var(--ob-ok);
}
.ob-plan-card input[type="radio"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.ob-plan-badge {
	position: absolute;
	top: .65rem;
	right: .65rem;
	background: linear-gradient(135deg, #1faa6e, #1f7a4c);
	color: #fff;
	font-size: .68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: .22rem .5rem;
	border-radius: 999px;
}
.ob-plan-card-head {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding-right: 4.5rem;
}
.ob-plan-card-name {
	font-family: var(--ob-display);
	font-size: 1.15rem;
	color: var(--ob-primary);
}
.ob-plan-card-price {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--ob-ink);
	line-height: 1.1;
}
.ob-plan-card-price small {
	font-size: .78rem;
	font-weight: 700;
	color: var(--ob-muted);
	margin-left: .15rem;
}
.ob-plan-card-desc {
	margin: 0;
	font-size: .84rem;
	line-height: 1.45;
	color: var(--ob-muted);
}
.ob-plan-features {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: .35rem;
	flex: 1;
}
.ob-plan-features li {
	position: relative;
	padding-left: 1.15rem;
	font-size: .8rem;
	line-height: 1.35;
	color: var(--ob-ink);
}
.ob-plan-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--ob-ok);
	font-weight: 800;
	font-size: .75rem;
}
.ob-plan-trial-note {
	margin-top: .15rem;
	font-size: .76rem;
	font-weight: 700;
	color: var(--ob-accent);
}
.ob-plan-enterprise {
	margin: .85rem 0 0;
	font-size: .84rem;
	color: var(--ob-muted);
	text-align: center;
}
.ob-plan-enterprise a {
	color: var(--ob-accent);
	font-weight: 700;
}

/* Progress */
.ob-progress {
	background: var(--ob-card);
	border: 1px solid var(--ob-line);
	border-radius: 16px;
	padding: .85rem 1.1rem;
	margin-bottom: 1rem;
	box-shadow: 0 8px 24px rgba(26, 29, 46, .05);
}
.ob-progress-label {
	margin: 0 0 .55rem;
	font-size: .82rem;
	font-weight: 700;
	color: var(--ob-muted);
	letter-spacing: .02em;
}
.ob-progress-track {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	max-width: min(100%, calc(var(--ob-progress-steps, 5) * 2.85rem));
	margin: 0 auto;
}
.ob-dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid var(--ob-line);
	background: #fff;
	flex-shrink: 0;
	transition: background .35s var(--ob-ease), border-color .35s var(--ob-ease), transform .35s var(--ob-ease);
}
.ob-dot.is-done {
	background: var(--ob-ok);
	border-color: var(--ob-ok);
}
.ob-dot.is-done::after {
	content: "✓";
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 9px;
	font-weight: 800;
	height: 100%;
}
.ob-dot.is-current {
	background: var(--ob-accent);
	border-color: var(--ob-accent);
	transform: scale(1.15);
	box-shadow: 0 0 0 4px rgba(2, 44, 141, .15);
}
.ob-bar {
	flex: 0 0 2.25rem;
	width: 2.25rem;
	height: 3px;
	background: var(--ob-line);
	margin: 0 .28rem;
	border-radius: 99px;
	overflow: hidden;
}
.ob-bar > i {
	display: block;
	height: 100%;
	width: 0;
	background: var(--ob-accent);
	transition: width .4s var(--ob-ease);
}
.ob-bar.is-filled > i { width: 100%; }

@media (max-width: 560px) {
	.ob-dot { width: 11px; height: 11px; }
	.ob-bar { margin: 0 .18rem; }
}

/* Shell: Atlas + content */
.ob-shell {
	display: grid;
	grid-template-columns: var(--ob-atlas) 1fr;
	gap: 1.15rem;
	align-items: start;
	min-height: 0;
}

/* Paso 3: más espacio para la calculadora de puntos */
.ob-shell.is-programa-step {
	grid-template-columns: minmax(148px, 22%) 1fr;
	gap: 1rem;
}
.ob-shell.is-programa-step .ob-atlas-col {
	padding: .75rem .65rem .85rem;
}
.ob-shell.is-programa-step .ob-atlas-frame {
	max-height: min(240px, 38vh);
	aspect-ratio: 4 / 5;
}
.ob-shell.is-programa-step .ob-speech-main {
	padding: .75rem .85rem;
}
.ob-shell.is-programa-step .ob-speech-main p {
	font-size: .84rem;
	line-height: 1.38;
}

.ob-atlas-col {
	background: linear-gradient(165deg, #1a1d2e 0%, #022c8d 100%);
	border-radius: 22px;
	padding: 1.15rem 1rem 1.25rem;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 1rem;
	position: sticky;
	top: 1rem;
	align-self: start;
	max-height: calc(100vh - 2rem);
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(2, 44, 141, .25);
}
.ob-atlas-col::before {
	content: "";
	position: absolute;
	inset: auto -20% -30% auto;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	pointer-events: none;
}

.ob-atlas-frame {
	position: relative;
	width: 100%;
	height: auto;
	min-height: 0;
	flex: 0 0 auto;
	aspect-ratio: 3 / 4;
	max-height: min(520px, calc(100vh - 3.5rem));
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, .14);
}
.ob-atlas-frame img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center top;
	display: block;
	animation: obAtlasIn .45s var(--ob-ease) both;
}
.ob-atlas-placeholder {
	position: absolute;
	inset: 0;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	text-align: center;
	background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
	color: rgba(255, 255, 255, .92);
}
.ob-atlas-frame.is-fallback .ob-atlas-placeholder { display: flex; }
.ob-atlas-frame.is-fallback img { display: none; }
.ob-atlas-placeholder strong {
	display: block;
	font-size: .78rem;
	letter-spacing: .12em;
	margin-bottom: .5rem;
}
.ob-atlas-placeholder span {
	font-size: .72rem;
	line-height: 1.45;
	opacity: .85;
	max-width: 16em;
}

.ob-speech {
	position: relative;
	background: #f4f6fb;
	color: var(--ob-ink);
	border: 1px solid var(--ob-line);
	border-radius: 16px;
	padding: 1rem 1.1rem;
	box-shadow: none;
	animation: obAtlasIn .45s var(--ob-ease) both;
}
.ob-speech-main {
	margin: 0 0 .35rem;
	flex-shrink: 0;
}
.ob-speech-main::before {
	content: "";
	position: absolute;
	top: 1.15rem;
	left: -7px;
	width: 14px;
	height: 14px;
	background: #f4f6fb;
	border-left: 1px solid var(--ob-line);
	border-bottom: 1px solid var(--ob-line);
	transform: rotate(45deg);
	border-radius: 2px;
}
.ob-speech p {
	margin: 0;
	font-size: .95rem;
	line-height: 1.45;
	font-weight: 600;
	white-space: pre-line;
}
.ob-speech .ob-speech-name {
	display: block;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ob-accent);
	margin-bottom: .4rem;
}

.ob-content-col {
	background: var(--ob-card);
	border: 1px solid var(--ob-line);
	border-radius: 22px;
	padding: 1.35rem 1.4rem 1.5rem;
	box-shadow: 0 12px 36px rgba(26, 29, 46, .07);
	display: flex;
	flex-direction: column;
	gap: .85rem;
	min-width: 0;
}

.ob-step {
	display: none;
	flex: 1;
	flex-direction: column;
	gap: 1rem;
}
.ob-step.is-active {
	display: flex;
	opacity: 1;
	transform: none;
	animation: obStepIn .4s var(--ob-ease) both;
}
.ob-step.is-leaving {
	animation: obStepOut .3s var(--ob-ease) both;
}
.ob-step.is-back-in {
	animation: obStepBackIn .4s var(--ob-ease) both;
}

@keyframes obStepIn {
	from { opacity: 0; transform: translateX(22px); }
	to { opacity: 1; transform: translateX(0); }
}
@keyframes obStepOut {
	from { opacity: 1; transform: translateX(0); }
	to { opacity: 0; transform: translateX(-18px); }
}
@keyframes obStepBackIn {
	from { opacity: 0; transform: translateX(-22px); }
	to { opacity: 1; transform: translateX(0); }
}
@keyframes obAtlasIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.ob-step h1 {
	margin: 0;
	font-family: var(--ob-display);
	font-size: clamp(1.45rem, 2.4vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ob-primary);
}
.ob-step-lead {
	margin: -.35rem 0 0;
	color: var(--ob-muted);
	font-size: .92rem;
	line-height: 1.45;
}

.ob-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .85rem;
}
.ob-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.ob-field.full { grid-column: 1 / -1; }
.ob-field-section {
	margin-top: 1.15rem;
	padding-top: 1.15rem;
	border-top: 1px solid var(--ob-line);
}
.ob-section-divider {
	margin-top: 1.35rem;
	padding-top: 1.35rem;
	border-top: 1px solid var(--ob-line);
}
.ob-subsection-title {
	margin: 0;
	font-family: var(--ob-font-display, inherit);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ob-text);
}
.ob-phone-row {
	display: flex;
	gap: .55rem;
	align-items: stretch;
}
.ob-phone-row select {
	flex: 0 0 min(42%, 11rem);
	min-width: 0;
	padding: .72rem .65rem;
	border: 1px solid var(--ob-line);
	border-radius: .55rem;
	background: var(--ob-surface);
	color: var(--ob-text);
	font: inherit;
}
.ob-phone-row input {
	flex: 1;
	min-width: 0;
}
.ob-field select {
	padding: .72rem .85rem;
	border: 1px solid var(--ob-line);
	border-radius: .55rem;
	background: var(--ob-surface);
	color: var(--ob-text);
	font: inherit;
	width: 100%;
}
.ob-field select:focus {
	outline: 2px solid color-mix(in srgb, var(--ob-brand) 35%, transparent);
	border-color: var(--ob-brand);
}
.ob-step .pg-shell {
	margin-top: .25rem;
}
.ob-step .pg-board {
	grid-template-columns: 1fr;
}
.ob-shell.is-programa-step .ob-step.is-active .pg-board {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1180px) {
	.ob-shell.is-programa-step .ob-step.is-active .pg-board {
		grid-template-columns: 1fr;
	}
}
.ob-step .pg-reward-nums {
	grid-template-columns: 1fr 1fr;
	gap: .75rem;
}
@media (max-width: 640px) {
	.ob-step .pg-reward-nums {
		grid-template-columns: 1fr;
	}
}
.ob-step .pg-board-title {
	font-size: 1rem;
	margin: 0 0 .85rem;
	color: var(--ob-muted);
	font-weight: 600;
}
.ob-field label {
	font-size: .8rem;
	font-weight: 700;
	color: var(--ob-muted);
}
.ob-field input[type="text"],
.ob-field input[type="email"],
.ob-field input[type="password"],
.ob-field input[type="tel"],
.ob-field input[type="file"],
.ob-field input[type="color"] {
	width: 100%;
	border: 1px solid var(--ob-line);
	border-radius: 12px;
	padding: .7rem .85rem;
	font: inherit;
	font-size: .92rem;
	background: #fff;
	color: var(--ob-ink);
	transition: border-color .2s, box-shadow .2s;
}
.ob-field input:focus {
	outline: none;
	border-color: var(--ob-accent);
	box-shadow: 0 0 0 3px rgba(2, 44, 141, .15);
}
.ob-hint {
	font-size: .78rem;
	color: var(--ob-muted);
	line-height: 1.35;
}
.ob-hint-ok { color: var(--ob-ok); font-weight: 700; }
.ob-hint-bad { color: #b42318; font-weight: 700; }
.ob-sub-live {
	font-weight: 800;
	color: var(--ob-accent);
	font-size: .9rem;
}

/* Sector cards */
.ob-sectors {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
	gap: .55rem;
}
.ob-sector {
	appearance: none;
	border: 1px solid var(--ob-line);
	background: #fff;
	border-radius: 14px;
	padding: .75rem .5rem;
	cursor: pointer;
	text-align: center;
	font: inherit;
	transition: transform .2s var(--ob-ease), box-shadow .2s, border-color .2s, background .2s;
}
.ob-sector:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(26, 29, 46, .08);
	border-color: #b8c0d9;
}
.ob-sector.is-selected {
	border-color: var(--ob-accent);
	background: rgba(2, 44, 141, .06);
	box-shadow: 0 0 0 2px rgba(2, 44, 141, .2);
}
.ob-sector .ob-sector-icon { display: block; font-size: 1.35rem; margin-bottom: .25rem; }
.ob-sector .ob-sector-label { display: block; font-size: .75rem; font-weight: 700; color: var(--ob-ink); }

.ob-ideas-label {
	margin: .35rem 0 0;
	font-size: .82rem;
	font-weight: 700;
	color: var(--ob-muted);
}
.ob-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}
.ob-chip {
	appearance: none;
	border: 1px solid var(--ob-line);
	background: var(--ob-surface);
	border-radius: 999px;
	padding: .4rem .75rem;
	font: inherit;
	font-size: .78rem;
	font-weight: 700;
	cursor: pointer;
	color: var(--ob-ink);
	transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.ob-chip:hover {
	border-color: var(--ob-accent);
	color: var(--ob-accent);
	transform: translateY(-1px);
}
.ob-chip.is-selected {
	background: var(--ob-accent);
	border-color: var(--ob-accent);
	color: #fff;
}

/* Brand row */
.ob-brand-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}
.ob-preview {
	border: 1px solid var(--ob-line);
	border-radius: 18px;
	overflow: hidden;
	min-height: 280px;
	background: #022c8d center / cover no-repeat;
	position: relative;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.ob-preview-inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .65rem;
	padding: 1.25rem;
	text-align: center;
	background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.35));
	color: #fff;
}
.ob-preview-logo {
	max-height: 52px;
	max-width: 140px;
	object-fit: contain;
	filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
}
.ob-preview-welcome {
	margin: 0;
	font-size: .78rem;
	opacity: .9;
	font-weight: 600;
}
.ob-preview-program {
	margin: 0;
	font-family: var(--ob-display);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}
.ob-preview-card {
	background: rgba(255, 255, 255, .95);
	color: var(--ob-ink);
	border-radius: 14px;
	padding: .85rem 1.1rem;
	min-width: 180px;
	box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.ob-preview-card small {
	display: block;
	font-size: .7rem;
	font-weight: 700;
	color: var(--ob-muted);
	text-transform: uppercase;
	letter-spacing: .06em;
}
.ob-preview-card strong {
	display: block;
	margin-top: .2rem;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--ob-preview-brand, var(--ob-accent));
}
.ob-preview-btn {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: .55rem 1.15rem;
	font: inherit;
	font-size: .82rem;
	font-weight: 800;
	color: #fff;
	background: var(--ob-preview-brand, var(--ob-accent));
	box-shadow: 0 8px 18px rgba(0,0,0,.2);
	pointer-events: none;
}
.ob-upload-status {
	font-size: .78rem;
	font-weight: 700;
	color: var(--ob-muted);
}
.ob-upload-status.is-ok { color: var(--ob-ok); }

.ob-color-row {
	display: flex;
	gap: .5rem;
	align-items: center;
}
.ob-color-row input[type="color"] {
	width: 48px;
	height: 42px;
	padding: .2rem;
	cursor: pointer;
}
.ob-color-row input[type="text"] { flex: 1; }

/* Summary / review */
.ob-review-block {
	border: 1px solid var(--ob-line);
	border-radius: 16px;
	padding: 1rem 1.05rem 1.1rem;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}
.ob-review-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	flex-wrap: wrap;
}
.ob-review-head h2 {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--ob-primary);
	letter-spacing: -.01em;
}
.ob-edit-btn {
	appearance: none;
	border: 1px solid var(--ob-accent);
	background: #fff;
	color: var(--ob-accent);
	font: inherit;
	font-size: .82rem;
	font-weight: 800;
	padding: .45rem .85rem;
	border-radius: 999px;
	cursor: pointer;
	transition: background .2s, color .2s, transform .2s;
}
.ob-edit-btn:hover {
	background: var(--ob-accent);
	color: #fff;
}
.ob-summary {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .65rem .9rem;
	background: var(--ob-surface);
	border-radius: 14px;
	padding: 1rem;
	border: 1px solid var(--ob-line);
}
.ob-summary dt {
	margin: 0;
	font-size: .72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--ob-muted);
}
.ob-summary dd {
	margin: .15rem 0 0;
	font-size: .95rem;
	font-weight: 700;
	color: var(--ob-ink);
}

.ob-consent {
	display: flex;
	flex-direction: column;
	gap: .65rem;
}
.ob-check {
	display: flex;
	gap: .65rem;
	align-items: flex-start;
	font-size: .86rem;
	line-height: 1.4;
	color: var(--ob-ink);
}
.ob-check input { margin-top: .2rem; }
.ob-check a { color: var(--ob-accent); font-weight: 700; }

.ob-error {
	background: #fef3f2;
	border: 1px solid #fecdca;
	color: #b42318;
	border-radius: 12px;
	padding: .75rem 1rem;
	font-size: .88rem;
	font-weight: 600;
	margin-bottom: .5rem;
}

.ob-popup {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: rgba(26, 29, 46, .45);
}
.ob-popup[hidden] { display: none; }
.ob-popup-card {
	width: min(100%, 420px);
	background: var(--ob-card);
	border-radius: 18px;
	padding: 1.25rem 1.3rem 1.15rem;
	box-shadow: 0 24px 60px rgba(26, 29, 46, .22);
}
.ob-popup-kicker {
	margin: 0 0 .4rem;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #b42318;
}
.ob-popup-msg {
	margin: 0 0 1rem;
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--ob-ink);
}
.ob-popup-card .ob-btn { width: 100%; }
.ob-field-miss {
	outline: 2px solid #f04438;
	outline-offset: 3px;
	border-radius: 10px;
}
.ob-consent.is-missing {
	padding: .75rem;
	border-radius: 14px;
	background: #fef3f2;
	box-shadow: inset 0 0 0 1px #fecdca;
}

.ob-nav {
	display: flex;
	justify-content: space-between;
	gap: .75rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--ob-line);
}
.ob-btn {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: .75rem 1.25rem;
	font: inherit;
	font-size: .9rem;
	font-weight: 800;
	cursor: pointer;
	transition: filter .2s, transform .2s, box-shadow .2s;
}
.ob-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
}
.ob-btn-primary {
	background: linear-gradient(90deg, var(--ob-primary), var(--ob-accent));
	color: #fff;
	box-shadow: 0 8px 20px rgba(2, 44, 141, .25);
}
.ob-btn-primary:hover:not(:disabled) { filter: brightness(1.06); }
.ob-btn-ghost {
	background: #fff;
	border: 1px solid var(--ob-line);
	color: var(--ob-ink);
}
.ob-btn-ghost:hover:not(:disabled) { background: var(--ob-surface); }

.ob-ci-alert {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 10px;
	padding: .65rem .8rem;
	font-size: .8rem;
	line-height: 1.4;
	color: #1e3a8a;
	margin-top: .35rem;
}

.ob-login-reminder {
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
	border: 1px solid #93c5fd;
	border-radius: 16px;
	padding: 1rem 1.1rem 1.15rem;
	margin-bottom: .15rem;
	color: #1e3a8a;
}
.ob-login-reminder strong {
	display: block;
	font-size: .95rem;
	font-weight: 800;
	margin-bottom: .35rem;
	color: #0f172a;
}
.ob-login-reminder > p {
	margin: 0 0 .45rem;
	font-size: .88rem;
	line-height: 1.45;
}
.ob-login-user {
	display: inline-block;
	margin: .15rem 0 .55rem !important;
	padding: .55rem 1rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #bfdbfe;
	font-size: 1.05rem !important;
	font-weight: 800;
	letter-spacing: .02em;
	color: #022c8d;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.ob-login-user-label {
	font-family: 'Manrope', system-ui, sans-serif;
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: 0;
	color: #475569;
	margin-right: .15rem;
}
.ob-login-hint {
	margin: 0 !important;
	font-size: .8rem !important;
	color: #475569 !important;
	line-height: 1.45;
}
.ob-login-credentials {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: .35rem 1rem;
	margin: .5rem 0 .65rem;
	font-size: .88rem;
}
.ob-login-credentials dt {
	margin: 0;
	font-weight: 800;
	color: #475569;
	text-transform: uppercase;
	font-size: .72rem;
	letter-spacing: .04em;
}
.ob-login-credentials dd {
	margin: 0;
	font-weight: 700;
	color: #0f172a;
}
.ob-login-credentials .ob-login-user {
	margin: 0 !important;
	grid-column: 1 / -1;
}
.ob-login-password-mask {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: .12em;
	color: #022c8d;
}

.rg-wrap > .ob-progress,
.rg-wrap > .ob-login-reminder {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}
.rg-wrap > .ob-login-reminder {
	margin-bottom: 1rem;
}

.ob-reg-box {
	background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
	border: 1px solid #93c5fd;
	border-radius: 16px;
	padding: 1rem 1.1rem 1.05rem;
	color: #1e3a8a;
}
.ob-reg-box.is-off {
	background: #f8fafc;
	border-color: var(--ob-line);
	color: var(--ob-ink);
}
.ob-reg-kicker {
	margin: 0 0 .4rem;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #022c8d;
}
.ob-reg-box.is-off .ob-reg-kicker {
	color: var(--ob-muted);
}
.ob-reg-box > p {
	margin: 0 0 .5rem;
	font-size: .86rem;
	line-height: 1.45;
}
.ob-reg-box .ob-check {
	margin: .35rem 0 .45rem;
	padding: .65rem .75rem;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #bfdbfe;
}
.ob-reg-box.is-off .ob-check {
	border-color: var(--ob-line);
}
.ob-reg-state {
	margin: 0 !important;
	font-size: .8rem !important;
	font-weight: 700;
	color: #0f172a;
}

@media (max-width: 1100px) {
	.ob-plan-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	.ob-shell {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.ob-atlas-col {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 1rem;
		padding: 1rem;
		min-height: 0;
		position: static;
		max-height: none;
	}
	.ob-atlas-frame {
		width: 120px;
		max-height: 160px;
		aspect-ratio: 3 / 4;
		flex-shrink: 0;
		margin: 0;
		min-height: 0;
		background: #fff;
	}
	.ob-atlas-frame img {
		object-fit: contain;
		object-position: center top;
	}
	.ob-speech-main::before {
		top: -7px;
		left: 1.4rem;
		border-left: 1px solid var(--ob-line);
		border-bottom: none;
		border-top: 1px solid var(--ob-line);
	}
	.ob-brand-grid { grid-template-columns: 1fr; }
	.ob-preview { min-height: 220px; order: -1; }
}

@media (max-width: 560px) {
	.ob-fields { grid-template-columns: 1fr; }
	.ob-summary { grid-template-columns: 1fr; }
	.ob-atlas-col { flex-direction: column; }
	.ob-atlas-frame { width: 140px; max-height: 180px; }
	.ob-nav { flex-direction: column-reverse; }
	.ob-btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.ob-step.is-active,
	.ob-step.is-leaving,
	.ob-step.is-back-in,
	.ob-atlas-frame img,
	.ob-speech {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
	}
	.ob-dot, .ob-bar > i, .ob-sector, .ob-chip {
		transition: none !important;
	}
}

/* Preparando page */
.ob-prep-wrap {
	width: min(100% - 1.5rem, 1280px);
	padding-top: 1rem;
}
.ob-prep {
	display: grid;
	grid-template-columns: minmax(280px, 1.05fr) minmax(280px, .95fr);
	gap: 1.25rem;
	align-items: stretch;
	min-height: min(78vh, 760px);
	margin: 0;
	text-align: left;
}
.ob-prep-hero {
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	background: linear-gradient(165deg, #1a1d2e 0%, #022c8d 100%);
	box-shadow: 0 22px 56px rgba(2, 44, 141, .32);
	min-height: 520px;
}
.ob-prep-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}
.ob-prep-copy {
	background: var(--ob-card);
	border: 1px solid var(--ob-line);
	border-radius: 28px;
	padding: 2rem 1.85rem 1.75rem;
	box-shadow: 0 16px 40px rgba(26, 29, 46, .08);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ob-prep-kicker {
	margin: 0 0 .35rem;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ob-accent);
}
.ob-prep-copy h1 {
	font-family: var(--ob-display);
	font-size: clamp(2rem, 4vw, 2.8rem);
	margin: 0 0 .65rem;
	color: var(--ob-primary);
	letter-spacing: -.03em;
}
.ob-prep-lead {
	margin: 0;
	color: var(--ob-muted);
	font-weight: 600;
	line-height: 1.5;
	font-size: 1.02rem;
}
.ob-prep-lead strong { color: var(--ob-ink); }
.ob-prep-next {
	margin: 1.25rem 0 0;
	font-size: .95rem;
	color: var(--ob-muted);
	font-weight: 650;
}
.ob-prep-cta { margin: 1.15rem 0 0; }
.ob-prep-list {
	list-style: none;
	margin: 1.35rem 0 0;
	padding: 0;
	text-align: left;
}
.ob-prep-list li {
	display: flex;
	align-items: center;
	gap: .65rem;
	padding: .55rem 0;
	font-weight: 700;
	color: var(--ob-muted);
	opacity: .45;
	transition: opacity .35s, color .35s;
}
.ob-prep-list li.is-on {
	opacity: 1;
	color: var(--ob-ok);
}
.ob-prep-list li span {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid currentColor;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .7rem;
	flex: none;
}
@media (max-width: 860px) {
	.ob-prep {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.ob-prep-hero {
		min-height: 320px;
		max-height: 42vh;
	}
}

.ob-welcome {
	min-height: min(82vh, 820px);
}
.ob-welcome-hero {
	min-height: 560px;
}
.ob-welcome-step {
	margin-top: 1.35rem;
	padding: 1.1rem 1.15rem 1.05rem;
	border-radius: 18px;
	background: linear-gradient(165deg, #eff6ff 0%, #f8fafc 100%);
	border: 1px solid #93c5fd;
}
.ob-welcome-step-kicker {
	margin: 0 0 .45rem;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #022c8d;
}
.ob-welcome-step p {
	margin: 0 0 .65rem;
	font-size: .95rem;
	line-height: 1.5;
	font-weight: 650;
	color: #1e3a8a;
}
.ob-welcome-step p:last-child {
	margin-bottom: 0;
}
.ob-welcome-step strong {
	color: #0f172a;
}
@media (max-width: 860px) {
	.ob-welcome-hero {
		min-height: 340px;
		max-height: 48vh;
	}
}
