/**
 * Agentech Blog — main.css
 * Componentes, layout e tipografia. Tokens vêm de style.css (:root).
 * Mobile-first. Light theme premium/minimal (DNA Stripe / Vercel / Linear).
 * Nenhum hex direto: tudo referencia as CSS variables da marca.
 */

/* ==========================================================================
 * 1. RESET / BASE
 * ====================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--body-size-mob);
	line-height: var(--leading);
	color: var(--ink-soft);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "cv11", "ss01";
}
@media (min-width: 768px) { body { font-size: var(--body-size); } }

img, picture, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--text-link-hover); text-decoration: underline; text-underline-offset: 2px; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--ink);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	margin: 0 0 .5em;
	text-wrap: balance;
}

::selection { background: var(--brand-soft-h); color: var(--ink); }

/* Foco visível e consistente (acessibilidade) */
:where(a, button, summary, input, [tabindex]):focus-visible {
	outline: none;
	box-shadow: var(--ring-focus);
	border-radius: var(--r-sm);
}

/* ==========================================================================
 * 2. UTILITÁRIOS DE ACESSIBILIDADE
 * ====================================================================== */
.skip-link {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 200;
	background: var(--ink);
	color: #fff;
	padding: 12px 18px;
	border-radius: 0 0 var(--r-md) 0;
	font-family: var(--font-display);
	font-weight: 600;
	/* Fora da tela por transform, NÃO por `left:-9999px`: deslocar por `left`
	   fazia o Lighthouse classificar o atalho como não focalizável. Com
	   transform o elemento continua no fluxo e no lugar certo do tab order. */
	transform: translateY(-120%);
}
.skip-link:focus { transform: none; color: #fff; text-decoration: none; }
@media (prefers-reduced-motion: no-preference) { .skip-link { transition: transform var(--dur-fast) var(--ease); } }

/* ==========================================================================
 * 3. BARRA DE PROGRESSO DE LEITURA
 * ====================================================================== */
.reading-progress {
	position: fixed; inset: 0 0 auto 0; height: 3px; z-index: var(--z-progress);
	background: transparent; pointer-events: none;
}
.reading-progress__bar {
	display: block; height: 100%; width: 0;
	background: var(--brand-grad);
	transform-origin: left center;
}

/* ==========================================================================
 * 4. HEADER / FOOTER (shells)
 * ====================================================================== */
/* Barra de marca — transposição do `.t3-nav` sólido do tema de marketing
   (t3.css → `body.t3-page.t3-solid-nav .t3-nav`): cor cheia da marca a 94%
   com saturate/blur, filete branco translúcido embaixo e sombra rasa. A
   primeira declaração de `background` é o fallback para navegadores sem
   color-mix(); a segunda vence onde há suporte. */
.site-header {
	position: sticky; top: 0; z-index: var(--z-header);
	color: #fff;
	background: var(--brand);
	background: color-mix(in srgb, var(--brand) 94%, transparent);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid rgba(255,255,255,.16);
	box-shadow: 0 10px 30px -18px rgba(20, 8, 60, .55);
	transition: box-shadow var(--dur) var(--ease);
}
/* Rolagem: a sombra aprofunda para descolar a barra do conteúdo (mesma leitura
   do `.is-stuck` do tema). Só isso — a barra já nasce sólida. */
.site-header.is-stuck { box-shadow: 0 18px 44px -22px rgba(20, 8, 60, .78); }

.site-header__bar {
	max-width: var(--max-shell); margin: 0 auto;
	min-height: var(--header-h);
	display: flex; align-items: center; gap: clamp(12px, 3vw, 28px);
	padding: 0 clamp(16px, 4vw, 32px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem; letter-spacing: var(--tracking-tight); line-height: 1; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.05); }
/* Lockup oficial. 482×108 é o tamanho nativo declarado no HTML; aqui ele é
   escalado por ALTURA (34px), a mesma do `.t3-nav__logo`, para que as duas
   propriedades mostrem a marca no mesmo tamanho ótico. */
.brand__logo { height: 34px; width: auto; }
@media (max-width: 640px) { .brand__logo { height: 30px; } }
/* Sobre a faixa roxa, marca e wordmark são brancos (o lockup empacotado já é
   branco). Escopado no header para NÃO atingir o `.brand--footer`, que vive
   numa superfície clara. */
.site-header .brand,
.site-header .brand:hover { color: #fff; }
.site-header .brand__sub { color: rgba(255,255,255,.72); }
.brand__mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-grad-mark); color: #fff; box-shadow: var(--shadow-cta); transition: transform var(--dur) var(--ease-spring, var(--ease)); }
.brand__sub { color: var(--muted); font-weight: 600; margin-left: 5px; }
.custom-logo-link { display: inline-flex; }

.site-footer { border-top: 1px solid var(--line); margin-top: var(--space-20); background: var(--surface); }
.site-footer__bar {
	max-width: var(--max-shell); margin: 0 auto;
	padding: 28px clamp(16px, 4vw, 32px);
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.site-footer__copy { color: var(--muted); font-size: .9375rem; margin: 0; }
.site-footer__home { font-family: var(--font-display); font-weight: 600; }

/* Botão de marca */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid transparent; cursor: pointer; transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.btn--brand { background: var(--brand-grad-cta); color: #fff; box-shadow: var(--shadow-cta); }
.btn--brand:hover { background: var(--brand-grad-cta-h); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn--brand:active { transform: translateY(0); }
/* Sobre a faixa roxa o CTA INVERTE: pílula branca com texto na cor da marca —
   é assim que `.t3-nav .t3-btn--primary` se comporta no tema de marketing.
   Um botão roxo sobre fundo roxo desapareceria. */
.btn--on-brand { background: #fff; color: var(--brand-hover); box-shadow: 0 8px 22px rgba(7, 16, 48, .22); }
.btn--on-brand:hover { background: #fff; color: var(--brand-active); text-decoration: none; transform: translateY(-1px); }
.btn--on-brand:active { transform: translateY(0); }

/* ==========================================================================
 * 5. SHELL / GRID DO ARTIGO
 *    Article-col vem ANTES no source; sidebar reposicionada via grid.
 * ====================================================================== */
.shell {
	max-width: var(--max-shell); margin: 0 auto;
	padding: clamp(24px, 5vw, 56px) clamp(16px, 4vw, 32px) var(--space-12);
}
.shell--article { display: block; }

@media (min-width: 1024px) {
	.shell--article {
		display: grid;
		grid-template-columns: minmax(0, 1fr) var(--col-sidebar);
		column-gap: var(--col-gap);
		align-items: start;
	}
	.article-col { min-width: 0; }
}

/* Coluna de leitura: limita medida ótima e centraliza */
.article-col { width: 100%; }
.article { max-width: var(--col-content); margin-inline: auto; }
@media (min-width: 1024px) { .article { margin-inline: 0; } }

/* ==========================================================================
 * 6. BREADCRUMB
 * ====================================================================== */
.breadcrumb { margin-bottom: 20px; }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .8125rem; color: var(--muted); }
.breadcrumb__item { display: inline-flex; align-items: center; }
.breadcrumb__item + .breadcrumb__item::before { content: "›"; margin: 0 8px 0 2px; color: var(--subtle); }
.breadcrumb__item a { color: var(--muted); font-weight: 500; }
.breadcrumb__item [aria-current="page"] { color: var(--ink-soft); }

/* ==========================================================================
 * 7. CABEÇALHO DO ARTIGO
 * ====================================================================== */
.article__kicker {
	display: inline-flex; align-items: center;
	font-family: var(--font-display); font-weight: 700;
	font-size: .75rem; letter-spacing: .03em; text-transform: uppercase;
	color: var(--cat-ink, var(--brand-hover)); background: var(--cat-soft, var(--brand-soft));
	padding: 6px 13px; border-radius: var(--r-pill); margin-bottom: 18px;
}
.article__kicker:hover { color: #fff; background: var(--cat, var(--brand)); text-decoration: none; }
.article__title { font-size: var(--h1); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin-bottom: .4em; text-wrap: balance; }
.article__dek { font-size: var(--lead-size); line-height: 1.55; color: var(--ink-soft); margin: 0 0 26px; max-width: 46ch; }

.article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .875rem; color: var(--muted); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.meta__author { display: inline-flex; align-items: center; gap: 10px; }
.meta__author img { width: 36px; height: 36px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.meta__byline { display: inline-flex; flex-direction: column; line-height: 1.25; }
.meta__byline a { color: var(--ink); font-weight: 600; }
.meta__role { font-size: .75rem; color: var(--muted); }
.meta__dot { color: var(--subtle); }
.meta__updated { color: var(--brand-hover); font-weight: 600; }

/* ==========================================================================
 * 8. HERO (imagem destacada / LCP)
 * ====================================================================== */
.article__hero { margin: 28px 0 8px; }
.article__hero-img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-tint-cool); }
.article__hero-cap { font-size: .8125rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* ==========================================================================
 * 9. BLOCOS GEO/AIO — TL;DR & PRINCIPAIS CONCLUSÕES
 * ====================================================================== */
.article__tldr {
	margin: 32px 0; padding: 22px 24px 24px;
	background: var(--brand-soft);
	border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
	border-radius: var(--r-lg);
}
.tldr__title { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 700; color: var(--brand-active); margin: 0 0 8px; }
.tldr__icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: var(--r-sm); background: var(--brand); color: #fff; }
.tldr__text { margin: 0; color: var(--ink); font-size: 1.125rem; line-height: 1.6; }

.takeaways { margin: 28px 0; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.takeaways__title { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 16px; }
.takeaways__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.takeaways__item { position: relative; padding-left: 30px; color: var(--ink); line-height: 1.55; }
.takeaways__item::before {
	content: ""; position: absolute; left: 0; top: .25em; width: 18px; height: 18px;
	background: var(--brand-soft);
	border-radius: var(--r-sm);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat;
	background-color: var(--brand);
}

/* ==========================================================================
 * 10. SUMÁRIO (TOC)
 * ====================================================================== */
.toc { margin: 28px 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.toc__title { cursor: pointer; list-style: none; padding: 14px 18px; font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .9375rem; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after { content: "▾"; float: right; color: var(--muted); transition: transform var(--dur) var(--ease); }
.toc[open] .toc__title::after { transform: rotate(180deg); }
.toc__list { list-style: none; margin: 0; padding: 4px 18px 16px; display: grid; gap: 7px; }
.toc__item a { color: var(--ink-soft); font-size: .9375rem; }
.toc__item--h3 { padding-left: 16px; font-size: .875rem; }
.toc__item a:hover { color: var(--brand-hover); }
.toc__item a.is-active { color: var(--brand-hover); font-weight: 600; text-decoration: none; }

/* ==========================================================================
 * 11. CORPO DO ARTIGO (prose) — leitura long-form
 * ====================================================================== */
.article__body { font-size: inherit; color: var(--ink-soft); }
.article__body > * { max-width: var(--measure); }
.article__body > .alignwide,
.article__body > .alignfull,
.article__body > figure,
.article__body > .wp-block-table,
.article__body > .ad { max-width: none; }

.article__body p { margin: 0 0 1.5em; }
/* Parágrafo de abertura levemente maior (ritmo editorial) */
.article__body > p:first-of-type { font-size: 1.0625em; color: var(--ink); }

.article__body h2 { font-size: var(--h2); font-weight: 700; margin: 1.8em 0 .6em; scroll-margin-top: calc(var(--chrome-h) + 16px); }
.article__body h3 { font-size: var(--h3); font-weight: 700; margin: 1.5em 0 .5em; scroll-margin-top: calc(var(--chrome-h) + 16px); }
.article__body h4 { font-size: var(--h4); font-weight: 600; margin: 1.3em 0 .4em; }

.article__body a { font-weight: 500; text-decoration: underline; text-decoration-color: var(--purple-200); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.article__body a:hover { text-decoration-color: var(--brand); }

/* CTA de corpo (money page): o utilitário .btn não herda o sublinhado editorial. */
.article__body a.btn { text-decoration: none; font-weight: 600; }
.article__body p.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 1.4em 0; }
.article__body .cta-row__note { font-size: .875rem; color: var(--muted); }

.article__body ul, .article__body ol { margin: 0 0 1.5em; padding-left: 1.4em; }
.article__body li { margin: 0 0 .6em; padding-left: .2em; }
.article__body li::marker { color: var(--brand); }

.article__body blockquote {
	margin: 1.8em 0; padding: 4px 0 4px 24px;
	border-left: 4px solid var(--brand);
	font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5;
	color: var(--ink); font-weight: 500;
}
.article__body blockquote p:last-child { margin-bottom: 0; }
.article__body blockquote cite { display: block; margin-top: 10px; font-size: .9375rem; color: var(--muted); font-style: normal; font-family: var(--font-body); }

.article__body code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-tint-cool); padding: .15em .4em; border-radius: 6px; border: 1px solid var(--line); }
.article__body pre { background: var(--ink); color: #E2E8F0; padding: 20px 22px; border-radius: var(--r-md); overflow-x: auto; font-size: .9rem; line-height: 1.6; margin: 1.6em 0; }
.article__body pre code { background: none; border: none; padding: 0; color: inherit; }

.article__body figure { margin: 1.8em 0; }
.article__body figure img { border-radius: var(--r-md); border: 1px solid var(--line); width: 100%; }
.article__body figcaption { font-size: .8125rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* Tabelas comparativas (GEO-friendly) */
.article__body table, .article__body .wp-block-table table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: .9375rem; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.article__body th, .article__body td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.article__body thead th { background: var(--bg-tint); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: .875rem; }
.article__body tbody tr:nth-child(even) { background: var(--bg-tint-cool); }
.article__body tbody tr:last-child td { border-bottom: none; }

.article__body hr { border: none; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* Callout de definição (utilitário GEO; aplicar via classe no editor) */
.article__body .is-definition,
.article__body .wp-block-group.is-definition {
	background: var(--bg-tint-cool); border: 1px solid var(--line);
	border-radius: var(--r-md); padding: 18px 20px; margin: 1.6em 0;
}

/* ==========================================================================
 * 12. TAGS
 * ====================================================================== */
.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.tag-chip { font-size: .8125rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--r-pill); }
.tag-chip:hover { color: var(--brand-hover); border-color: var(--brand); text-decoration: none; }

/* ==========================================================================
 * 13. FAQ
 * ====================================================================== */
.faq { margin: 40px 0; }
.faq__title { font-size: var(--h2); font-weight: 700; margin-bottom: 18px; }
.faq__list { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color var(--dur) var(--ease); }
.faq__item[open] { border-color: var(--purple-200); box-shadow: var(--shadow-sm); }
.faq__q { cursor: pointer; list-style: none; padding: 16px 20px; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.0625rem; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; transition: transform var(--dur) var(--ease); }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--ink-soft); }
.faq__a p { margin: 0; }

/* ==========================================================================
 * 14. BIO DO AUTOR (E-E-A-T)
 * ====================================================================== */
.author-bio { display: flex; gap: 18px; align-items: flex-start; margin: 40px 0 0; padding: 24px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--r-lg); }
.author-bio__avatar img { width: 64px; height: 64px; border-radius: var(--r-pill); border: 2px solid var(--surface); box-shadow: var(--shadow-sm); }
.author-bio__eyebrow { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 2px; }
.author-bio__name { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; }
.author-bio__name a { color: var(--ink); }
.author-bio__role { margin: 2px 0 8px; color: var(--brand-hover); font-size: .875rem; font-weight: 600; }
.author-bio__desc { margin: 0; font-size: .9375rem; color: var(--ink-soft); }

/* ==========================================================================
 * 15. SIDEBAR
 * ====================================================================== */
.sidebar-col { margin-top: 48px; }
@media (min-width: 1024px) { .sidebar-col { margin-top: 0; } }
.sidebar-sticky { display: grid; gap: 22px; }
@media (min-width: 1024px) {
	.sidebar-sticky { position: sticky; top: calc(var(--chrome-h) + 24px); }
}

/* Widgets da sidebar (Leia também + Categorias) */
.sidewidget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.sidewidget__title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 14px; }

.related__list { display: grid; gap: 14px; }
.related__item { display: flex; gap: 12px; align-items: center; }
.related__item:hover { text-decoration: none; }
.related__thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--cat-soft, var(--bg-tint)); }
.related__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.related__item:hover .related__thumb img { transform: scale(1.06); }
.related__thumb-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--cat, var(--brand)), var(--brand)); }
.related__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.related__cat { font-family: var(--font-display); font-size: .625rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cat-ink, var(--brand-hover)); }
.related__headline { font-size: .9375rem; font-weight: 600; line-height: 1.32; color: var(--ink); }
.related__item:hover .related__headline { color: var(--brand-hover); }

