/*
Theme Name: Núcleo Cristão
Author: Projeto Núcleo Cristão
Description: Tema editorial e comercial para conteúdo cristão e venda de e-books, com categorias dinâmicas e integração WooCommerce.
Version: 2.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nucleo-cristao
Tags: blog, education, e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
	--ink: #0b0c10;
	--ink-soft: #242832;
	--blue: #165dff;
	--blue-deep: #0d3fbf;
	--blue-pale: #e9efff;
	--white: #fff;
	--site-bg: #fff;
	--card-bg: #fff;
	--header-bg: #fff;
	--header-text: #0b0c10;
	--header-hover-bg: #f1f2f4;
	--footer-bg: #0b0c10;
	--footer-text: #fff;
	--article-bg: #fff;
	--article-text: #0b0c10;
	--hero-bg: #fff;
	--journey-bg: #f7f7f5;
	--carousel-bg: #fff;
	--latest-bg: #f7f7f5;
	--ebook-bg: #0b0c10;
	--ebook-text: #fff;
	--newsletter-bg: #165dff;
	--newsletter-text: #fff;
	--paper: #f7f7f5;
	--gray-50: #f1f2f4;
	--gray-100: #e4e6ea;
	--gray-300: #b7bdc8;
	--gray-500: #667080;
	--gray-700: #343a46;
	--line: rgba(11, 12, 16, 0.13);
	--card-border: #e4e6ea;
	--font-ui: "DM Sans", Arial, sans-serif;
	--font-reading: "Source Serif 4", Georgia, serif;
	--shell: 1200px;
	--reading: 760px;
	--radius-sm: 10px;
	--radius-md: 18px;
	--radius-lg: 28px;
	--ease: cubic-bezier(0.2, 0.72, 0.25, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--site-bg);
	color: var(--ink);
	font-family: var(--font-ui);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-open,
body.search-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, [type="button"], [type="submit"] { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
:focus-visible { outline: 3px solid rgba(22, 93, 255, 0.42); outline-offset: 4px; }
::selection { background: #cfdcff; color: var(--ink); }

.site-shell,
.reading-shell { width: calc(100% - 32px); margin-inline: auto; }
.site-shell { max-width: var(--shell); }
.reading-shell { max-width: var(--reading); }

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

.screen-reader-text:focus {
	top: 12px;
	left: 12px;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--white);
	color: var(--ink);
	font-weight: 700;
}

.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 12px 19px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-family: var(--font-ui);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
	transition: transform 180ms var(--ease), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; }
.button--large { min-height: 54px; padding-inline: 23px; }

.button--primary,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit { background: var(--blue); color: var(--white); }

.button--primary:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover { background: var(--blue-deep); color: var(--white); }

.button--quiet { border-color: var(--line); background: var(--white); color: var(--ink); }
.button--quiet:hover { border-color: var(--ink); }
.button--light { background: var(--white); color: var(--ink); }

.text-link,
.article-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	font-size: 0.88rem;
	font-weight: 700;
}

.text-link { border-bottom: 1px solid currentColor; }
.text-link svg,
.article-card__link svg { width: 18px; height: 18px; transition: transform 180ms ease; }
.text-link:hover svg,
.article-card__link:hover svg { transform: translateX(4px); }

.overline,
.eyebrow {
	margin: 0 0 16px;
	color: var(--blue-deep);
	font-family: var(--font-ui);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	line-height: 1.3;
	text-transform: uppercase;
}

.section { padding-block: 88px; }
.section--soft { padding-block: 72px; background: var(--paper); }
.section-heading { margin-bottom: 36px; }
.section-heading h2 { max-width: 780px; margin: 0; font-size: clamp(2rem, 7vw, 4rem); letter-spacing: -0.055em; line-height: 0.99; }
.section-heading > p:not(.overline),
.section-heading > div + p { max-width: 590px; margin: 20px 0 0; color: var(--gray-500); }

/* Cabeçalho */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: 68px;
	border-bottom: 1px solid var(--line);
	background: var(--header-bg);
	color: var(--header-text);
	backdrop-filter: blur(12px);
}
.site-header--static { position: relative; }

.site-header__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; height: 100%; }
.site-branding { position: relative; z-index: 3; }
.custom-logo-link,
.brand-wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 0.96rem; font-weight: 700; letter-spacing: -0.025em; }
.custom-logo { width: auto; max-width: var(--logo-width, 220px); max-height: 42px; }

.brand-mark {
	position: relative;
	display: grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}

.brand-mark::before,
.brand-mark span { position: absolute; content: ""; background: currentColor; }
.brand-mark::before { width: 1.5px; height: 13px; }
.brand-mark span { top: 8px; width: 9px; height: 1.5px; }

