/*
Theme Name: Caminho
Theme URI: https://livrinhosdocaminho.com.br
Author: Livrinhos do Caminho
Description: Tema editorial do portal Livrinhos do Caminho — leitura cristã para cada fase da vida. Leve, acessível e sem construtor de páginas.
Version: 1.1.9
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: caminho
*/

/* ---------- Fontes (hospedadas no próprio site) ---------- */
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-italic.woff2") format("woff2");
	font-weight: 400 600;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Nunito Sans";
	src: url("../fonts/nunito-sans.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Nunito Sans";
	src: url("../fonts/nunito-sans-italic.woff2") format("woff2");
	font-weight: 400 600;
	font-style: italic;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--paper: #fbf6ec;
	--paper-2: #f3eada;
	--card: #fffdf8;
	--ink: #1e2b25;
	--ink-2: #44534b;
	--muted: #6b776f;
	--green: #184b6b;
	--green-2: #1f6390;
	--green-3: #5b93b8;
	--sage: #dcebf3;
	--terra: #e2711d;
	--terra-2: #b9560f;
	--terra-soft: #fde2cc;
	--gold: #f7d70e;
	--gold-soft: #fff4b8;
	--line: #e4d9c5;
	--focus: #e2711d;

	--font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius-s: 10px;
	--radius: 18px;
	--radius-l: 28px;
	--shadow: 0 1px 2px rgba(30, 43, 37, .06), 0 8px 24px -12px rgba(30, 43, 37, .18);
	--shadow-lift: 0 2px 4px rgba(30, 43, 37, .06), 0 18px 40px -18px rgba(30, 43, 37, .28);

	--gutter: clamp(16px, 4vw, 32px);
	--max: 1200px;
	--narrow: 720px;
	--mid: 960px;
	--header-h: 76px;

	--step--1: clamp(.84rem, .82rem + .1vw, .9rem);
	--step-0: clamp(1.02rem, .98rem + .2vw, 1.12rem);
	--step-1: clamp(1.18rem, 1.1rem + .4vw, 1.35rem);
	--step-2: clamp(1.4rem, 1.25rem + .75vw, 1.8rem);
	--step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.6rem);
	--step-4: clamp(2.15rem, 1.6rem + 2.6vw, 3.7rem);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
html { overflow-x: clip; }

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--green-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--terra-2); }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--ink);
	margin: 0 0 .5em;
	font-variation-settings: "opsz" 72, "SOFT" 50;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-variation-settings: "opsz" 24; }
h4 { font-size: var(--step-0); }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -100px; z-index: 1000;
	background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.container--mid { max-width: calc(var(--mid) + var(--gutter) * 2); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .5em;
	font-size: var(--step--1); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	color: var(--terra-2); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--gold-soft); }