.categories__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.categories__link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--r-md); color: var(--ink-soft); font-weight: 600; font-size: .9375rem; transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.categories__link:hover, .categories__link.is-current { background: var(--cat-soft, var(--brand-soft)); color: var(--cat-ink, var(--brand-hover)); text-decoration: none; }
.categories__count { flex: 0 0 auto; font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--bg-tint-cool); border-radius: var(--r-pill); padding: 2px 9px; min-width: 26px; text-align: center; }
.categories__link:hover .categories__count, .categories__link.is-current .categories__count { background: var(--cat, var(--brand)); color: #fff; }

/* ==========================================================================
 * 16. AD BLOCKS — escudo semântico + ZERO CLS
 *     Espaço reservado SEMPRE (min-height/aspect-ratio) → nada reflui.
 * ====================================================================== */
.ad { display: block; }
.ad__inner { display: flex; align-items: center; justify-content: center; width: 100%; }
/* Placeholder premium (sem anúncio configurado): superfície tintada quieta,
   legenda "Publicidade" entre filetes — padrão de publisher premium.
   Sem borda tracejada, sem listras, sem jargão de dev (slot vive em data-slot). */
.ad__placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 100%; height: 100%; min-height: inherit; padding: 18px 22px;
	border: 1px solid var(--line-soft); border-radius: var(--r-md);
	background: linear-gradient(180deg, var(--bg-tint-cool) 0%, var(--surface) 100%);
}
.ad__label {
	display: flex; align-items: center; gap: 14px; width: 100%; max-width: 340px;
	font-family: var(--font-display); font-weight: 600; font-size: .625rem;
	letter-spacing: .18em; text-transform: uppercase; color: var(--subtle);
	white-space: nowrap;
}
.ad__label::before, .ad__label::after { content: ""; flex: 1 1 0; height: 1px; background: var(--line); }

