/* ==========================================================================
   ConfeitaShop — tema v2 (paleta 2026, Variação A "Verde no comando")
   Tokens e padrões documentados em STYLES.md.
   ========================================================================== */

:root {
	--green: #34543F;
	--green-deep: #243B2C;
	--green-tint: #DDE7DF;
	--brown: #744C29;
	--ink: #4A2E17;
	--muted: #7A5C3E;
	--sand: #ECC7AA;
	--salmon: #FDA18C;
	--salmon-deep: #F58B72;
	--rose: #FBC4BF;
	--beige: #F6F5E1;
	--white: #FFFFFF;
	--divider: #F1E6D8;

	--font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
	--font-sans: 'Inter', system-ui, -apple-system, sans-serif;

	--wrap: 1200px;
	--narrow: 720px;
	--wide: 1000px;
	--gutter: 24px;
	--shadow-card: 0 2px 14px rgba(116, 76, 41, 0.08);
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--beige);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	color: var(--brown);
	line-height: 1.2;
}

:focus-visible { outline: 3px solid var(--salmon); outline-offset: 2px; }

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

.skip-link:focus {
	position: fixed !important;
	top: 12px; left: 12px;
	width: auto; height: auto;
	clip: auto;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--white);
	color: var(--green);
	border-radius: 10px;
	box-shadow: var(--shadow-card);
}

/* ---------- Layout ---------- */

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wide { max-width: calc(var(--wide) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.muted { color: var(--muted); }

.eyebrow {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--green);
}

.link-arrow { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--green); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Botões ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 52px; padding: 14px 26px; border-radius: 12px; font-size: 16px; font-weight: 700; }

.btn-salmon { background: var(--salmon); color: var(--green-deep); }
.btn-salmon:hover { background: var(--salmon-deep); color: var(--green-deep); }

.btn-green { background: var(--green); color: var(--beige); }
.btn-green:hover { background: var(--green-deep); color: var(--beige); }

.btn-ghost { background: var(--white); border-color: var(--sand); color: var(--green); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-deep); }

.btn-outline-light { border-color: rgba(246, 245, 225, 0.6); color: var(--beige); }
.btn-outline-light:hover { background: rgba(246, 245, 225, 0.1); color: var(--beige); }

