/*
Theme Name: NOTX
Theme URI: https://notx.com.br
Author: NOTX
Description: Tema de portal de notícias. Letra grossa, fundo preto arroxeado e um roxo que não pede licença. Estrutura editorial inspirada em jornais digitais (editorias, formatos, colunistas, newsletter), com o design system NOTX e a tipografia Strichpunkt Sans Extra Expanded.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: notx
Tags: news, blog, custom-menu, featured-images, translation-ready, accessibility-ready, dark-mode
*/

/* ==========================================================================
   1. Fonte (Strichpunkt Sans Extra Expanded)
   ========================================================================== */
@font-face { font-family: "Strichpunkt Sans ExtraExpanded"; src: url("assets/fonts/StrichpunktSansExtraExpanded-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Strichpunkt Sans ExtraExpanded"; src: url("assets/fonts/StrichpunktSansExtraExpanded-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Strichpunkt Sans ExtraExpanded"; src: url("assets/fonts/StrichpunktSansExtraExpanded-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Strichpunkt Sans ExtraExpanded"; src: url("assets/fonts/StrichpunktSansExtraExpanded-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Strichpunkt Sans ExtraExpanded"; src: url("assets/fonts/StrichpunktSansExtraExpanded-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Strichpunkt Sans ExtraExpanded"; src: url("assets/fonts/StrichpunktSansExtraExpanded-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* ==========================================================================
   2. Tokens (design system NOTX): escuro por padrão, claro opcional
   ========================================================================== */
:root {
	--bg: #0b0710;
	--surface: #15101f;
	--surface-raised: #1f1830;
	--line: #2e2442;
	--ink: #ffffff;
	--ink-muted: #b5a9cc;
	--purple: #7b2ff7;
	--purple-deep: #4a14b8;
	--purple-text: #b28cff;
	--on-purple: #ffffff;
	--lilac: #e2d4ff;
	--on-lilac: #0b0710;
	--alert: #ff4d6d;

	--font-display: "Strichpunkt Sans ExtraExpanded", "Arial Black", Impact, sans-serif;
	--font-sans: "Strichpunkt Sans ExtraExpanded", Arial, sans-serif;

	--space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
	--space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
	--radius-none: 0; --radius-sm: 4px; --radius-pill: 999px;
	--shadow-block: 8px 8px 0 #4a14b8;

	--maxw: 1280px;
	--gutter: var(--space-8);
	--header-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	--xpat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M12 12L36 36M36 12L12 36' stroke='%234a14b8' stroke-width='12' fill='none'/%3E%3C/svg%3E");
	color-scheme: dark;
}
:root[data-theme="light"] {
	--bg: #f6f2ff;
	--surface: #ffffff;
	--surface-raised: #ebe3ff;
	--line: #d5c8f5;
	--ink: #0b0710;
	--ink-muted: #4a3f63;
	--purple-text: #5b1fd1;
	--alert: #c4143a;
	color-scheme: light;
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 15px;
	line-height: 26px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); hyphens: auto; overflow-wrap: break-word; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--purple-text); outline-offset: 3px; }
::selection { background: var(--purple); color: var(--on-purple); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 200; background: var(--purple); color: var(--on-purple); padding: var(--space-3) var(--space-4); font-weight: 800; text-transform: uppercase; font-size: 12px; }
.skip-link:focus { top: var(--space-4); }
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { min-height: 60vh; }

/* ==========================================================================
   4. Marca e ícones
   ========================================================================== */
.logo { display: inline-block; font-family: var(--font-display); font-weight: 900; letter-spacing: -.03em; line-height: .92; color: var(--ink); }
.logo b { font-weight: 900; color: var(--purple); }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: butt; stroke-linejoin: miter; flex: none; }

/* ==========================================================================
   5. Botões, tags e filtros
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
	font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; line-height: 1;
	border: 0; border-radius: var(--radius-none); padding: 14px 24px; min-height: 44px; cursor: pointer;
	transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .15s;
}
.btn--primary { background: var(--purple); color: var(--on-purple); }
.btn--primary:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-block); }
.btn--primary:active { transform: none; box-shadow: none; background: var(--purple-deep); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--small { padding: 10px 16px; font-size: 12px; min-height: 40px; }
.btn--on-purple { background: var(--on-purple); color: #0b0710; }
.btn--on-purple:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 #0b0710; }

.live { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--alert); color: #0b0710; border-radius: var(--radius-pill); padding: 6px 12px; font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #0b0710; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--radius-pill); font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 0 0 2px var(--line); transition: background-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.chip:hover, .chip.is-active { background: var(--purple); color: var(--on-purple); box-shadow: none; }

.kicker { display: inline-block; font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-text); }
.meta { font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .01em; color: var(--ink-muted); }
.meta span + span::before { content: "·"; margin: 0 .6em; }

/* ==========================================================================
   6. Cabeçalho
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); }
.topbar { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-4); border-bottom: 3px solid var(--ink); }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: var(--space-2); }
.topbar__right { justify-content: flex-end; }
.iconbtn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; min-width: 44px; justify-content: center; font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: color .15s; }
.iconbtn:hover { color: var(--purple-text); }
.iconbtn .label { display: none; }
.topbar .logo { font-size: 32px; padding: 0 var(--space-2); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
.topbar__sub { display: none; }

.navbar { border-bottom: 1px solid var(--line); }
.navbar__list { display: flex; gap: var(--space-6); overflow-x: auto; scrollbar-width: none; padding-block: 0; }
.navbar__list::-webkit-scrollbar { display: none; }
.navbar__list li { flex: none; }
.navbar__list a { display: flex; align-items: center; min-height: 44px; font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 -4px 0 transparent; transition: box-shadow .15s; }
.navbar__list a:hover, .navbar__list .current-menu-item a, .navbar__list .current-cat a { box-shadow: inset 0 -4px 0 var(--purple); }
.navbar .live { margin-right: var(--space-4); flex: none; }
.navbar__inner { display: flex; align-items: center; }

.searchbar { background: var(--surface-raised); border-bottom: 3px solid var(--purple); }
.searchbar[hidden] { display: none; }
.searchbar form { display: flex; gap: var(--space-2); padding-block: var(--space-4); }

.field { flex: 1; min-width: 0; height: 48px; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: 500 14px/1 var(--font-sans); box-shadow: inset 0 0 0 2px var(--line); }
.field::placeholder { color: var(--ink-muted); opacity: 1; }
.field:focus { outline: 3px solid var(--purple-text); outline-offset: 0; box-shadow: none; }

/* Menu em tela cheia */
.menu { position: fixed; inset: 0; z-index: 100; background: var(--purple); color: var(--on-purple); overflow-y: auto; visibility: hidden; transform: translateY(-3%); opacity: 0; transition: transform .25s var(--ease), opacity .2s, visibility 0s .25s; }
.menu::before { content: ""; position: fixed; right: 0; bottom: 0; width: 336px; height: 240px; background: var(--xpat) 0 0 / 48px 48px; pointer-events: none; }
.menu > .container { position: relative; }
.menu.is-open { visibility: visible; transform: none; opacity: 1; transition: transform .25s var(--ease), opacity .2s; }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--on-purple); }
.menu .logo { color: var(--on-purple); font-size: 32px; }
.menu .logo b { color: var(--bg); }
.menu__body { display: grid; gap: var(--space-12); padding-block: var(--space-12) var(--space-16); }
.menu__big a { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -.03em; text-transform: uppercase; padding-block: 4px; width: fit-content; overflow-wrap: anywhere; }
.menu__big a:hover { background: var(--on-purple); color: #0b0710; padding-inline: 12px; margin-inline: -12px; }
.menu__col h2 { font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--space-4); opacity: .85; font-family: var(--font-sans); }
.menu__col li a { display: block; padding-block: 6px; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: transparent; }
.menu__col li a:hover { text-decoration-color: currentColor; }
.menu :focus-visible { outline-color: var(--on-purple); }

/* ==========================================================================
   7. Seções e títulos
   ========================================================================== */
.section { padding-block: var(--space-12); }
.section--tight { padding-block: var(--space-8); }
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); padding-bottom: var(--space-3); border-bottom: 3px solid var(--ink); }
.sechead h2 { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.sechead h2 b { color: var(--purple); font-weight: 900; }
.sechead a { font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; white-space: nowrap; }
.sechead a:hover { color: var(--ink); }

/* ==========================================================================
   8. Cartões
   ========================================================================== */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); transition: transform .15s var(--ease), box-shadow .15s var(--ease); min-width: 0; }