/* Leaderboard (entre parágrafos): reserva altura → CLS 0 */
.ad--leaderboard { margin: 36px 0; }
.ad--leaderboard .ad__inner { min-height: 100px; }
@media (min-width: 768px) { .ad--leaderboard .ad__inner { min-height: 90px; } }

/* Retângulo (sidebar): caixa fixa 300×250 reservada → CLS 0 */
.ad--rectangle .ad__inner { width: 300px; max-width: 100%; min-height: 250px; margin-inline: auto; }

/* ==========================================================================
 * 17. INDEX / LISTA (fallback)
 * ====================================================================== */
.shell--list { max-width: 860px; }
.list-head { margin-bottom: 32px; }
.list-head__title { font-size: var(--h1); font-weight: 800; }
.list-head__dek { color: var(--muted); font-size: 1.125rem; }
.post-list { display: grid; gap: 28px; }
.post-card { display: grid; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .post-card { grid-template-columns: 200px 1fr; } }
.post-card__thumb img { border-radius: var(--r-md); aspect-ratio: 16/10; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.post-card__title { font-size: 1.375rem; margin: 0 0 6px; }
.post-card__title a { color: var(--ink); }
.post-card__excerpt { color: var(--ink-soft); margin: 0 0 10px; }
.post-card__meta { font-size: .8125rem; color: var(--muted); margin: 0; }
.pagination { margin-top: 40px; }
.pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-right: 6px; color: var(--ink-soft); }
.pagination .page-numbers.current { background: var(--brand); color: #fff; border-color: var(--brand); }
.empty { color: var(--muted); }

/* ==========================================================================
 * 18. WIDGETS (sidebar widget area)
 * ====================================================================== */
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.widget__title { font-size: 1rem; font-family: var(--font-display); color: var(--ink); margin: 0 0 12px; }

/* ==========================================================================
 * 19. UTILITÁRIOS
 * ====================================================================== */
.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; }
.btn--sm { padding: 8px 14px; font-size: .875rem; }
.btn--block { width: 100%; justify-content: center; }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 11px 22px; }
.btn--ghost:hover { background: var(--bg-tint); color: var(--brand-hover); border-color: var(--brand); text-decoration: none; transform: translateY(-1px); }

