/* QueroTop — modelo "página neon" (Sobre, Fale conosco, políticas...).
   O container raiz da página tem as classes "qt-review qt-pg": tokens (--rv-*), fundo, tipografia, títulos de
   seção, acordeão, veredito e "veja também" vêm do review.css. Aqui ficam só a folha da página e os blocos
   próprios (cards, passos, números, aviso, botões, texto corrido). Mapa de classes no fim do arquivo.
   Claro/escuro: só tokens, nada de cor fixa por tema aqui. */

/* ---------- folha da página ----------
   Mesma ideia da folha do artigo nos posts: título do tema e conteúdo na mesma superfície.
   Página do Elementor no Blocksy fica num .ct-container-full, então o limite de largura vai no article. */
.qt-pg-page article:has(.qt-review) {
	width: calc(100% - 2 * clamp(16px, 4vw, 40px));
	max-width: 1080px;
	margin-inline: auto;
}

.qt-pg-page article:has(.qt-review) .hero-section {
	width: auto;
	max-width: none;
	margin: 0 !important;
	padding: clamp(24px, 3.4vw, 40px) clamp(16px, 3vw, 36px) 6px;
	border-radius: var(--rv-r-lg, 24px) var(--rv-r-lg, 24px) 0 0;
	background: #fff;
	box-shadow: 0 -14px 36px -32px rgba(19, 21, 43, .35);
}

html[data-theme="dark"] .qt-pg-page article:has(.qt-review) .hero-section {
	background:
		radial-gradient(70% 140% at 0% 100%, rgba(92, 255, 77, .055), transparent 70%),
		radial-gradient(50% 120% at 100% 0%, rgba(108, 92, 255, .08), transparent 70%),
		#12152e;
	box-shadow: none;
}

.qt-pg-page article:has(.qt-review) .entry-content {
	margin-top: 0 !important;
}

.qt-pg-page article:has(.qt-review) .qt-review.e-con {
	--border-radius: 0 0 var(--rv-r-lg) var(--rv-r-lg);
	--padding-top: clamp(14px, 2vw, 22px);
}

/* título da página no mesmo estilo do título dos posts */
.qt-pg-page article:has(.qt-review) .page-title {
	font-family: var(--rv-display, "Sora", sans-serif);
	font-weight: 800;
	letter-spacing: -.03em;
}

@media (max-width: 767px) {
	.qt-pg-page article:has(.qt-review) .hero-section {
		width: 100%;
		padding: 26px 16px 4px;
		border-radius: 0;
	}

	.qt-pg-page article:has(.qt-review) .qt-review.e-con {
		--border-radius: 0px;
	}

	.qt-pg-page article:has(.qt-review) {
		width: 100%;
	}

	/* a folha começa logo abaixo do cabeçalho do site */
	.qt-pg-page [data-vertical-spacing]:has(.qt-review) {
		padding-top: 0;
	}
}

/* ---------- superfícies de vidro dos blocos de página ---------- */