.card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-block); z-index: 2; }
.card__media { display: block; aspect-ratio: 4 / 3; background: var(--surface-raised); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4); flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); margin-bottom: var(--space-1); }
.card__tags .kicker + .kicker { color: var(--ink-muted); }
.card__title { font-size: 20px; line-height: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: var(--space-2); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__excerpt { color: var(--ink-muted); font-size: 13px; line-height: 22px; margin-bottom: var(--space-3); }
.card .meta { margin-top: auto; }
.card--lilac { background: var(--lilac); color: var(--on-lilac); }
.card--lilac .kicker { color: var(--purple-deep); }
.card--lilac .meta, .card--lilac .card__excerpt { color: #4a3f63; }
.card--purple { background: var(--purple); color: var(--on-purple); box-shadow: var(--shadow-block); }
.card--purple .kicker, .card--purple .meta, .card--purple .card__excerpt { color: var(--on-purple); }
.card--purple:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--purple-deep); }
.card--large .card__title { font-size: clamp(24px, 3vw, 32px); line-height: 1.12; }
.card--text .card__body { padding: var(--space-6); }

/* Quando não há imagem de destaque, o X faz a imagem */
.ph { display: block; width: 100%; height: 100%; background-color: var(--purple); background-image: var(--xpat); background-size: 48px 48px; background-position: 12px 12px; }
.ph--1 { background-color: var(--lilac); }
.ph--2 { background-color: var(--purple-deep); background-image: none; display: grid; place-items: center; }
.ph--2::before { content: "X"; font-family: var(--font-display); font-weight: 900; font-size: 96px; color: var(--purple); line-height: 1; }

