/* Portal Aposentadoria Fácil — design system
   Paleta original (gov.br): azul #1351B4, navy #0C326F/#071D41
   Cartões, sombras e botões em pílula inspirados no Portal Trabalho e Emprego */

@font-face {
	font-family: 'Rawline';
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url('../fonts/rawline-400.ttf') format('truetype');
}
@font-face {
	font-family: 'Rawline';
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url('../fonts/rawline-600.ttf') format('truetype');
}

:root {
	--blue: #1351B4;
	--blue-dark: #0C326F;
	--blue-hover: #07337C;
	--blue-accent: #2670E8;
	--navy-footer: #071D41;
	--navy-footer-dark: #04132A;
	--blue-tint-bg: #EEF3FC;
	--footer-link: #5992ED;
	--gray-50: #F5F5F5;
	--gray-200: #EAEAEA;
	--gray-300: #D6D6D6;
	--text: #333333;
	--text-light: #555555;
	--white: #FFFFFF;

	--radius-md: 0.75rem;
	--radius-lg: 1.25rem;
	--radius-full: 999px;

	--shadow-sm: 0 1px 3px rgba(12, 50, 111, .08), 0 1px 2px rgba(12, 50, 111, .06);
	--shadow-lg: 0 16px 32px rgba(12, 50, 111, .14), 0 4px 10px rgba(12, 50, 111, .06);

	--container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
	color: var(--text);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Rawline', 'Roboto', system-ui, sans-serif;
	font-weight: 600;
	color: var(--blue-dark);
	margin: 0 0 .5em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.5rem;
}

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--blue);
	color: var(--white);
	padding: .75rem 1.25rem;
	z-index: 1000;
	border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .65rem 1.5rem;
	border-radius: var(--radius-full);
	font-weight: 600;
	font-size: .9rem;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
	white-space: nowrap;
	border: 2px solid transparent;
}
.btn-primary {
	background: var(--blue);
	color: var(--white);
}
.btn-primary:hover { background: var(--blue-hover); }
.contact-btn-icon { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.contact-label-short { display: none; }
.btn-ghost {
	background: transparent;
	color: var(--blue-dark);
	border-color: var(--gray-200);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--white);
	border-bottom: 1px solid var(--gray-200);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 68px;
}

.logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .2rem;
	flex-shrink: 0;
	margin-right: auto;
}
.logo img { width: 30px; height: 30px; object-fit: contain; }
.logo-text {
	font-family: 'Rawline', sans-serif;
	font-weight: 600;
	color: var(--blue-dark);
	font-size: .68rem;
	line-height: 1.15;
	text-align: center;
	white-space: nowrap;
}

.main-nav > ul {
	display: flex;
	gap: 1.75rem;
}
.main-nav .nav-toggle {
	background: none;
	border: none;
	font: inherit;
	font-weight: 500;
	font-size: .92rem;
	color: var(--blue-dark);
	cursor: pointer;
	padding: .5rem 0;
	display: flex;
	align-items: center;
	gap: .35rem;
}
.main-nav .nav-toggle:hover { color: var(--blue); }
.main-nav .nav-toggle::after {
	content: '';
	width: 0; height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	margin-top: 2px;
}

.has-submenu { position: relative; }
.submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 260px;
	background: var(--white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	padding: .5rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.submenu li a {
	display: block;
	padding: .6rem .75rem;
	border-radius: var(--radius-md);
	font-size: .88rem;
	color: var(--text);
}
.submenu li a:hover { background: var(--gray-50); color: var(--blue); }

@media (min-width: 993px) {
	.has-submenu:hover .submenu,
	.has-submenu.is-open .submenu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}
}

.header-actions {
	display: flex;
	align-items: center;
	gap: .75rem;
	flex-shrink: 0;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
}
.menu-toggle span {
	display: block;
	height: 2px;
	background: var(--blue-dark);
	border-radius: 2px;
}

/* Utility bar: breadcrumb (left) + search (right) — logo abaixo do header, igual ao site original */
.utility-bar {
	background: var(--white);
	border-bottom: 1px solid var(--gray-200);
}
.utility-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.4rem 1.5rem;
	flex-wrap: wrap;
}
.breadcrumb-block { flex: 1 1 auto; min-width: 220px; }
.breadcrumb-title {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: 400;
	color: var(--text);
}
.breadcrumb-title:hover { color: var(--blue); }
.breadcrumb-row {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin: .4rem 0 0;
}
.breadcrumb-icon svg { width: 14px; height: 14px; fill: var(--text); display: block; }
.breadcrumb-sep svg { width: 10px; height: 10px; fill: var(--text); display: block; }
.breadcrumb-current { font-size: .88rem; color: var(--text); }