.qt-pg .qt-pg-card,
.qt-pg .qt-pg-step,
.qt-pg .qt-pg-stat,
.qt-pg .qt-pg-note {
	position: relative;
	border: 1px solid var(--rv-line);
	border-radius: var(--rv-r-md);
	background: var(--rv-glass);
	box-shadow: var(--rv-card-shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
	-webkit-backdrop-filter: blur(16px) saturate(1.3);
	backdrop-filter: blur(16px) saturate(1.3);
}

/* ---------- texto corrido ---------- */

.qt-pg .qt-pg-prose {
	max-width: 72ch;
	color: var(--rv-text);
}

.qt-pg .qt-pg-prose h3 {
	margin: 1.6em 0 .5em;
	color: var(--rv-ink);
	font-family: var(--rv-display);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
}

.qt-pg .qt-pg-prose h3:first-child {
	margin-top: 0;
}

.qt-pg .qt-pg-prose ul,
.qt-pg .qt-pg-prose ol {
	display: grid;
	gap: 8px;
	margin: 0 0 1em;
	padding: 0;
	list-style: none;
}

.qt-pg .qt-pg-prose li {
	position: relative;
	padding-left: 30px;
}

.qt-pg .qt-pg-prose ul > li::before {
	content: "";
	position: absolute;
	top: .3em;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 6px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308120a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat,
		var(--rv-neon);
}

.qt-pg .qt-pg-prose ol {
	counter-reset: qtpg;
}

.qt-pg .qt-pg-prose ol > li::before {
	counter-increment: qtpg;
	content: counter(qtpg);
	position: absolute;
	top: .15em;
	left: 0;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: var(--rv-neon-10);
	color: var(--rv-link);
	font-family: var(--rv-display);
	font-size: 12px;
	font-weight: 800;
}

.qt-pg .qt-pg-prose blockquote {
	margin: 1.2em 0;
	padding: 4px 0 4px 18px;
	border-left: 3px solid var(--rv-neon);
	color: var(--rv-ink);
	font-family: var(--rv-display);
	font-size: 18px;
	font-style: normal;
	line-height: 1.5;
}

.qt-pg .qt-pg-prose a {
	text-decoration: underline;
	text-decoration-color: var(--rv-neon-50);
	text-underline-offset: 3px;
}

/* ---------- cards ---------- */

.qt-pg .qt-pg-grid {
	display: grid !important;
	grid-template-columns: repeat(var(--qt-pg-cols, 3), minmax(0, 1fr));
	gap: 14px;
}

.qt-pg .qt-pg-grid--2 {
	--qt-pg-cols: 2;
}

.qt-pg .qt-pg-grid--4 {
	--qt-pg-cols: 4;
}

.qt-pg .qt-pg-card {
	--gap: 10px;
	--row-gap: 10px;
	align-content: flex-start;
	padding: 22px !important;
	transition: border-color .2s, transform .2s, background .2s;
}

.qt-pg .qt-pg-card:has(.qt-pg-card-title a):hover {
	border-color: var(--rv-neon-50);
	background: var(--rv-glass-2);
	transform: translateY(-2px);
}

/* o título é o único link acessível; o ::after cobre o card inteiro */
.qt-pg .qt-pg-card-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.qt-pg .qt-pg-icon .elementor-icon-wrapper {
	line-height: 0;
	text-align: left;
}

.qt-pg .qt-pg-icon .elementor-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--rv-neon-10);
	box-shadow: inset 0 0 0 1px var(--rv-neon-20);
	color: var(--rv-link);
	font-size: 18px;
}

.qt-pg .qt-pg-icon .elementor-icon i,
.qt-pg .qt-pg-icon .elementor-icon svg {
	width: 18px;
	height: 18px;
	color: var(--rv-link);
	fill: var(--rv-link);
}

.qt-pg .qt-pg-card-title .elementor-heading-title {
	margin-top: 4px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
}

.qt-pg .qt-pg-card-title a {
	color: var(--rv-ink);
}

.qt-pg .qt-pg-card-text {
	color: var(--rv-text);
	font-size: 15px;
	line-height: 1.6;
}

/* rótulo do link no pé do card ("Escrever e-mail →") */
.qt-pg .qt-pg-more .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: var(--rv-link);
	font-family: var(--rv-display);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0;
}

.qt-pg .qt-pg-more .elementor-heading-title::after {
	content: "→";
	transition: transform .2s;
}

.qt-pg .qt-pg-card:hover .qt-pg-more .elementor-heading-title::after {
	transform: translateX(3px);
}

/* ---------- passos ---------- */

.qt-pg .qt-pg-steps {
	--gap: 12px;
	--row-gap: 12px;
}

.qt-pg .qt-pg-step {
	--gap: 16px;
	--column-gap: 16px;
	align-items: flex-start;
	padding: 18px 20px !important;
}

.qt-pg .qt-pg-num {
	flex: none;
	width: auto !important;
}

.qt-pg .qt-pg-num .elementor-heading-title {
	--rank: var(--rv-rank-rest);
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--rank);
	color: var(--rv-rank-rest-text);
	font-size: 17px;
	font-weight: 800;
}