/* Linha (lista de mais recentes) */
.row { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid var(--line); position: relative; }
.row:first-child { padding-top: 0; }
.row__time { font-size: 12px; line-height: 18px; font-weight: 700; color: var(--purple-text); }
.row__title { font-size: 17px; line-height: 22px; font-weight: 700; letter-spacing: -.015em; margin: var(--space-1) 0 var(--space-2); }
.row__title a::after { content: ""; position: absolute; inset: 0; }
.row:hover .row__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--purple); }

/* ==========================================================================
   9. Capa
   ========================================================================== */
.hero { display: grid; grid-template-columns: repeat(12, 1fr); padding-top: var(--space-8); align-items: stretch; }
.hero__block { grid-column: 1 / 9; grid-row: 1; background: var(--purple); color: var(--on-purple); padding: var(--space-8) var(--space-8) var(--space-12); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-4); min-height: 440px; position: relative; padding-right: clamp(24px, 9vw, 140px); }
.hero__block .kicker, .hero__block .meta { color: var(--on-purple); }
.hero__title { font-size: clamp(28px, 4.9vw, 68px); line-height: .98; font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }
.hero__title a::after { content: ""; position: absolute; inset: 0; }
.hero__sub { font-size: clamp(15px, 1.6vw, 20px); line-height: 1.4; font-weight: 600; letter-spacing: -.005em; max-width: 36em; }
.hero__media { grid-column: 8 / 13; grid-row: 1; align-self: center; margin-block: var(--space-8) calc(var(--space-8) * -1); aspect-ratio: 1 / 1; box-shadow: var(--shadow-block); overflow: hidden; z-index: 1; background: var(--surface-raised); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero:hover .hero__title { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .1em; }
.hero + .section { padding-top: calc(var(--space-12) + var(--space-8)); }

.grid { display: grid; gap: var(--space-6); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-12); align-items: start; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 60px); display: grid; gap: var(--space-8); }

.formats { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; padding-block: var(--space-4); }
.formats::-webkit-scrollbar { display: none; }
.formats__label { flex: none; align-self: center; font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-right: var(--space-2); }
.formats-bar { border-block: 1px solid var(--line); }

.editoria { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.editoria .card:first-child { grid-column: span 2; }
.editoria--2 { grid-template-columns: repeat(2, 1fr); }
.editoria--2 .card:first-child { grid-column: auto; }
.editoria .card:first-child .card__media { aspect-ratio: 16 / 10; }
.editoria .card:first-child .card__title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.12; }

