/* WV Diagnóstico Empresarial — identidade visual WV (azul-petróleo, botão pílula branco, Poppins) */

.wv-diag {
	--wv-bg: #042130;
	--wv-bg2: #06293a;
	--wv-brand: #00415a;
	--wv-brand2: #0079ae;
	--wv-soft: #c9e7fb;
	--wv-line: #7aa9d0;
	--wv-ok: #5fd3a3;
	--wv-warn: #ffd27a;
	--wv-err: #ff8f8f;
	--wv-text: #fcfcfc;
	--wv-mut: #b8d0e0;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--wv-text);
	background: linear-gradient(223deg, #042130 0%, #061e2a 100%);
	width: 100%;
	min-height: 100vh;
	padding: 28px 16px 64px;
	box-sizing: border-box;
	line-height: 1.55;
}
.wv-diag *, .wv-diag *::before, .wv-diag *::after { box-sizing: border-box; }

/* A página do simulador ocupa a largura toda, sem título/colunas do tema. */
body.wv-diag-page .entry-header,
body.wv-diag-page .ast-single-post-order .entry-title { display: none; }
body.wv-diag-page #primary,
body.wv-diag-page .site-content .ast-container { padding: 0 !important; margin: 0 !important; max-width: 100% !important; display: block; }
body.wv-diag-page .entry-content { margin: 0; }
body.wv-diag-page .ast-separate-container .ast-article-single,
body.wv-diag-page .ast-separate-container .ast-article-post { padding: 0 !important; background: transparent; }

.wv-shell { max-width: 760px; margin: 0 auto; }
.wv-screen { padding: 8px 0; }
.wv-in { animation: wvIn .38s ease both; }
@keyframes wvIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.wv-brand { margin-bottom: 14px; }
.wv-tag {
	display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
	color: var(--wv-soft); background: rgba(0, 121, 174, .22); border: 1px solid rgba(122, 169, 208, .35);
	padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}

.wv-h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.18; margin: 0 0 16px; font-weight: 700; color: var(--wv-text); }
.wv-h1 em { font-style: italic; color: var(--wv-soft); }
.wv-q { font-size: clamp(21px, 4.6vw, 30px); line-height: 1.28; margin: 18px 0 8px; font-weight: 700; color: var(--wv-text); }
.wv-q-big { font-size: clamp(24px, 5.4vw, 36px); }
.wv-lead { color: var(--wv-mut); font-size: 16px; margin: 0 0 18px; }
.wv-small { color: var(--wv-mut); font-size: 13px; margin: 14px 0 0; opacity: .9; }
.wv-hint { color: var(--wv-mut); font-size: 14px; margin: 0 0 14px; }
.wv-hint-box { background: rgba(0, 121, 174, .18); border: 1px solid rgba(122, 169, 208, .35); border-radius: 12px; padding: 10px 14px; color: var(--wv-soft); }
.wv-diag [data-focus]:focus { outline: none; }

.wv-method { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 24px; }
.wv-method li { font-size: 13px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(122, 169, 208, .35); color: var(--wv-soft); }
.wv-method li::before { content: counter(m) '. '; }
.wv-method { counter-reset: m; }
.wv-method li { counter-increment: m; }

/* Progresso */
.wv-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--wv-mut); margin-bottom: 10px; }
.wv-step { font-weight: 600; color: var(--wv-soft); }
.wv-progress { height: 8px; background: rgba(255, 255, 255, .1); border-radius: 999px; overflow: hidden; }
.wv-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--wv-brand2), var(--wv-soft)); border-radius: 999px; transition: width .45s ease; }