/* mesmas cores de posição do "Mais lidos" e dos reviews */
.qt-pg .qt-pg-steps > .qt-pg-step:nth-child(-n+3) .qt-pg-num .elementor-heading-title {
	color: #12140f;
	box-shadow: 0 4px 12px -5px var(--rank);
}

.qt-pg .qt-pg-steps > .qt-pg-step:nth-child(1) .qt-pg-num .elementor-heading-title {
	--rank: #3ddc55;
}

.qt-pg .qt-pg-steps > .qt-pg-step:nth-child(2) .qt-pg-num .elementor-heading-title {
	--rank: #ffcc33;
}

.qt-pg .qt-pg-steps > .qt-pg-step:nth-child(3) .qt-pg-num .elementor-heading-title {
	--rank: #ff8a3d;
}

.qt-pg .qt-pg-step-body {
	--gap: 4px;
	--row-gap: 4px;
	flex: 1 1 0;
	min-width: 0;
}

.qt-pg .qt-pg-step-body .qt-pg-card-title .elementor-heading-title {
	margin-top: 6px;
}

/* ---------- números ---------- */

.qt-pg .qt-pg-stats {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
}

.qt-pg .qt-pg-stat {
	--gap: 2px;
	--row-gap: 2px;
	padding: 20px 22px !important;
}

.qt-pg .qt-pg-stat-value .elementor-heading-title {
	background: linear-gradient(90deg, var(--rv-hl-1), var(--rv-hl-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-size: clamp(30px, 4vw, 40px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -.03em;
}

.qt-pg .qt-pg-stat-label {
	color: var(--rv-text);
	font-size: 14px;
	line-height: 1.45;
}

/* ---------- aviso ---------- */

.qt-pg .qt-pg-note {
	--gap: 14px;
	--column-gap: 14px;
	align-items: flex-start;
	padding: 18px 20px !important;
	border-color: rgba(255, 211, 61, .35);
	background: rgba(255, 211, 61, .06);
}

.qt-pg .qt-pg-note .qt-pg-icon {
	flex: none;
	width: auto !important;
}

.qt-pg .qt-pg-note .qt-pg-icon .elementor-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--rv-yellow);
	box-shadow: 0 6px 18px -6px rgba(255, 211, 61, .8);
	font-size: 15px;
}

.qt-pg .qt-pg-note .qt-pg-icon .elementor-icon i,
.qt-pg .qt-pg-note .qt-pg-icon .elementor-icon svg {
	width: 15px;
	height: 15px;
	color: #161200;
	fill: #161200;
}

.qt-pg .qt-pg-note-body {
	--gap: 4px;
	--row-gap: 4px;
	flex: 1 1 0;
	min-width: 0;
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- botões ---------- */

.qt-pg .qt-pg-btns {
	--gap: 10px;
	--row-gap: 10px;
	--column-gap: 10px;
	margin-top: 6px;
}

.qt-pg .qt-pg-btn {
	width: auto !important;
}

.qt-pg .qt-pg-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--rv-neon);
	color: #0b0d1f;
	font-family: var(--rv-display);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: 0 6px 22px -8px rgba(92, 255, 77, .65);
	transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}

.qt-pg .qt-pg-btn .elementor-button:hover {
	color: #0b0d1f;
	transform: translateY(-1px);
	box-shadow: 0 10px 28px -8px rgba(92, 255, 77, .8);
}

.qt-pg .qt-pg-btn .elementor-button-text::after {
	content: " →";
}

.qt-pg .qt-pg-btn--ghost .elementor-button {
	border: 1.5px solid var(--rv-line-2);
	background: transparent;
	color: var(--rv-ink);
	box-shadow: none;
}

.qt-pg .qt-pg-btn--ghost .elementor-button:hover {
	border-color: var(--rv-neon-50);
	background: var(--rv-neon-10);
	color: var(--rv-ink);
	box-shadow: none;
}