.btn-beige { background: var(--beige); color: var(--green-deep); font-weight: 700; }
.btn-beige:hover { background: var(--white); color: var(--green-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Chips e cores de categoria ---------- */

.chip {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
}
a.chip:hover { text-decoration: underline; }

.tone-rose   { background: var(--rose);       color: var(--ink); }
.tone-green  { background: var(--green-tint); color: var(--green-deep); }
.tone-sand   { background: var(--sand);       color: var(--ink); }
.tone-salmon { background: var(--salmon);     color: var(--green-deep); }

/* ---------- Avatar (inicial da autora) ---------- */

.avatar {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 30px; height: 30px;
	border-radius: 999px;
	background: var(--sand);
	color: var(--ink);
	font-weight: 700;
	font-size: 13px;
}
.avatar-lg { width: 40px; height: 40px; font-size: 16px; }
.avatar-xl { width: 56px; height: 56px; font-size: 24px; font-family: var(--font-display); }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */

.site-header { background: var(--white); border-bottom: 1px solid var(--sand); }

.header-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 28px;
	padding-block: 12px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; height: 52px; width: auto; }

.primary-nav { margin-left: auto; }
.primary-menu { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.primary-menu a:hover { color: var(--green); }
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu .current_page_parent > a { color: var(--green); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Barra de categorias (telas do blog) */
.cat-bar { border-top: 1px solid var(--divider); }
.cat-bar-row { display: flex; align-items: center; gap: 16px; }
.cat-tabs {
	display: flex;
	gap: 26px;
	overflow-x: auto;
	scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tabs a {
	padding: 12px 0 11px;
	border-bottom: 3px solid transparent;
	color: var(--ink);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.cat-tabs a:hover { color: var(--green); }
.cat-tabs a[aria-current="page"] { color: var(--green); font-weight: 700; border-bottom-color: var(--salmon); }

.search-toggle { position: relative; margin-left: auto; flex: none; }
.search-toggle summary {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border: 1px solid var(--sand);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
	list-style: none;
}
.search-toggle summary::-webkit-details-marker { display: none; }
.search-toggle[open] summary { border-color: var(--green); color: var(--green); }
.search-pop {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 20;
	width: min(380px, 86vw);
	padding: 12px;
	background: var(--white);
	border: 1px solid var(--sand);
	border-radius: 14px;
	box-shadow: var(--shadow-card);
}

/* Formulário de busca */
.search-form { display: flex; gap: 8px; }
.search-field {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--sand);
	border-radius: 10px;
	background: var(--beige);
	color: var(--ink);
	font: 500 15px var(--font-sans);
}
.search-field:focus { outline: 2px solid var(--green); outline-offset: 1px; background: var(--white); }

/* ==========================================================================
   Página inicial (A)
   ========================================================================== */

.hero-a { background: var(--green); color: var(--beige); }
.hero-a-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
	padding-block: 72px 80px;
}
.hero-a-text { flex: 1 1 440px; min-width: 0; }
.pill-outline {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid rgba(246, 245, 225, 0.45);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
}
.hero-a h1 {
	margin: 22px 0 0;
	font-size: clamp(38px, 5vw, 60px);
	line-height: 1.04;
	letter-spacing: -0.02em;
	color: var(--beige);
}
.hero-a h1 .hl { color: var(--salmon); }
.hero-a .lead { margin: 22px 0 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: rgba(246, 245, 225, 0.88); }
.hero-note { margin: 18px 0 0; font-size: 14px; color: rgba(246, 245, 225, 0.78); }

.hero-a-mock { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.mock-card {
	width: 100%;
	max-width: 460px;
	background: var(--white);
	color: var(--ink);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(20, 35, 26, 0.35);
}
.mock-strip { height: 6px; background: var(--salmon); }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 24px 10px; }
.mock-title { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--brown); }
.mock-head .chip { flex: none; }
.mock-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.4; font-variant-numeric: tabular-nums; }
.mock-table th {
	padding: 8px 24px;
	background: var(--beige);
	text-align: left;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}
.mock-table td { padding: 9px 24px; border-bottom: 1px solid var(--divider); }
.mock-table tr:last-child td { border-bottom: 0; }
.mock-table th:last-child, .mock-table td:last-child { text-align: right; white-space: nowrap; }
.mock-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px 24px 24px; border-top: 1px solid var(--sand); }
.kpi { padding: 12px 14px; border-radius: 10px; background: var(--beige); }
.kpi span { display: block; font-size: 12px; line-height: 1.4; color: var(--muted); }
.kpi strong { display: block; margin-top: 2px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--brown); font-variant-numeric: tabular-nums; }
.kpi-hi { background: var(--green); }
.kpi-hi span { color: rgba(246, 245, 225, 0.8); }
.kpi-hi strong { color: var(--beige); }
.mock-note { margin: 12px 0 0; font-size: 12px; color: rgba(246, 245, 225, 0.75); }

.features { background: var(--white); border-bottom: 1px solid var(--sand); }
.features .wrap { padding-block: 36px; }
.features-eyebrow { margin-bottom: 18px; }
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1000px) { .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature p { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.feature .feature-title { margin: 0; font-size: 15px; font-weight: 700; color: var(--brown); }

.section { padding-top: 80px; }
.section-title { margin: 10px 0 0; max-width: 680px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}
.step { padding: 28px; background: var(--white); border: 1px solid var(--sand); border-radius: 16px; }
.step-n {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border-radius: 999px;
	background: var(--salmon);
	color: var(--green-deep);
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 20px;
}
.step h3 { margin: 20px 0 0; font-size: 22px; }
.step p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }

.cta-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 88px;
	padding: 48px 40px;
	background: var(--sand);
	border-radius: 24px;
}
.cta-band h2 { flex: 1 1 420px; margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; color: var(--ink); }

/* ==========================================================================
   Cartões de post
   ========================================================================== */

/* No máximo 3 colunas no contêiner de 1200px; 2 no tablet; 1 no celular. */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px 24px; }