/* ==========================================================================
 * 20. HEADER — NAV PRINCIPAL + BARRA DE CATEGORIAS
 * ====================================================================== */
.site-header__brand { flex: 0 0 auto; }

/* ---- Navegação principal (sobre a faixa roxa) ----
   Mesmas medidas do `.t3-nav__links`: 15px, peso 500, gap 26px, branco a 90%
   que vira branco puro no hover. Abaixo de 960px quem responde
   pelos links é o botão de menu. */
.site-nav { flex: 1 1 auto; display: none; }
@media (min-width: 960px) { .site-nav { display: block; } }
.site-nav__list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { color: rgba(255,255,255,.9); font-family: var(--font-display); font-weight: 500; font-size: .9375rem; }
.site-nav__list a:hover { color: #fff; text-decoration: none; }
.site-nav__list a.is-current { color: #fff; font-weight: 700; }
/* Página atual: filete branco curto sob o rótulo — marca o "você está aqui"
   sem depender só do peso da fonte (que sozinho não é sinal acessível). */
.site-nav__list a.is-current { position: relative; }
.site-nav__list a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: #fff; }
/* Quando o menu vem do WordPress ('primary'), a página atual chega marcada com
   `current-menu-item` no <li>, não com `is-current` no <a>. Mesmo tratamento. */
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a { color: #fff; font-weight: 700; position: relative; }
.site-nav__list .current-menu-item > a::after,
.site-nav__list .current_page_item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: #fff; }

.site-header__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; margin-left: auto; }
/* No telefone a barra só comporta marca + busca + menu: o CTA sairia pela
   direita (medido em 375px). Ele não some do alcance — está no topo do painel
   de CTAs do menu mobile. */
.site-header__actions .btn { display: none; }
@media (min-width: 720px) { .site-header__actions .btn { display: inline-flex; } }
.site-header__login { display: none; color: #fff; font-weight: 600; font-size: .9375rem; font-family: var(--font-display); }
@media (min-width: 720px) { .site-header__login { display: inline; } }
.site-header__login:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.search-toggle:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.65); }
/* O foco visível padrão (--ring-focus, roxo) desaparece sobre fundo roxo. */
.site-header :where(a, button):focus-visible { box-shadow: 0 0 0 3px rgba(255,255,255,.65); }

/* ---- Botão de menu (abaixo de 1080px) ---- */
.nav-burger { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
@media (min-width: 960px) { .nav-burger { display: none; } }
/* `svg { display: block }` do reset é (0,1,1) e vencia uma regra de classe só,
   deixando os dois ícones visíveis ao mesmo tempo — escopar no botão leva a
   (0,2,0) e a regra volta a valer. */
.nav-burger .nav-burger__close { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger__open { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger__close { display: inline-flex; }

/* ---- Painel de navegação mobile (folha branca sob a barra) ---- */
.site-mnav[hidden] { display: none; }
.site-mnav {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	box-shadow: var(--shadow-md);
	max-height: calc(100dvh - var(--header-h));
	overflow-y: auto;
	padding: 6px clamp(16px, 4vw, 32px) max(18px, env(safe-area-inset-bottom));
	animation: mnav-in .22s var(--ease-out) both;
}
@media (prefers-reduced-motion: reduce) { .site-mnav { animation: none; } }
@media (min-width: 960px) { .site-mnav { display: none !important; } }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.site-mnav__links { display: flex; flex-direction: column; }
.site-mnav__links a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line-soft); font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); }
.site-mnav__links a:hover { color: var(--brand); text-decoration: none; }
.site-mnav__links a.is-current,
.site-mnav__links .current-menu-item > a,
.site-mnav__links .current_page_item > a { color: var(--brand); }
/* wp_nav_menu envolve os itens num <ul>; a folha é uma pilha vertical simples. */
.site-mnav__list { list-style: none; margin: 0; padding: 0; }
.site-mnav__list li:last-child a { border-bottom: 0; }
.site-mnav__links a:last-child { border-bottom: 0; }
.site-mnav__cta { display: grid; gap: 10px; margin-top: 14px; }

/* ---- Barra de categorias (logo abaixo da faixa roxa) ----
   Fundo OPACO e no tint da marca: ela fica dentro do <header>, ou seja, por
   cima do roxo da própria barra — um branco translúcido aqui viraria lavanda
   por acidente, e o conteúdo rolando por baixo apareceria através dela. */
.cat-bar { background: var(--bg-tint); border-bottom: 1px solid var(--line); }
.cat-bar__inner { max-width: var(--max-shell); margin: 0 auto; display: flex; gap: 6px; overflow-x: auto; padding: 8px clamp(16px, 4vw, 32px); scrollbar-width: none; }
.cat-bar__inner::-webkit-scrollbar { display: none; }
/* --muted (#64748B) sobre o tint da marca dá 4.26:1 — reprovado em AA para
   texto de 14px. --ink-soft sobe para 9.2:1 e continua claramente abaixo da
   nav branca na hierarquia. */
.cat-bar__link { white-space: nowrap; font-size: .875rem; font-weight: 600; color: var(--ink-soft); padding: 7px 14px; border-radius: var(--r-pill); transition: all var(--dur) var(--ease); }
.cat-bar__link:hover { color: var(--brand-hover); background: var(--brand-soft); text-decoration: none; }
.cat-bar__link.is-current { color: #fff; background: var(--brand); }

.site-search[hidden] { display: none; }
.site-search { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-search__inner { max-width: var(--max-shell); margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 16px clamp(16px, 4vw, 32px); }
.site-search__close { background: none; border: none; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; }
.search-form { position: relative; display: flex; gap: 10px; width: 100%; align-items: center; }
.search-form__icon { position: absolute; left: 14px; color: var(--subtle); pointer-events: none; }
.search-form__input { flex: 1; padding: 12px 16px 12px 42px; border: 1px solid var(--line); border-radius: var(--r-pill); font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); }
.search-form__input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring-focus); }