/* ---------- Botões, chips ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.4em;
	border-radius: 999px; border: 2px solid var(--green);
	background: var(--green); color: #fff;
	font: 800 var(--step--1)/1 var(--font-body); letter-spacing: .02em;
	text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--green-2); border-color: var(--green-2); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--light { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--green); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--green); }

.lc-btn--amazon,
.lc-btn {
	display: inline-flex; align-items: center; gap: .55em;
	min-height: 48px; padding: .75em 1.35em; border-radius: 999px;
	background: var(--terra); color: #fff !important; text-decoration: none !important;
	font: 800 var(--step--1)/1.1 var(--font-body); letter-spacing: .02em;
	box-shadow: 0 6px 16px -8px rgba(155, 71, 40, .7);
	transition: background .2s, transform .2s;
}
.lc-btn--amazon::after { content: "↗"; font-weight: 700; }
.lc-btn--amazon:hover { background: var(--terra-2); transform: translateY(-1px); }

.pill {
	display: inline-flex; align-items: center; min-height: 40px; padding: .35em 1em;
	border-radius: 999px; border: 1.5px solid var(--line); background: var(--card);
	color: var(--ink); text-decoration: none; font-weight: 700; font-size: var(--step--1);
	transition: border-color .2s, background .2s, color .2s;
}
.pill:hover, .pill.is-active { border-color: var(--green); background: var(--green); color: #fff; }

.chip, .lc-chip {
	display: inline-block; padding: .22em .7em; border-radius: 999px;
	font-size: .76rem; font-weight: 800; letter-spacing: .02em; line-height: 1.5;
	background: var(--sage); color: var(--green); text-decoration: none;
}
a.chip:hover { filter: brightness(.95); color: var(--green); }
.chip--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); }
.chip--bebes { background: #f2d8c9; color: #8a3f22; }
.chip--primeiras-leituras { background: #f4e6c3; color: #7c5612; }
.chip--criancas { background: #dde8dd; color: #1f4d3a; }
.chip--leitores-em-formacao { background: #d9e6ee; color: #23506d; }
.chip--adolescentes { background: #e6ddee; color: #4b3c78; }
.chip--adultos { background: #e9e3d6; color: #3e3a2c; }

.tag {
	display: inline-flex; align-items: center; min-height: 40px; padding: .3em 1em; border-radius: 999px;
	background: var(--card); border: 1.5px solid var(--line); color: var(--ink-2);
	font-weight: 700; font-size: var(--step--1); text-decoration: none;
}
.tag:hover { border-color: var(--terra); color: var(--terra-2); }

.link-arrow {
	display: inline-flex; align-items: center; gap: .4em; font-weight: 800; text-decoration: none;
	color: var(--green); white-space: nowrap;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Cabeçalho ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--paper);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(30, 43, 37, .5); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__logo { width: auto; height: 54px; display: block; border-radius: 12px; box-shadow: 0 2px 0 rgba(24, 75, 107, .12); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 650; font-size: 1.28rem; letter-spacing: -.01em; }
.brand__name em { font-style: italic; font-weight: 400; color: var(--terra); }
.brand__tag { font-size: .78rem; line-height: 1.25; color: var(--ink-2); font-weight: 700; letter-spacing: .01em; padding-left: 12px; border-left: 2px solid var(--line); }
.brand--light, .brand--light:hover { color: var(--paper); }
.brand--light .brand__name em { color: var(--gold-soft); }

.primary-nav { margin-left: auto; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.primary-nav .menu > li { position: relative; display: flex; align-items: center; }
.primary-nav .menu a {
	display: block; padding: .55em .85em; border-radius: 999px;
	font-weight: 800; font-size: .95rem; color: var(--ink); text-decoration: none;
}
.primary-nav .menu > li > a:hover,
.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a { background: var(--paper-2); color: var(--green); }
.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lift);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s;
}
.primary-nav .sub-menu a { border-radius: 10px; font-weight: 700; }
.primary-nav .sub-menu a:hover { background: var(--paper); color: var(--green); }
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.submenu-toggle { display: none; }
.primary-nav__search { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: var(--paper-2); color: var(--green); }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }

.quick-search { border-top: 1px solid var(--line); background: var(--paper); padding: 16px 0 20px; }

/* ---------- Busca ---------- */
.search-form {
	position: relative; display: flex; align-items: center; gap: 8px;
	background: var(--card); border: 2px solid var(--line); border-radius: 999px;
	padding: 6px 6px 6px 48px; box-shadow: var(--shadow);
	transition: border-color .2s;
}
.search-form:focus-within { border-color: var(--green-2); }
.search-form__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; }
.search-form__input {
	flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
	font: 600 1rem/1.4 var(--font-body); color: var(--ink); padding: 10px 0;
}
.search-form__input::placeholder { color: #8b958e; }
.search-form__input:focus-visible { outline: none; }
.search-form__btn {
	border: 0; border-radius: 999px; background: var(--green); color: #fff; cursor: pointer;
	font: 800 .95rem/1 var(--font-body); padding: 0 1.3em; min-height: 44px;
}
.search-form__btn:hover { background: var(--green-2); }

/* ---------- Seções ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--ink-2); font-size: var(--step-0); margin: 0; }
.section-head h2 { margin-bottom: .3em; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--row > div { max-width: 640px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); position: relative; }
.hero::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 100%;
	background:
		radial-gradient(60% 60% at 85% 20%, rgba(233, 196, 106, .18), transparent 70%),
		radial-gradient(50% 50% at 0% 100%, rgba(94, 150, 119, .12), transparent 70%);
	pointer-events: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__title { font-size: var(--step-4); font-weight: 600; margin-bottom: .35em; text-wrap: balance; }
.hero__lead { font-size: var(--step-1); color: var(--ink-2); max-width: 36ch; line-height: 1.55; }
.hero__search { margin: 28px 0 18px; max-width: 560px; }
.hero__search .search-form { padding-block: 8px; }
.hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__art { position: relative; }
.hero__art::after {
	content: ""; position: absolute; inset: auto -12px -12px 12px; height: 100%;
	border-radius: 36px; border: 2px dashed rgba(184, 92, 56, .35); z-index: -1;
}
.hero-art { width: 100%; height: auto; display: block; border-radius: 36px; box-shadow: var(--shadow-lift); }

.hero__photo { position: relative; margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow-lift); }
.hero__badge {
	position: absolute; left: -18px; bottom: 28px; display: flex; align-items: center; gap: 12px; max-width: 280px;
	padding: 14px 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-lift);
	font-size: .86rem; line-height: 1.35; color: var(--ink-2);
}
.hero__badge strong { display: block; color: var(--ink); font-size: .95rem; }
.hero__badge-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sage); color: var(--green); }

/* ---------- Idades ---------- */
.idades { background: var(--card); border-block: 1px solid var(--line); }
.idades__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.idade-card {
	height: 100%; display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 18px;
	padding: 22px; border-radius: var(--radius); background: var(--paper);
	border: 1.5px solid var(--line); text-decoration: none; color: var(--ink);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.idade-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: transparent; color: var(--ink); }
.idade-card .faixa-art { grid-row: 1 / span 4; width: 72px; height: 72px; }
.idade-card__age { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--terra-2); }
.idade-card__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; margin: 2px 0 6px; }
.idade-card__desc { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.idade-card__go { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .9rem; color: var(--green); }
.idade-card__go .icon { width: 1.05em; transition: transform .2s; }
.idade-card:hover .idade-card__go .icon { transform: translateX(3px); }

/* ---------- Grade e cartões ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
	position: relative; display: flex; flex-direction: column;
	background: var(--card); border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card__media img, .card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.card__title { font-size: 1.16rem; line-height: 1.28; margin: 0; font-variation-settings: "opsz" 24; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:hover { color: var(--green-2); }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.card__excerpt, .card__byline { margin: 0; color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.card__byline { font-weight: 700; color: var(--muted); }

/* ---------- Método ---------- */
.metodo { background: var(--green); color: var(--paper); position: relative; overflow: hidden; }
.metodo::before {
	content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(233, 196, 106, .18), transparent 65%);
}
.metodo__grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.metodo h2 { color: #fff; }
.metodo__list { list-style: none; margin: 8px 0 32px; padding: 0; display: grid; gap: 22px; }
.metodo__list li { padding-left: 52px; position: relative; }
.metodo__list li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%;
	background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231f4d3a'%3E%3Cpath d='m9.5 16.2-4.2-4.2-1.4 1.4 5.6 5.6L21 7.5 19.6 6.1z'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.metodo__list h3 { color: #fff; margin-bottom: .25em; font-size: 1.2rem; }
.metodo__list p { margin: 0; color: rgba(251, 246, 236, .82); }
.method-art { width: 100%; max-width: 360px; margin-inline: auto; display: block; }

/* ---------- Pais, temas, convite ---------- */
.pais { background: var(--paper); }
.temas { background: var(--paper-2); }
.temas__list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.convite { padding-top: 0; background: var(--paper-2); }
.convite__box {
	display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
	padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-l);
	background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.convite__box h2 { font-size: var(--step-2); margin-bottom: .3em; }
.convite__img { flex: none; width: 168px; }
.convite__img img { width: 168px; height: 168px; object-fit: cover; border-radius: 50%; border: 6px solid var(--paper-2); }
.convite__text { flex: 1 1 320px; }
.convite__box p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.convite__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Páginas e arquivos ---------- */
.page-hero, .archive-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-title { font-size: var(--step-3); margin-bottom: .3em; text-wrap: balance; }
.page-dek { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; margin: 0; }
.page-dek p:last-child { margin-bottom: 0; }
.archive-hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.archive-hero__art .faixa-art { width: clamp(96px, 14vw, 150px); height: auto; }
.archive-note { margin: 14px 0 0; font-size: .92rem; color: var(--muted); max-width: 62ch; }
.archive-search { margin-top: 20px; max-width: 560px; }
.page-main .entry-content { padding-block: clamp(32px, 5vw, 56px); }
.faixa-nav { padding-top: 20px; }
.faixa-nav ul { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.faixa-nav li { flex: none; }

.breadcrumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); color: #b3a68f; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
.breadcrumbs a:hover { color: var(--terra-2); text-decoration: underline; }

.empty { padding: 40px; border-radius: var(--radius); background: var(--card); border: 1px dashed var(--line); text-align: center; color: var(--ink-2); }
.empty .search-form { max-width: 520px; margin: 18px auto 0; }

.pagination { margin-top: 40px; }
.pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination a, .pagination span {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px;
	background: var(--card); border: 1.5px solid var(--line); color: var(--ink); font-weight: 800; text-decoration: none;
}
.pagination .current { background: var(--green); border-color: var(--green); color: #fff; }
.pagination a:hover { border-color: var(--green); color: var(--green); }

/* Catálogo */
.filters {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; align-items: end;
	margin: 28px 0 8px; padding: 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.filter { display: flex; flex-direction: column; gap: 6px; }
.filter label { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.filter select {
	appearance: none; min-height: 46px; padding: 0 40px 0 14px; border-radius: 12px; border: 1.5px solid var(--line);
	background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2344534b'%3E%3Cpath d='m7 9.6 1.4-1.4 3.6 3.6 3.6-3.6L17 9.6l-5 5z'/%3E%3C/svg%3E") right 10px center / 20px no-repeat;
	font: 700 .95rem var(--font-body); color: var(--ink); cursor: pointer;
}
.filter select:focus-visible { border-color: var(--green-2); }
.filters__actions { display: flex; gap: 8px; }
.results-count { color: var(--muted); font-weight: 700; font-size: .92rem; margin: 18px 0 22px; }

/* ---------- Post ---------- */
.entry-header { padding: clamp(24px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.entry-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.entry-title { font-size: var(--step-3); line-height: 1.12; text-wrap: balance; margin-bottom: .35em; }
.entry-dek { font-size: var(--step-1); color: var(--ink-2); line-height: 1.5; margin-bottom: 18px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .9rem; color: var(--muted); margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.entry-meta a { color: var(--ink-2); font-weight: 700; text-decoration: none; }
.entry-meta a:hover { color: var(--terra-2); text-decoration: underline; }
.entry-figure { margin-block: 8px 12px; }
.entry-figure img { width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow); }
.entry-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }
.single-main .entry-content { padding-block: 16px 24px; }

/* Texto longo */
.prose { font-size: 1.1rem; line-height: 1.75; color: #24332c; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: var(--step-2); margin: 2em 0 .55em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: var(--step-1); margin: 1.7em 0 .5em; }
.prose h4 { margin: 1.5em 0 .5em; }
.prose p { margin-bottom: 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--terra); }
.prose blockquote {
	margin: 1.8em 0; padding: 1.1em 1.4em; border-left: 4px solid var(--gold);
	background: var(--card); border-radius: 0 var(--radius) var(--radius) 0;
	font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; color: var(--ink);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote cite { display: block; margin-top: .6em; font: 700 .9rem var(--font-body); color: var(--muted); font-style: normal; }
.prose img, .prose figure img { border-radius: var(--radius); height: auto; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 8px; }
.prose a { font-weight: 700; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .96rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .7em .8em; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 800; background: var(--paper-2); }
.prose .wp-block-button__link { border-radius: 999px; background: var(--green); font-weight: 800; }

/* Blocos editoriais do plugin */
.lc-analise {
	display: grid; gap: 4px; margin: 0 0 22px; padding: 16px 18px; border-radius: var(--radius);
	background: var(--card); border: 1px solid var(--line); font-size: .95rem; line-height: 1.55;
}
.lc-analise p { margin: 0; }
.lc-analise__tipo { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.lc-analise__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.lc-analise--resenha .lc-analise__dot { background: var(--green-2); }
.lc-analise--amostra .lc-analise__dot { background: var(--gold); }
.lc-analise--apresentacao .lc-analise__dot { background: var(--terra); }
.lc-analise__desc, .lc-analise__material { color: var(--ink-2); }
.lc-analise__data { color: var(--muted); }
.lc-analise__link a { font-weight: 800; font-size: .9rem; }

.lc-disclosure {
	display: flex; gap: 12px; align-items: flex-start; margin: 0 0 22px !important; padding: 12px 16px;
	border-radius: 14px; background: var(--gold-soft); color: #5a4613; font-size: .88rem; line-height: 1.5;
}
.lc-disclosure a { color: #5a4613; }
.lc-disclosure__icon {
	flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
	background: #5a4613; color: var(--gold-soft); font: italic 700 .8rem/1 var(--font-display); margin-top: 1px;
}

.lc-ficha {
	margin: 0 0 2em; border-radius: var(--radius-l); overflow: hidden;
	background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
	font-size: .96rem;
}
.lc-ficha__head { padding: 20px 22px 16px; background: var(--green); color: var(--paper); }
.lc-ficha__eyebrow { margin: 0 0 4px !important; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); }
.lc-ficha__title { margin: 0 !important; color: #fff; font-size: 1.45rem !important; line-height: 1.2; }
.lc-ficha__sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: rgba(251, 246, 236, .8); margin-top: 4px; }
.lc-ficha .lc-chip--perfil { margin: 12px 0 0 !important; background: rgba(251, 246, 236, .14); color: var(--paper); }
.lc-ficha__list { margin: 0; padding: 8px 22px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.lc-ficha__list > div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lc-ficha__list dt { font-weight: 800; color: var(--muted); font-size: .8rem; letter-spacing: .03em; text-transform: uppercase; padding-top: 2px; }
.lc-ficha__list dd { margin: 0; color: var(--ink); font-weight: 600; }
.lc-ficha__cta { margin: 0 !important; padding: 16px 22px 20px; }
.lc-cta { margin: 1.6em 0 !important; }

.lc-fontes { margin-top: 2.4em; padding: 20px 22px; border-radius: var(--radius); background: var(--paper-2); font-size: .92rem; }
.lc-fontes h2 { font-size: 1.15rem !important; margin: 0 0 .6em !important; }
.lc-fontes ul { margin: 0 0 .6em; }
.lc-fontes__data { color: var(--muted); margin: 0 !important; }

.veredito { margin: 8px 0 28px; padding: 22px 24px; border-radius: var(--radius-l); background: var(--sage); }
.veredito__label { margin: 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-2); }
.veredito__text { margin: 0; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; color: var(--green); }

.entry-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 28px; }
.entry-tags > span { font-weight: 800; color: var(--muted); font-size: .9rem; margin-right: 4px; }

.about-box {
	display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; margin-bottom: 16px;
	border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); font-size: .93rem; color: var(--ink-2);
}
.about-box .logo-mark { flex: none; }
.about-box p { margin: 0; }
.about-box__title { font-weight: 800; color: var(--ink); margin-bottom: 4px !important; }
.related { background: var(--paper-2); margin-top: clamp(32px, 5vw, 56px); }

/* Página 404 */
.notfound { padding: clamp(56px, 10vw, 120px) 0; text-align: center; }
.notfound .page-dek { margin: 0 auto 24px; }
.notfound .search-form { max-width: 520px; margin: 0 auto; }
.notfound__actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; margin-top: 0; color: rgba(251, 246, 236, .82); }
.footer-wave { color: var(--green); line-height: 0; background: var(--paper-2); }
.home .footer-wave, .single .footer-wave { background: var(--paper-2); }
.footer-wave svg { width: 100%; height: 48px; display: block; }
.site-footer__body { background: var(--green); padding: 40px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-about p { margin: 16px 0 0; font-size: .95rem; max-width: 40ch; }
.footer-title { font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); margin: 6px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--paper); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.site-footer .footer-col span { color: rgba(251, 246, 236, .6); font-size: .86rem; font-weight: 600; }
.footer-col--note p { font-size: .9rem; margin: 0 0 10px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-social a { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(251, 246, 236, .16); font-size: .86rem;
}
.footer-bottom p { margin: 0; }
.site-footer .footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- WooCommerce (materiais para imprimir) ---------- */
.shop-main { padding-block: clamp(32px, 5vw, 64px); }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { background: var(--card); border-radius: var(--radius); padding: 14px; border: 1px solid var(--line); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); font-size: 1.1rem; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; padding: .8em 1.4em;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--green-2); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--terra); }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--terra-2); }
.woocommerce span.onsale { background: var(--terra); }