/* Cards de resposta */
.wv-cards { display: grid; gap: 10px; margin: 18px 0 8px; grid-template-columns: 1fr; }
.wv-card {
	position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
	padding: 14px 16px; border-radius: 16px; cursor: pointer; color: var(--wv-text); font: inherit; font-size: 15px; font-weight: 500;
	background: rgba(255, 255, 255, .05); border: 1.5px solid rgba(122, 169, 208, .28);
	transition: transform .15s ease, border-color .15s ease, background .15s ease; min-height: 58px;
}
.wv-card:hover { border-color: var(--wv-line); background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.wv-card:focus-visible { outline: 3px solid var(--wv-soft); outline-offset: 2px; }
.wv-card.is-on { border-color: var(--wv-soft); background: rgba(0, 121, 174, .3); }
.wv-ico { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 121, 174, .28); color: var(--wv-soft); }
.wv-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wv-card-t { flex: 1; }
.wv-mark { flex: 0 0 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(122, 169, 208, .6); transition: all .15s ease; position: relative; }
.wv-card[role="checkbox"] .wv-mark { border-radius: 6px; }
.wv-card.is-on .wv-mark { background: var(--wv-soft); border-color: var(--wv-soft); }
.wv-card.is-on .wv-mark::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--wv-brand); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Botões (pílula branca, como no site) */
.wv-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.wv-actions-col { flex-direction: column; }
.wv-btn {
	display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; cursor: pointer;
	font-family: inherit; font-weight: 700; font-size: 15px; letter-spacing: .02em; line-height: 1.25;
	padding: 15px 28px; border-radius: 999px; border: 2px solid transparent; min-height: 52px;
	background: #fff; color: var(--wv-brand); transition: transform .2s ease, background .2s ease, opacity .2s ease;
}
.wv-btn:hover { transform: translateY(-2px); background: var(--wv-soft); color: var(--wv-brand); }
.wv-btn:focus-visible { outline: 3px solid var(--wv-soft); outline-offset: 3px; }
.wv-btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.wv-btn-o { background: transparent; color: #fff; border-color: var(--wv-line); }
.wv-btn-o:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.wv-btn-wa { background: #25d366; color: #052e16; }
.wv-btn-wa:hover { background: #3de07a; color: #052e16; }
.wv-actions:not(.wv-actions-col) .wv-btn { flex: 1 1 160px; }

/* Revisão */
.wv-review { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.wv-review li { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(122, 169, 208, .22); }
.wv-rv-q { display: block; font-size: 13px; color: var(--wv-mut); }
.wv-rv-a { display: block; font-weight: 600; margin-top: 2px; }
.wv-link { background: none; border: 0; color: var(--wv-soft); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 6px 4px; min-height: 40px; }

/* Formulário */
.wv-form { margin-top: 18px; }
.wv-field { margin-bottom: 14px; }
.wv-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--wv-soft); }
.wv-field input {
	width: 100%; padding: 14px 16px; border-radius: 14px; font: inherit; font-size: 16px; color: #fff; min-height: 52px;
	background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(122, 169, 208, .35);
}
.wv-field input::placeholder { color: rgba(184, 208, 224, .6); }
.wv-field input:focus { outline: none; border-color: var(--wv-soft); box-shadow: 0 0 0 3px rgba(201, 231, 251, .25); }
.has-err input { border-color: var(--wv-err); }
.wv-err { display: block; color: var(--wv-err); font-size: 13px; margin-top: 6px; }
.wv-formerr { background: rgba(255, 143, 143, .12); border: 1px solid var(--wv-err); color: #ffd1d1; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.wv-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wv-consent { margin: 8px 0 4px; }
.wv-consent label { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--wv-mut); cursor: pointer; }
.wv-consent input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 22px; accent-color: #c9e7fb; }
.wv-consent a { color: var(--wv-soft); }
.wv-consent.has-err label { color: var(--wv-err); }

/* Carregando */
.wv-loading { text-align: center; padding: 60px 0; }
.wv-spin { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; border: 4px solid rgba(201, 231, 251, .2); border-top-color: var(--wv-soft); animation: wvSpin 1s linear infinite; }
@keyframes wvSpin { to { transform: rotate(360deg); } }

/* Resultado */
.wv-plan { border-radius: 22px; padding: 24px 22px; margin: 6px 0 20px; background: linear-gradient(135deg, var(--wv-brand), var(--wv-brand2)); border: 1px solid rgba(201, 231, 251, .35); }
.wv-plan-k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--wv-soft); font-weight: 600; }
.wv-plan h3 { margin: 6px 0 10px; font-size: clamp(22px, 5vw, 30px); line-height: 1.2; color: #fff; }
.wv-plan p { margin: 0 0 14px; color: #e6f3fc; }
.wv-plan-n { display: inline-block; background: #fff; color: var(--wv-brand); border-radius: 999px; padding: 7px 16px; font-size: 14px; letter-spacing: .04em; }
.wv-note { background: rgba(255, 210, 122, .1); border: 1px solid rgba(255, 210, 122, .4); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; color: #ffe8bd; }
.wv-note p { margin: 4px 0; }

.wv-bars { display: grid; gap: 14px; margin: 0 0 22px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(122, 169, 208, .22); }
.wv-bar-h { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.wv-bar-t { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.wv-bar-t span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--wv-brand2), var(--wv-soft)); transition: width 1s cubic-bezier(.2, .8, .2, 1); }

.wv-grid2 { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 14px; }
.wv-box { background: rgba(255, 255, 255, .05); border: 1px solid rgba(122, 169, 208, .22); border-radius: 18px; padding: 18px; margin-bottom: 14px; }
.wv-grid2 .wv-box { margin-bottom: 0; }
.wv-box h4 { margin: 0 0 10px; font-size: 16px; color: var(--wv-soft); }
.wv-box p { margin: 0; color: #e6f3fc; font-size: 15px; }
.wv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.wv-list li { position: relative; padding-left: 28px; font-size: 15px; color: #e6f3fc; }
.wv-list li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; }
.wv-ok li::before { background: var(--wv-ok); -webkit-mask: radial-gradient(circle at 50% 50%, #000 99%, transparent); }
.wv-ok li::after { content: ''; position: absolute; left: 6px; top: 6px; width: 4px; height: 8px; border: solid #04321f; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wv-up li::before { background: var(--wv-warn); }
.wv-up li::after { content: '↑'; position: absolute; left: 4px; top: 2px; font-size: 12px; font-weight: 800; color: #4a3200; line-height: 18px; }
.wv-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: #e6f3fc; font-size: 15px; }

.wv-noscript { color: var(--wv-warn); }

/* Tablet e desktop */
@media (min-width: 640px) {
	.wv-diag { padding: 48px 24px 80px; }
	.wv-cards-many { grid-template-columns: 1fr 1fr; }
	.wv-grid2 { grid-template-columns: 1fr 1fr; }
	.wv-actions-col .wv-btn { align-self: flex-start; }
}

/* Celulares pequenos */
@media (max-width: 400px) {
	.wv-card { padding: 12px; gap: 10px; }
	.wv-ico { flex-basis: 36px; height: 36px; }
	.wv-btn { padding: 14px 18px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.wv-in, .wv-spin { animation: none; }
	.wv-progress span, .wv-bar-t span, .wv-card, .wv-btn { transition: none; }
}