.post-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.card-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 14px;
	background: var(--sand);
}
.post-card-body { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.post-card .chip { align-self: flex-start; }
.post-card-title { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.2; color: var(--brown); }
.post-card-excerpt { font-size: 14px; line-height: 1.55; color: var(--ink); }
.post-card-meta { font-size: 13px; line-height: 1.4; color: var(--muted); }
.post-card:hover .post-card-title { text-decoration: underline; }

.post-card.is-boxed { background: var(--white); border: 1px solid var(--sand); border-radius: 16px; overflow: hidden; }
.post-card.is-boxed .card-img { border-radius: 0; }
.post-card.is-boxed .post-card-body { padding: 18px 22px 22px; }

.card-ph { display: block; }

/* ==========================================================================
   Blog (B)
   ========================================================================== */

.blog-intro { padding-top: 48px; }
.page-h1 {
	margin: 0;
	max-width: 820px;
	font-size: clamp(34px, 4.4vw, 54px);
	line-height: 1.06;
	letter-spacing: -0.02em;
}

.blog-top { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; padding-top: 36px; }

.featured-b { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
/* Altura natural (as capas são panorâmicas e algumas têm texto nas bordas); só as altas são cortadas. */
.featured-b-img { display: block; width: 100%; height: auto; max-height: 380px; object-fit: cover; border-radius: 18px; background: var(--sand); }
.featured-b-img.card-ph { height: 300px; }
.featured-b-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; font-size: 13px; }
.featured-b-title { margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; color: var(--brown); }
.featured-b:hover .featured-b-title { text-decoration: underline; }
.featured-b-excerpt { margin-top: 10px; max-width: 640px; font-size: 17px; line-height: 1.6; }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.byline strong { color: var(--ink); font-weight: 600; }

.start-here { flex: 1 1 320px; min-width: 0; padding: 24px; background: var(--white); border: 1px solid var(--sand); border-radius: 18px; }
.start-here ol { margin: 16px 0 0; padding: 0; list-style: none; }
.start-here li { border-top: 1px solid var(--divider); }
.start-here li a { display: flex; align-items: center; gap: 14px; padding: 14px 0; color: inherit; text-decoration: none; }
.start-here li:last-child a { padding-bottom: 0; }
.start-n { flex: none; width: 22px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--salmon-deep); }
.start-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.start-title { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ink); }
.start-here a:hover .start-title { text-decoration: underline; }
.start-img { flex: none; display: block; width: 60px; height: 60px; object-fit: cover; border-radius: 10px; }

.ad-slot { padding-top: 48px; text-align: center; }
.ad-slot-inner { max-width: 728px; margin-inline: auto; }

.cat-section { padding-top: 56px; }
.cat-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--green);
}
.cat-head h2 { margin: 0; font-size: 28px; }
.cat-head .muted { font-size: 14px; }
.cat-head .link-arrow { margin-left: auto; font-size: 14px; }

.promo-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 300px;
	padding: 28px;
	background: var(--green);
	color: var(--beige);
	border-radius: 14px;
}
.promo-card .chip { align-self: flex-start; }
.promo-card p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(246, 245, 225, 0.86); }
.promo-card .promo-title { margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--beige); }
.promo-card .btn { margin-top: auto; align-self: flex-start; }

.list-sections { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 64px; }
.list-section { flex: 1 1 420px; min-width: 0; }
.list-section .cat-head { margin-bottom: 0; }
.list-section .cat-head h2 { font-size: 24px; }

.post-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--sand); color: inherit; text-decoration: none; }
.list-section .post-row:last-child { border-bottom: 0; }
.post-row-img { flex: none; display: block; width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
.post-row-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.post-row-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; color: var(--brown); }
.post-row:hover .post-row-title { text-decoration: underline; }
.post-row-excerpt { font-size: 14px; line-height: 1.5; }

.blog-bottom-space { height: 88px; }