.search-form {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 360px;
	min-height: 55px;
	background: var(--white);
	border: 1px solid var(--gray-300);
	border-radius: 4px;
	overflow: hidden;
	transition: border-color .2s ease;
}
.search-form:focus-within { border-color: var(--blue); }
.search-form input {
	flex: 1;
	border: none;
	outline: none;
	font-family: 'Rawline', 'Roboto', sans-serif;
	font-style: italic;
	font-size: .95rem;
	padding: 0 1.1rem;
	background: transparent;
	color: var(--text);
}
.search-form button {
	background: var(--white);
	color: var(--blue);
	border: none;
	width: 55px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}
.search-form svg { width: 18px; height: 18px; fill: currentColor; }

/* Hero */
.hero {
	background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
	padding: 3rem 0;
	text-align: center;
}
.hero h1 {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
}
.hero-subtitle {
	max-width: 620px;
	margin: 0 auto;
	color: var(--text-light);
	font-size: 1.05rem;
}
.disclaimer {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin: 1.25rem auto 0;
	padding: .55rem 1.1rem;
	background: var(--gray-50);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-full);
	font-size: .85rem;
	color: var(--text-light);
}

/* Services cards */
.services { padding: 3rem 0 4.5rem; }
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
}
.service-card {
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg);
	padding: 2rem 1.75rem;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .25s ease, transform .25s ease;
}
.service-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-3px);
}
.service-icon {
	width: 52px;
	height: 52px;
	border-radius: var(--radius-md);
	background: rgba(19, 81, 180, .08);
	color: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.1rem;
}
.service-icon svg { width: 24px; height: 24px; fill: currentColor; }
.service-card h3 {
	font-size: 1.1rem;
	margin-bottom: .85rem;
}
.service-card ul { display: flex; flex-direction: column; gap: .5rem; }
.service-card a {
	font-size: .9rem;
	color: var(--text-light);
}
.service-card a:hover { color: var(--blue); text-decoration: underline; }

/* Footer */
.site-footer {
	background: var(--navy-footer);
	color: var(--white);
	padding: 3.5rem 0 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 2.5rem;
}
.footer-logo { width: 160px; margin-bottom: 1rem; }
.footer-about p {
	font-size: .88rem;
	color: rgba(255,255,255,.75);
	margin: 0 0 .9rem;
}
.footer-col h6 {
	color: var(--white);
	font-size: .85rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 1rem;
	padding-bottom: .75rem;
	border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a {
	font-size: .88rem;
	color: var(--footer-link);
}
.footer-col a:hover { text-decoration: underline; }
.footer-col .plain-list li {
	font-size: .88rem;
	color: rgba(255,255,255,.75);
}

.social-icons { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-icons a {
	width: 38px; height: 38px;
	border-radius: var(--radius-full);
	background: rgba(255,255,255,.08);
	display: flex; align-items: center; justify-content: center;
	color: var(--white);
	transition: background-color .2s ease, transform .2s ease;
}
.social-icons a:hover { background: var(--blue); transform: translateY(-2px); }
.social-icons svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
	background: var(--navy-footer-dark);
	padding: 1.25rem 0;
	font-size: .82rem;
	color: rgba(255,255,255,.65);
	text-align: center;
}

/* Mobile nav */
@media (max-width: 992px) {
	.header-inner { justify-content: space-between; }
	.logo { display: none; }
	.menu-toggle { display: flex; }
	.utility-inner { justify-content: flex-start; text-align: left; }
	.breadcrumb-block { text-align: left; }
	.breadcrumb-row { justify-content: flex-start; }
	.main-nav {
		position: fixed;
		top: 68px;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--white);
		padding: 1.5rem;
		overflow-y: auto;
		transform: translateX(-100%);
		transition: transform .25s ease;
	}
	.main-nav.is-open { transform: translateX(0); }
	.main-nav > ul { flex-direction: column; gap: 0; }
	.main-nav .nav-toggle { width: 100%; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--gray-200); }
	.submenu {
		position: static;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		padding: 0 0 .5rem 1rem;
	}
	.has-submenu.is-open .submenu { display: block; }
	.footer-grid { grid-template-columns: 1fr; }
	.search-form { max-width: 100%; }
}

@media (max-width: 560px) {
	.contact-label-full { display: none; }
	.contact-label-short { display: inline; }
}

/* ==========================================================================
   Páginas de conteúdo (artigos de benefícios) — usado por aposentadoria-por-idade.php e futuras páginas
   ========================================================================== */