/* Blocos de cor */
.block { padding: var(--space-8); }
.block--lilac { background: var(--lilac); color: var(--on-lilac); }
.block--lilac .kicker { color: var(--purple-deep); }
.block--purple { background: var(--purple); color: var(--on-purple); }
.block--lilac, .block--purple { position: relative; isolation: isolate; overflow: hidden; }
.block--lilac::before, .block--purple::before { content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 192px; height: 96px; background: var(--xpat) 0 0 / 48px 48px; pointer-events: none; }
.block h2, .block h3 { font-weight: 900; letter-spacing: -.025em; text-transform: uppercase; line-height: 1; }
.newsletter::before { width: 144px; height: 48px; }
.newsletter h3 { font-size: clamp(24px, 2.6vw, 34px); margin: var(--space-3) 0; }
.newsletter p { margin-bottom: var(--space-4); font-weight: 600; }
.newsletter form { display: grid; gap: var(--space-2); position: relative; }
.block--lilac .field { background: #fff; color: #0b0710; box-shadow: inset 0 0 0 3px #0b0710; border-radius: var(--radius-none); }
.block--lilac .field::placeholder { color: #4a3f63; }
.block--lilac .btn--primary { width: 100%; }
.fineprint { font-size: 11px; line-height: 16px; margin-top: var(--space-3); opacity: .85; font-weight: 500; }

.cta { display: grid; grid-template-columns: 1fr auto; gap: var(--space-8); align-items: end; padding: var(--space-12) var(--space-8); }
.cta::before { top: auto; bottom: 0; width: 336px; height: 192px; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(32px, 6vw, 88px); line-height: .92; font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }
.cta .kicker { color: var(--on-purple); margin-bottom: var(--space-4); }
.cta p { margin-top: var(--space-4); font-weight: 600; max-width: 34em; }

.colunists { background: var(--surface-raised); }
.colunist { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-4); align-items: start; padding: var(--space-4); background: var(--surface); position: relative; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.colunist:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-block); }
.colunist__av { width: 72px; height: 72px; background: var(--purple); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 28px; color: var(--on-purple); overflow: hidden; }
.colunist__av img { width: 100%; height: 100%; object-fit: cover; }
.colunist h3 { font-size: 14px; line-height: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; }
.colunist p { font-size: 13px; line-height: 20px; color: var(--ink-muted); margin-top: var(--space-2); font-weight: 500; }
.colunist a::after { content: ""; position: absolute; inset: 0; }

/* ==========================================================================
   10. Matéria
   ========================================================================== */
.progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; z-index: 120; transform: scaleX(0); transform-origin: 0 50%; background: var(--purple); pointer-events: none; }
.article__head { padding-top: var(--space-12); max-width: 1000px; }
.article__head .kicker { margin-bottom: var(--space-4); }
.article__tags { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); }
.article__tags .kicker + .kicker { color: var(--ink-muted); }
.article__title { font-size: clamp(28px, 4.6vw, 52px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; }
.article__sub { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.45; font-weight: 600; letter-spacing: -.005em; color: var(--ink-muted); margin-top: var(--space-6); max-width: 36em; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); margin-top: var(--space-8); padding-block: var(--space-4); border-block: 1px solid var(--line); }
.byline { display: flex; align-items: center; gap: var(--space-3); }
.byline__av { width: 40px; height: 40px; background: var(--purple); display: grid; place-items: center; font-weight: 900; font-size: 16px; color: var(--on-purple); overflow: hidden; }
.byline__av img { width: 100%; height: 100%; object-fit: cover; }
.byline strong { display: block; font-size: 13px; line-height: 18px; font-weight: 700; }
.article__layout { display: grid; grid-template-columns: 56px minmax(0, 1fr) 340px; gap: var(--space-8); margin-top: var(--space-8); align-items: start; }
.article__main { min-width: 0; }
.article__fig { margin: 0 0 var(--space-8); }
.article__fig img { width: 100%; }
.article__fig figcaption { margin-top: var(--space-3); }
.share { position: sticky; top: calc(var(--header-h) + 72px); display: grid; gap: var(--space-2); }
.share a, .share button { width: 44px; height: 44px; display: grid; place-items: center; box-shadow: inset 0 0 0 2px var(--line); transition: background-color .15s, color .15s; }
.share a:hover, .share button:hover { background: var(--purple); color: var(--on-purple); box-shadow: none; }
.share .icon { width: 20px; height: 20px; stroke-width: 2.5; }
.share .icon-ok { display: none; }
.share .is-copied .icon:not(.icon-ok) { display: none; }
.share .is-copied .icon-ok { display: block; }

/* Barra lateral */
.sidebar__inner { position: sticky; top: calc(var(--header-h) + 72px); display: grid; gap: var(--space-8); }
.widget__title { font-size: 18px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; padding-bottom: var(--space-3); margin-bottom: var(--space-4); border-bottom: 3px solid var(--ink); }
.widget__title b { color: var(--purple); font-weight: 900; }
.sidebar .widget ul { display: grid; gap: var(--space-2); }
.sidebar .widget a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.sidebar .row, .sidebar .row:first-of-type { grid-template-columns: 48px 1fr; padding-block: var(--space-3); }
.sidebar .row:first-of-type { padding-top: 0; }
.sidebar .row__title { font-size: 15px; line-height: 20px; margin-top: 0; }
.sidebar .row__title a { text-decoration: none !important; }
.formats--wrap { flex-wrap: wrap; overflow: visible; padding-block: 0; }
.sidebar .chip { min-height: 36px; }