/* Arquivos, busca */
.archive-head { padding-top: 48px; }
.archive-head .eyebrow { margin-bottom: 8px; }
.archive-desc { max-width: 680px; margin-top: 12px; font-size: 17px; }
.archive-desc p { margin: 0; }
.archive-body { padding-top: 32px; padding-bottom: 88px; }
.search-inline { max-width: 520px; margin-top: 20px; }

.pagination .nav-links,
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--sand);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.page-numbers.current { background: var(--green); border-color: var(--green); color: var(--beige); }
.page-numbers.dots { border: 0; background: transparent; }
a.page-numbers:hover { border-color: var(--green); color: var(--green); }

/* ==========================================================================
   Post
   ========================================================================== */

.post-head { padding-top: 40px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.post-head .chip { margin-top: 22px; }
.post-title { margin: 14px 0 0; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
.page-body { padding-bottom: 88px; }
.post-head > .post-title:first-child { margin-top: 0; }
.post-deck { margin: 16px 0 0; font-size: 19px; line-height: 1.55; }

.post-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
	padding: 16px 0;
	border-top: 1px solid var(--sand);
	border-bottom: 1px solid var(--sand);
	font-size: 15px;
	line-height: 1.4;
}
.byline-name { font-weight: 600; }
.post-byline .muted { font-size: 13px; }
.share { display: flex; gap: 8px; margin-left: auto; }
.icon-btn {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 1px solid var(--sand);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.share-copy.is-copied { background: var(--green-tint); border-color: var(--green); color: var(--green-deep); }

.post-cover { margin: 28px auto 0; }
.post-cover-img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 18px; }

/* Corpo do texto */
.post-body { padding-top: 36px; font-size: 17px; line-height: 1.75; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 1.1em; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: 0.4em; }
.post-body ul li::marker { color: var(--salmon-deep); }
.post-body h2 { margin: 2.2em 0 0.6em; font-size: 28px; scroll-margin-top: 24px; }
.post-body h3 { margin: 1.8em 0 0.5em; font-size: 22px; }
.post-body h4 { margin: 1.6em 0 0.4em; font-size: 19px; }
.post-body img { border-radius: 14px; }
.post-body figure { margin: 1.6em 0; }
.post-body figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.post-body blockquote {
	margin: 1.6em 0;
	padding: 18px 22px;
	background: var(--white);
	border: 1px solid var(--sand);
	border-radius: 14px;
	font-size: 18px;
	color: var(--brown);
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body .wp-block-table { overflow-x: auto; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-body th, .post-body td { padding: 10px 12px; border-bottom: 1px solid var(--sand); text-align: left; }
.post-body th { background: var(--white); font-weight: 600; }
.post-body .wp-block-button__link { background: var(--green); color: var(--beige); border-radius: 10px; }
.post-body .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
@media (min-width: 1048px) {
	.post-body .alignwide { margin-left: -140px; margin-right: -140px; }
}

.toc { margin: 0 0 28px; padding: 18px 22px; background: var(--white); border: 1px solid var(--sand); border-radius: 14px; }
.post-body .toc ol { margin: 10px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.7; }
.post-body .toc li + li { margin-top: 4px; }

.inline-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin: 2em 0;
	padding: 22px 24px;
	background: var(--green);
	color: var(--beige);
	border-radius: 16px;
}
.inline-cta-text { flex: 1 1 300px; min-width: 0; }
.post-body .inline-cta p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(246, 245, 225, 0.86); }
.post-body .inline-cta .inline-cta-title { margin-bottom: 4px; font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--beige); }
.inline-cta .btn { text-decoration: none; }

