.nmcv {
	--nmcv-primary: #315f53;
	--nmcv-accent: #c89d59;
	--nmcv-bg: #ffffff;
	--nmcv-surface: #f7f8f6;
	--nmcv-text: #24302c;
	--nmcv-muted: #66716d;
	--nmcv-border: #d9dfdc;
	--nmcv-danger-bg: #fff4f2;
	--nmcv-danger-border: #d99a8f;
	--nmcv-radius: 16px;
	--nmcv-shadow: 0 12px 34px rgba(25, 44, 37, 0.08);
	box-sizing: border-box;
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
	color: var(--nmcv-text);
	font: inherit;
}

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

.nmcv [hidden] {
	display: none !important;
}

.nmcv__panel,
.nmcv__form {
	background: var(--nmcv-bg);
	border: 1px solid var(--nmcv-border);
	border-radius: var(--nmcv-radius);
	box-shadow: var(--nmcv-shadow);
	padding: clamp(22px, 4vw, 42px);
}

.nmcv__eyebrow {
	margin: 0 0 8px;
	color: var(--nmcv-primary);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nmcv__title,
.nmcv__panel h2 {
	margin: 0;
	color: var(--nmcv-text);
	font-size: clamp(1.65rem, 4vw, 2.35rem);
	line-height: 1.15;
}

.nmcv__subtitle,
.nmcv__result-intro {
	margin: 14px 0 0;
	color: var(--nmcv-muted);
	font-size: 1.05rem;
	line-height: 1.65;
}

.nmcv__notice,
.nmcv__privacy,
.nmcv__interpretation,
.nmcv__cta {
	margin-top: 24px;
	border-radius: 12px;
	padding: 16px 18px;
}

.nmcv__notice,
.nmcv__privacy,
.nmcv__interpretation {
	background: var(--nmcv-surface);
}

.nmcv__notice p,
.nmcv__interpretation p,
.nmcv__cta p {
	margin: 6px 0 0;
	line-height: 1.6;
}

.nmcv__safety {
	margin: 26px 0 0;
	padding: 0;
	border: 0;
}

.nmcv__safety legend {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.45;
}

.nmcv__safety ul {
	margin: 12px 0 18px;
	padding-left: 22px;
	line-height: 1.6;
}

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

.nmcv__choice,
.nmcv__button {
	appearance: none;
	border: 1px solid var(--nmcv-primary);
	border-radius: 10px;
	background: var(--nmcv-primary);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	min-height: 48px;
	padding: 13px 18px;
	text-align: center;
	text-decoration: none;
	transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.nmcv__choice {
	background: #fff;
	color: var(--nmcv-primary);
}

.nmcv__choice:hover,
.nmcv__button:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(25, 44, 37, 0.12);
}

.nmcv__choice:focus-visible,
.nmcv__button:focus-visible,
.nmcv__answer input:focus-visible + span {
	outline: 3px solid rgba(200, 157, 89, 0.45);
	outline-offset: 3px;
}

.nmcv__choice--danger {
	border-color: var(--nmcv-danger-border);
	color: #8a3127;
}

.nmcv__panel--urgent {
	background: var(--nmcv-danger-bg);
	border-color: var(--nmcv-danger-border);
}

.nmcv__small {
	color: var(--nmcv-muted);
	font-size: 0.92rem;
}

.nmcv__progress-wrap {
	margin-bottom: 28px;
}

.nmcv__progress-info {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
	color: var(--nmcv-muted);
	font-size: 0.9rem;
}

.nmcv__progress {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: #e6ebe8;
}

.nmcv__progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--nmcv-primary);
	transition: width 180ms ease;
}

.nmcv__question {
	margin: 0;
	padding: 0;
	border: 0;
	min-height: 310px;
}

.nmcv__question legend {
	width: 100%;
	padding: 0;
}

.nmcv__question-number {
	display: block;
	margin-bottom: 8px;
	color: var(--nmcv-primary);
	font-size: 0.84rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.nmcv__question-text {
	display: block;
	font-size: clamp(1.25rem, 3vw, 1.6rem);
	font-weight: 700;
	line-height: 1.35;
}

.nmcv__answers {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-top: 24px;
}

.nmcv__answer {
	display: block;
	cursor: pointer;
}

.nmcv__answer input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.nmcv__answer span {
	display: flex;
	align-items: center;
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid var(--nmcv-border);
	border-radius: 10px;
	background: #fff;
	color: var(--nmcv-text);
	font-weight: 600;
	transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.nmcv__answer span::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-right: 11px;
	border: 2px solid #9aa6a1;
	border-radius: 50%;
	box-shadow: inset 0 0 0 4px #fff;
}

.nmcv__answer input:checked + span {
	border-color: var(--nmcv-primary);
	background: color-mix(in srgb, var(--nmcv-primary) 7%, white);
	box-shadow: 0 0 0 1px var(--nmcv-primary);
}

.nmcv__answer input:checked + span::before {
	border-color: var(--nmcv-primary);
	background: var(--nmcv-primary);
}

.nmcv__error {
	margin: 12px 0 0;
	color: #9c2f24;
	font-weight: 700;
}

.nmcv__nav,
.nmcv__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.nmcv__nav {
	justify-content: space-between;
	border-top: 1px solid var(--nmcv-border);
	padding-top: 20px;
}

.nmcv__button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
	transform: none;
	box-shadow: none;
}