/* ---------- guias (posts informativos) ----------
   O post já tem a folha do artigo e a sidebar do review.css; aqui só o que é do guia. */

/* âncoras do sumário: a seção não fica escondida atrás do cabeçalho fixo */
.qt-pg .qt-rv-section,
.qt-pg .qt-rv-intro {
	scroll-margin-top: 90px;
}

/* sumário do guia: o 1º item não é "Introdução" como nos reviews, então nenhum some e nenhum vira o destaque */
.qt-pg .qt-pg-toc {
	margin-top: 4px;
}

.qt-pg .qt-pg-table-note {
	font-size: 13.5px;
}

/* ---------- abertura e acordeão ---------- */

.qt-pg .qt-rv-intro .qt-pg-btns {
	margin-top: 2px;
}

.qt-pg .qt-pg-faq .e-n-accordion-item > .e-con a {
	text-decoration: underline;
	text-decoration-color: var(--rv-neon-50);
	text-underline-offset: 3px;
}

.qt-pg .qt-pg-section-text {
	max-width: 72ch;
	margin-top: -4px;
	color: var(--rv-text);
}

/* ---------- responsivo (largura do próprio conteúdo, como nos reviews) ---------- */

.qt-pg.e-con {
	container: qtpg / inline-size;
}

/* 4 colunas viram 2; 3 colunas ficam até 700px e vão direto pra 1 (em 2 colunas, o 3º card ficava sozinho) */
@container qtpg (max-width: 860px) {
	.qt-pg .qt-pg-grid--4 {
		--qt-pg-cols: 2;
	}
}

@container qtpg (max-width: 700px) {
	.qt-pg .qt-pg-grid {
		--qt-pg-cols: 1;
	}

	.qt-pg .qt-pg-grid--2,
	.qt-pg .qt-pg-grid--4 {
		--qt-pg-cols: 2;
	}
}

@container qtpg (max-width: 560px) {
	.qt-pg .qt-pg-grid,
	.qt-pg .qt-pg-grid--2,
	.qt-pg .qt-pg-grid--4 {
		--qt-pg-cols: 1;
	}

	.qt-pg .qt-pg-step {
		padding: 16px !important;
	}

	.qt-pg .qt-pg-card {
		padding: 18px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.qt-pg .qt-pg-card,
	.qt-pg .qt-pg-btn .elementor-button,
	.qt-pg .qt-pg-more .elementor-heading-title::after {
		transition: none !important;
	}
}

/*
 * Mapa de classes (Avançado → Classes CSS no Elementor). Raiz: "qt-review qt-pg".
 * Do review.css: qt-rv-section, qt-rv-eyebrow, qt-rv-h2 (+ <span class="qt-hl">), qt-rv-intro, qt-rv-lead,
 * qt-rv-facts, qt-rv-acc (acordeão), qt-rv-verdict / qt-rv-verdict-text, qt-rv-links.
 *
 * qt-pg-section-text                 parágrafo curto logo abaixo do H2 de uma seção
 * qt-pg-prose                        texto corrido (h3, listas com check/número, citação)
 * qt-pg-grid (+ --2 | --4)           grade de cards (3 colunas por padrão)
 * qt-pg-card / qt-pg-icon / qt-pg-card-title / qt-pg-card-text / qt-pg-more
 * qt-pg-steps / qt-pg-step / qt-pg-num / qt-pg-step-body                    passos numerados
 * qt-pg-stats / qt-pg-stat / qt-pg-stat-value / qt-pg-stat-label           números
 * qt-pg-note / qt-pg-note-body                                              aviso (amarelo)
 * qt-pg-btns / qt-pg-btn (+ qt-pg-btn--ghost)                               botões
 * qt-pg-faq                          acordeão de perguntas (junto com qt-rv-acc)
 * qt-pg-toc                          sumário automático dos guias (junto com qt-rv-toc)
 * qt-pg-table-note                   nota abaixo da tabela (junto com qt-rv-table-wrap / qt-rv-table / qt-rv-hint)
 */