/* Padrões de bloco (Dica, Atenção, Fórmula, Lista numerada) */
.callout { margin: 1.8em 0; padding: 18px 22px; border-radius: 16px; }
.post-body .callout > :last-child { margin-bottom: 0; }
.post-body .callout p { margin-bottom: 0.6em; }
.callout .callout-label {
	margin: 0 0 4px;
	font-family: var(--font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
}
.callout.dica { background: var(--rose); }
.callout.atencao { position: relative; padding-left: 66px; background: var(--white); border: 2px solid var(--salmon); }
.callout.atencao::before {
	content: '!';
	position: absolute;
	left: 20px; top: 18px;
	display: grid;
	place-items: center;
	width: 32px; height: 32px;
	border-radius: 999px;
	background: var(--salmon);
	color: var(--green-deep);
	font-weight: 800;
	font-size: 17px;
	line-height: 1;
}
.callout.formula { background: var(--green-tint); color: var(--green-deep); }
.callout.formula .formula-head { gap: 8px; }
.post-body .callout.formula .label,
.post-body .callout.formula .meta { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-deep); }
.post-body .callout.formula .meta { font-weight: 500; letter-spacing: 0; text-transform: none; }
.post-body .formula-body p { margin: 8px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.3; color: var(--green-deep); }
.formula-body code { font: inherit; background: none; padding: 0; }
.post-body .formula-foot { margin: 12px 0 0; font-size: 14px; color: var(--green-deep); }

.post-body .recipe-list-title { margin: 1.8em 0 0.6em; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--brown); }
.post-body ol.recipe-list { padding: 0; list-style: none; counter-reset: rl; }
.post-body ol.recipe-list li {
	position: relative;
	margin-top: 10px;
	padding: 14px 18px 14px 62px;
	background: var(--white);
	border: 1px solid var(--sand);
	border-radius: 14px;
	counter-increment: rl;
	line-height: 1.55;
}
.post-body ol.recipe-list li::before {
	content: counter(rl);
	position: absolute;
	left: 16px; top: 12px;
	display: grid;
	place-items: center;
	width: 32px; height: 32px;
	border-radius: 999px;
	background: var(--green);
	color: var(--beige);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 15px;
}

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

.author-box {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 48px;
	padding: 22px 0;
	border-top: 1px solid var(--sand);
	border-bottom: 1px solid var(--sand);
}
.post-body .author-box p { margin: 0; }
.author-box .author-name { margin-top: 2px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--brown); }
.author-box .author-bio { margin-top: 6px; font-size: 14px; line-height: 1.55; }
.author-box .link-arrow { display: inline-block; margin-top: 8px; font-size: 14px; }

.related { padding-top: 56px; padding-bottom: 88px; }
.related-title { margin: 0 0 20px; font-size: 26px; }

/* Comentários */
.comments-area { padding-top: 40px; }
.comments-title, .comment-reply-title { font-size: 22px; }
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { margin-bottom: 12px; padding: 16px 18px; background: var(--white); border: 1px solid var(--sand); border-radius: 14px; font-size: 15px; }
.comment-form label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--sand);
	border-radius: 10px;
	background: var(--white);
	font: 15px var(--font-sans);
	color: var(--ink);
}
.comment-form .submit {
	min-height: 44px;
	padding: 10px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--green);
	color: var(--beige);
	font: 600 14px var(--font-sans);
	cursor: pointer;
}

/* Formulários do WPForms (página Contato): cores do tema por cima das do bloco */
.wpforms-container {
	--wpforms-button-background-color: #34543F !important;
	--wpforms-button-background-color-alt: #243B2C !important;
	--wpforms-button-border-color: #34543F !important;
	--wpforms-button-text-color: #F6F5E1 !important;
	--wpforms-button-border-radius: 10px !important;
	--wpforms-button-size-height: 44px !important;
	--wpforms-field-border-color: #ECC7AA !important;
	--wpforms-field-border-radius: 10px !important;
	--wpforms-field-background-color: #FFFFFF !important;
	--wpforms-field-text-color: #4A2E17 !important;
	--wpforms-label-color: #4A2E17 !important;
	--wpforms-label-sublabel-color: #7A5C3E !important;
	--wpforms-button-border-style: solid !important;
	--wpforms-button-border-size: 1px !important;
}
.wpforms-container .wpforms-form button[type="submit"],
.wpforms-container .wpforms-form .wpforms-submit {
	background-color: var(--green) !important;
	border-color: var(--green) !important;
	color: var(--beige) !important;
	border-radius: 10px !important;
	font-family: var(--font-sans) !important;
	font-weight: 600 !important;
	padding-inline: 22px !important;
}
.wpforms-container .wpforms-form button[type="submit"]:hover,
.wpforms-container .wpforms-form .wpforms-submit:hover {
	background-color: var(--green-deep) !important;
	border-color: var(--green-deep) !important;
}
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form textarea {
	border-color: var(--sand) !important;
	border-radius: 10px !important;
}
.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form textarea:focus {
	border-color: var(--green) !important;
	box-shadow: 0 0 0 1px var(--green) !important;
}