.primary-navigation {
	position: fixed;
	inset: 68px 0 auto;
	z-index: 2;
	padding: 18px 16px 28px;
	border-bottom: 1px solid var(--line);
	background: var(--header-bg);
	transform: translateY(-120%);
	visibility: hidden;
	transition: transform 240ms var(--ease), visibility 240ms;
}

.menu-open .primary-navigation { transform: translateY(0); visibility: visible; }
.primary-menu,
.footer-menu,
.footer-widget ul { padding: 0; margin: 0; list-style: none; }
.primary-menu { display: grid; gap: 3px; }
.primary-menu a { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border-radius: 8px; font-size: 0.94rem; font-weight: 600; }
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a { background: var(--header-hover-bg); }
.primary-menu .sub-menu { display: grid; gap: 2px; padding: 4px 0 4px 18px; margin: 0; list-style: none; }
.primary-menu .sub-menu a { min-height: 44px; font-size: 0.86rem; }
.primary-menu .menu-item-has-children > a::after { display: inline-block; width: 7px; height: 7px; margin-left: auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: rotate(45deg) translateY(-2px); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.header-cta { display: none; }

.icon-button,
.menu-toggle,
.reading-rail a,
.reading-rail button,
.carousel-controls button { display: inline-grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid transparent; background: transparent; color: inherit; }
.icon-button:hover,
.menu-toggle:hover { background: var(--header-hover-bg); }
.icon-button svg { width: 21px; height: 21px; }
.cart-link { position: relative; }
.cart-count { position: absolute; top: 3px; right: 1px; display: grid; min-width: 18px; height: 18px; padding-inline: 4px; place-items: center; border: 2px solid var(--header-bg); border-radius: 999px; background: var(--blue); color: var(--white); font-size: 0.62rem; font-weight: 700; }
.menu-toggle { position: relative; border-radius: 8px; }
.menu-toggle > span:not(.screen-reader-text) { position: absolute; width: 20px; height: 1.5px; background: currentColor; transition: transform 200ms ease; }
.menu-toggle > span:last-child { transform: translateY(6px); }
.menu-open .menu-toggle > span:nth-child(2) { transform: rotate(45deg); }
.menu-open .menu-toggle > span:last-child { transform: rotate(-45deg); }

/* Busca */
.search-dialog { width: min(calc(100% - 24px), 680px); padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: 0 30px 80px rgba(11, 12, 16, 0.2); }
.search-dialog::backdrop { background: rgba(11, 12, 16, 0.58); }
.search-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.search-dialog__bar p { margin: 0; font-size: 1.18rem; font-weight: 700; }
.search-form { display: flex; gap: 8px; }
.search-field,
.entry-content input:not([type="submit"]),
.entry-content textarea,
.comment-form input:not([type="submit"]),
.comment-form textarea,
.woocommerce input.input-text,
.woocommerce select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: 8px; background: var(--white); color: var(--ink); }
.search-dialog__hint { margin: 14px 0 0; color: var(--gray-500); font-size: 0.82rem; }

/* Home: linha global ao fundo e hero inspirado na hierarquia Wexo */
.home-main {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.home-main > section {
	position: relative;
}

.home-main .site-shell {
	position: relative;
	z-index: 3;
}

.home-scroll-drawing {
	position: absolute;
	inset: 0 auto 0 50%;
	z-index: 2;
	width: 100%;
	max-width: none;
	height: 100%;
	overflow: visible;
	color: var(--blue);
	transform: translateX(-50%);
	pointer-events: none;
}

.wexo-hero { position: relative; overflow: hidden; padding: 50px 0 0; background: var(--hero-bg); }
.wexo-hero__inner { text-align: center; }
.signal-strip { display: inline-flex; max-width: 100%; margin-bottom: 34px; overflow-x: auto; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); white-space: nowrap; scrollbar-width: none; }
.signal-strip::-webkit-scrollbar { display: none; }
.signal-strip span { position: relative; padding: 8px 13px; color: var(--gray-700); font-size: 0.69rem; font-weight: 600; }
.signal-strip span + span::before { position: absolute; top: 50%; left: 0; width: 3px; height: 3px; border-radius: 50%; background: var(--gray-300); content: ""; }
.wexo-hero .overline { margin-bottom: 18px; }
.wexo-hero h1 { max-width: 1000px; margin: 0 auto; font-size: clamp(3.3rem, 15vw, 7.7rem); font-weight: 700; letter-spacing: -0.075em; line-height: 0.86; }
.wexo-hero__lead { max-width: 680px; margin: 28px auto 0; color: var(--gray-500); font-size: 1.02rem; line-height: 1.65; }
.wexo-hero__actions { display: grid; gap: 10px; width: 100%; max-width: 330px; margin: 28px auto 48px; }