/* Introdução de categoria (ícone + nome da categoria + trilha) */
.category-intro { padding: 2.75rem 0 1.5rem; text-align: center; }
.category-icon {
	width: 60px; height: 60px;
	border-radius: var(--radius-md);
	background: rgba(19, 81, 180, .1);
	color: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
}
.category-icon svg { width: 28px; height: 28px; fill: currentColor; }
.category-title {
	font-family: 'Rawline', 'Roboto', sans-serif;
	font-weight: 600;
	font-size: clamp(1.5rem, 3.2vw, 2.1rem);
	color: var(--blue);
	margin: 0 0 .75rem;
}
.category-tabs { display: flex; justify-content: center; align-items: center; gap: .5rem; font-size: .95rem; color: var(--blue); }
.category-tabs .sep { color: var(--gray-300); }
.category-tabs strong { color: var(--blue-dark); }

/* Faixa de introdução do benefício (fundo tintado) */
.page-hero { background: var(--blue-tint-bg); padding: 2.5rem 0 3rem; text-align: center; }
.topic-badge {
	display: inline-block;
	background: rgba(19, 81, 180, .1);
	color: var(--blue-dark);
	font-weight: 600;
	font-size: .82rem;
	border-radius: var(--radius-full);
	padding: .45rem 1.1rem;
	margin-bottom: 1rem;
}
.page-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); max-width: 820px; margin-left: auto; margin-right: auto; }
.page-hero .lead { max-width: 660px; color: var(--text-light); font-size: 1.05rem; margin: .5rem auto 0; }

.quick-answer {
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-left: 4px solid var(--blue);
	border-radius: var(--radius-md);
	padding: 1.25rem 1.5rem;
	box-shadow: var(--shadow-sm);
	margin-top: 1.5rem;
}
.quick-answer p { margin: 0; }
.quick-answer p + p { margin-top: .6rem; }
.quick-answer strong { color: var(--blue-dark); }

.content-section { padding: 2.75rem 0; }
.content-section.alt-bg { background: var(--gray-50); }
.content-section h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.content-section h3 { font-size: 1.1rem; margin: 1.25rem 0 .5rem; }
.section-intro { color: var(--text-light); max-width: 760px; margin: 0 0 1.25rem; }

.checklist { display: flex; flex-direction: column; gap: .85rem; margin: 1rem 0; max-width: 760px; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; font-size: .98rem; }
.check-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: rgba(19, 81, 180, .12);
	color: var(--blue);
	flex-shrink: 0;
	margin-top: .1rem;
}
.check-icon svg { width: 11px; height: 11px; fill: currentColor; }

.rules-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.rules-table {
	width: 100%;
	min-width: 420px;
	border-collapse: collapse;
	background: var(--white);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	font-size: .95rem;
}
.rules-table th, .rules-table td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--gray-200); }
.rules-table th { background: var(--blue); color: var(--white); font-weight: 600; }
.rules-table tr:last-child td { border-bottom: none; }

.calc-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	align-items: stretch;
	max-width: 1000px;
}
@media (max-width: 768px) {
	.calc-grid { grid-template-columns: 1fr; }
}

.calc-card {
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	box-shadow: var(--shadow-sm);
}
.calc-steps { display: flex; flex-direction: column; gap: .65rem; margin: 1rem 0 0; padding: 0; }
.calc-steps li { display: flex; gap: .85rem; align-items: baseline; }
.calc-steps .step-num {
	flex-shrink: 0;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--blue);
	color: var(--white);
	font-size: .8rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.faq-item { border-bottom: 1px solid var(--gray-200); padding: 1.1rem 0; }
.faq-item summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--blue-dark);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: '+';
	font-size: 1.3rem;
	line-height: 1;
	color: var(--blue);
	flex-shrink: 0;
	transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: .85rem 0 0; color: var(--text-light); max-width: 760px; }

/* CTA leve (faixa) e CTA em card com checklist — inspirados no Portal Trabalho e Emprego */
.inline-cta {
	background: var(--blue-tint-bg);
	border-radius: var(--radius-lg);
	padding: 2.25rem 1.5rem;
	text-align: center;
}
.inline-cta-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	color: var(--blue);
	font-size: 1.3rem;
	margin: 0 0 .5rem;
}
.inline-cta-subtitle { color: var(--text-light); margin: 0 0 1.5rem; }