/* ==========================================================================
 * 21. CARDS (sistema reutilizável)
 * ====================================================================== */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -22px rgba(44, 37, 128, .3), var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 32%, var(--line)); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(140deg, var(--cat, var(--brand)), color-mix(in srgb, var(--cat, var(--brand)) 55%, var(--brand-active))); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
/* Tratamento de imagem: véu de profundidade no rodapé da foto (craft editorial) */
.card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(15,23,42,0) 58%, rgba(15,23,42,.14) 100%); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media-fallback { position: absolute; inset: 0; background: linear-gradient(135deg, var(--cat, var(--brand)), var(--brand)); opacity: .92; }
.card__chip { display: inline-flex; align-items: center; align-self: flex-start; font-family: var(--font-display); font-size: .6875rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--cat-ink, var(--brand-hover)); background: var(--cat-soft, var(--brand-soft)); padding: 5px 11px; border-radius: var(--r-pill); transition: all var(--dur) var(--ease); }
.card__chip:hover { color: #fff; background: var(--cat, var(--brand)); text-decoration: none; }
.card__chip--on-media { position: absolute; top: 12px; left: 12px; color: #fff; background: color-mix(in srgb, var(--cat, #0F172A) 80%, rgba(10,6,19,.55)); backdrop-filter: blur(6px); box-shadow: 0 4px 12px -4px rgba(0,0,0,.45); }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding: 18px 20px 20px; flex: 1; }
.card__title { font-size: 1.1875rem; line-height: 1.3; margin: 0; font-weight: 700; letter-spacing: -0.014em; color: var(--ink); text-wrap: balance; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--brand-hover); text-decoration: none; }
.card__excerpt { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.card__meta { margin: 0; font-size: .8125rem; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.card__author { display: inline-flex; align-items: center; gap: 7px; }
.card__author img { width: 22px; height: 22px; border-radius: var(--r-pill); border: 1px solid var(--line); }
.card__author-name { font-weight: 600; color: var(--ink-soft); }
.card__dot { margin: 0 6px; color: var(--subtle); }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: .875rem; color: var(--brand); }
.card__more svg { transition: transform var(--dur) var(--ease); }
.card__more:hover { text-decoration: none; color: var(--brand-hover); }
.card:hover .card__more svg { transform: translateX(3px); }

.card--feature .card__title { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); letter-spacing: -0.032em; line-height: 1.1; }
.card--feature .card__excerpt { font-size: 1.125rem; line-height: 1.6; color: var(--ink-soft); }
.card--feature .card__body { padding: 26px 28px 28px; gap: 14px; }

.card--compact { flex-direction: row; align-items: stretch; }
.card--compact .card__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 100%; }
.card--compact .card__media img { object-position: center; }
.card--compact .card__body { padding: 16px 18px; gap: 7px; justify-content: center; }
.card--compact .card__title { font-size: 1.0625rem; line-height: 1.34; }