.nmcv__button--secondary {
	background: #fff;
	color: var(--nmcv-primary);
}

/* Mantém a identidade visual dos botões em hover/focus/active/visited,
   evitando sobrescritas do tema ou do Elementor. */
.nmcv .nmcv__button,
.nmcv .nmcv__button:link,
.nmcv .nmcv__button:visited,
.nmcv .nmcv__button:hover,
.nmcv .nmcv__button:focus,
.nmcv .nmcv__button:focus-visible,
.nmcv .nmcv__button:active {
	background: var(--nmcv-primary) !important;
	border-color: var(--nmcv-primary) !important;
	color: #fff !important;
	text-decoration: none !important;
}

.nmcv .nmcv__button--secondary,
.nmcv .nmcv__button--secondary:link,
.nmcv .nmcv__button--secondary:visited,
.nmcv .nmcv__button--secondary:hover,
.nmcv .nmcv__button--secondary:focus,
.nmcv .nmcv__button--secondary:focus-visible,
.nmcv .nmcv__button--secondary:active,
.nmcv .nmcv__choice,
.nmcv .nmcv__choice:hover,
.nmcv .nmcv__choice:focus,
.nmcv .nmcv__choice:focus-visible,
.nmcv .nmcv__choice:active {
	background: #fff !important;
	border-color: var(--nmcv-primary) !important;
	color: var(--nmcv-primary) !important;
}

.nmcv .nmcv__choice--danger,
.nmcv .nmcv__choice--danger:hover,
.nmcv .nmcv__choice--danger:focus,
.nmcv .nmcv__choice--danger:focus-visible,
.nmcv .nmcv__choice--danger:active {
	background: #fff !important;
	border-color: var(--nmcv-danger-border) !important;
	color: #8a3127 !important;
}

.nmcv__domain-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 26px;
}

.nmcv__domain {
	border: 1px solid var(--nmcv-border);
	border-radius: 12px;
	padding: 18px;
	background: #fff;
}

.nmcv__domain h3 {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.35;
}

.nmcv__domain-status {
	display: inline-block;
	margin-top: 10px;
	border-radius: 999px;
	background: var(--nmcv-surface);
	padding: 6px 10px;
	font-size: 0.82rem;
	font-weight: 700;
}

.nmcv__domain p {
	margin: 10px 0 0;
	color: var(--nmcv-muted);
	line-height: 1.55;
}

.nmcv__interpretation h3 {
	margin: 0;
	font-size: 1.05rem;
}

.nmcv__cta {
	border: 1px solid color-mix(in srgb, var(--nmcv-accent) 60%, white);
	background: color-mix(in srgb, var(--nmcv-accent) 10%, white);
}

.nmcv__button--cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	background: var(--nmcv-primary);
}

.nmcv__copy-status {
	min-height: 1.5em;
	margin: 10px 0 0;
	color: var(--nmcv-primary);
	font-weight: 700;
}

.nmcv__privacy {
	color: var(--nmcv-muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.nmcv__privacy--result {
	margin-bottom: 0;
}

@media (max-width: 640px) {
	.nmcv__panel,
	.nmcv__form {
		padding: 20px;
		border-radius: 13px;
	}

	.nmcv__choice-row,
	.nmcv__domain-list {
		grid-template-columns: 1fr;
	}

	.nmcv__question {
		min-height: 0;
	}

	.nmcv__nav {
		display: grid;
		grid-template-columns: 1fr 1.4fr;
	}

	.nmcv__actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.nmcv__button,
	.nmcv__choice {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nmcv *,
	.nmcv *::before,
	.nmcv *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

@media print {
	.nmcv__panel--intro,
	.nmcv__panel--urgent,
	.nmcv__form,
	.nmcv__actions,
	.nmcv__cta,
	.nmcv__copy-status {
		display: none !important;
	}

	.nmcv__panel--result {
		border: 0;
		box-shadow: none;
	}
}