.warning-icon { display: inline-flex; width: 1.1em; height: 1.1em; flex-shrink: 0; }
.warning-icon svg { width: 100%; height: 100%; fill: #F0B429; }

.btn-success { background: #1E7A46; color: var(--white); }
.btn-success:hover { background: #175C35; }

.cta-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	border-left: 5px solid var(--blue);
	box-shadow: var(--shadow-lg);
	padding: 1.75rem;
}
.cta-card-title {
	display: flex;
	align-items: center;
	gap: .5rem;
	color: var(--blue);
	font-size: 1.15rem;
	margin: 0 0 .75rem;
}
.cta-card-text { color: var(--text-light); margin: 0 0 1rem; }
.cta-card .checklist { margin: 0 0 1.5rem; gap: .65rem; }
.cta-card .check-icon.is-green { background: rgba(30, 122, 70, .12); color: #1E7A46; }

.cta-banner {
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
	color: var(--white);
	border-radius: var(--radius-lg);
	padding: 2.75rem 2rem;
	text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: .6rem; }
.cta-banner p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0 auto 1.5rem; }
.cta-banner .btn-primary { background: var(--white); color: var(--blue-dark); }
.cta-banner .btn-primary:hover { background: var(--gray-50); }

/* Páginas institucionais (política de privacidade, termos etc.) */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.3rem; margin-top: 0; }
.legal-content p { margin: 0 0 1rem; }
.legal-list { margin: 0 0 1rem; display: flex; flex-direction: column; gap: .5rem; }
.legal-list li { position: relative; padding-left: 1.25rem; }
.legal-list li::before { content: '\2022'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.legal-updated { color: var(--text-light); font-size: .88rem; font-style: italic; }

.quick-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Cartões de contato (WhatsApp / Telefone) */
.contact-card {
	background: var(--white);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 2.25rem 2rem;
	text-align: center;
}
.contact-icon {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: rgba(19, 81, 180, .1);
	color: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.1rem;
}
.contact-icon svg { width: 26px; height: 26px; fill: currentColor; }
.contact-card h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.contact-card p { color: var(--text-light); margin: 0 0 1.5rem; }
.contact-card .btn { justify-content: center; width: 100%; }

/* Quiz interativo */
.quiz-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 2.5rem;
	max-width: 640px;
	margin: 2rem auto 0;
}
.quiz-title { text-align: center; font-size: 1.4rem; color: var(--blue); margin-bottom: .5rem; }
.quiz-subtitle { text-align: center; color: var(--text-light); margin-bottom: 1.75rem; }

.quiz-progress-bar { height: 8px; border-radius: var(--radius-full); background: var(--gray-200); overflow: hidden; margin-bottom: .6rem; }
.quiz-progress-fill { display: block; height: 100%; background: #1E7A46; border-radius: var(--radius-full); transition: width .25s ease; }
.quiz-step-label { text-align: center; font-size: .85rem; color: var(--text-light); margin: 0 0 1.75rem; }

.quiz-step { display: none; }
.quiz-step.is-active { display: block; }

.quiz-field { margin-bottom: 1.25rem; }
.quiz-field label { display: block; font-weight: 600; font-size: .92rem; color: var(--text); margin-bottom: .5rem; }
.required-mark { color: #C0392B; }
.quiz-field select,
.quiz-field input {
	width: 100%;
	padding: .8rem 1rem;
	border: 1px solid var(--gray-300);
	border-radius: var(--radius-md);
	font: inherit;
	color: var(--text);
	background: var(--white);
}
.quiz-field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23555555' d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L241.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 10px;
	padding-right: 2.5rem;
	cursor: pointer;
}
.quiz-field select[data-empty="true"] { color: var(--text-light); }
.quiz-field select[aria-invalid="true"],
.quiz-field input[aria-invalid="true"] { border-color: #C0392B; }
.field-hint { font-size: .8rem; color: var(--text-light); margin: 0 0 1.25rem; }

.quiz-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.quiz-actions .btn { flex: 1 1 auto; justify-content: center; }
.quiz-back { background: none; border: none; color: var(--text-light); font: inherit; cursor: pointer; padding: .65rem .25rem; flex: 0 0 auto; }
.quiz-back:hover { color: var(--blue); }

.quiz-result { display: none; text-align: center; }
.quiz-result.is-active { display: block; }
.quiz-result-icon {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: rgba(19, 81, 180, .1);
	color: var(--blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
}
.quiz-result-icon svg { width: 26px; height: 26px; fill: currentColor; }
.quiz-result h3 { margin-bottom: .5rem; }
.quiz-result p { color: var(--text-light); margin: 0 0 1.5rem; }
.quiz-fallback-link { display: block; margin-top: .85rem; font-size: .85rem; color: var(--text-light); }
.quiz-fallback-link a { color: var(--blue); text-decoration: underline; }

/* Ramificação condicional da triagem (mostra/esconde conforme resposta anterior) */
[data-show-if] { display: none; }
[data-show-if].is-active { display: block; }
.quiz-subfield { margin-top: -.5rem; }

@media (max-width: 560px) {
	.quiz-card { padding: 1.5rem 1.25rem; }
	.quiz-actions { flex-direction: column-reverse; align-items: stretch; }
	.quiz-actions .btn { width: 100%; justify-content: center; }
	.quiz-field label { font-size: 1.2rem; }
}