/* 404 */
.not-found { padding-top: 72px; padding-bottom: 96px; }
.not-found .page-h1 { margin-top: 8px; }
.not-found p { font-size: 17px; }

/* ==========================================================================
   Rodapé
   ========================================================================== */

.site-footer { background: var(--green-deep); color: var(--beige); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; padding-block: 56px 32px; }
.footer-brand { flex: 1 1 280px; }
.footer-brand .brand-logo { height: 56px; }
.footer-brand p { margin: 14px 0 0; max-width: 300px; font-size: 14px; line-height: 1.6; color: rgba(246, 245, 225, 0.8); }
.footer-col { flex: 0 1 180px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.4; }
.footer-col a { color: var(--beige); opacity: 0.85; text-decoration: none; }
.footer-col a:hover { opacity: 1; text-decoration: underline; color: var(--beige); }
.footer-title { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--salmon); }
.footer-menu { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-bottom { padding-block: 18px 28px; border-top: 1px solid rgba(246, 245, 225, 0.15); font-size: 13px; color: rgba(246, 245, 225, 0.72); }

/* ==========================================================================
   Telas estreitas
   ========================================================================== */

/* Menu hambúrguer (só no celular/tablet) */
.menu-toggle, .nav-actions { display: none; }

@media (max-width: 820px) {
	.header-row { position: relative; gap: 10px 12px; }
	.brand-logo { height: 44px; }
	.header-actions { margin-left: auto; }
	.hide-md { display: none !important; }

	.menu-toggle {
		display: grid;
		place-items: center;
		width: 44px; height: 44px;
		padding: 0;
		border: 1px solid var(--sand);
		border-radius: 10px;
		background: var(--white);
		color: var(--ink);
		cursor: pointer;
	}
	.menu-toggle .icon-close { display: none; }
	.menu-open .menu-toggle { border-color: var(--green); color: var(--green); }
	.menu-open .menu-toggle .icon-menu { display: none; }
	.menu-open .menu-toggle .icon-close { display: block; }

	/* Com JavaScript: painel que abre embaixo do cabeçalho */
	html.js .header-row { flex-wrap: nowrap; }
	html.js .primary-nav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		z-index: 50;
		margin: 0;
		padding: 4px var(--gutter) 20px;
		background: var(--white);
		border-bottom: 1px solid var(--sand);
		box-shadow: 0 16px 24px rgba(74, 46, 23, 0.1);
	}
	html.js .menu-open .primary-nav { display: block; }
	html.js .primary-menu { flex-direction: column; gap: 0; }
	html.js .primary-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--divider); font-size: 17px; }
	html.js .nav-actions { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
	html.js .nav-actions .btn { width: 100%; }

	/* Sem JavaScript: links em linha embaixo da logo (nunca ficam escondidos) */
	html:not(.js) .menu-toggle { display: none; }
	html:not(.js) .primary-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; scrollbar-width: none; }
	html:not(.js) .primary-menu { gap: 22px; padding-bottom: 2px; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	.hero-a-row { gap: 40px; padding-block: 48px 56px; }
	.section { padding-top: 56px; }
	.cta-band { margin-bottom: 56px; padding: 32px 24px; }
	.featured-b-img { height: 220px; }
	.post-cover-img { max-height: 260px; }
	.mock-head { padding-inline: 16px; }
	.mock-table th, .mock-table td { padding-inline: 16px; }
	.mock-kpis { padding-inline: 16px; }
	.callout.atencao { padding-left: 22px; padding-top: 60px; }
	.callout.atencao::before { left: 22px; }
	.post-byline .share { margin-left: 0; width: 100%; }
	.blog-bottom-space { height: 56px; }
}

@media (max-width: 480px) {
	.hide-xs { display: none !important; }
	.btn-lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