/* ---------- Formulários (contato) ---------- */
.prose input[type="text"], .prose input[type="email"], .prose input[type="tel"], .prose textarea,
.wpforms-form input[type="text"], .wpforms-form input[type="email"], .wpforms-form textarea {
	border: 1.5px solid var(--line) !important; border-radius: 12px !important; background: var(--card) !important;
	font: 600 1rem var(--font-body) !important; padding: 12px 14px !important; min-height: 46px;
}
.wpforms-form button[type="submit"] { border-radius: 999px !important; background: var(--green) !important; font-weight: 800 !important; padding: 12px 26px !important; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.primary-nav .menu a { padding: .55em .65em; font-size: .92rem; }
}

@media (max-width: 960px) {
	:root { --header-h: 66px; }
	.nav-toggle { display: inline-grid; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.primary-nav {
		position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h)); z-index: 999; margin: 0;
		background: var(--paper); padding: 12px var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain;
		display: none; border-top: 1px solid var(--line);
	}
	.nav-open .primary-nav { display: block; animation: navIn .2s ease; }
	@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
	.nav-open body, .nav-open { overflow: hidden; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.primary-nav .menu > li > a { flex: 1; padding: 16px 4px; font-size: 1.15rem; font-family: var(--font-display); font-weight: 600; border-radius: 0; background: none !important; }
	.submenu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: var(--paper-2); border-radius: 50%; color: var(--ink); cursor: pointer; }
	.submenu-toggle svg { transition: transform .2s; }
	.is-open > .submenu-toggle svg { transform: rotate(180deg); }
	.primary-nav .sub-menu {
		position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 8px;
		opacity: 1; visibility: visible; transform: none; display: none;
	}
	.primary-nav li.is-open > .sub-menu { display: block; }
	.primary-nav li:hover > .sub-menu { display: none; }
	.primary-nav li.is-open:hover > .sub-menu { display: block; }
	.primary-nav__search { display: block; margin-top: 24px; }
	.site-header__actions { margin-left: auto; }
	.brand__tag { display: none; }

	.hero__grid { grid-template-columns: 1fr; }
	.hero__art { max-width: 520px; width: 100%; margin-inline: auto; order: -1; }
	.hero__art::after { display: none; }
	.hero__badge { left: 12px; bottom: 12px; max-width: calc(100% - 24px); }
	.hero__photo img { aspect-ratio: 4 / 3; }
	.hero__lead { max-width: none; }
	.idades__grid { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.metodo__grid { grid-template-columns: 1fr; }
	.method-art { max-width: 240px; }
	.section-head--row { flex-direction: column; align-items: flex-start; }
	.lc-ficha__list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.hero { padding-top: 16px; }
	.hero__art { max-width: 420px; }
	.hero-art { border-radius: 24px; }
	.idades__grid, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.idade-card { grid-template-columns: 60px 1fr; padding: 18px; }
	.idade-card .faixa-art { width: 60px; height: 60px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.archive-hero__inner { grid-template-columns: 1fr; }
	.archive-hero__art { display: none; }
	.search-form { padding-left: 42px; }
	.search-form__icon { left: 14px; }
	.search-form__btn { padding: 0 1em; }
	.brand__name { font-size: 1.12rem; }
	.lc-ficha__list > div { grid-template-columns: 100px 1fr; }
	.convite__actions .btn { flex: 1; }
	.convite__img, .convite__img img { width: 120px; height: 120px; }
	.prose { font-size: 1.06rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
	.site-header, .site-footer, .related, .lc-disclosure, .about-box { display: none !important; }
	body { background: #fff; }
}


/* =====================================================================
   v1.1 — marca, loja e conversão
   ===================================================================== */
.site-header { z-index: 1000; }
.site-header__actions { gap: 6px; }
.brand { gap: 12px; }
.btn--shop {
	min-height: 44px; padding: .55em 1.1em; gap: .45em;
	background: var(--terra); border-color: var(--terra); color: #fff;
	box-shadow: 0 6px 16px -8px rgba(185, 86, 15, .8);
}
.btn--shop:hover { background: var(--terra-2); border-color: var(--terra-2); color: #fff; }
.btn--shop .icon { width: 1.15em; height: 1.15em; }
.cart-btn { position: relative; }
.cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--green); color: #fff; font-size: .7rem; font-weight: 800; line-height: 18px; text-align: center;
}
.cart-count[data-count="0"] { display: none; }
.primary-nav__shop { display: none; }

/* Faixa promocional */
.topbar { background: var(--green); color: #fff; font-size: .88rem; }
.topbar a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 0; color: #fff; text-decoration: none; text-align: center; }
.topbar a:hover .topbar__cta { text-decoration: underline; }
.topbar__tag { flex: none; background: var(--gold); color: var(--green); font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.topbar__text { font-weight: 600; }
.topbar__cta { flex: none; font-weight: 800; color: var(--gold); }

/* Abertura */
.hero { background: linear-gradient(135deg, #fff7c7 0%, #fdf3d6 45%, var(--paper) 100%); }
.hero::before { background: radial-gradient(55% 60% at 90% 10%, rgba(247, 215, 14, .35), transparent 70%), radial-gradient(45% 50% at 0% 100%, rgba(226, 113, 29, .12), transparent 70%); }
.hero__title { color: var(--green); }
.hero__grid { grid-template-columns: 1.05fr .95fr; align-items: stretch; }
.hero__copy { align-self: center; }
.hero__covers { margin-top: 26px; }
.hero__covers p { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hero__covers ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.hero__covers li { flex: 0 0 auto; }
.hero__covers a { display: block; width: 74px; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 18px -10px rgba(24, 75, 107, .55), 0 0 0 1px rgba(0, 0, 0, .05); transition: transform .2s; }
.hero__covers a:hover { transform: translateY(-4px) rotate(-2deg); }
.hero__covers img { width: 74px; height: 100px; object-fit: cover; }

.shop-banner {
	position: relative; display: flex; flex-direction: column; gap: 10px; overflow: hidden;
	padding: clamp(24px, 3.4vw, 36px); border-radius: 32px; text-decoration: none; color: #fff;
	background: radial-gradient(120% 90% at 100% 0%, #2a76a6 0%, var(--green) 55%, #0f3550 100%);
	box-shadow: var(--shadow-lift); min-height: 100%; isolation: isolate;
	transition: transform .25s, box-shadow .25s;
}
.shop-banner::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(247, 215, 14, .22); z-index: -1; }
.shop-banner:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 30px 60px -28px rgba(15, 53, 80, .7); }
.shop-banner__tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: var(--gold); color: var(--green); font-weight: 800; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.shop-banner__tag .icon { width: 16px; height: 16px; }
.shop-banner__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.12; max-width: 16ch; }
.shop-banner__text { color: rgba(255, 255, 255, .85); font-size: 1rem; line-height: 1.5; max-width: 40ch; }
.shop-banner__covers { position: relative; display: block; height: 230px; margin: 10px 0 6px; }
.shop-banner__cover { position: absolute; bottom: 0; width: 150px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6); transition: transform .3s; }
.shop-banner__cover img { width: 100%; height: 200px; object-fit: cover; display: block; }
.shop-banner__cover--0 { left: 0; transform: rotate(-8deg); z-index: 1; }
.shop-banner__cover--1 { left: 22%; transform: rotate(-2deg) translateY(-14px); z-index: 3; }
.shop-banner__cover--2 { left: 44%; transform: rotate(4deg); z-index: 2; }
.shop-banner__cover--3 { left: 64%; transform: rotate(9deg) translateY(8px); z-index: 1; }
.shop-banner:hover .shop-banner__cover--1 { transform: rotate(-2deg) translateY(-22px); }
.shop-banner__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.shop-banner__price { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.shop-banner__price strong { color: var(--gold); font-size: 1.25rem; }
.shop-banner__price .woocommerce-Price-amount { color: var(--gold); }
.shop-banner__cta { display: inline-flex; align-items: center; min-height: 50px; padding: 0 1.4em; border-radius: 999px; background: var(--gold); color: var(--green); font-weight: 800; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6); }
.shop-banner:hover .shop-banner__cta { background: #fff; }

/* Vitrine da loja */
.loja-home { background: var(--paper); }
.shop-cats { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.shop-cats .pill span { margin-left: 6px; font-size: .75rem; color: var(--muted); }
.shop-cats .pill:hover span { color: rgba(255, 255, 255, .8); }
.pgrid { display: grid; gap: clamp(16px, 2vw, 24px); }
.pgrid--4 { grid-template-columns: repeat(4, 1fr); }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.pcard__media { position: relative; display: block; aspect-ratio: 1 / 1; background: #f4efe4; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__badge { position: absolute; top: 10px; left: 10px; background: var(--terra); color: #fff; font-weight: 800; font-size: .78rem; padding: 4px 9px; border-radius: 999px; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; flex: 1; }
.pcard__cat { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--terra-2); }
.pcard__title { margin: 0; font-size: 1.02rem; line-height: 1.3; font-variation-settings: "opsz" 24; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard__price { margin: auto 0 0; font-weight: 800; color: var(--green); font-size: 1.05rem; }
.pcard__price del { color: var(--muted); font-weight: 600; font-size: .85rem; margin-right: 4px; }
.pcard__price ins { text-decoration: none; }
.pcard__btn { position: relative; z-index: 2; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; margin-top: 8px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; font-size: .9rem; text-decoration: none; }
.pcard__btn:hover { background: var(--terra); color: #fff; }
.shop-perks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--ink-2); font-weight: 700; font-size: .92rem; }
.shop-perks li { display: inline-flex; align-items: center; gap: 6px; }
.shop-perks .icon { color: var(--green-2); }

/* Oferta em destaque */
.deal { padding: 0 0 clamp(48px, 7vw, 88px); background: var(--paper); }
.deal__box { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 32px; text-decoration: none; color: var(--ink); background: linear-gradient(120deg, var(--gold) 0%, #ffe76a 60%, #ffd08a 100%); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.deal__box:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); color: var(--ink); }
.deal__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .55); }
.deal__body { display: flex; flex-direction: column; gap: 10px; }
.deal__tag { align-self: flex-start; background: var(--green); color: #fff; font-weight: 800; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.deal__title { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1.15; color: var(--green); }
.deal__text { color: #3c3a2a; max-width: 60ch; }
.deal__price { font-size: 1.4rem; font-weight: 800; color: var(--green); }
.deal__price del { font-size: 1rem; color: #6b5f2a; font-weight: 600; margin-right: 6px; }
.deal__price ins { text-decoration: none; }
.deal__cta { align-self: flex-start; display: inline-flex; align-items: center; min-height: 50px; padding: 0 1.5em; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; }
.deal__box:hover .deal__cta { background: var(--terra); }

/* Oferta dentro dos posts */
.offer { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; margin: 2em 0; padding: 18px; border-radius: var(--radius-l); background: linear-gradient(120deg, #fff7c7, var(--card)); border: 1.5px solid #f3e08a; }
.offer__media img { width: 120px; height: 120px; object-fit: cover; border-radius: 14px; box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .5); margin: 0 !important; }
.offer__body p { margin: 0 !important; }
.offer__eyebrow { font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--terra-2); }
.offer__title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; margin: 4px 0 !important; }
.offer__title a { color: var(--green); text-decoration: none; }
.offer__price { font-weight: 800; color: var(--green); }
.offer__price span { font-weight: 600; color: var(--muted); font-size: .88rem; }
.offer__price del { color: var(--muted); font-weight: 600; }
.offer__price ins { text-decoration: none; }
.offer__btn { display: inline-flex; margin-top: 10px; min-height: 42px; align-items: center; padding: 0 1.2em; border-radius: 999px; background: var(--terra); color: #fff !important; font-weight: 800 !important; text-decoration: none !important; font-size: .92rem; }
.offer__btn:hover { background: var(--terra-2); }
.post-shop { background: #fff9d9; border-top: 1px solid #f3e08a; }

/* Ajustes gerais com a nova paleta */
.idade-card__age, .eyebrow { color: var(--terra-2); }
.metodo__list li::before { background-color: var(--gold); }
.lc-disclosure { background: #fff4b8; color: #574a07; }
.lc-disclosure__icon { background: #574a07; color: #fff4b8; }
.veredito { background: var(--sage); }
.footer-wave, .home .footer-wave, .single .footer-wave { background: transparent; }
.brand--light img { height: 58px; width: auto; }
.site-footer strong { color: var(--gold); }

/* Loja (WooCommerce) */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; }
.woocommerce ul.products li.product a img { border-radius: 12px; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 12px !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.02rem !important; line-height: 1.3; color: var(--ink); padding: 0 !important; }
.woocommerce ul.products li.product .price { color: var(--green) !important; font-weight: 800; font-size: 1.05rem !important; }
.woocommerce ul.products li.product .button { margin-top: auto !important; text-align: center; }
.woocommerce span.onsale { background: var(--terra) !important; border-radius: 999px !important; min-height: 0 !important; line-height: 1 !important; padding: 7px 10px !important; }
.woocommerce div.product .product_title { font-family: var(--font-display); color: var(--green); font-size: var(--step-3); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--green) !important; font-size: 1.6rem !important; font-weight: 800; }
.woocommerce div.product form.cart .button { min-height: 54px; padding: 0 2em !important; font-size: 1.05rem !important; background: var(--terra) !important; }
.woocommerce div.product form.cart .button:hover { background: var(--terra-2) !important; }
.woocommerce div.product div.images img { border-radius: 18px; }
.woocommerce .woocommerce-breadcrumb { font-size: .86rem; }
.woocommerce-products-header__title { font-family: var(--font-display); color: var(--green); }
.woocommerce .quantity { display: none !important; }

@media (max-width: 1080px) {
	.pgrid--4, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr 1fr; }
	.btn--shop span { display: none; }
	.btn--shop { padding: 0; width: 44px; justify-content: center; }
}
@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.shop-banner { min-height: 0; }
	.primary-nav__shop {
		display: flex; align-items: center; gap: 14px; margin: 6px 0 10px; padding: 14px 16px; border-radius: 18px;
		background: var(--green); color: #fff; text-decoration: none; line-height: 1.3; font-size: .9rem;
	}
	.primary-nav__shop strong { display: block; font-size: 1.05rem; color: var(--gold); }
	.primary-nav__shop-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold); color: var(--green); }
	.brand__tag { display: none; }
	.deal__box { grid-template-columns: 1fr; }
	.deal__media img { max-width: 320px; }
	.pgrid--3 { grid-template-columns: repeat(2, 1fr); }
	.topbar__text { font-size: .82rem; }
}
@media (max-width: 640px) {
	.brand__logo { height: 44px; }
	.pgrid--4, .pgrid--3, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.pcard__body { padding: 12px; }
	.pcard__title { font-size: .92rem; }
	.pcard__btn { font-size: .82rem; min-height: 40px; }
	.shop-banner__covers { height: 170px; }
	.shop-banner__cover { width: 108px; }
	.shop-banner__cover img { height: 146px; }
	.shop-banner__cover--3 { display: none; }
	.shop-banner__cover--1 { left: 30%; }
	.shop-banner__cover--2 { left: 58%; }
	.hero__covers ul { gap: 8px; overflow-x: auto; padding-bottom: 6px; }
	.hero__covers a, .hero__covers img { width: 60px; }
	.hero__covers img { height: 82px; }
	.offer { grid-template-columns: 84px 1fr; padding: 14px; gap: 14px; }
	.offer__media img { width: 84px; height: 84px; }
	.topbar__tag { display: none; }
	.topbar a { font-size: .8rem; gap: 6px; }
	.footer-grid { grid-template-columns: 1fr; }
	.site-header__actions .icon-btn { width: 40px; height: 40px; }
	.btn--shop { width: 40px; min-height: 40px; }
}
@media (max-width: 380px) {
	.brand__logo { height: 38px; }
	.cart-btn { display: none; }
}

/* Item "Loja" no menu */
.primary-nav .menu > .menu-item-loja > a { color: var(--terra-2); }
.primary-nav .menu > .menu-item-loja > a::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--terra); vertical-align: middle; }
@media (min-width: 961px) and (max-width: 1240px) {
	.brand__tag { display: none; }
	.primary-nav .menu a { padding: .55em .55em; font-size: .9rem; }
}

/* Itens de grade nunca maiores que a tela */
.hero__grid > *, .metodo__grid > *, .archive-hero__inner > *, .deal__box > *, .convite__box > * { min-width: 0; }
@media (max-width: 960px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
}
.shop-banner__covers { flex: 1 1 auto; min-height: 230px; }
@media (max-width: 960px) { .shop-banner__covers { min-height: 0; } }

/* v1.1.1 — correções da loja e do banner */
.site-header .brand__logo { height: 54px !important; width: auto !important; max-width: none !important; }
@media (max-width: 640px) { .site-header .brand__logo { height: 44px !important; } }
@media (max-width: 380px) { .site-header .brand__logo { height: 38px !important; } }
.site-footer .brand--light img { height: 58px !important; width: auto !important; }
body > nav.breadcrumbs { display: none; }
.hero__grid { align-items: center; }
.shop-banner { min-height: 0; }
.shop-banner__covers { flex: none; height: 250px; min-height: 0; }
.shop-banner__cover { width: 160px; }
.shop-banner__cover img { height: 214px; }
@media (max-width: 640px) {
	.shop-banner__covers { height: 175px; }
	.shop-banner__cover { width: 108px; }
	.shop-banner__cover img { height: 146px; }
}
.woocommerce ul.products li.product .price, .woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product .price del { color: var(--muted) !important; opacity: 1; font-weight: 600; font-size: .85rem; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce .woocommerce-ordering select { min-height: 42px; border-radius: 10px; border: 1.5px solid var(--line); padding: 0 10px; font: 700 .9rem var(--font-body); background: var(--card); }
.woocommerce .woocommerce-result-count { color: var(--muted); font-weight: 700; }
.shop-intro { margin: 8px 0 26px; padding: 22px 24px; border-radius: var(--radius-l); background: linear-gradient(120deg, #fff7c7, var(--card)); border: 1.5px solid #f3e08a; }
.shop-intro p { margin: 0 0 14px; color: var(--ink-2); max-width: 70ch; font-size: 1.05rem; }
.shop-intro .shop-cats { margin-bottom: 14px; }
.shop-intro .shop-perks { justify-content: flex-start; margin: 0; }
.woocommerce-products-header__title.page-title { margin-bottom: .2em; }
/* Galeria do produto visível mesmo antes dos scripts adiados */
.woocommerce div.product .woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce div.product .woocommerce-product-gallery__wrapper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.woocommerce div.product .woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; }
.woocommerce div.product .flex-viewport .woocommerce-product-gallery__wrapper { display: block; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { text-decoration: none; }
.woocommerce div.product p.price del { font-size: 1.1rem; color: var(--muted) !important; opacity: 1; }
.woocommerce div.product .woocommerce-product-gallery__image:not(:first-child) a { display: block; }
.woocommerce div.product .woocommerce-product-gallery__image:not(:first-child) img { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }
.woocommerce div.product .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px !important; }
.woocommerce div.product .flex-control-thumbs li { width: auto !important; float: none !important; }
.woocommerce div.product .flex-control-thumbs img { border-radius: 10px; aspect-ratio: 1 / 1; object-fit: cover; }

/* v1.1.6 — celular: logo inteiro, menu acima de tudo, sem rolagem lateral */
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }
.site-header { z-index: 9990; }
.primary-nav { z-index: 9999; }
.hero__title { margin-bottom: .5em; }
.hero__search { margin-top: 8px; }
@media (max-width: 960px) {
	.site-header { position: sticky; }
	.nav-open body { overflow: hidden; touch-action: none; }
	.primary-nav { touch-action: pan-y; }
	.site-header__inner { gap: 10px; }
	.brand { flex: 0 0 auto; min-width: 0; }
	.site-header__actions { flex: 0 1 auto; }
}
@media (max-width: 640px) {
	.site-header .brand__logo { height: 50px !important; width: auto !important; border-radius: 10px; object-fit: contain !important; }
	.site-header__actions { gap: 2px; }
	.hero__covers ul { flex-wrap: wrap; overflow: visible; }
	.hero__covers li:nth-child(n+6) { display: none; }
}
@media (max-width: 370px) {
	.site-header .brand__logo { height: 42px !important; }
	.site-header__actions .icon-btn, .btn--shop { width: 38px; height: 38px; min-height: 38px; }
}

/* Imagens dos livros clicáveis para a Amazon */
.entry-figure__link { position: relative; display: block; border-radius: var(--radius-l); }
.entry-figure__cta {
	position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1em;
	border-radius: 999px; background: var(--terra); color: #fff; font-weight: 800; font-size: .92rem; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .6);
}
.entry-figure__link:hover .entry-figure__cta { background: var(--terra-2); }
.single-main .entry-figure + .container .lc-disclosure, .single-main > .entry > .container--narrow > .lc-disclosure { margin-top: 0 !important; }
.prose a.lc-img-amazon { display: block; cursor: pointer; }
.prose a.lc-img-amazon img { transition: opacity .2s; }
.prose a.lc-img-amazon:hover img { opacity: .92; }
@media (max-width: 640px) { .entry-figure__cta { right: 10px; bottom: 10px; min-height: 38px; font-size: .82rem; } }