.prose { font-size: 15px; line-height: 26px; }
.prose > * + * { margin-top: var(--space-6); }
.prose h2 { font-size: 24px; line-height: 28px; font-weight: 800; letter-spacing: -.02em; margin-top: var(--space-12); }
.prose h3 { font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -.01em; margin-top: var(--space-8); }
.prose a { color: var(--purple-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: var(--space-6); }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: var(--space-2); }
.prose li::marker { color: var(--purple-text); font-weight: 800; }
.prose blockquote { background: var(--purple); color: var(--on-purple); padding: var(--space-8); font-family: var(--font-display); font-weight: 800; font-size: 20px; line-height: 28px; letter-spacing: -.015em; box-shadow: var(--shadow-block); margin-block: var(--space-12); }
.prose blockquote cite { display: block; margin-top: var(--space-4); font: 500 12px/18px var(--font-sans); font-style: normal; letter-spacing: .01em; }
.prose figure img { width: 100%; }
.prose figcaption, .wp-caption-text { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--ink-muted); margin-top: var(--space-2); }
.prose hr { border: 0; height: 12px; background: var(--xpat) 0 0 / 48px 48px repeat-x; margin-block: var(--space-12); }
.prose table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 20px; }
.prose th { text-align: left; font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .1em; background: var(--surface-raised); }
.prose th, .prose td { padding: var(--space-3); border-bottom: 1px solid var(--line); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose code { background: var(--surface-raised); padding: 2px 6px; font-size: 13px; }
.prose .alignleft { float: left; margin: 0 var(--space-6) var(--space-4) 0; max-width: 50%; }
.prose .alignright { float: right; margin: 0 0 var(--space-4) var(--space-6); max-width: 50%; }
.prose::after { content: ""; display: table; clear: both; }
.prose > p:first-child::first-line { font-weight: 600; }

.article__foot { margin-top: var(--space-12); display: grid; gap: var(--space-8); }
.tagline { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.authorbox { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-6); background: var(--lilac); color: var(--on-lilac); padding: var(--space-6); align-items: start; }
.authorbox .colunist__av { width: 96px; height: 96px; font-size: 36px; }
.authorbox .kicker { color: var(--purple-deep); }
.authorbox h3 { font-size: 20px; line-height: 24px; font-weight: 800; letter-spacing: -.015em; margin: var(--space-1) 0 var(--space-2); }
.authorbox p { font-weight: 500; font-size: 13px; line-height: 22px; }
.authorbox a.more { display: inline-block; margin-top: var(--space-3); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.related { margin-top: var(--space-16); }


/* ==========================================================================
   11. Arquivos, busca, página, 404
   ========================================================================== */
.archhead { padding-block: var(--space-12) var(--space-8); }
.archhead.block { margin-top: var(--space-8); padding: var(--space-12) var(--space-8); }
.archhead h1 { font-size: clamp(36px, 7vw, 88px); line-height: .92; font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }
.archhead p { margin-top: var(--space-4); max-width: 40em; font-weight: 600; }
.archhead .kicker { margin-bottom: var(--space-4); }
.archhead .count { margin-top: var(--space-4); }
.archhead.block--purple .kicker, .archhead.block--purple .count { color: var(--on-purple); }

.pagination { margin-top: var(--space-12); }
.pagination .nav-links, .pagination ul { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 var(--space-3); font-weight: 800; font-size: 13px; box-shadow: inset 0 0 0 2px var(--line); transition: background-color .15s, color .15s; }
a.page-numbers:hover { background: var(--ink); color: var(--bg); box-shadow: none; }
.page-numbers.current { background: var(--purple); color: var(--on-purple); box-shadow: none; }

.page__head { padding-block: var(--space-12) var(--space-8); max-width: 1000px; }
.page__title { font-size: clamp(32px, 5.5vw, 64px); line-height: .98; font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; }
.page__body { max-width: 62ch; padding-bottom: var(--space-16); }
.empty { padding: var(--space-12) var(--space-8); background: var(--surface); max-width: 720px; }
.empty h2 { font-size: 28px; line-height: 32px; font-weight: 800; letter-spacing: -.015em; margin-bottom: var(--space-3); }
.empty form { display: flex; gap: var(--space-2); margin-top: var(--space-6); }
.e404 { padding-block: var(--space-16); display: grid; gap: var(--space-6); justify-items: start; }
.e404 .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(96px, 22vw, 280px); line-height: .85; letter-spacing: -.04em; }
.e404 .big b { color: var(--purple); }

/* Redes sociais (ícones) */
.socials { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.socials li { display: block; }
a.social { display: grid !important; place-items: center; width: 44px; height: 44px; padding: 0 !important; box-shadow: inset 0 0 0 2px var(--line); text-decoration: none !important; transition: background-color .15s, color .15s; }
a.social:hover { background: var(--purple); color: var(--on-purple); box-shadow: none; }
a.social .icon { width: 20px; height: 20px; stroke-width: 2.5; }

/* Busca em tempo real */
.livesearch { padding-bottom: var(--space-4); max-height: min(60vh, 440px); overflow-y: auto; }
.livesearch[hidden] { display: none; }
.livesearch__status { padding: var(--space-3) 0; font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.livesearch ul { display: grid; }
.livesearch li a { display: grid; grid-template-columns: 1fr auto; gap: var(--space-4); align-items: baseline; padding: var(--space-3) var(--space-3); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; line-height: 20px; letter-spacing: -.01em; }
.livesearch li a:hover, .livesearch li a.is-active, .livesearch li a:focus-visible { background: var(--purple); color: var(--on-purple); outline-offset: -3px; }
.livesearch li a:hover .meta, .livesearch li a.is-active .meta { color: var(--on-purple); }
.livesearch li mark { background: var(--lilac); color: var(--on-lilac); padding: 0 2px; }
.livesearch__all { display: inline-block; margin-top: var(--space-3); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Assinatura */
.subscribe { display: block; }
.subscribe__form { display: grid; gap: var(--space-4); }
.newsletter .subscribe__form { gap: var(--space-2); }
.signup { margin-top: var(--space-12); }
.signup h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: var(--space-3); }
.signup p { font-weight: 600; margin-bottom: var(--space-4); }
.block--lilac .form__row label { color: var(--on-lilac); }
.block--lilac .notice--ok { background: var(--on-lilac); color: var(--lilac); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); align-items: start; font-size: 13px; line-height: 20px; font-weight: 600; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--purple); }
.check a, .fineprint a { text-decoration: underline; text-underline-offset: 3px; }

/* Formulário de contato */
.form { display: grid; gap: var(--space-4); margin-top: var(--space-8); }
.form__row label { display: block; font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--space-2); }
.form textarea.field { height: auto; min-height: 160px; padding: var(--space-4); font-family: var(--font-sans); line-height: 22px; resize: vertical; }
.form__trap { position: absolute; left: -9999px; }
.form .btn { width: fit-content; }
.notice { padding: var(--space-4); font-weight: 600; margin-top: var(--space-6); }
.notice--ok { background: var(--lilac); color: var(--on-lilac); }
.notice--err { background: var(--alert); color: #0b0710; }

/* ==========================================================================
   12. Rodapé
   ========================================================================== */
.site-footer { margin-top: var(--space-16); background: var(--surface); border-top: 3px solid var(--purple); padding-top: var(--space-12); }
.footer__top { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-12); padding-bottom: var(--space-12); }
.footer__brand .logo { font-size: clamp(64px, 9vw, 120px); }
.footer__brand p { margin-top: var(--space-4); font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.005em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.footer__cols h2 { font-family: var(--font-sans); font-size: 11px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple-text); margin-bottom: var(--space-4); }
.footer__cols li a { display: block; padding-block: 6px; font-size: 13px; line-height: 18px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: transparent; }
.footer__cols li a:hover { text-decoration-color: var(--purple); }
.footer__bottom { border-top: 1px solid var(--line); padding-block: var(--space-6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-8); }
.footer__x { height: 48px; background: var(--xpat) 0 0 / 48px 48px repeat-x; opacity: .9; }