/* Variant ROW — lista horizontal leve (sem caixa), p/ "Mais recentes" */
.card--row { flex-direction: row; align-items: center; gap: 16px; background: transparent; border: none; border-radius: 0; overflow: visible; }
.card--row:hover { transform: none; box-shadow: none; }
.card--row .card__media { flex: 0 0 150px; aspect-ratio: 4 / 3; border-radius: 0; border: 1px solid var(--line); overflow: hidden; }
.card--row .card__body { padding: 2px 0; gap: 8px; }
.card--row .card__title { font-size: 1.1875rem; }
.card--row:hover .card__title a { color: var(--brand-hover); }
.card--row:hover .card__media img { transform: scale(1.05); }
.card--row .card__excerpt { display: none; }
@media (min-width: 560px) { .card--row .card__media { flex-basis: 190px; } .card--row .card__excerpt { display: block; } }

.card--overlay { border: none; }
.card--overlay .card__media { aspect-ratio: 3 / 4; }
.card--overlay .card__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background:
	linear-gradient(180deg, rgba(15,23,42,0) 28%, color-mix(in srgb, var(--cat, #0F172A) 40%, transparent) 70%, color-mix(in srgb, var(--cat, #0A0613) 88%, #0A0613) 100%); }
.card--overlay .card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 18px; gap: 8px; }
.card--overlay .card__chip--on-media { z-index: 3; }
.card--overlay .card__title { color: #fff; font-size: 1.0625rem; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.card--overlay .card__title a { color: #fff; }
.card--overlay .card__title a:hover { color: #fff; opacity: .85; }
.card--overlay .card__meta { color: rgba(255,255,255,.82); }
.card--overlay .card__more { color: #fff; }
.card--overlay:hover { box-shadow: 0 26px 56px -22px var(--cat-glow, rgba(68,57,189,.5)); }

/* ==========================================================================
 * 22. GRIDS
 * ====================================================================== */
.grid { display: grid; gap: 22px; }
/* Resumos com altura uniforme na grade (ritmo editorial constante) */
.grid--4 .card__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
/* CTA card como item de grade: segue a gramática dos cards vizinhos —
   cantos RETOS, conteúdo denso do topo ao pé, botão ancorado (como o "Leia mais"). */
.grid > .cta-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; border-radius: 0; padding: 26px 26px 24px; }
/* Tipografia ampliada na grade: o espaço é preenchido por conteúdo, não por vão */
.grid > .cta-card .cta-card__title { font-size: 1.75rem; letter-spacing: -0.025em; }
.grid > .cta-card .cta-card__text { font-size: 1.125rem; line-height: 1.55; }
.grid > .cta-card .cta-card__ints { margin-bottom: 18px; }
.grid > .cta-card .cta-card__list { align-self: stretch; gap: 12px; }
.grid > .cta-card .cta-card__list li { font-size: 1.0625rem; }
.grid > .cta-card .cta-card__btn { margin-top: auto; width: 100%; }
/* auto-fit: cards preenchem a linha — nunca sobra coluna vazia (poucos posts) */
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.rowlist { display: grid; grid-template-columns: 1fr; gap: 24px 36px; }
@media (min-width: 720px) { .rowlist { grid-template-columns: 1fr 1fr; } }
.rowlist .card--row { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .rowlist .card--row:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; } }

/* ==========================================================================
 * 23. HOME
 * ====================================================================== */
/* Herói (sem cantos arredondados — fundo tintado simples) */
.home-hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 34px); background: var(--bg-tint); border-bottom: 1px solid var(--line); }
.home-hero > .shell { position: relative; padding-top: 0; padding-bottom: 0; }
/* Atmosfera de marca: mesh de glows em camadas (roxo → indigo → azul) */
.home-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
	radial-gradient(46% 58% at 90% 0%, rgba(68,57,189,.20), transparent 62%),
	radial-gradient(38% 52% at 58% 110%, rgba(86,80,230,.14), transparent 60%),
	radial-gradient(30% 44% at 8% 12%, rgba(33,212,253,.12), transparent 58%); }
