/*
Theme Name: Fast WebX Child
Theme URI: https://mesaquemota.com.br/
Description: Tema filho para o Fast WebX. Use este tema para fazer customizações permanentes de CSS e PHP.
Author: Mesaque M. Fast-WebX
Author URI: https://mesaquemota.com.br/
Template: fast-webx
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fast-webx-child
*/

/* =========================================================
   1. Identidade
   ========================================================= */
:root {
	--bg: #fafbf8;
	--surface: #ffffff;
	--surface-soft: #f1f5ef;
	--surface-warm: #f7f4ed;
	--primary: #2e7d32;
	--primary-dark: #1d5a2f;
	--primary-deep: #173f27;
	--primary-soft: #a5d6a7;
	--text: #26312b;
	--muted: #657169;
	--border: #dfe7df;
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--shadow-soft: 0 14px 40px rgba(29, 73, 44, 0.08);
	--shadow-hover: 0 18px 48px rgba(29, 73, 44, 0.13);
	--content-width: 1180px;
	--reading-width: 760px;
	--font-editorial: Georgia, Cambria, "Times New Roman", serif;
}

body {
	background: var(--bg);
	color: var(--text);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.fwx-container {
	width: min(var(--content-width), calc(100% - 48px));
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.fwx-lp-section-title,
.fwx-blog-hero-title,
.fwx-related-title,
.fwx-author-name {
	color: var(--text);
	font-family: var(--font-editorial);
	font-weight: 700;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

a {
	text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--primary-soft);
	outline-offset: 3px;
}

::selection {
	background: var(--primary-soft);
	color: var(--primary-deep);
}

/* =========================================================
   2. Header
   ========================================================= */
.site-header {
	background: rgba(255, 255, 252, 0.96);
	border-bottom: 1px solid rgba(46, 125, 50, 0.1);
	box-shadow: 0 4px 22px rgba(29, 73, 44, 0.04);
}

.site-header .header-inner {
	min-height: 76px;
	gap: 28px;
}

.site-title,
.site-title a {
	color: var(--primary-deep);
	font-family: var(--font-editorial);
	font-size: 1.38rem;
	font-weight: 700;
	letter-spacing: -0.035em;
}

.main-navigation ul {
	gap: clamp(14px, 2vw, 28px);
}

.main-navigation a {
	color: #294335;
	font-size: 0.94rem;
	font-weight: 650;
	letter-spacing: -0.01em;
	transition: color 160ms ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-category-ancestor > a {
	color: var(--primary);
}

.fwx-header-actions button,
.fwx-mobile-btn {
	border-radius: 999px;
	transition: background-color 160ms ease, color 160ms ease;
}

.fwx-header-actions button:hover,
.fwx-mobile-btn:hover {
	background: var(--surface-soft);
	color: var(--primary-dark);
}

/* =========================================================
   3. Home
   ========================================================= */
.fwx-home-lp {
	background: var(--bg);
}

.fwx-lp-hero {
	background: var(--surface-soft);
	border-bottom: 1px solid var(--border);
	min-height: clamp(420px, 58vh, 590px);
	overflow: hidden;
	position: relative;
}

.fwx-lp-hero::before {
	background: rgba(165, 214, 167, 0.28);
	border-radius: 50%;
	content: "";
	height: 360px;
	position: absolute;
	right: -170px;
	top: -170px;
	width: 360px;
}

.fwx-lp-hero-inner {
	position: relative;
	z-index: 1;
}

.fwx-lp-hero-content {
	max-width: 850px;
	padding-block: clamp(72px, 10vw, 118px);
}

.fwx-lp-hero-title {
	color: var(--primary-deep);
	font-family: var(--font-editorial);
	font-size: clamp(3rem, 7vw, 5.8rem);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.98;
	margin: 0 auto 24px;
	max-width: 820px;
}

.fwx-lp-hero-description {
	color: var(--muted);
	font-size: clamp(1.02rem, 1.8vw, 1.22rem);
	line-height: 1.65;
	margin-inline: auto;
	max-width: 650px;
}

.fwx-lp-hero-actions {
	margin-top: 34px;
}

.fwx-btn-lp,
.btn-primary {
	background: var(--primary-dark);
	border: 1px solid var(--primary-dark);
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(29, 90, 47, 0.16);
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	padding: 14px 26px;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.fwx-btn-lp:hover,
.btn-primary:hover {
	background: var(--primary-deep);
	border-color: var(--primary-deep);
	box-shadow: 0 14px 30px rgba(29, 90, 47, 0.22);
	color: #ffffff;
	transform: translateY(-2px);
}

.fwx-scroll-indicator,
.fwx-mouse {
	color: var(--primary-dark);
}

.fwx-lp-services,
.fwx-lp-blog {
	padding-block: clamp(72px, 9vw, 112px);
}

.fwx-lp-services {
	background: var(--surface);
}

.fwx-lp-blog {
	background: var(--surface-soft);
	border-top: 1px solid var(--border);
}

.fwx-lp-section-header {
	margin: 0 auto clamp(36px, 5vw, 54px);
	max-width: 760px;
	text-align: center;
}

.fwx-lp-section-title {
	color: var(--primary-deep);
	font-size: clamp(2.2rem, 4.2vw, 3.5rem);
	line-height: 1.08;
	margin-bottom: 14px;
}

.fwx-lp-section-description {
	color: var(--muted);
	font-size: 1.05rem;
}

/* =========================================================
   4. Cards
   ========================================================= */
.fwx-lp-services-grid {
	gap: 22px;
}

.fwx-lp-service-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: 0 8px 26px rgba(29, 73, 44, 0.045);
	min-height: 218px;
	padding: 30px;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fwx-lp-service-item:nth-child(3n + 1) {
	background: #f8faf5;
}

.fwx-lp-service-item:hover {
	border-color: rgba(46, 125, 50, 0.38);
	box-shadow: var(--shadow-hover);
	transform: translateY(-4px);
}

.fwx-lp-service-icon {
	color: var(--primary);
	margin-bottom: 22px;
}

.fwx-lp-service-item h3 {
	color: var(--primary-deep);
	font-size: 1.38rem;
	line-height: 1.22;
	margin-bottom: 12px;
}

.fwx-lp-service-item p {
	color: var(--muted);
	line-height: 1.62;
}

.fwx-service-cta {
	color: var(--primary-dark);
	font-size: 0.9rem;
	font-weight: 750;
	text-decoration: none;
}

.fwx-service-cta::after {
	content: " →";
	transition: margin-left 160ms ease;
}

.fwx-service-cta:hover::after {
	margin-left: 4px;
}

.fwx-posts-grid,
.fwx-related-grid {
	gap: 26px;
}

.fwx-post-item,
.fwx-related-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: 0 9px 28px rgba(29, 73, 44, 0.055);
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fwx-post-item:hover,
.fwx-related-item:hover {
	border-color: rgba(46, 125, 50, 0.34);
	box-shadow: var(--shadow-hover);
	transform: translateY(-4px);
}

.fwx-post-thumb,
.fwx-related-thumb {
	background: #e8eee7;
	display: block;
	overflow: hidden;
}

.fwx-post-thumb img,
.fwx-related-thumb img {
	aspect-ratio: 3 / 2;
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 260ms ease;
	width: 100%;
}

.fwx-post-item:hover img,
.fwx-related-item:hover img {
	transform: scale(1.025);
}

.fwx-post-content {
	padding: 24px 24px 26px;
}

.fwx-post-item .entry-title {
	font-size: clamp(1.28rem, 2vw, 1.62rem);
	line-height: 1.25;
	margin-bottom: 16px;
}

.fwx-post-item .entry-title a,
.fwx-related-post-title a {
	color: var(--text);
	text-decoration: none;
}

.fwx-post-item .entry-title a:hover,
.fwx-related-post-title a:hover {
	color: var(--primary-dark);
}

.fwx-post-meta,
.entry-meta {
	color: var(--muted);
	font-size: 0.83rem;
	line-height: 1.5;
}

/* =========================================================
   5. Single
   ========================================================= */
.fwx-single-layout.no-sidebar {
	max-width: 980px;
	padding-block: clamp(54px, 7vw, 92px);
}

.fwx-single-content > article {
	background: transparent;
}

.single .entry-header {
	margin: 0 auto 30px;
	max-width: 860px;
}

.single .entry-title {
	color: var(--primary-deep);
	font-size: clamp(2.65rem, 5.5vw, 4.7rem);
	letter-spacing: -0.045em;
	line-height: 1.02;
	margin: 14px 0 20px;
}

.fwx-cat-label {
	background: var(--primary-dark);
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.035em;
	padding: 7px 12px;
	text-transform: none;
}

.single .entry-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.entry-thumbnail.fwx-hero-thumb {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	margin: 0 auto clamp(42px, 6vw, 70px);
	max-width: 900px;
	overflow: hidden;
}

.entry-thumbnail.fwx-hero-thumb img {
	aspect-ratio: 3 / 2;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.single .entry-content {
	color: #303b34;
	font-size: clamp(1.04rem, 1.3vw, 1.12rem);
	line-height: 1.82;
	margin-inline: auto;
	max-width: var(--reading-width);
}

.single .entry-content > * {
	margin-bottom: 1.35em;
}

.single .entry-content h2 {
	color: var(--primary-deep);
	font-size: clamp(1.85rem, 3vw, 2.55rem);
	line-height: 1.17;
	margin-bottom: 0.62em;
	margin-top: 2.1em;
}

.single .entry-content h3 {
	font-size: clamp(1.45rem, 2.4vw, 1.92rem);
	line-height: 1.24;
	margin-bottom: 0.55em;
	margin-top: 1.7em;
}

.single .entry-content a {
	color: var(--primary-dark);
	font-weight: 600;
	text-decoration-thickness: 1px;
}

.single .entry-content blockquote {
	background: var(--surface-soft);
	border-left: 4px solid var(--primary);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: #35443a;
	margin: 2em 0;
	padding: 22px 26px;
}

.single .entry-content img {
	border-radius: var(--radius-md);
}

.single .entry-content table {
	border: 1px solid var(--border);
	border-collapse: separate;
	border-radius: var(--radius-sm);
	border-spacing: 0;
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.single .entry-content th {
	background: var(--surface-soft);
	color: var(--primary-deep);
}

.single .entry-content th,
.single .entry-content td {
	border-bottom: 1px solid var(--border);
	padding: 12px 14px;
}

.fwx-toc-container {
	background: var(--surface-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: none;
	margin: 34px auto 42px;
	padding: 22px 24px;
}

.fwx-toc-title {
	color: var(--primary-deep);
	font-family: var(--font-editorial);
	font-size: 1.15rem;
	font-weight: 700;
}

.fwx-toc-list a {
	color: #395246;
	text-decoration: none;
}

.fwx-share-buttons,
.fwx-author-box,
.fwx-related-posts {
	margin-inline: auto;
	max-width: 900px;
}

.fwx-share-buttons {
	border-top: 1px solid var(--border);
	margin-top: 54px;
	padding-top: 26px;
}

.fwx-btn-share {
	border-radius: 999px;
}

.fwx-author-box {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	margin-top: 46px;
	padding: 28px;
}

.fwx-author-avatar img {
	border: 3px solid var(--surface-soft);
	border-radius: 50%;
}

.fwx-author-name {
	color: var(--primary-deep);
	font-size: 1.45rem;
}

.fwx-author-bio {
	color: var(--muted);
	line-height: 1.7;
}

.fwx-related-posts {
	border-top: 1px solid var(--border);
	margin-top: 58px;
	padding-top: 38px;
}

.fwx-related-title {
	color: var(--primary-deep);
	font-size: clamp(1.7rem, 3vw, 2.25rem);
	margin-bottom: 26px;
}

.fwx-related-post-title {
	font-family: var(--font-editorial);
	font-size: 1.08rem;
	line-height: 1.3;
	margin: 16px 18px 18px;
}

/* =========================================================
   6. Archives
   ========================================================= */
.fwx-blog-hero {
	background: var(--surface-soft);
	border-bottom: 1px solid var(--border);
	padding-block: clamp(54px, 7vw, 84px);
}

.fwx-blog-hero-inner {
	text-align: left;
}

.fwx-blog-hero-title {
	color: var(--primary-deep);
	font-size: clamp(2.8rem, 6vw, 5rem);
	line-height: 1.02;
	margin: 14px 0 16px;
}

.fwx-blog-hero-description {
	color: var(--muted);
	font-size: clamp(1rem, 1.7vw, 1.18rem);
	line-height: 1.65;
	max-width: 780px;
}

.archive main,
.search main,
.author main {
	padding-block: clamp(52px, 7vw, 84px);
}

.archive .fwx-posts-grid,
.search .fwx-posts-grid,
.author .fwx-posts-grid {
	margin-inline: auto;
	max-width: var(--content-width);
}

.navigation.pagination {
	margin-top: 48px;
}

.nav-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.page-numbers {
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--primary-dark);
	min-width: 42px;
	padding: 9px 13px;
	text-align: center;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
	color: #ffffff;
}

/* =========================================================
   7. Footer
   ========================================================= */
.site-footer {
	background: var(--primary-deep);
	border-top: 0;
	color: rgba(255, 255, 255, 0.82);
	margin-top: 0;
}

.footer-top {
	gap: clamp(32px, 5vw, 64px);
	padding-block: clamp(62px, 8vw, 92px);
}

.site-footer .footer-title {
	color: #ffffff;
	font-family: var(--font-editorial);
	font-size: 1.18rem;
	letter-spacing: -0.01em;
	margin-bottom: 22px;
}

.site-footer .footer-title::after {
	background: var(--primary-soft);
	border-radius: 999px;
	height: 2px;
	width: 34px;
}

.site-footer .footer-description,
.site-footer .footer-aux {
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.72;
}

.site-footer a {
	color: #dceedd;
	text-decoration: none;
}

.site-footer a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.footer-links {
	gap: 11px;
}

.footer-bottom {
	background: rgba(0, 0, 0, 0.14);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
	min-height: 74px;
}

/* =========================================================
   8. Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.fwx-container {
		width: min(var(--content-width), calc(100% - 40px));
	}

	.site-header .header-inner {
		min-height: 70px;
	}

	.fwx-lp-services-grid,
	.fwx-posts-grid {
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.fwx-container {
		width: min(100%, calc(100% - 32px));
	}

	.site-header .header-inner {
		min-height: 66px;
	}

	.site-title,
	.site-title a {
		font-size: 1.24rem;
	}

	.main-navigation {
		background: var(--surface);
	}

	.main-navigation a {
		font-size: 1rem;
	}

	.fwx-lp-hero {
		min-height: 500px;
	}

	.fwx-lp-hero::before {
		height: 260px;
		right: -140px;
		top: -140px;
		width: 260px;
	}

	.fwx-lp-hero-content {
		padding-block: 80px 96px;
	}

	.fwx-lp-hero-title {
		font-size: clamp(2.8rem, 13vw, 4.3rem);
		line-height: 1;
	}

	.fwx-lp-services,
	.fwx-lp-blog {
		padding-block: 68px;
	}

	.fwx-lp-section-title {
		font-size: clamp(2.15rem, 9vw, 3rem);
	}

	.fwx-lp-service-item {
		min-height: auto;
		padding: 25px;
	}

	.fwx-post-content {
		padding: 21px;
	}

	.fwx-single-layout.no-sidebar {
		padding-block: 48px 68px;
	}

	.single .entry-title {
		font-size: clamp(2.35rem, 10vw, 3.55rem);
	}

	.entry-thumbnail.fwx-hero-thumb {
		border-radius: var(--radius-md);
		margin-bottom: 42px;
	}

	.single .entry-content {
		font-size: 1.03rem;
		line-height: 1.76;
	}

	.fwx-author-box {
		align-items: flex-start;
		padding: 22px;
	}

	.footer-top {
		padding-block: 58px;
	}
}

@media (max-width: 390px) {
	.fwx-container {
		width: min(100%, calc(100% - 28px));
	}

	.fwx-lp-hero {
		min-height: 470px;
	}

	.fwx-lp-hero-content {
		padding-block: 68px 88px;
	}

	.fwx-lp-hero-title {
		font-size: clamp(2.55rem, 13.5vw, 3.3rem);
	}

	.fwx-btn-lp,
	.btn-primary {
		padding: 13px 22px;
	}

	.fwx-lp-services,
	.fwx-lp-blog {
		padding-block: 58px;
	}

	.single .entry-title {
		font-size: 2.25rem;
	}

	.single .entry-content {
		font-size: 1rem;
		line-height: 1.72;
	}

	.fwx-toc-container,
	.fwx-author-box {
		padding: 20px;
	}
}

@media (max-width: 360px) {
	.fwx-container {
		width: min(100%, calc(100% - 24px));
	}

	.site-title,
	.site-title a {
		font-size: 1.16rem;
	}

	.fwx-lp-hero-title {
		font-size: 2.35rem;
	}

	.fwx-lp-section-title {
		font-size: 2rem;
	}

	.single .entry-title {
		font-size: 2.08rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}


/* =========================================================
   9. Compatibilidade com o modo escuro nativo
   ========================================================= */
html[data-theme="dark"] {
  --bg: #101713;
  --surface: #172019;
  --surface-soft: #1d2920;
  --surface-warm: #26261f;
  --primary: #8bcf8e;
  --primary-dark: #b7e2b9;
  --primary-deep: #dceede;
  --text: #edf4ee;
  --muted: #b1beb4;
  --border: #334439;
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.22);
  --shadow-hover: 0 18px 48px rgba(0, 0, 0, 0.3);
  color-scheme: dark;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .site-main {
  background: var(--bg);
  color: var(--text);
}

html[data-theme="dark"] .site-header {
  background: rgba(16, 23, 19, 0.96);
  border-color: var(--border);
}

html[data-theme="dark"] .site-title,
html[data-theme="dark"] .site-title a,
html[data-theme="dark"] .main-navigation a,
html[data-theme="dark"] .fwx-lp-hero-title,
html[data-theme="dark"] .fwx-lp-services h2,
html[data-theme="dark"] .fwx-lp-blog h2,
html[data-theme="dark"] .fwx-lp-service-item h3,
html[data-theme="dark"] .fwx-post-item .entry-title a,
html[data-theme="dark"] .fwx-single-layout .entry-title,
html[data-theme="dark"] .entry-content h2,
html[data-theme="dark"] .entry-content h3,
html[data-theme="dark"] .fwx-blog-hero-title,
html[data-theme="dark"] .fwx-related-posts h2,
html[data-theme="dark"] .fwx-author-name {
  color: var(--primary-deep);
}

html[data-theme="dark"] .fwx-lp-hero,
html[data-theme="dark"] .fwx-blog-hero {
  background: var(--surface-soft);
}

html[data-theme="dark"] .fwx-lp-hero::before {
  background: rgba(139, 207, 142, 0.08);
}

html[data-theme="dark"] .fwx-lp-services,
html[data-theme="dark"] .fwx-lp-blog {
  background: var(--bg);
}

html[data-theme="dark"] .fwx-lp-service-item,
html[data-theme="dark"] .fwx-post-item,
html[data-theme="dark"] .fwx-toc-container,
html[data-theme="dark"] .fwx-author-box,
html[data-theme="dark"] .fwx-related-item {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

html[data-theme="dark"] .fwx-lp-service-item:nth-child(3n + 1) {
  background: var(--surface-warm);
}

html[data-theme="dark"] .fwx-lp-service-icon {
  background: var(--surface-soft);
  color: var(--primary);
}

html[data-theme="dark"] .fwx-lp-hero p,
html[data-theme="dark"] .fwx-post-meta,
html[data-theme="dark"] .entry-meta,
html[data-theme="dark"] .fwx-author-bio,
html[data-theme="dark"] .fwx-blog-hero-description,
html[data-theme="dark"] .entry-content,
html[data-theme="dark"] .entry-content p,
html[data-theme="dark"] .entry-content li {
  color: var(--muted);
}

html[data-theme="dark"] .fwx-lp-service-item,
html[data-theme="dark"] .fwx-post-item,
html[data-theme="dark"] .fwx-related-item,
html[data-theme="dark"] .entry-thumbnail img {
  border-color: var(--border);
}

html[data-theme="dark"] .fwx-service-cta,
html[data-theme="dark"] .fwx-lp-hero .button,
html[data-theme="dark"] .fwx-lp-hero .fwx-button {
  background: #2e7d32;
  color: #fff;
}

html[data-theme="dark"] .fwx-toc-title,
html[data-theme="dark"] .fwx-toc-list a,
html[data-theme="dark"] .fwx-related-item a {
  color: var(--text);
}

html[data-theme="dark"] .fwx-theme-toggle,
html[data-theme="dark"] .fwx-search-toggle {
  color: var(--primary-deep);
  border-color: var(--border);
}

html[data-theme="dark"] .fwx-search-overlay,
html[data-theme="dark"] .search-form {
  background: var(--surface);
  color: var(--text);
}

	--content-width: 1180px;
	--reading-width: 760px;
	--font-editorial: Georgia, Cambria, "Times New Roman", serif;
}

body {
	background: var(--bg);
	color: var(--text);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.fwx-container {
	width: min(var(--content-width), calc(100% - 48px));
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.fwx-lp-section-title,
.fwx-blog-hero-title,
.fwx-related-title,
.fwx-author-name {
	color: var(--text);
	font-family: var(--font-editorial);
	font-weight: 700;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

a {
	text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--primary-soft);
	outline-offset: 3px;
}

::selection {
	background: var(--primary-soft);
	color: var(--primary-deep);
}

/* =========================================================
   2. Header
   ========================================================= */
.site-header {
	background: rgba(255, 255, 252, 0.96);
	border-bottom: 1px solid rgba(46, 125, 50, 0.1);
	box-shadow: 0 4px 22px rgba(29, 73, 44, 0.04);
}

.site-header .header-inner {
	min-height: 76px;
	gap: 28px;
}

.site-title,
.site-title a {
	color: var(--primary-deep);
	font-family: var(--font-editorial);
	font-size: 1.38rem;
	font-weight: 700;
	letter-spacing: -0.035em;
}

.main-navigation ul {
	gap: clamp(14px, 2vw, 28px);
}

.main-navigation a {
	color: #294335;
	font-size: 0.94rem;
	font-weight: 650;
	letter-spacing: -0.01em;
	transition: color 160ms ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-category-ancestor > a {
	color: var(--primary);
}

.fwx-header-actions button,
.fwx-mobile-btn {
	border-radius: 999px;
	transition: background-color 160ms ease, color 160ms ease;
}

.fwx-header-actions button:hover,
.fwx-mobile-btn:hover {
	background: var(--surface-soft);
	color: var(--primary-dark);
}

/* =========================================================
   3. Home
   ========================================================= */
.fwx-home-lp {
	background: var(--bg);
}

.fwx-lp-hero {
	background: var(--surface-soft);
	border-bottom: 1px solid var(--border);
	min-height: clamp(420px, 58vh, 590px);
	overflow: hidden;
	position: relative;
}

.fwx-lp-hero::before {
	background: rgba(165, 214, 167, 0.28);
	border-radius: 50%;
	content: "";
	height: 360px;
	position: absolute;
	right: -170px;
	top: -170px;
	width: 360px;
}

.fwx-lp-hero-inner {
	position: relative;
	z-index: 1;
}

.fwx-lp-hero-content {
	max-width: 850px;
	padding-block: clamp(72px, 10vw, 118px);
}

.fwx-lp-hero-title {
	color: var(--primary-deep);
	font-family: var(--font-editorial);
	font-size: clamp(3rem, 7vw, 5.8rem);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.98;
	margin: 0 auto 24px;
	max-width: 820px;
}

.fwx-lp-hero-description {
	color: var(--muted);
	font-size: clamp(1.02rem, 1.8vw, 1.22rem);
	line-height: 1.65;
	margin-inline: auto;
	max-width: 650px;
}

.fwx-lp-hero-actions {
	margin-top: 34px;
}

.fwx-btn-lp,
.btn-primary {
	background: var(--primary-dark);
	border: 1px solid var(--primary-dark);
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(29, 90, 47, 0.16);
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	padding: 14px 26px;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.fwx-btn-lp:hover,
.btn-primary:hover {
	background: var(--primary-deep);
	border-color: var(--primary-deep);
	box-shadow: 0 14px 30px rgba(29, 90, 47, 0.22);
	color: #ffffff;
	transform: translateY(-2px);
}

.fwx-scroll-indicator,
.fwx-mouse {
	color: var(--primary-dark);
}

.fwx-lp-services,
.fwx-lp-blog {
	padding-block: clamp(72px, 9vw, 112px);
}

.fwx-lp-services {
	background: var(--surface);
}

.fwx-lp-blog {
	background: var(--surface-soft);
	border-top: 1px solid var(--border);
}

.fwx-lp-section-header {
	margin: 0 auto clamp(36px, 5vw, 54px);
	max-width: 760px;
	text-align: center;
}

.fwx-lp-section-title {
	color: var(--primary-deep);
	font-size: clamp(2.2rem, 4.2vw, 3.5rem);
	line-height: 1.08;
	margin-bottom: 14px;
}

.fwx-lp-section-description {
	color: var(--muted);
	font-size: 1.05rem;
}

/* =========================================================
   4. Cards
   ========================================================= */
.fwx-lp-services-grid {
	gap: 22px;
}

.fwx-lp-service-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: 0 8px 26px rgba(29, 73, 44, 0.045);
	min-height: 218px;
	padding: 30px;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fwx-lp-service-item:nth-child(3n + 1) {
	background: #f8faf5;
}

.fwx-lp-service-item:hover {
	border-color: rgba(46, 125, 50, 0.38);
	box-shadow: var(--shadow-hover);
	transform: translateY(-4px);
}

.fwx-lp-service-icon {
	color: var(--primary);
	margin-bottom: 22px;
}

.fwx-lp-service-item h3 {
	color: var(--primary-deep);
	font-size: 1.38rem;
	line-height: 1.22;
	margin-bottom: 12px;
}

.fwx-lp-service-item p {
	color: var(--muted);
	line-height: 1.62;
}

.fwx-service-cta {
	color: var(--primary-dark);
	font-size: 0.9rem;
	font-weight: 750;
	text-decoration: none;
}

.fwx-service-cta::after {
	content: " →";
	transition: margin-left 160ms ease;
}

.fwx-service-cta:hover::after {
	margin-left: 4px;
}

.fwx-posts-grid,
.fwx-related-grid {
	gap: 26px;
}

.fwx-post-item,
.fwx-related-item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: 0 9px 28px rgba(29, 73, 44, 0.055);
	overflow: hidden;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fwx-post-item:hover,
.fwx-related-item:hover {
	border-color: rgba(46, 125, 50, 0.34);
	box-shadow: var(--shadow-hover);
	transform: translateY(-4px);
}

.fwx-post-thumb,
.fwx-related-thumb {
	background: #e8eee7;
	display: block;
	overflow: hidden;
}

.fwx-post-thumb img,
.fwx-related-thumb img {
	aspect-ratio: 3 / 2;
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 260ms ease;
	width: 100%;
}

.fwx-post-item:hover img,
.fwx-related-item:hover img {
	transform: scale(1.025);
}

.fwx-post-content {
	padding: 24px 24px 26px;
}

.fwx-post-item .entry-title {
	font-size: clamp(1.28rem, 2vw, 1.62rem);
	line-height: 1.25;
	margin-bottom: 16px;
}

.fwx-post-item .entry-title a,
.fwx-related-post-title a {
	color: var(--text);
	text-decoration: none;
}

.fwx-post-item .entry-title a:hover,
.fwx-related-post-title a:hover {
	color: var(--primary-dark);
}

.fwx-post-meta,
.entry-meta {
	color: var(--muted);
	font-size: 0.83rem;
	line-height: 1.5;
}

/* =========================================================
   5. Single
   ========================================================= */
.fwx-single-layout.no-sidebar {
	max-width: 980px;
	padding-block: clamp(54px, 7vw, 92px);
}

.fwx-single-content > article {
	background: transparent;
}

.single .entry-header {
	margin: 0 auto 30px;
	max-width: 860px;
}

.single .entry-title {
	color: var(--primary-deep);
	font-size: clamp(2.65rem, 5.5vw, 4.7rem);
	letter-spacing: -0.045em;
	line-height: 1.02;
	margin: 14px 0 20px;
}

.fwx-cat-label {
	background: var(--primary-dark);
	border-radius: 999px;
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.035em;
	padding: 7px 12px;
	text-transform: none;
}

.single .entry-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
}

.entry-thumbnail.fwx-hero-thumb {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	margin: 0 auto clamp(42px, 6vw, 70px);
	max-width: 900px;
	overflow: hidden;
}

.entry-thumbnail.fwx-hero-thumb img {
	aspect-ratio: 3 / 2;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.single .entry-content {
	color: #303b34;
	font-size: clamp(1.04rem, 1.3vw, 1.12rem);
	line-height: 1.82;
	margin-inline: auto;
	max-width: var(--reading-width);
}

.single .entry-content > * {
	margin-bottom: 1.35em;
}

.single .entry-content h2 {
	color: var(--primary-deep);
	font-size: clamp(1.85rem, 3vw, 2.55rem);
	line-height: 1.17;
	margin-bottom: 0.62em;
	margin-top: 2.1em;
}

.single .entry-content h3 {
	font-size: clamp(1.45rem, 2.4vw, 1.92rem);
	line-height: 1.24;
	margin-bottom: 0.55em;
	margin-top: 1.7em;
}

.single .entry-content a {
	color: var(--primary-dark);
	font-weight: 600;
	text-decoration-thickness: 1px;
}

.single .entry-content blockquote {
	background: var(--surface-soft);
	border-left: 4px solid var(--primary);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: #35443a;
	margin: 2em 0;
	padding: 22px 26px;
}

.single .entry-content img {
	border-radius: var(--radius-md);
}

.single .entry-content table {
	border: 1px solid var(--border);
	border-collapse: separate;
	border-radius: var(--radius-sm);
	border-spacing: 0;
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

.single .entry-content th {
	background: var(--surface-soft);
	color: var(--primary-deep);
}

.single .entry-content th,
.single .entry-content td {
	border-bottom: 1px solid var(--border);
	padding: 12px 14px;
}

.fwx-toc-container {
	background: var(--surface-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: none;
	margin: 34px auto 42px;
	padding: 22px 24px;
}

.fwx-toc-title {
	color: var(--primary-deep);
	font-family: var(--font-editorial);
	font-size: 1.15rem;
	font-weight: 700;
}

.fwx-toc-list a {
	color: #395246;
	text-decoration: none;
}

.fwx-share-buttons,
.fwx-author-box,
.fwx-related-posts {
	margin-inline: auto;
	max-width: 900px;
}

.fwx-share-buttons {
	border-top: 1px solid var(--border);
	margin-top: 54px;
	padding-top: 26px;
}

.fwx-btn-share {
	border-radius: 999px;
}

.fwx-author-box {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	margin-top: 46px;
	padding: 28px;
}

.fwx-author-avatar img {
	border: 3px solid var(--surface-soft);
	border-radius: 50%;
}

.fwx-author-name {
	color: var(--primary-deep);
	font-size: 1.45rem;
}

.fwx-author-bio {
	color: var(--muted);
	line-height: 1.7;
}

.fwx-related-posts {
	border-top: 1px solid var(--border);
	margin-top: 58px;
	padding-top: 38px;
}

.fwx-related-title {
	color: var(--primary-deep);
	font-size: clamp(1.7rem, 3vw, 2.25rem);
	margin-bottom: 26px;
}

.fwx-related-post-title {
	font-family: var(--font-editorial);
	font-size: 1.08rem;
	line-height: 1.3;
	margin: 16px 18px 18px;
}

/* =========================================================
   6. Archives
   ========================================================= */
.fwx-blog-hero {
	background: var(--surface-soft);
	border-bottom: 1px solid var(--border);
	padding-block: clamp(54px, 7vw, 84px);
}

.fwx-blog-hero-inner {
	text-align: left;
}

.fwx-blog-hero-title {
	color: var(--primary-deep);
	font-size: clamp(2.8rem, 6vw, 5rem);
	line-height: 1.02;
	margin: 14px 0 16px;
}

.fwx-blog-hero-description {
	color: var(--muted);
	font-size: clamp(1rem, 1.7vw, 1.18rem);
	line-height: 1.65;
	max-width: 780px;
}

.archive main,
.search main,
.author main {
	padding-block: clamp(52px, 7vw, 84px);
}

.archive .fwx-posts-grid,
.search .fwx-posts-grid,
.author .fwx-posts-grid {
	margin-inline: auto;
	max-width: var(--content-width);
}

.navigation.pagination {
	margin-top: 48px;
}

.nav-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.page-numbers {
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--primary-dark);
	min-width: 42px;
	padding: 9px 13px;
	text-align: center;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--primary-dark);
	border-color: var(--primary-dark);
	color: #ffffff;
}

/* =========================================================
   7. Footer
   ========================================================= */
.site-footer {
	background: var(--primary-deep);
	border-top: 0;
	color: rgba(255, 255, 255, 0.82);
	margin-top: 0;
}

.footer-top {
	gap: clamp(32px, 5vw, 64px);
	padding-block: clamp(62px, 8vw, 92px);
}

.site-footer .footer-title {
	color: #ffffff;
	font-family: var(--font-editorial);
	font-size: 1.18rem;
	letter-spacing: -0.01em;
	margin-bottom: 22px;
}

.site-footer .footer-title::after {
	background: var(--primary-soft);
	border-radius: 999px;
	height: 2px;
	width: 34px;
}

.site-footer .footer-description,
.site-footer .footer-aux {
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.72;
}

.site-footer a {
	color: #dceedd;
	text-decoration: none;
}

.site-footer a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.footer-links {
	gap: 11px;
}

.footer-bottom {
	background: rgba(0, 0, 0, 0.14);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
	min-height: 74px;
}

/* =========================================================
   8. Responsive
   ========================================================= */
@media (max-width: 1024px) {
	.fwx-container {
		width: min(var(--content-width), calc(100% - 40px));
	}

	.site-header .header-inner {
		min-height: 70px;
	}

	.fwx-lp-services-grid,
	.fwx-posts-grid {
		gap: 20px;
	}
}

@media (max-width: 768px) {
	.fwx-container {
		width: min(100%, calc(100% - 32px));
	}

	.site-header .header-inner {
		min-height: 66px;
	}

	.site-title,
	.site-title a {
		font-size: 1.24rem;
	}

	.main-navigation {
		background: var(--surface);
	}

	.main-navigation a {
		font-size: 1rem;
	}

	.fwx-lp-hero {
		min-height: 500px;
	}

	.fwx-lp-hero::before {
		height: 260px;
		right: -140px;
		top: -140px;
		width: 260px;
	}

	.fwx-lp-hero-content {
		padding-block: 80px 96px;
	}

	.fwx-lp-hero-title {
		font-size: clamp(2.8rem, 13vw, 4.3rem);
		line-height: 1;
	}

	.fwx-lp-services,
	.fwx-lp-blog {
		padding-block: 68px;
	}

	.fwx-lp-section-title {
		font-size: clamp(2.15rem, 9vw, 3rem);
	}

	.fwx-lp-service-item {
		min-height: auto;
		padding: 25px;
	}

	.fwx-post-content {
		padding: 21px;
	}

	.fwx-single-layout.no-sidebar {
		padding-block: 48px 68px;
	}

	.single .entry-title {
		font-size: clamp(2.35rem, 10vw, 3.55rem);
	}

	.entry-thumbnail.fwx-hero-thumb {
		border-radius: var(--radius-md);
		margin-bottom: 42px;
	}

	.single .entry-content {
		font-size: 1.03rem;
		line-height: 1.76;
	}

	.fwx-author-box {
		align-items: flex-start;
		padding: 22px;
	}

	.footer-top {
		padding-block: 58px;
	}
}

@media (max-width: 390px) {
	.fwx-container {
		width: min(100%, calc(100% - 28px));
	}

	.fwx-lp-hero {
		min-height: 470px;
	}

	.fwx-lp-hero-content {
		padding-block: 68px 88px;
	}

	.fwx-lp-hero-title {
		font-size: clamp(2.55rem, 13.5vw, 3.3rem);
	}

	.fwx-btn-lp,
	.btn-primary {
		padding: 13px 22px;
	}

	.fwx-lp-services,
	.fwx-lp-blog {
		padding-block: 58px;
	}

	.single .entry-title {
		font-size: 2.25rem;
	}

	.single .entry-content {
		font-size: 1rem;
		line-height: 1.72;
	}

	.fwx-toc-container,
	.fwx-author-box {
		padding: 20px;
	}
}

@media (max-width: 360px) {
	.fwx-container {
		width: min(100%, calc(100% - 24px));
	}

	.site-title,
	.site-title a {
		font-size: 1.16rem;
	}

	.fwx-lp-hero-title {
		font-size: 2.35rem;
	}

	.fwx-lp-section-title {
		font-size: 2rem;
	}

	.single .entry-title {
		font-size: 2.08rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
	

/* =========================================================
13.38A. Identidade institucional aprovada
========================================================= */
.custom-logo {
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 60px;
}

@media (max-width: 768px) {
  .custom-logo {
    max-width: 150px;
    max-height: 45px;
  }
}

#masthead .custom-logo {
  max-height: 60px;
}

@media (max-width: 768px) {
  #masthead .custom-logo {
    max-height: 45px;
  }
}

@media (max-width: 768px) {
  #masthead .header-inner {
    gap: 8px;
    padding-inline: 8px;
  }

  #masthead .custom-logo {
    max-width: 130px;
    max-height: 39px;
  }
}
