/* Wizard de onboarding pós-cadastro (Perfil → Picos → Plano). Marca Waves: vermelho #fe0000 + branco. */

.wv-onb {
	--wv-red: #fe0000;
	max-width: 720px;
	margin: 0 auto;
	padding: 32px 16px 64px;
	font-family: inherit;
	color: #1a1e2a;
}

/* progresso */
.wv-onb__progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 auto 28px;
	max-width: 460px;
}
.wv-onb__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1;
	position: relative;
	color: #9ca3af;
	font-size: 13px;
}
.wv-onb__step span {
	width: 30px; height: 30px;
	border-radius: 50%;
	display: grid; place-items: center;
	background: #e5e7eb; color: #6b7280;
	font-weight: 700; font-size: 14px;
	transition: background .2s, color .2s;
}
.wv-onb__step.is-current span { background: var(--wv-red); color: #fff; }
.wv-onb__step.is-done span { background: #111827; color: #fff; }
.wv-onb__step.is-current em { color: var(--wv-red); font-weight: 700; }
.wv-onb__step em { font-style: normal; }

/* banner de verificação de e-mail */
.wv-onb__verify {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 20px;
	font-size: 14px;
}
.wv-onb__verify p { margin: 0; }
.wv-onb__verify-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.wv-onb__code { width: 120px; letter-spacing: .3em; text-align: center; padding: 8px; border: 1.5px solid #1a1e2a; border-radius: 8px; }
.wv-onb__verify-msg { font-size: 13px; color: #6b7280; }
/* "Confirmar": vermelho Waves (senão herda o rosa do kit do Elementor). */
.wv-onb__verify [data-verify-submit] {
	background: var(--wv-red) !important; color: #fff !important;
	border: 0 !important; border-radius: 8px !important;
	padding: 8px 16px !important; font-size: 14px !important; font-weight: 700 !important;
	box-shadow: none !important; cursor: pointer;
}
.wv-onb__verify [data-verify-submit]:hover { filter: brightness(.96); }

/* panes */
.wv-onb__pane { display: none; animation: wvOnbIn .25s ease; }
.wv-onb__pane.is-active { display: block; }
@keyframes wvOnbIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wv-onb__title { font-size: 26px; font-weight: 800; margin: 0 0 6px; text-align: center; }
.wv-onb__sub { color: #6b7280; text-align: center; margin: 0 0 24px; }

/* campos */
.wv-onb__field { margin-bottom: 18px; }
.wv-onb__field > label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.wv-onb__field select {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
	font-size: 15px;
	box-sizing: border-box;
}
.wv-onb__field select:focus { outline: none; border-color: var(--wv-red); }
.wv-onb__dob { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 8px; }

/* ações */
.wv-onb__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
}
.wv-onb__actions [data-next] { margin-left: auto; }
.wv-onb__actions--plan { justify-content: space-between; }
.wv-onb__counter { font-weight: 700; color: #374151; margin-left: auto; }
.wv-onb__actions [data-skip] + [data-next] { margin-left: 0; }

.wv-onb__err {
	background: #fef2f2; color: #b91c1c;
	border: 1px solid #fecaca; border-radius: 10px;
	padding: 10px 14px; font-size: 14px; margin-top: 14px;
}

/* ── Passos Perfil/Picos/Plano (layout do mockup) ─────────────── */
.wv-onb__pane--perfil, .wv-onb__pane--picos, .wv-onb__pane--plano { text-align: left; }
.wv-onb__pane--perfil .wv-onb__title, .wv-onb__pane--picos .wv-onb__title, .wv-onb__pane--plano .wv-onb__title { text-align: left; font-size: 30px; letter-spacing: -.01em; }
.wv-onb__pane--perfil .wv-onb__sub, .wv-onb__pane--picos .wv-onb__sub, .wv-onb__pane--plano .wv-onb__sub { text-align: left; font-size: 16px; margin-bottom: 24px; }

/* campo com label "entalhada" na borda */
.wv-onb__f { position: relative; margin-bottom: 20px; }
.wv-onb__group { margin-bottom: 22px; }
.wv-onb__group .wv-onb__f { margin-bottom: 0; }
.wv-onb__flabel {
	position: absolute; top: -7px; left: 14px; z-index: 1;
	background: #fff; padding: 0 6px;
	font-size: 11px; font-weight: 700; letter-spacing: .09em;
	color: #9ca3af; text-transform: uppercase; pointer-events: none;
}
.wv-onb__flabel em, .wv-onb__glabel em { color: var(--wv-red); font-style: normal; }
.wv-onb__glabel {
	display: block; margin: 0 2px 10px;
	font-size: 11px; font-weight: 700; letter-spacing: .09em;
	color: #9ca3af; text-transform: uppercase;
}

.wv-onb__sel {
	width: 100%; height: 62px; box-sizing: border-box;
	padding: 0 44px 0 18px;
	border: 1.5px solid #e5e7eb; border-radius: 14px;
	background-color: #fff; color: #1a1e2a; font-size: 16px; font-weight: 500;
	-webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat; background-position: right 16px center;
}
.wv-onb__sel:focus { outline: none; border-color: var(--wv-red); box-shadow: 0 0 0 3px rgba(254,0,0,.12); }

/* cards de nível de experiência */
.wv-onb__levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wv-onb__level {
	/* !important em display/flex-direction/align: o kit do Elementor estiliza <button>
	   com especificidade maior e joga o layout pra linha (rótulo ao lado do ícone,
	   estourando o container no mobile). Força coluna: ícone em cima, rótulo embaixo
	   encostado à esquerda, com quebra de linha se preciso. */
	display: flex !important; flex-direction: column !important; align-items: flex-start !important;
	justify-content: center; gap: 8px;
	padding: 16px 14px; min-height: 104px;
	border: 1.5px solid #e5e7eb !important; border-radius: 16px !important;
	background: #fff !important; color: #374151 !important;
	font-size: 14px; font-weight: 600; text-align: left; cursor: pointer;
	box-shadow: none !important; transition: border-color .15s, background .15s, color .15s;
}
.wv-onb__level > span { display: block; width: 100%; white-space: normal; line-height: 1.2; }
.wv-onb__level:hover { border-color: #d1d5db !important; }
.wv-onb__level.is-sel {
	border-color: var(--wv-red) !important; background: #fff5f5 !important; color: var(--wv-red) !important;
	box-shadow: 0 0 0 1px var(--wv-red) inset !important;
}
.wv-onb__bars .is-on { fill: currentColor; }
.wv-onb__bars .is-off { fill: #d1d5db; }

/* botão Continuar (vermelho, full-width, brilho) + Pular.
   !important em display/width/padding porque o kit do Elementor estiliza <button>
   com especificidade maior (senão o botão fica inline/auto e o Pular ao lado). */
.wv-onb__cta {
	display: block !important; width: 100% !important; margin-top: 28px !important;
	background: var(--wv-red) !important; color: #fff !important;
	border: 0 !important; border-radius: 14px !important;
	padding: 18px !important; font-size: 16px !important; font-weight: 800 !important;
	line-height: 1.2 !important; text-align: center !important; cursor: pointer;
	box-shadow: 0 12px 30px rgba(254,0,0,.35) !important;
}
.wv-onb__cta:hover { filter: brightness(.96); }
.wv-onb__skip-link {
	display: block !important; width: 100% !important; margin: 16px 0 0 !important; padding: 6px !important;
	background: none !important; border: 0 !important; box-shadow: none !important;
	color: #9ca3af !important; font-size: 15px !important; font-weight: 500 !important;
	text-align: center !important; cursor: pointer;
}
.wv-onb__skip-link:hover { color: #6b7280 !important; text-decoration: underline; }

/* ── Passo Picos (cards + principal no topo) ──────────────────── */
.wv-onb__search2 { position: relative; margin-bottom: 8px; }
.wv-onb__search-ic { position: absolute; right: 20px; left: auto; top: 50%; transform: translateY(-50%); color: #9ca3af; pointer-events: none; }
.wv-onb__search2 input {
	width: 100%; height: 56px; box-sizing: border-box;
	padding: 0 52px 0 20px;
	/* appearance:none remove o chrome nativo do input[type=search] (que ignora o
	   border-radius e deixa o campo "quadrado"); !important vence o kit do Elementor.
	   Mesmos contornos dos campos da etapa 1 (.wv-onb__sel = 14px). */
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	border: 1.5px solid #e5e7eb !important; border-radius: 14px !important;
	background: #fff; font-size: 16px; color: #1a1e2a;
}
.wv-onb__search2 input:focus { outline: none; border-color: var(--wv-red); box-shadow: 0 0 0 3px rgba(254,0,0,.1); }

.wv-onb__count-row { display: flex; justify-content: flex-end; margin: 10px 0 16px; }
.wv-onb__count-badge { background: #f3f4f6; color: #374151; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 6px 14px; }

.wv-onb__principal { margin-bottom: 14px; }
.wv-onb__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.wv-onb__pcard {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 15px 16px; border: 1.5px solid #e5e7eb; border-radius: 16px;
	background: #fff; cursor: pointer; transition: border-color .15s, background .15s;
}
.wv-onb__pcard:hover { border-color: #d1d5db; }
.wv-onb__pcard-txt { min-width: 0; }
.wv-onb__pcard-txt strong { display: block; font-size: 16px; font-weight: 800; color: #1a1e2a; line-height: 1.25; }
.wv-onb__pcard-txt small { display: block; color: #9ca3af; font-size: 13px; margin-top: 2px; }
.wv-onb__pcard.is-fav { border-color: var(--wv-red); background: #fff7f7; }

.wv-onb__pcard--main { border-color: var(--wv-red) !important; background: #fff5f5 !important; padding: 18px 20px; }
.wv-onb__pcard--main .wv-onb__pcard-txt strong { color: var(--wv-red); font-size: 18px; }

.wv-onb__heart {
	flex: 0 0 42px; width: 42px !important; height: 42px !important; min-width: 42px !important; border-radius: 50% !important;
	border: 1.5px solid #e5e7eb !important; background: #fff !important; color: var(--wv-red) !important;
	display: grid !important; place-items: center; cursor: pointer; box-shadow: none !important; padding: 0 !important;
	aspect-ratio: 1 / 1;
}
.wv-onb__heart svg { display: block; }
.wv-onb__heart.is-on { border-color: #fecaca !important; }
.wv-onb__heart.is-main { background: var(--wv-red) !important; color: #fff !important; border-color: var(--wv-red) !important; }

/* Título da seção de recomendações ("Sugestões perto de você" / "Picos próximos de …"),
   full-width no grid de 2 colunas. */
.wv-onb__browse-title {
	grid-column: 1 / -1; margin: 4px 2px 0; font-size: 12px; font-weight: 800;
	text-transform: uppercase; letter-spacing: .04em; color: #9ca3af;
}

/* Card com thumbnail de satélite (recomendações): foto no topo, texto embaixo,
   coração sobreposto no canto — mesmo visual dos cards de favorito. */
.wv-onb__pcard--photo {
	flex-direction: column; align-items: stretch; gap: 0;
	padding: 0; overflow: hidden; position: relative;
}
.wv-onb__pcard-thumb {
	width: 100%; height: 104px; background-size: cover; background-position: center;
	background-color: #eef1f5; position: relative;
}
/* Pino de localização no centro do mapa (ponta encostada no ponto central = o pico). */
.wv-onb__pcard-pin {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
	line-height: 0; pointer-events: none; filter: drop-shadow( 0 2px 3px rgba(0,0,0,.35) );
}
.wv-onb__pcard--photo .wv-onb__pcard-txt { padding: 12px 14px; }
.wv-onb__pcard--photo .wv-onb__heart {
	position: absolute; top: 10px; right: 10px;
	box-shadow: 0 2px 6px rgba(0,0,0,.18) !important;
}
.wv-onb__pcard--main.wv-onb__pcard--photo .wv-onb__pcard-thumb { height: 132px; }

@media (max-width: 560px) { .wv-onb__grid { grid-template-columns: 1fr; } }

/* busca + rails de picos (legado) */
.wv-onb__search { position: relative; margin-bottom: 16px; }
.wv-onb__search input[type="search"] {
	width: 100%; padding: 12px 14px;
	border: 1.5px solid #d1d5db; border-radius: 10px;
	font-size: 15px; box-sizing: border-box;
}
.wv-onb__search input:focus { outline: none; border-color: var(--wv-red); }
.wv-onb__search-results {
	position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
	background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0,0,0,.12);
	max-height: 320px; overflow-y: auto; padding: 6px;
}

.wv-onb__rail { margin-top: 22px; }
.wv-onb__rail-title { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.wv-onb__rail-items,
.wv-onb__search-results { display: grid; gap: 6px; }
.wv-onb__rail-items { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.wv-onb__row {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	width: 100%; text-align: left;
	padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px;
	background: #fff; cursor: pointer; transition: border-color .15s, background .15s;
}
.wv-onb__row:hover { border-color: #cbd5e1; }
.wv-onb__row.is-on { border-color: var(--wv-red); background: #fff5f5; }
.wv-onb__row-txt { display: flex; flex-direction: column; line-height: 1.25; }
.wv-onb__row-txt small { color: #9ca3af; font-size: 12px; }
.wv-onb__row-ic {
	flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
	display: grid; place-items: center; font-weight: 700;
	background: #f3f4f6; color: #374151;
}
.wv-onb__row.is-on .wv-onb__row-ic { background: var(--wv-red); color: #fff; }
.wv-onb__noresult { color: #9ca3af; font-size: 14px; padding: 10px; margin: 0; }

/* chips selecionados */
.wv-onb__selected { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.wv-onb__chip {
	display: inline-flex; align-items: center; gap: 6px;
	background: #111827; color: #fff; border-radius: 999px; padding: 4px 6px 4px 4px;
	font-size: 13px;
}
.wv-onb__chip.is-main { background: var(--wv-red); }
.wv-onb__chip-name { padding: 0 2px; }
.wv-onb__chip-name em { font-style: normal; opacity: .8; font-size: 11px; text-transform: uppercase; }
.wv-onb__chip-main, .wv-onb__chip-x {
	background: rgba(255,255,255,.15); border: 0; color: #fff; cursor: pointer;
	width: 20px; height: 20px; border-radius: 50%; line-height: 1; font-size: 13px;
}
.wv-onb__chip.is-main .wv-onb__chip-main { background: #fff; color: var(--wv-red); }

.wv-onb__upsell {
	background: #fff5f5; border: 1px solid #fecaca; border-radius: 10px;
	padding: 10px 14px; font-size: 14px; margin-top: 14px;
}
.wv-onb__upsell a { color: var(--wv-red); font-weight: 700; }
.wv-onb__upsell strong { color: var(--wv-red); font-weight: 800; }

/* plano: comparação + ciclo + card */
/* --wv-red garantido nesses blocos: são reusados fora do wizard (.wv-onb) —
   na view de planos da Assinatura/Paywall (app.js) — onde a var não é herdada. */
.wv-onb__compare, .wv-onb__cycle, .wv-onb__plancard, .wv-onb__cta { --wv-red: #fe0000; }
/* "(Atual)" ao lado de "Grátis" (plano atual do não-assinante). */
.wv-onb__cmp-current { color: #fe0000; font-weight: 800; }
/* Assinatura (não-Pro): "Escolha seu plano" compacto — logo menor + caixas mais
   baixas pra o toggle Anual/Mensal caber na tela sem rolar. Escopado à .wv-sub__body
   (não afeta o wizard de onboarding). */
.wv-sub__body .wv-onb__cmp-logo { height: 24px !important; margin-bottom: 10px; }
.wv-sub__body .wv-onb__compare { margin-bottom: 12px; gap: 12px; }
.wv-sub__body .wv-onb__compare-col { padding: 11px 14px; }
.wv-sub__body .wv-onb__compare-col h3 { margin-bottom: 8px; font-size: 16px; }
.wv-sub__body .wv-onb__cmp-list { gap: 6px; }
.wv-sub__body .wv-onb__cmp-list li { font-size: 13.5px; }
.wv-sub__body .wv-onb__cycle { margin-bottom: 10px; }
.wv-sub__body .wv-onb__cycle button { padding: 7px 18px; }
.wv-sub__body .wv-onb__plans { margin-top: 2px; }
.wv-sub__body .wv-onb__plancard { padding: 16px 20px; }
.wv-sub__body .wv-onb__plancard-head { margin-bottom: 8px; }
.wv-sub__body .wv-onb__plancard-price { margin-bottom: 4px; }
.wv-sub__body .wv-onb__price-big { font-size: 34px; }
.wv-sub__body .wv-onb__plancard-billed { margin-bottom: 12px; }
.wv-onb__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; align-items: start; }
.wv-onb__compare-col { border: 1.5px solid #e5e7eb; border-radius: 18px; padding: 20px; }
.wv-onb__compare-col.is-pro { border-color: var(--wv-red); background: #fff5f5; }
.wv-onb__compare-col h3 { margin: 0 0 14px; font-size: 18px; font-weight: 800; color: #1a1e2a; }
.wv-onb__cmp-logo { height: 22px; width: auto; display: block; margin: 0 0 14px; }
.wv-onb__cmp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.wv-onb__cmp-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #1a1e2a; }
.wv-onb__cmp-ic { flex: 0 0 auto; }
.wv-onb__cmp-list li.is-yes .wv-onb__cmp-ic { color: #111827; }
.wv-onb__cmp-list li.is-no { color: #9ca3af; }
.wv-onb__cmp-list li.is-no .wv-onb__cmp-ic { color: #cbd5e1; }
.wv-onb__cmp-list.is-pro li.is-yes .wv-onb__cmp-ic { color: var(--wv-red); }

.wv-onb__cycle {
	display: inline-flex; background: #f3f4f6; border-radius: 999px; padding: 4px;
	margin: 0 auto 18px; width: fit-content;
}
.wv-onb__cycle { display: flex; justify-content: center; }
/* !important nos dois estados pra não herdar a cor de botão do kit do Elementor
   (evita "rosa" no botão inativo). Inativo = neutro; ativo = vermelho Waves. */
.wv-onb__cycle button {
	border: 0 !important; background: transparent !important; padding: 8px 20px; border-radius: 999px !important;
	font-weight: 700; cursor: pointer; color: #6b7280 !important; box-shadow: none !important;
}
.wv-onb__cycle button.is-active { background: var(--wv-red) !important; color: #fff !important; box-shadow: 0 1px 4px rgba(0,0,0,.12) !important; }

/* card do plano selecionado */
.wv-onb__plans { display: block; margin-top: 6px; }
.wv-onb__loading { color: #9ca3af; text-align: center; }
.wv-onb__plancard {
	border: 2px solid var(--wv-red); border-radius: 18px; padding: 22px 24px; background: #fff;
}
.wv-onb__plancard-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.wv-onb__plancard-nw { display: flex; align-items: center; gap: 10px; }
.wv-onb__plancard-name { font-weight: 800; font-size: 17px; color: #1a1e2a; }
.wv-onb__badge-off { background: #d9f99d; color: #3f6212; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 10px; }
.wv-onb__badge-trial { background: #d9f99d; color: #3f6212; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 5px 12px; }
.wv-onb__plancard-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.wv-onb__price-strike { color: #9ca3af; text-decoration: line-through; font-size: 18px; font-weight: 600; }
.wv-onb__price-big { font-size: 40px; font-weight: 800; color: #1a1e2a; line-height: 1; }
.wv-onb__price-suf { color: #6b7280; font-size: 18px; font-weight: 600; }
.wv-onb__plancard-billed { color: #6b7280; font-size: 14px; margin: 0 0 18px; }

.wv-onb__free { color: #6b7280; }

@media (max-width: 560px) {
	.wv-onb__compare { grid-template-columns: 1fr; }
	.wv-onb__rail-items { grid-template-columns: 1fr; }
	.wv-onb__step em { font-size: 11px; }
}

/* Toast centralizado na viewport — feedback ao atingir o limite de favoritos.
   position:fixed + translate(-50%,-50%) mantém o centro dinâmico (resize/scroll). */
.wv-onb__toast {
	position: fixed; top: 50%; left: 50%;
	transform: translate(-50%, -50%) scale(.94);
	z-index: 100000; max-width: min(90vw, 440px);
	background: #1a1e2a; color: #fff;
	padding: 20px 26px; border-radius: 16px; text-align: center;
	font-size: 16px; line-height: 1.45; font-weight: 600;
	box-shadow: 0 24px 70px rgba(0,0,0,.4);
	opacity: 0; pointer-events: none; cursor: pointer;
	transition: opacity .2s ease, transform .2s ease;
}
.wv-onb__toast.is-show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.wv-onb__toast strong { color: #fe4d4d; }