/* ==========================================================================
   13. Responsivo
   ========================================================================== */
@media (min-width: 900px) {
	.iconbtn .label { display: inline; }
	.topbar .logo { font-size: 40px; }
	.menu__body { grid-template-columns: 7fr 5fr; }
}
@media (max-width: 1100px) {
	.article__layout { grid-template-columns: 56px minmax(0, 1fr); }
	.sidebar { grid-column: 2; }
	.sidebar__inner { position: static; }
	.hero__block { grid-column: 1 / 10; }
	.hero__media { grid-column: 8 / 13; }
}
@media (max-width: 899px) {
	:root { --gutter: 20px; --header-h: 56px; --shadow-block: 6px 6px 0 #4a14b8; }
	.grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; gap: var(--space-12); }
	.aside-sticky { position: static; }
	.editoria { grid-template-columns: repeat(2, 1fr); }
	.hero { display: flex; flex-direction: column-reverse; padding-top: var(--space-4); }
	.hero__media { margin: 0 0 0; aspect-ratio: 4 / 3; box-shadow: none; width: 100%; }
	.hero__block { min-height: 0; padding: var(--space-6) var(--space-4) var(--space-8); box-shadow: var(--shadow-block); margin-right: 6px; }
	.hero + .section { padding-top: var(--space-12); }
	.cta { grid-template-columns: 1fr; padding: var(--space-8) var(--space-6); }
	.footer__top { grid-template-columns: 1fr; gap: var(--space-8); }
	.footer__cols { grid-template-columns: repeat(2, 1fr); }
	.article__layout { grid-template-columns: 1fr; gap: var(--space-6); }
	.sidebar { grid-column: auto; }
	.share { position: static; grid-auto-flow: column; justify-content: start; order: 1; }
	.article__main { order: 0; }
	.sidebar { order: 2; }
	.authorbox { grid-template-columns: 1fr; }
	.topbar__sub { display: none; }
	.topbar .btn { display: none; }
	.block { padding: var(--space-6); }
}
@media (max-width: 560px) {
	.grid--3, .grid--4, .editoria { grid-template-columns: 1fr; }
	.editoria .card:first-child { grid-column: auto; }
	.footer__cols { grid-template-columns: 1fr; }
	.row { grid-template-columns: 44px 1fr; gap: var(--space-3); }
	.empty form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.card:hover, .btn--primary:hover, .colunist:hover { transform: none; }
}
@media print {
	.site-header, .site-footer, .share, .related, .sidebar, .progress, .menu { display: none !important; }
	body { background: #fff; color: #000; }
}

.subscribe .field { width: 100%; }
.signup::before { display: none; }
.check input { background: #fff; }

/* ==========================================================================
   14. Acessibilidade (painel e modos)
   ========================================================================== */
.a11y { position: fixed; z-index: 90; top: calc(var(--header-h) + 8px); right: var(--gutter); width: min(380px, calc(100vw - var(--gutter) * 2)); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; background: var(--surface); color: var(--ink); box-shadow: 0 0 0 3px var(--ink), var(--shadow-block); padding: var(--space-4); display: grid; gap: var(--space-2); }
.a11y[hidden] { display: none; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--space-3); border-bottom: 3px solid var(--ink); margin-bottom: var(--space-2); }
.a11y__head h2 { font-size: 18px; line-height: 1.1; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }
.a11y__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-2); }
.a11y__label { font-size: 13px; font-weight: 700; }
.a11y__step { display: flex; align-items: center; gap: var(--space-2); }
.a11y__step button { width: 44px; height: 44px; font-weight: 800; font-size: 13px; box-shadow: inset 0 0 0 2px var(--ink); transition: background-color .15s, color .15s; }
.a11y__step button:hover { background: var(--ink); color: var(--bg); }
.a11y__step output { min-width: 52px; text-align: center; font-weight: 800; font-size: 13px; }
.a11y__toggle { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-3); align-items: center; text-align: left; padding: var(--space-2); min-height: 56px; box-shadow: inset 0 0 0 2px var(--line); transition: background-color .15s; }
.a11y__toggle:hover { background: var(--surface-raised); }
.a11y__toggle[hidden] { display: none; }
.a11y__toggle strong { display: block; font-size: 13px; line-height: 18px; font-weight: 800; }
.a11y__toggle small { display: block; font-size: 11px; line-height: 16px; font-weight: 500; color: var(--ink-muted); }
.a11y__sw { width: 44px; height: 24px; background: var(--surface-raised); box-shadow: inset 0 0 0 2px var(--ink); position: relative; }
.a11y__sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; background: var(--ink); transition: transform .15s var(--ease), background-color .15s; }
.a11y__toggle[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--purple); }
.a11y__toggle[aria-pressed="true"] .a11y__sw { background: var(--purple); box-shadow: none; }
.a11y__toggle[aria-pressed="true"] .a11y__sw::after { transform: translateX(20px); background: var(--on-purple); }
.a11y__sw--icon { display: grid; place-items: center; background: none; box-shadow: none; width: 44px; height: 44px; }
.a11y__sw--icon::after { display: none; }
.a11y__reset { justify-self: start; margin-top: var(--space-2); }