.home-hero__head { margin-bottom: 22px; }
.home-hero__title { font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 0; color: var(--ink); text-wrap: balance; max-width: 24ch; }
.home-hero__sub { margin: 12px 0 0; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.home-hero__grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .home-hero__grid { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.home-hero__side { display: grid; gap: 14px; align-content: start; }
.home-hero__sidetitle { display: inline-flex; align-items: center; gap: 7px; justify-self: center; margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; font-size: .6875rem; letter-spacing: .07em; text-transform: uppercase; color: #fff; background: var(--brand-grad); padding: 6px 13px; border-radius: var(--r-pill); box-shadow: var(--shadow-cta); }
.home-hero__sidetitle-ico { flex: 0 0 auto; }

/* Mais lidos (coluna do herói) */
.popular { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.popular__title { display: flex; align-items: center; gap: 8px; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; }
.popular__spark { font-size: 1rem; }
.popular__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: pop; }
.popular__item { display: flex; gap: 12px; align-items: flex-start; }
.popular__num { flex: 0 0 auto; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: .8125rem; color: var(--cat-ink, var(--brand-hover)); background: var(--cat-soft, var(--brand-soft)); border-radius: var(--r-sm); }
.popular__link { font-size: .9375rem; line-height: 1.35; color: var(--ink); font-weight: 600; }
.popular__link:hover { color: var(--brand-hover); }

.home-section { padding: clamp(24px, 2.6vw, 34px) 0 0; }
/* As seções da home NÃO devem herdar o padding grande do .shell (era a origem
   dos vãos de ~134px). O ritmo vertical passa a ser controlado só pelo padding
   das próprias seções (.home-section / .home-news). O herói já faz o mesmo. */
.home-section > .shell, .home-news > .shell { padding-top: 0; padding-bottom: 0; }
.home-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
/* Assinatura de marca: filete de gradiente curto acima do título de seção */
.home-section__title { position: relative; font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.25rem); font-weight: 800; letter-spacing: -0.032em; margin: 0; padding-top: 14px; color: var(--ink); }
.home-section__title::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 4px; background: var(--brand-grad); }
.home-section__link { flex: 0 0 auto; font-family: var(--font-display); font-weight: 600; font-size: .875rem; color: var(--ink-soft); padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface); transition: all var(--dur) var(--ease); }
.home-section__link:hover { color: var(--brand-hover); border-color: var(--brand); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.home-section__cta { display: flex; justify-content: center; margin-top: 28px; }

.home-news { padding: clamp(48px, 6vw, 88px) 0 0; }
/* Painel escuro premium — o momento de "vida" da home (DNA Stripe/Linear) */
.home-news__card { position: relative; overflow: hidden; display: grid; gap: 22px; align-items: center; padding: clamp(30px, 4.4vw, 52px); border-radius: var(--r-xl); color: #fff;
	background: linear-gradient(140deg, #0A2540 0%, #1A1A4E 55%, #382FA0 100%);
	border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px -30px rgba(26,26,78,.55); }
.home-news__card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
	radial-gradient(58% 70% at 92% -10%, rgba(86,80,230,.40), transparent 62%),
	radial-gradient(46% 60% at -6% 110%, rgba(33,212,253,.22), transparent 58%); }
.home-news__card > * { position: relative; }
@media (min-width: 860px) { .home-news__card { grid-template-columns: 1.2fr 1fr; } }
.home-news__title { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 8px; color: #fff; text-wrap: balance; }
.home-news__dek { margin: 0; color: rgba(255,255,255,.82); font-size: 1.0625rem; }
.home-news__form { display: flex; gap: 10px; flex-wrap: wrap; }
.home-news__form input { flex: 1 1 220px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill); font: inherit; font-size: 1rem; background: rgba(255,255,255,.97); color: var(--ink); }
.home-news__form input::placeholder { color: var(--muted); }
.home-news__form input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.28); }

/* ==========================================================================
 * 24. ARCHIVE / SEARCH
 * ====================================================================== */
.archive { padding-top: 8px; }
.archive__head { margin-bottom: 36px; }
.archive__eyebrow { font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 8px; }
.archive__title { font-size: var(--h1); font-weight: 800; letter-spacing: var(--tracking-tighter); margin: 0; }
.archive__desc { color: var(--muted); font-size: 1.0625rem; margin-top: 10px; }
.archive__search { margin-top: 18px; max-width: 520px; }

/* 404 — faixa de editorias como rota de fuga */
.error404__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* ==========================================================================
 * 25. MEGA-FOOTER
 * ====================================================================== */
.site-footer { border-top: 1px solid var(--line); margin-top: clamp(20px, 2.4vw, 32px); background: var(--surface); }
.site-footer__main { padding: clamp(24px, 2.8vw, 34px) 0; }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.brand--footer { margin-bottom: 14px; }
.site-footer__tagline { color: var(--muted); font-size: .9375rem; max-width: 34ch; margin: 0 0 18px; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--ink-soft); font-family: var(--font-display); font-weight: 700; font-size: .75rem; }
.site-footer__social a:hover { color: #fff; background: var(--brand); border-color: var(--brand); text-decoration: none; }
.site-footer__coltitle { margin: 0 0 14px; font-family: var(--font-display); font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__col a { color: var(--muted); font-size: .9375rem; }
.site-footer__col a:hover { color: var(--brand-hover); }
.site-footer__bottom { border-top: 1px solid var(--line); background: var(--bg-tint); }
.site-footer__bottombar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; }
.site-footer__copy { color: var(--ink-soft); font-size: .875rem; margin: 0; }
/* Link dentro de bloco de texto precisa se distinguir por algo além da cor
   (WCAG 1.4.1). O sublinhado é esse algo — sem ele o axe reprova, e com razão:
   quem não diferencia as cores não enxerga que ali há um link. */
.site-footer__copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.site-footer__copy a:hover,
.site-footer__copy a:focus-visible { color: var(--brand); }

/* ==========================================================================
 * 26. CONVERSÃO — CTA card (sidebar), CTA banner (fim de artigo)
 * ====================================================================== */
.cta-card { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 26px 24px 24px; color: #fff; text-align: center;
	background: linear-gradient(158deg, #5650E6 0%, #4439BD 44%, #2C2580 100%);
	border: 1px solid rgba(255,255,255,.14); box-shadow: 0 22px 46px -20px rgba(44,37,128,.62); }
.cta-card__glow { position: absolute; inset: 0; pointer-events: none; background:
	radial-gradient(65% 60% at 88% -6%, rgba(255,255,255,.26), transparent 62%),
	radial-gradient(55% 55% at -4% 104%, rgba(33,212,253,.24), transparent 58%); }
.cta-card > * { position: relative; }
.cta-card__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.16); padding: 5px 11px; border-radius: var(--r-pill); margin: 0 0 12px; }
.cta-card__title { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.18; margin: 0 0 8px; color: #fff; text-wrap: balance; }
.cta-card__text { font-size: .9375rem; line-height: 1.55; color: rgba(255,255,255,.92); margin: 0 0 18px; }
.cta-card__btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 18px; border-radius: var(--r-pill); background: #fff; color: var(--brand-active); font-family: var(--font-display); font-weight: 700; font-size: .9375rem; box-shadow: 0 10px 22px -12px rgba(0,0,0,.5); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.cta-card__btn:hover { color: var(--brand-active); text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); }
.cta-card__btn svg { transition: transform var(--dur) var(--ease); }
.cta-card__btn:hover svg { transform: translateX(3px); }
.cta-card__trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: .8125rem; color: rgba(255,255,255,.88); }

