/* ==========================================================================
   feeder.digital — Quiz Interativo — Front-end
   Tela 100% limpa, fundo branco puro, foco total em conversão.
   ========================================================================== */

html, body.fdq-clean-page {
	margin: 0;
	padding: 0;
	background: #ffffff !important;
	min-height: 100%;
}

body.fdq-clean-page * {
	box-sizing: border-box;
}

.fdq-quiz-root {
	width: 100%;
	min-height: 100vh;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	padding: 24px 16px;
}

.fdq-question,
.fdq-result-screen {
	width: 100%;
	max-width: 640px;
	display: none;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.fdq-question.fdq-visible,
.fdq-result-screen.fdq-visible {
	display: flex;
}

.fdq-question.fdq-first.fdq-visible,
.fdq-result-screen.fdq-visible {
	animation: fdqFadeUp 0.55s ease both;
}

@keyframes fdqFadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fdq-question-text,
.fdq-result-title {
	font-size: clamp(22px, 4.5vw, 30px);
	font-weight: 800;
	line-height: 1.3;
	color: #111827;
	margin: 0 0 12px;
	text-align: center;
}

.fdq-question-text {
	margin-bottom: 28px;
}

/* -------------------------------------------------------------------- */
/* Contêiner de mídia 3D (círculo Neumorfismo)                          */
/* -------------------------------------------------------------------- */

.fdq-media-circle {
	width: 140px;
	height: 140px;
	min-width: 140px;
	min-height: 140px;
	border-radius: 50%;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow:
		8px 8px 16px rgba(0, 0, 0, 0.08),
		-8px -8px 16px rgba(255, 255, 255, 0.9);
	font-size: 56px;
	line-height: 1;
	margin: 0 auto 18px;
}

.fdq-media-circle img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 14px;
}

/* -------------------------------------------------------------------- */
/* Botões de resposta                                                    */
/* -------------------------------------------------------------------- */

.fdq-option-btn {
	appearance: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	color: #ffffff;
	padding: 16px 22px;
	border-radius: 14px;
	width: 100%;
	opacity: 0.85;
	filter: saturate(0.95);
	box-shadow:
		0 6px 0 rgba(0, 0, 0, 0.15),
		0 10px 18px rgba(0, 0, 0, 0.12);
	transform: translateY(0);
	transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease, filter 0.12s ease;
	background-color: var(--fdq-color, #6d28d9);
}

.fdq-option-btn:hover {
	opacity: 0.95;
}

.fdq-option-btn:active,
.fdq-option-btn.fdq-active {
	opacity: 1;
	filter: saturate(1) brightness(1.05);
	transform: translateY(4px);
	box-shadow:
		0 2px 0 rgba(0, 0, 0, 0.15),
		0 4px 10px rgba(0, 0, 0, 0.14);
}

/* -------------------------------------------------------------------- */
/* Layout A — EXATAMENTE 2 opções                                       */
/* -------------------------------------------------------------------- */

.fdq-layout-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	width: 100%;
}

.fdq-choice-card {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fdq-choice-card .fdq-media-circle {
	margin-bottom: 16px;
}

.fdq-choice-card .fdq-option-btn {
	margin-top: auto;
}

@media (max-width: 480px) {
	.fdq-layout-two-col {
		gap: 12px;
	}
	.fdq-media-circle {
		width: 104px;
		height: 104px;
		min-width: 104px;
		min-height: 104px;
		font-size: 42px;
	}
	.fdq-option-btn {
		font-size: 15px;
		padding: 13px 14px;
	}
}

/* -------------------------------------------------------------------- */
/* Layout B — 3 OU MAIS opções                                          */
/* -------------------------------------------------------------------- */

.fdq-layout-vertical {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fdq-layout-vertical .fdq-media-circle {
	margin-bottom: 24px;
}

.fdq-options-stack {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fdq-options-stack .fdq-option-btn {
	width: 100%;
}

/* -------------------------------------------------------------------- */
/* Tela de Resultado / Sucesso                                          */
/* -------------------------------------------------------------------- */

.fdq-result-text {
	font-size: 16px;
	color: #4b5563;
	line-height: 1.6;
	margin: 0 0 8px;
	max-width: 520px;
}

.fdq-result-percent {
	font-size: clamp(40px, 9vw, 60px);
	font-weight: 800;
	color: #6d28d9;
	margin: 18px 0 4px;
	font-variant-numeric: tabular-nums;
}

.fdq-result-percent-label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #9ca3af;
	margin-bottom: 22px;
}

.fdq-chart {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 340px;
	height: 130px;
	margin: 0 auto 30px;
	padding: 0 8px;
}

.fdq-chart-bar {
	flex: 1;
	max-width: 34px;
	border-radius: 8px 8px 3px 3px;
	background: linear-gradient(180deg, #a78bfa 0%, #6d28d9 100%);
	box-shadow: 0 6px 14px rgba(109, 40, 217, 0.25);
	height: var(--fdq-bar-h, 20%);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--fdq-bar-delay, 0s);
}

.fdq-chart.fdq-chart-animate .fdq-chart-bar {
	transform: scaleY(1);
}

.fdq-cta-btn {
	appearance: none;
	border: none;
	cursor: pointer;
	font-family: inherit;
	width: 100%;
	max-width: 420px;
	padding: 20px 28px;
	font-size: 18px;
	font-weight: 800;
	color: #ffffff;
	background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(109, 40, 217, 0.32);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.5s ease, transform 0.5s ease, filter 0.12s ease;
	pointer-events: none;
}

.fdq-cta-btn.fdq-cta-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.fdq-cta-btn:active {
	filter: brightness(1.08);
}