.reading-window { position: relative; z-index: 1; max-width: 1090px; margin: 0 auto -90px; overflow: hidden; border: 1px solid rgba(11, 12, 16, 0.16); border-radius: 14px 14px 0 0; background: var(--white); box-shadow: 0 36px 90px rgba(18, 28, 48, 0.16); text-align: left; }
.reading-window__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 48px; padding: 6px 12px; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--gray-500); font-size: 0.69rem; font-weight: 600; }
.reading-window__bar > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reading-window__bar a { display: grid; width: 36px; height: 36px; place-items: center; }
.reading-window__bar svg { width: 18px; height: 18px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-300); }
.reading-window__body { display: grid; background: var(--white); }
.lead-reading { display: grid; grid-template-rows: minmax(220px, 52vw) auto; min-width: 0; }
.lead-reading__visual { display: block; min-height: 220px; overflow: hidden; background: #dce4f4; }
.lead-reading__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.lead-reading:hover .lead-reading__visual img { transform: scale(1.025); }
.editorial-placeholder,
.article-card__placeholder { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--blue-pale); }
.editorial-placeholder::before { position: absolute; inset: 12% 8%; border: 1px solid rgba(22, 93, 255, 0.35); content: ""; transform: rotate(-5deg); }
.editorial-placeholder i { position: absolute; width: 42%; aspect-ratio: 1; border: 1px solid rgba(13, 63, 191, 0.3); border-radius: 50%; }
.editorial-placeholder i:nth-child(1) { top: -11%; right: -5%; }
.editorial-placeholder i:nth-child(2) { bottom: -18%; left: 10%; width: 55%; }
.editorial-placeholder i:nth-child(3) { top: 34%; left: 38%; width: 22%; background: var(--blue); }
.lead-reading__copy { display: flex; flex-direction: column; align-items: flex-start; padding: 23px; }
.lead-reading__copy small,
.perspective-slide__copy small { color: var(--blue-deep); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.lead-reading__copy strong { max-width: 680px; margin-top: 11px; font-family: var(--font-reading); font-size: clamp(1.65rem, 7vw, 3.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.lead-reading__copy > span { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--gray-500); font-size: 0.76rem; font-weight: 600; }
.lead-reading__copy svg { width: 17px; height: 17px; }
.reading-queue { border-top: 1px solid var(--line); background: var(--paper); }
.reading-queue > p { padding: 17px 18px 8px; margin: 0; color: var(--gray-500); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.reading-queue a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 62px; padding: 9px 16px; border-top: 1px solid var(--line); }
.reading-queue a:hover { background: var(--white); }
.reading-queue a span { color: var(--blue); font-size: 0.66rem; font-weight: 700; }
.reading-queue a strong { overflow: hidden; font-family: var(--font-reading); font-size: 0.94rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.reading-queue svg { width: 16px; height: 16px; }

/* Home: categorias e linha desenhada ao rolar */
.journey-section { position: relative; overflow: hidden; padding-top: 176px; background: var(--journey-bg); }
.journey-section__inner { position: relative; z-index: 1; }
.section-heading--editorial { max-width: 760px; }
.scroll-drawing__progress {
	fill: none;
	stroke: currentColor;
	stroke-width: 8;
	opacity: 0.48;
	vector-effect: non-scaling-stroke;
}
.journey-list { position: relative; display: grid; gap: 18px; margin-top: 44px; }
.journey-item { position: relative; overflow: hidden; background: var(--card-bg); }
.journey-item > a { display: block; min-height: 280px; padding: 25px; border: 1px solid var(--card-border); transition: border-color 180ms ease, transform 200ms var(--ease), box-shadow 200ms ease; }
.journey-item > a:hover { border-color: rgba(22, 93, 255, 0.55); box-shadow: 0 16px 50px rgba(20, 34, 60, 0.09); transform: translateY(-4px); }
.journey-item__top { display: flex; align-items: center; justify-content: space-between; }
.journey-item__top small { color: var(--blue-deep); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; }
.journey-item__top > span { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.journey-item__top svg { width: 21px; height: 21px; }
.journey-item h3 { margin: 42px 0 12px; font-family: var(--font-reading); font-size: clamp(1.65rem, 7vw, 2.55rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; }
.journey-item p { margin: 0; color: var(--gray-500); font-size: 0.92rem; }
.journey-item a > strong { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-size: 0.78rem; }
.journey-item a > strong svg { width: 17px; height: 17px; }

/* Home: carrossel Skiper49 adaptado */
.carousel-section { overflow: hidden; background: var(--carousel-bg); }
.section-heading--carousel { display: grid; gap: 8px; }
.perspective-carousel { position: relative; }
.perspective-carousel__stage { display: flex; gap: 14px; margin-inline: -16px; padding: 8px 16px 18px; overflow-x: auto; scroll-padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.perspective-carousel__stage::-webkit-scrollbar { display: none; }
.perspective-slide { position: relative; flex: 0 0 min(82vw, 350px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-md); background: #0e1420; box-shadow: 0 16px 44px rgba(11, 12, 16, 0.15); scroll-snap-align: center; }
.perspective-slide > a,
.perspective-slide__image,
.perspective-slide__image img,
.carousel-art,
.perspective-slide__overlay { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.perspective-slide > a { z-index: 1; }
.perspective-slide__image img { object-fit: cover; transition: transform 500ms var(--ease); }
.perspective-slide:hover .perspective-slide__image img { transform: scale(1.035); }
.perspective-slide__overlay { background: linear-gradient(180deg, transparent 28%, rgba(4, 6, 11, 0.88) 100%); }
.perspective-slide__copy { position: absolute; right: 22px; bottom: 24px; left: 22px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; color: var(--white); }
.perspective-slide__copy small { color: #b9ccff; }
.perspective-slide__copy strong { max-width: 290px; margin-top: 9px; font-family: var(--font-reading); font-size: clamp(1.65rem, 7vw, 2.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; }
.perspective-slide__copy > span { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-size: 0.75rem; font-weight: 700; }
.perspective-slide__copy svg { width: 16px; height: 16px; }
.carousel-art { overflow: hidden; background: var(--blue); }
.carousel-art i { position: absolute; border: 1px solid rgba(255, 255, 255, 0.62); }
.carousel-art i:nth-child(1) { top: -13%; right: -28%; width: 90%; aspect-ratio: 1; border-radius: 50%; }
.carousel-art i:nth-child(2) { top: 22%; left: -30%; width: 82%; aspect-ratio: 1; transform: rotate(38deg); }
.carousel-art i:nth-child(3) { top: 13%; left: 18%; width: 50%; height: 68%; border-width: 4px; transform: rotate(-8deg); }
.carousel-art b { position: absolute; top: 26px; left: 24px; color: rgba(255, 255, 255, 0.82); font-size: 0.76rem; letter-spacing: 0.14em; }
.carousel-art--2 { background: #131925; }
.carousel-art--3 { background: #777f8e; }
.carousel-art--4 { background: #1749c6; }
.carousel-art--5 { background: #323743; }
.carousel-art--2 i { border-radius: 50%; }
.carousel-art--3 i:nth-child(2) { border-radius: 50%; }
.carousel-art--4 i:nth-child(3) { transform: rotate(18deg); }
.carousel-art--5 i:nth-child(1) { border-radius: 0; transform: rotate(22deg); }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; }
.carousel-controls button { flex: 0 0 44px; border-color: var(--line); border-radius: 50%; background: var(--white); }
.carousel-controls button:hover { border-color: var(--ink); }
.carousel-controls button svg { width: 18px; height: 18px; }
.carousel-pagination { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; }
.carousel-pagination button { width: 24px; height: 44px; border: 0; border-radius: 0; background: transparent; }
.carousel-pagination button::before { display: block; width: 6px; height: 6px; margin: auto; border-radius: 99px; background: var(--gray-300); content: ""; transition: width 180ms ease, background-color 180ms ease; }
.carousel-pagination button[aria-current="true"]::before { width: 20px; background: var(--blue); }

/* Artigos e e-books */
.latest-section { border-top: 1px solid var(--line); background: var(--latest-bg); }
.section-heading--split { display: grid; gap: 20px; }
.article-grid,
.ebook-grid { display: grid; gap: 34px; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid var(--card-border); background: var(--card-bg); }
.article-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-pale); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.025); }
.article-card__placeholder { background: var(--gray-100); }
.article-card__placeholder span { position: absolute; border: 1px solid rgba(22, 93, 255, 0.4); }
.article-card__placeholder span:nth-child(1) { inset: 13% 27%; transform: rotate(10deg); }
.article-card__placeholder span:nth-child(2) { top: 22%; left: 14%; width: 38%; aspect-ratio: 1; border-radius: 50%; }
.article-card__placeholder span:nth-child(3) { right: 10%; bottom: 13%; width: 32%; aspect-ratio: 1; background: var(--blue); }
.article-card__content { padding: 20px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--gray-500); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.article-meta a { color: var(--blue-deep); }
.article-card h3 { margin: 12px 0 10px; font-family: var(--font-reading); font-size: clamp(1.45rem, 6vw, 2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.article-card h3 a:hover { color: var(--blue-deep); }
.article-card p { margin: 0; color: var(--gray-500); font-size: 0.91rem; }
.article-card__link { margin-top: 12px; color: var(--blue-deep); }

.ebook-section { background: var(--ebook-bg); color: var(--ebook-text); }
.section-heading--dark .overline { color: #8fb0ff; }
.section-heading--dark > p,
.section-heading--dark > div + p { color: var(--ebook-text); opacity: 0.7; }
.ebook-grid { margin-bottom: 36px; }
.ebook-card { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.ebook-cover { position: relative; display: block; width: min(74%, 290px); margin-inline: auto; aspect-ratio: 4 / 5; background: #1d2635; box-shadow: 13px 16px 0 rgba(255, 255, 255, 0.08); }
.ebook-cover img { width: 100%; height: 100%; object-fit: cover; }
.ebook-cover > span { position: absolute; top: 14px; left: 14px; padding: 5px 9px; background: var(--white); color: var(--ink); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ebook-card__content { padding-top: 24px; }
.ebook-card h3 { margin: 0; font-family: var(--font-reading); font-size: 1.65rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.ebook-card__content > p { margin: 12px 0 0; color: var(--ebook-text); font-size: 0.9rem; opacity: 0.7; }
.ebook-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.ebook-card__footer .price { font-weight: 700; }
.ebook-card__footer a { min-height: 44px; color: #b9ccff; font-size: 0.78rem; font-weight: 700; }

/* Institucional e newsletter */
.conviction-section { background: var(--site-bg); }
.conviction-grid { display: grid; gap: 36px; }
.conviction-grid h2 { max-width: 670px; margin: 0; font-family: var(--font-reading); font-size: clamp(2.35rem, 10vw, 5.1rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.95; }
.conviction-copy > p { margin: 0; color: var(--gray-700); font-family: var(--font-reading); font-size: 1.25rem; line-height: 1.55; }
.conviction-copy ul { padding: 0; margin: 30px 0 0; list-style: none; }
.conviction-copy li { position: relative; padding: 15px 0 15px 28px; border-top: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; }
.conviction-copy li::before { position: absolute; top: 22px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); content: ""; }
.newsletter-section { padding-bottom: 72px; background: var(--site-bg); }
.newsletter-panel { display: grid; gap: 30px; padding: 34px 24px; background: var(--newsletter-bg); color: var(--newsletter-text); }
.newsletter-panel .overline { color: #cbd8ff; }
.newsletter-panel h2 { max-width: 700px; margin: 0; font-size: clamp(2rem, 8vw, 3.9rem); letter-spacing: -0.055em; line-height: 0.98; }
.newsletter-panel p:not(.overline) { max-width: 630px; margin: 18px 0 0; color: var(--newsletter-text); opacity: 0.82; }
.newsletter-form-wrap { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.newsletter-form-wrap small { color: var(--newsletter-text); font-size: 0.72rem; opacity: 0.82; }
.newsletter-form-wrap form,
.newsletter-form-wrap input:not([type="submit"]) { width: 100%; }
.newsletter-form-wrap input:not([type="submit"]) { min-height: 52px; padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: var(--white); }

/* Arquivos, busca e páginas */
.archive-main,
.page-main,
.error-main,
.shop-main { min-height: 65vh; }
.archive-hero,
.reading-header--page { padding-block: 64px 48px; border-bottom: 1px solid var(--line); background: var(--paper); }
.archive-hero__inner { display: block; }
.archive-hero--category .archive-hero__inner { display: grid; gap: 20px; }
.archive-icon { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.archive-icon svg { width: 25px; height: 25px; }
.archive-hero h1,
.reading-header--page h1,
.error-panel h1 { max-width: 900px; margin: 0; font-family: var(--font-reading); font-size: clamp(2.6rem, 12vw, 6.5rem); font-weight: 600; letter-spacing: -0.065em; line-height: 0.93; }
.archive-description { max-width: 650px; color: var(--gray-500); }
.archive-description p { margin: 0; }
.archive-hero__copy .archive-description { margin-top: 18px; }
.archive-content,
.page-content { padding-block: 64px 84px; }
.navigation.pagination,
.post-navigation { margin-top: 52px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers,
.post-navigation a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; }
.page-numbers.current { border-color: var(--blue); background: var(--blue); color: var(--white); }
.empty-state,
.error-panel { padding: 48px 24px; border: 1px solid var(--line); background: var(--paper); text-align: center; }
.empty-state__mark,
.error-code { display: block; margin-bottom: 16px; color: var(--blue); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.error-panel { margin-block: 70px; }
.error-panel p { max-width: 520px; margin: 20px auto 28px; color: var(--gray-500); }

/* Artigo */
.reading-main { position: relative; background: var(--article-bg); color: var(--article-text); }
.reading-header { padding: 70px 0 44px; background: var(--article-bg); }
.category-pill { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 11px; border: 1px solid rgba(22, 93, 255, 0.28); border-radius: 999px; background: var(--blue-pale); color: var(--blue-deep); font-size: 0.7rem; font-weight: 700; }
.reading-header h1 { margin: 22px 0 0; font-family: var(--font-reading); font-size: clamp(2.8rem, 12vw, 6.4rem); font-weight: 600; letter-spacing: -0.07em; line-height: 0.91; }
.reading-deck { margin: 25px 0 0; color: var(--gray-500); font-family: var(--font-reading); font-size: 1.2rem; line-height: 1.55; }
.reading-byline { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.author-avatar img { width: 44px; height: 44px; border-radius: 50%; }
.reading-byline strong,
.reading-byline span { display: block; }
.reading-byline strong { font-size: 0.84rem; }
.reading-byline span { color: var(--gray-500); font-size: 0.72rem; }
.reading-cover { margin-bottom: 48px; }
.reading-cover img { width: 100%; max-height: 690px; object-fit: cover; }
.reading-layout { display: grid; gap: 32px; }
.reading-rail { display: flex; align-items: center; gap: 5px; order: 2; padding-top: 18px; border-top: 1px solid var(--line); }
.reading-rail > span { margin-right: 6px; color: var(--gray-500); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.reading-rail a,
.reading-rail button { border-color: var(--line); border-radius: 50%; background: var(--white); font-family: var(--font-ui); font-size: 0.8rem; font-weight: 700; }
.reading-rail svg { width: 18px; height: 18px; }
.reading-content,
.entry-content { min-width: 0; font-family: var(--font-reading); font-size: 1.12rem; line-height: 1.82; }

.article-layout--centered .reading-layout { display: block; max-width: var(--reading); }
.article-layout--centered .reading-rail { position: static; flex-direction: row; justify-content: center; max-width: var(--reading); padding: 0 0 26px; margin-inline: auto; border: 0; }
.article-layout--centered .reading-rail > span { margin: 0 8px 0 0; writing-mode: initial; }
.article-layout--wide .reading-layout { grid-template-columns: 80px minmax(0, var(--reading)); }
.reading-content > *:first-child,
.entry-content > *:first-child { margin-top: 0; }
.reading-content p,
.entry-content p { margin: 0 0 1.55em; }
.reading-content h2,
.reading-content h3,
.reading-content h4,
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin: 1.55em 0 0.55em; font-family: var(--font-reading); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; }
.reading-content h2,
.entry-content h2 { font-size: clamp(2rem, 8vw, 3.3rem); }
.reading-content h3,
.entry-content h3 { font-size: clamp(1.55rem, 6vw, 2.25rem); }
.reading-content a,
.entry-content a { color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.reading-content blockquote,
.entry-content blockquote { padding: 4px 0 4px 23px; margin: 2em 0; border-left: 3px solid var(--blue); color: var(--ink-soft); font-size: 1.25em; font-style: italic; }
.reading-content figure,
.entry-content figure { margin: 2.3em 0; }
.reading-content figcaption,
.entry-content figcaption { margin-top: 8px; color: var(--gray-500); font-family: var(--font-ui); font-size: 0.72rem; }
.reading-content pre,
.entry-content pre { overflow: auto; padding: 18px; background: var(--ink); color: var(--white); font-size: 0.82rem; }
.reading-content table,
.entry-content table { width: 100%; border-collapse: collapse; }
.reading-content th,
.reading-content td,
.entry-content th,
.entry-content td { padding: 10px; border: 1px solid var(--line); text-align: left; }
.reading-footer { padding-top: 42px; padding-bottom: 70px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.78rem; }
.tag-list span { font-weight: 700; }
.tag-list a { padding: 5px 9px; background: var(--gray-50); }
.related-section .section-heading h2 { font-family: var(--font-reading); }

/* Progressive Blur, adaptação Skiper41 */
.progressive-blur { position: fixed; right: 0; left: 0; z-index: 900; height: 74px; pointer-events: none; }
.progressive-blur--top { top: 68px; }
.has-static-header .progressive-blur--top { top: 0; }
.progressive-blur--bottom { bottom: 0; }
.progressive-blur span { position: absolute; inset: 0; backdrop-filter: blur(var(--blur, 2px)); -webkit-backdrop-filter: blur(var(--blur, 2px)); }
.progressive-blur--top span:nth-child(1) { --blur: 8px; mask-image: linear-gradient(to bottom, #000 0 20%, transparent 42%); }
.progressive-blur--top span:nth-child(2) { --blur: 6px; mask-image: linear-gradient(to bottom, transparent 12%, #000 28%, transparent 52%); }
.progressive-blur--top span:nth-child(3) { --blur: 4px; mask-image: linear-gradient(to bottom, transparent 26%, #000 42%, transparent 67%); }
.progressive-blur--top span:nth-child(4) { --blur: 2px; mask-image: linear-gradient(to bottom, transparent 42%, #000 59%, transparent 82%); }
.progressive-blur--top span:nth-child(5) { --blur: 1px; mask-image: linear-gradient(to bottom, transparent 60%, #000 77%, transparent 100%); }
.progressive-blur--bottom span:nth-child(1) { --blur: 8px; mask-image: linear-gradient(to top, #000 0 20%, transparent 42%); }
.progressive-blur--bottom span:nth-child(2) { --blur: 6px; mask-image: linear-gradient(to top, transparent 12%, #000 28%, transparent 52%); }
.progressive-blur--bottom span:nth-child(3) { --blur: 4px; mask-image: linear-gradient(to top, transparent 26%, #000 42%, transparent 67%); }
.progressive-blur--bottom span:nth-child(4) { --blur: 2px; mask-image: linear-gradient(to top, transparent 42%, #000 59%, transparent 82%); }
.progressive-blur--bottom span:nth-child(5) { --blur: 1px; mask-image: linear-gradient(to top, transparent 60%, #000 77%, transparent 100%); }

/* Comentários */
.comments-area { padding-block: 64px 84px; }
.comments-title,
.comment-reply-title { font-family: var(--font-reading); font-size: 2rem; font-weight: 600; letter-spacing: -0.04em; }
.comment-list { padding: 0; list-style: none; }
.comment-list .comment { padding: 22px 0; border-top: 1px solid var(--line); }
.comment-list .children { padding-left: 20px; }
.comment-meta,
.comment-form label { font-family: var(--font-ui); font-size: 0.78rem; }
.comment-form label { display: block; margin-bottom: 5px; font-weight: 700; }
.comment-form p { margin-bottom: 16px; }

/* WooCommerce */
.woocommerce .products { display: grid; grid-template-columns: 1fr !important; gap: 30px; padding: 0; margin: 0 !important; }
.woocommerce ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce ul.products li.product a img { margin-bottom: 16px; background: var(--gray-50); }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title { font-family: var(--font-reading); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.035em; }
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price { color: var(--blue-deep); font-weight: 700; }
.woocommerce-message,
.woocommerce-info { border-top-color: var(--blue); }
.woocommerce-message::before,
.woocommerce-info::before { color: var(--blue); }

/* Rodapé */
.site-footer { padding: 66px 0 24px; background: var(--footer-bg); color: var(--footer-text); }
.footer-grid { display: grid; gap: 38px; }
.brand-wordmark--light { color: var(--footer-text); }
.footer-brand p { max-width: 300px; margin: 16px 0 0; color: var(--footer-text); font-size: 0.86rem; opacity: 0.65; }
.footer-nav h2,
.footer-widget__title { margin: 0 0 14px; color: var(--footer-text); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; opacity: 0.62; }
.footer-menu,
.footer-widget ul { display: grid; gap: 8px; }
.footer-menu .sub-menu,
.footer-widget .children { display: grid; gap: 5px; padding: 5px 0 2px 15px; margin: 0; border-left: 1px solid rgba(255, 255, 255, 0.18); list-style: none; }
.footer-legal-menu { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; }
.footer-legal-menu a { min-height: 32px; }
.footer-menu a,
.footer-widget a { display: inline-flex; align-items: center; min-height: 34px; font-size: 0.86rem; }
.footer-menu a:hover,
.footer-widget a:hover { color: #a9c0ff; }
.footer-bottom { display: grid; gap: 8px; padding-top: 28px; margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: var(--footer-text); font-size: 0.68rem; opacity: 0.68; }
.footer-bottom p { margin: 0; }

@media (min-width: 640px) {
	.site-shell,
	.reading-shell { width: calc(100% - 48px); }
	.wexo-hero { padding-top: 66px; }
	.wexo-hero__actions { display: flex; justify-content: center; width: auto; max-width: none; }
	.reading-window__body { grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.7fr); }
	.lead-reading { grid-template-rows: minmax(310px, 44vw) auto; }
	.reading-queue { border-top: 0; border-left: 1px solid var(--line); }
	.journey-list,
	.article-grid,
	.ebook-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.section-heading--split { grid-template-columns: 1fr auto; align-items: end; }
	.newsletter-panel { padding: 46px; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-bottom { grid-template-columns: 1fr auto; }
	.woocommerce .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (min-width: 768px) {
	.section { padding-block: 116px; }
	.journey-section { padding-top: 208px; }
	.section-heading--carousel { grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr); align-items: end; }
	.section-heading--carousel > p { margin: 0 0 5px; }
	.conviction-grid,
	.newsletter-panel { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); align-items: start; }
	.archive-hero--category .archive-hero__inner { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
	.archive-icon { margin-top: 8px; }
}

@media (min-width: 900px) {
	.home-scroll-drawing { left: 68%; width: 1200px; transform: translateX(-50%); }
	.scroll-drawing__progress { stroke-width: 6; opacity: 0.2; }
	.site-header { height: var(--header-height, 76px); }
	.site-header__inner { grid-template-columns: 1fr auto 1fr; }
	.primary-navigation { position: static; padding: 0; border: 0; background: transparent; transform: none; visibility: visible; }
	.primary-menu { display: flex; align-items: center; justify-content: center; gap: 3px; }
	.primary-menu a { min-height: 40px; padding-inline: 13px; font-size: 0.82rem; }
	.primary-menu > li { position: relative; }
	.primary-menu .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; display: grid; min-width: 230px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--header-bg); box-shadow: 0 18px 50px rgba(11, 12, 16, 0.13); opacity: 0; transform: translateY(-7px); visibility: hidden; transition: opacity 160ms ease, transform 160ms ease, visibility 160ms; }
	.primary-menu li:hover > .sub-menu,
	.primary-menu li:focus-within > .sub-menu { opacity: 1; transform: translateY(0); visibility: visible; }
	.primary-menu .sub-menu .sub-menu { top: -8px; left: calc(100% + 8px); }
	.primary-menu .sub-menu a { min-height: 42px; padding-inline: 11px; }
	.primary-menu .menu-item-has-children > a::after { margin-left: 8px; }
	.header-actions { justify-content: flex-end; }
	.menu-toggle { display: none; }
	.header-cta { display: inline-flex; }
	.site-header--menu-right .site-header__inner { grid-template-columns: auto 1fr auto; }
	.site-header--menu-right .primary-navigation { justify-self: end; margin-right: 18px; }
	.site-header--logo-center .site-branding { grid-column: 2; grid-row: 1; justify-self: center; }
	.site-header--logo-center .primary-navigation { grid-column: 1; grid-row: 1; justify-self: start; }
	.site-header--logo-center .header-actions { grid-column: 3; grid-row: 1; }
	.wexo-hero { padding-top: 82px; }
	.signal-strip { margin-bottom: 44px; }
	.wexo-hero__lead { font-size: 1.08rem; }
	.wexo-hero__actions { margin-bottom: 68px; }
	.reading-window { border-radius: 18px 18px 0 0; }
	.reading-window__bar { padding-inline: 18px; }
	.lead-reading { grid-template-rows: minmax(370px, 38vw) auto; }
	.lead-reading__copy { padding: 34px; }
	.reading-queue a { padding-inline: 21px; }
	.journey-list { display: block; margin-top: 80px; }
	.journey-item { width: min(48%, 490px); margin-bottom: 84px; }
	.journey-item--right { margin-left: auto; }
	.journey-item > a { min-height: 330px; padding: 34px; }
	.perspective-carousel__stage { position: relative; display: block; height: 610px; margin: 0; padding: 0; overflow: visible; perspective: 1300px; }
	.perspective-slide { position: absolute; top: 36px; left: 50%; width: 400px; height: 500px; aspect-ratio: auto; opacity: var(--slide-opacity, 0); transform: translateX(calc(-50% + var(--slide-x, 0px))) rotateY(var(--slide-rotate, 0deg)) scale(var(--slide-scale, 1)); transform-origin: center center; transition: transform 520ms var(--ease), opacity 320ms ease, filter 320ms ease; z-index: var(--slide-z, 1); }
	.perspective-slide[aria-hidden="true"] { pointer-events: none; }
	.carousel-controls { max-width: 420px; margin: -25px auto 0; }
	.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 26px; }
	.ebook-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
	.reading-header { padding: 100px 0 64px; }
	.reading-cover { margin-bottom: 72px; }
	.reading-layout { grid-template-columns: 96px minmax(0, var(--reading)) 96px; justify-content: center; }
	.reading-rail { position: sticky; top: 118px; align-self: start; flex-direction: column; order: 0; padding: 0; border: 0; }
	.reading-rail > span { margin: 0 0 8px; writing-mode: vertical-rl; }
	.reading-content { grid-column: 2; }
	.progressive-blur--top { top: var(--header-height, 76px); }
	.woocommerce .products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.footer-grid { grid-template-columns: 1.25fr repeat(3, minmax(0, 0.75fr)); }
	.footer-bottom { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
}

@media (min-width: 1100px) {
	.section { padding-block: 140px; }
	.journey-section { padding-top: 240px; }
	.journey-item--left { margin-left: 5%; }
	.journey-item--right { margin-right: 5%; }
	.newsletter-panel { padding: 68px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
	.scroll-drawing__progress { stroke-dashoffset: 0 !important; }
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
	.progressive-blur { display: none; }
}