/* Texto de apoio sobre o gradiente (contraste AA garantido) */
.cta-card__text--on-dark { color: rgba(255,255,255,.92); }

/* Integrações (prova de ecossistema): rótulo + pills centralizadas */
.cta-card__ints-label { margin: 2px 0 8px; font-family: var(--font-display); font-weight: 600; font-size: .8125rem; color: rgba(255,255,255,.78); }
.cta-card__ints { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.cta-card__ints li { font-family: var(--font-display); font-weight: 600; font-size: .75rem; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: 4px 11px; border-radius: var(--r-pill); white-space: nowrap; }

/* Checklist de benefícios (variante trial) — alinhada à ESQUERDA (decisão do dono),
   ícone inline; o restante do card permanece centralizado */
.cta-card__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.cta-card__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 1rem; line-height: 1.45; color: rgba(255,255,255,.95); text-align: left; }
.cta-card__list li::before {
	content: ""; flex: 0 0 auto; margin-top: .12em; width: 18px; height: 18px;
	background-color: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/15px no-repeat;
}

/* Variante FREE — superfície clara com keyline de gradiente (estrutura distinta,
   sem eyebrow: a âncora de preço vive no título). Contraste AA: ink sobre branco. */
.cta-card--free { background: var(--surface); color: var(--ink-soft); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.cta-card--free::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand-grad); }
.cta-card--free .cta-card__title { color: var(--ink); font-size: 1.4375rem; }
.cta-card--free .cta-card__text { color: var(--ink-soft); }
.cta-card--free .cta-card__btn { background: var(--brand-grad-cta); color: #fff; box-shadow: var(--shadow-cta); }
.cta-card--free .cta-card__btn:hover { background: var(--brand-grad-cta-h); color: #fff; }
.cta-card--free .cta-card__trust { color: var(--muted); }
.cta-card--free .cta-card__trust svg { color: var(--success); }

.cta-banner { display: grid; gap: 18px; align-items: center; margin: 40px 0 0; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-xl); color: #fff; overflow: hidden; position: relative;
	background: linear-gradient(140deg, #382FA0 0%, #4439BD 45%, #5650E6 100%); box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .cta-banner { grid-template-columns: 1.4fr auto; gap: 28px; } }
.cta-banner__title { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; margin: 0 0 6px; color: #fff; text-wrap: balance; }
.cta-banner__sub { margin: 0; font-size: 1.0625rem; line-height: 1.5; color: rgba(255,255,255,.9); }
.cta-banner__action { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
@media (min-width: 640px) { .cta-banner__action { align-items: flex-end; text-align: right; } }
.cta-banner__btn { display: inline-flex; align-items: center; white-space: nowrap; padding: 14px 26px; border-radius: var(--r-pill); background: #fff; color: var(--brand-active); font-family: var(--font-display); font-weight: 700; font-size: 1rem; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.cta-banner__btn:hover { color: var(--brand-active); text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); }
.cta-banner__trust { font-size: .8125rem; color: rgba(255,255,255,.82); }

/* CTA inline — banner de conta grátis no meio do artigo (fundo roxo, CTA branca) */
.cta-inline { position: relative; overflow: hidden; display: grid; gap: 18px; align-items: center; margin: 36px 0; padding: clamp(22px, 3.4vw, 30px) clamp(22px, 3.6vw, 34px); border-radius: var(--r-lg); color: #fff;
	background: var(--brand-grad-cta); box-shadow: 0 18px 40px -18px rgba(68,57,189,.5); }
@media (min-width: 640px) { .cta-inline { grid-template-columns: 1.5fr auto; gap: 26px; } }
.cta-inline__glow { position: absolute; inset: 0; pointer-events: none; background:
	radial-gradient(55% 70% at 90% -8%, rgba(255,255,255,.22), transparent 60%),
	radial-gradient(45% 60% at -4% 108%, rgba(33,212,253,.22), transparent 56%); }
.cta-inline__text, .cta-inline__action { position: relative; }
.cta-inline__title { font-size: clamp(1.2rem, 1rem + .9vw, 1.5rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; margin: 0 0 6px; color: #fff; text-wrap: balance; }
.cta-inline__sub { margin: 0; font-size: .9688rem; line-height: 1.5; color: rgba(255,255,255,.92); max-width: 52ch; }
.cta-inline__action { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
@media (min-width: 640px) { .cta-inline__action { align-items: center; text-align: center; } }
.cta-inline__btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 13px 24px; border-radius: var(--r-pill); background: #fff; color: var(--brand-active); font-family: var(--font-display); font-weight: 700; font-size: .9375rem; box-shadow: 0 10px 22px -12px rgba(0,0,0,.5); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.cta-inline__btn:hover { color: var(--brand-active); text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); }
.cta-inline__btn svg { transition: transform var(--dur) var(--ease); }
.cta-inline__btn:hover svg { transform: translateX(3px); }
.cta-inline__trust { font-size: .8125rem; color: rgba(255,255,255,.85); }

/* Compartilhar */
.share { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.share__label { font-family: var(--font-display); font-weight: 700; font-size: .8125rem; color: var(--ink); }
.share__links { display: flex; gap: 8px; margin-left: auto; }
.share__btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft); cursor: pointer; transition: all var(--dur) var(--ease); }
.share__btn:hover { color: #fff; background: var(--brand); border-color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.share__copy.is-copied { color: #fff; background: var(--success); border-color: var(--success); }

/* Reduções de respiro */
.home-news { padding: clamp(24px, 2.6vw, 34px) 0 0; }