.ruler { position: fixed; z-index: 150; left: 0; width: 100%; height: 56px; top: 40%; border-block: 3px solid var(--purple-text); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .6); pointer-events: none; }
.ruler[hidden] { display: none; }

/* Tamanho do texto: amplia a página inteira em 4 níveis */
html[data-a11y-fs="1"] body { zoom: 1.1; }
html[data-a11y-fs="2"] body { zoom: 1.25; }
html[data-a11y-fs="3"] body { zoom: 1.5; }

/* Alto contraste */
:root[data-a11y-contrast="high"], :root[data-a11y-contrast="high"][data-theme="light"] { --bg: #000; --surface: #000; --surface-raised: #111; --line: #fff; --ink: #fff; --ink-muted: #fff; --purple-text: #ffe14d; --alert: #ff8095; color-scheme: dark; }
html[data-a11y-contrast="high"] a:not(.btn):not(.chip):not(.social):not(.card__media) { text-decoration: underline; text-underline-offset: 3px; }
html[data-a11y-contrast="high"] .card:not(.card--lilac):not(.card--purple), html[data-a11y-contrast="high"] .colunist, html[data-a11y-contrast="high"] .a11y { box-shadow: inset 0 0 0 2px #fff; }
html[data-a11y-contrast="high"] .card:not(.card--lilac):not(.card--purple):hover { box-shadow: var(--shadow-block), inset 0 0 0 2px #fff; }
html[data-a11y-contrast="high"] .meta, html[data-a11y-contrast="high"] .card__excerpt { color: #fff; }
html[data-a11y-contrast="high"] .card--lilac .meta, html[data-a11y-contrast="high"] .card--lilac .card__excerpt { color: #0b0710; }
html[data-a11y-contrast="high"] .field { box-shadow: inset 0 0 0 3px #fff; }

/* Fonte simples (sem a fonte extra larga) */
html[data-a11y-font="plain"] { --font-display: Verdana, Arial, system-ui, sans-serif; --font-sans: Verdana, Arial, system-ui, sans-serif; }
html[data-a11y-font="plain"] h1, html[data-a11y-font="plain"] h2, html[data-a11y-font="plain"] h3, html[data-a11y-font="plain"] .logo { letter-spacing: 0; }

/* Mais espaço no texto (WCAG 1.4.12) */
html[data-a11y-spacing="wide"] body { letter-spacing: .06em; word-spacing: .16em; }
html[data-a11y-spacing="wide"] .prose, html[data-a11y-spacing="wide"] .card__excerpt, html[data-a11y-spacing="wide"] .article__sub { line-height: 1.9; }
html[data-a11y-spacing="wide"] .prose > * + * { margin-top: 2em; }

/* Sublinhar links */
html[data-a11y-links="on"] a:not(.btn):not(.social):not(.card__media):not(.chip) { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* Parar animações */
html[data-a11y-motion="off"] *, html[data-a11y-motion="off"] *::before, html[data-a11y-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-a11y-motion="off"] .card:hover, html[data-a11y-motion="off"] .btn--primary:hover, html[data-a11y-motion="off"] .colunist:hover { transform: none; }
@media (max-width: 899px) { .a11y { right: 12px; } }
@media print { .a11y, .ruler { display: none !important; } }

/* ==========================================================================
   15. Publicidade e aviso de cookies
   ========================================================================== */
.ad { display: block; margin-block: var(--space-6); text-align: center; }
.ad-wrap .ad { margin-block: var(--space-6); }
.ad__label { display: block; font-size: 10px; line-height: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); text-align: left; margin-bottom: var(--space-2); }
.ad__body { display: flex; justify-content: center; align-items: center; max-width: 100%; overflow: hidden; background: var(--surface-raised); }
.ad__body a { display: block; line-height: 0; }
.ad__body img { max-width: 100%; height: auto; }
.ad--capa_lateral, .ad--materia_lateral { margin-block: 0; }
.ad--capa_lateral .ad__body, .ad--materia_lateral .ad__body { max-width: 300px; }
.ad--materia_meio { margin-block: var(--space-8); clear: both; }
.ad--materia_meio .ad__body { max-width: 336px; margin-inline: auto; }
.ad--topo, .ad--rodape, .ad--capa_meio, .ad--materia_fim { margin-block: var(--space-6); }
.ad--materia_fim { margin-top: var(--space-12); }

.cookies { position: fixed; z-index: 80; left: var(--gutter); bottom: var(--space-4); max-width: 520px; display: flex; gap: var(--space-4); align-items: center; background: var(--surface); color: var(--ink); padding: var(--space-4); box-shadow: 0 0 0 3px var(--ink), var(--shadow-block); font-size: 12px; line-height: 18px; font-weight: 500; }
.cookies[hidden] { display: none; }
.cookies a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.cookies .btn { flex: none; }
@media (max-width: 560px) { .cookies { left: 12px; right: 12px; flex-direction: column; align-items: stretch; } }
@media print { .ad, .cookies { display: none !important; } }
