/* ==========================================================================
   Um Tradutor — estilos do tema
   ========================================================================== */

:root {
	--bg: #0b0d12;
	--bg-alt: #0f1218;
	--surface: #141821;
	--surface-2: #1a1f2a;
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.16);
	--text: #f3f4f6;
	--text-soft: #c9ced8;
	--muted: #8f97a5;
	--accent: #f7a823;
	--accent-strong: #ff9500;
	--accent-soft: rgba(247, 168, 35, 0.12);
	--on-accent: #14100a;

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Sora", "Inter", system-ui, sans-serif;

	--radius: 16px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--container: 1180px;
	--narrow: 780px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 120px);
	--header-h: 72px;
	--shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text-soft);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	color: var(--text);
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

button,
input,
textarea,
select {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--accent);
	color: var(--on-accent);
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.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;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--accent);
	color: var(--on-accent);
	border-radius: var(--radius-sm);
	font-weight: 600;
}

.skip-link:focus {
	top: 12px;
}

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

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(var(--narrow) + var(--gutter) * 2);
}

.section {
	padding-block: var(--section);
}

.section--tight {
	padding-block: clamp(40px, 6vw, 72px);
}

.section--alt {
	background: var(--bg-alt);
	border-block: 1px solid var(--border);
}

.section-head {
	max-width: 640px;
	margin-bottom: clamp(32px, 5vw, 48px);
}

.section-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	max-width: none;
}

.section-title {
	font-size: clamp(1.75rem, 3.6vw, 2.6rem);
}

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

.grid {
	display: grid;
	gap: 20px;
}

.grid--2 {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
}

.grid--3 {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

.grid--4 {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

.split {
	display: grid;
	gap: clamp(32px, 6vw, 72px);
	align-items: center;
}

@media (min-width: 900px) {
	.split {
		grid-template-columns: 1fr 1fr;
	}

	.split--media-left .split__media {
		order: -1;
	}
}

/* Elementos -------------------------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	color: var(--accent);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.eyebrow--plain::before {
	display: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--accent);
	color: var(--on-accent);
}

.btn--primary:hover {
	background: var(--accent-strong);
}

.btn--ghost {
	border-color: var(--border-strong);
	color: var(--text);
}

.btn--ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.btn--sm {
	min-height: 40px;
	padding: 8px 18px;
	font-size: 0.875rem;
}

.btn--block {
	width: 100%;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--accent);
	font-size: 0.875rem;
	font-weight: 600;
}

.link-arrow .icon {
	transition: transform 0.2s var(--ease);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
	list-style: none;
}

.tags li,
.tags a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid rgba(247, 168, 35, 0.35);
	border-radius: var(--radius-pill);
	color: var(--accent);
	font-size: 0.8rem;
	font-weight: 500;
}

.tags li:has(a) {
	padding: 0;
	border: 0;
}

.media {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.media--placeholder {
	display: grid;
	place-items: center;
	min-height: 200px;
	background: var(--surface-2);
	color: rgba(255, 255, 255, 0.18);
}

.media--placeholder .icon {
	width: 40px;
	height: 40px;
}

.media-frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.media-badge {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 360px;
	padding: 14px 18px;
	background: rgba(11, 13, 18, 0.82);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	backdrop-filter: blur(8px);
	font-size: 0.8rem;
	line-height: 1.4;
}

.media-badge strong {
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 1.6rem;
}

/* Cabeçalho -------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: rgba(11, 13, 18, 0.6);
	border-bottom: 1px solid transparent;
	backdrop-filter: blur(14px);
	transition: background-color 0.3s, border-color 0.3s;
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header.is-scrolled {
	background: rgba(11, 13, 18, 0.92);
	border-color: var(--border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 100%;
}

.brand,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.custom-logo {
	max-height: 44px;
	width: auto;
}

.brand__name {
	color: var(--text);
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1;
}

.brand__name span {
	color: var(--accent);
}

.nav {
	margin-left: auto;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
}

.nav__list a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	color: var(--text-soft);
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.2s, background-color 0.2s;
}

.nav__list a:hover,
.nav__list .current-menu-item > a,
.nav__list .current_page_parent > a {
	color: var(--text);
	background: rgba(255, 255, 255, 0.06);
}

.nav__list .menu-item-has-children {
	position: relative;
}

.nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: 0.2s var(--ease);
}

.nav__list .menu-item-has-children:hover > .sub-menu,
.nav__list .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.nav__cta-mobile,
.nav-toggle {
	display: none;
}

.nav-toggle {
	place-items: center;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	background: transparent;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.nav-toggle__close {
	display: none;
}

@media (max-width: 960px) {
	.nav-toggle {
		display: grid;
	}

	.site-header__cta {
		display: none;
	}

	.nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		display: flex;
		flex-direction: column;
		gap: 24px;
		margin: 0;
		padding: 24px var(--gutter) 40px;
		background: var(--bg);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: 0.25s var(--ease);
	}

	.admin-bar .nav {
		top: calc(var(--header-h) + 46px);
	}

	.nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nav__list a {
		padding: 16px 4px;
		border-bottom: 1px solid var(--border);
		border-radius: 0;
		font-size: 1.1rem;
	}

	.nav__list a:hover {
		background: none;
	}

	.nav__list .sub-menu {
		position: static;
		padding: 0 0 0 16px;
		background: none;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav__cta-mobile {
		display: inline-flex;
	}

	.nav-open .nav-toggle__open {
		display: none;
	}

	.nav-open .nav-toggle__close {
		display: block;
	}

	.nav-open {
		overflow: hidden;
	}
}

/* Hero ------------------------------------------------------------------- */

.hero {
	position: relative;
	margin-top: calc(var(--header-h) * -1);
	padding: calc(var(--header-h) + clamp(48px, 9vw, 110px)) 0 clamp(40px, 6vw, 64px);
	overflow: hidden;
	background: var(--bg);
	isolation: isolate;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(11, 13, 18, 0.78);
}

.hero__inner {
	max-width: 820px;
}

.hero__title {
	font-size: clamp(2.4rem, 6.4vw, 4.4rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.hero__title em {
	color: var(--accent);
	font-style: normal;
}

.hero__text {
	max-width: 560px;
	color: var(--text-soft);
	font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 32px 0 24px;
}

.badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.badges li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	font-size: 0.8rem;
}

.badges .icon {
	color: var(--accent);
}

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	margin: clamp(48px, 8vw, 80px) 0 0;
	background: rgba(20, 24, 33, 0.75);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	backdrop-filter: blur(10px);
}

.stats__item {
	padding: 28px 16px;
	text-align: center;
}

.stats__item + .stats__item {
	border-left: 1px solid var(--border);
}

.stats dt {
	color: var(--accent);
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.4vw, 2.4rem);
	font-weight: 800;
	line-height: 1.1;
}

.stats dd {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 0.85rem;
	line-height: 1.4;
}

@media (max-width: 720px) {
	.stats {
		grid-template-columns: 1fr 1fr;
	}

	.stats__item + .stats__item {
		border-left: 0;
	}

	.stats__item {
		border-top: 1px solid var(--border);
	}

	.stats__item:nth-child(-n + 2) {
		border-top: 0;
	}

	.stats__item:nth-child(even) {
		border-left: 1px solid var(--border);
	}

	.stats__item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

/* Cards de serviço --------------------------------------------------------- */

.card-servico {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: transform 0.3s var(--ease), border-color 0.3s;
}

.card-servico:hover {
	transform: translateY(-4px);
	border-color: rgba(247, 168, 35, 0.4);
}

.card-servico:hover .link-arrow .icon {
	transform: translateX(4px);
}

.card-servico__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.card-servico__media .media {
	transition: transform 0.6s var(--ease);
}

.card-servico:hover .media {
	transform: scale(1.04);
}

.card-servico__icon {
	position: absolute;
	left: 16px;
	bottom: -20px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	background: var(--accent);
	color: var(--on-accent);
	border-radius: 12px;
	box-shadow: 0 8px 20px -6px rgba(247, 168, 35, 0.5);
}

.card-servico__media {
	overflow: visible;
}

.card-servico__media .media {
	border-radius: var(--radius) var(--radius) 0 0;
}

.card-servico__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 36px 20px 22px;
}

.card-servico__body p {
	flex: 1;
	color: var(--muted);
	font-size: 0.9rem;
}

.card-servico__title {
	font-size: 1.15rem;
}

.card-servico__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Diferenciais ----------------------------------------------------------- */

.features {
	display: grid;
	gap: 12px;
	margin-top: 32px;
	list-style: none;
}

.feature {
	display: flex;
	gap: 16px;
	padding: 18px 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.feature__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	background: var(--accent-soft);
	color: var(--accent);
	border-radius: 10px;
}

.feature__title {
	margin-bottom: 4px;
	font-family: var(--font-body);
	font-size: 1rem;
	letter-spacing: 0;
}

.feature p {
	margin: 0;
	color: var(--muted);
	font-size: 0.875rem;
}

/* Banner ----------------------------------------------------------------- */

.banner {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(320px, 42vw, 440px);
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) + 4px);
	isolation: isolate;
}

.banner__bg {
	position: absolute !important;
	inset: 0;
	z-index: -2;
}

.banner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(11, 13, 18, 0.7);
}

.banner__content {
	max-width: 560px;
	padding: clamp(28px, 5vw, 56px);
}

.banner__title {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* Depoimentos ------------------------------------------------------------ */

.testimonial {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 24px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.testimonial__stars {
	display: flex;
	gap: 2px;
	margin-bottom: 16px;
	color: var(--accent);
}

.testimonial__stars .icon {
	width: 16px;
	height: 16px;
}

.testimonial blockquote {
	flex: 1;
	margin: 0 0 20px;
	color: var(--text-soft);
	font-size: 0.95rem;
}

.testimonial figcaption {
	display: flex;
	align-items: center;
	gap: 12px;
	line-height: 1.3;
}

.testimonial strong {
	display: block;
	color: var(--text);
	font-size: 0.9rem;
}

.testimonial small {
	color: var(--muted);
	font-size: 0.8rem;
}

.avatar {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	background: var(--accent-soft);
	color: var(--accent);
	border-radius: 50%;
	font-size: 0.8rem;
	font-weight: 700;
}

.avatar--img {
	object-fit: cover;
}

/* CTA -------------------------------------------------------------------- */

.cta {
	display: grid;
	gap: 32px;
	align-items: center;
	padding: clamp(28px, 5vw, 56px);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) + 4px);
}

@media (min-width: 900px) {
	.cta {
		grid-template-columns: 1.3fr 1fr;
	}
}

.cta__title {
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

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

.cta__contacts {
	display: grid;
	gap: 10px;
	list-style: none;
}

.cta__contacts a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: rgba(11, 13, 18, 0.5);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	font-size: 0.95rem;
	overflow-wrap: anywhere;
	transition: border-color 0.2s;
}

.cta__contacts a:hover {
	border-color: var(--accent);
}

.cta__contacts .icon {
	color: var(--accent);
}

/* Páginas internas ------------------------------------------------------- */

.page-header {
	padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px);
	border-bottom: 1px solid var(--border);
}

.page-header--tabs {
	padding-bottom: 0;
}

.page-header__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
}

.page-header__intro {
	max-width: 720px;
}

.page-header__title {
	margin-bottom: 0.35em;
	font-size: clamp(2.2rem, 5.4vw, 4rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.page-header__desc {
	color: var(--muted);
	font-size: 1.05rem;
}

.page-header__desc p:last-child {
	margin-bottom: 0;
}

.page-header__search {
	flex: 0 1 380px;
	width: 100%;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin-bottom: 24px;
	color: var(--muted);
	font-size: 0.8rem;
	list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
	content: "/";
	margin: 0 8px;
	opacity: 0.5;
}

.breadcrumbs a:hover {
	color: var(--accent);
}

.breadcrumbs [aria-current] {
	max-width: 32ch;
	overflow: hidden;
	color: var(--text-soft);
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Categorias em abas */

.chips {
	display: flex;
	gap: 28px;
	margin-top: clamp(32px, 5vw, 48px);
	overflow-x: auto;
	scrollbar-width: none;
}

.chips::-webkit-scrollbar {
	display: none;
}

.chip {
	flex: none;
	padding: 14px 0;
	border-bottom: 2px solid transparent;
	color: var(--muted);
	font-size: 0.9rem;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s, border-color 0.2s;
}

.chip:hover {
	color: var(--text);
}

.chip.is-active {
	border-color: var(--accent);
	color: var(--text);
}

/* Busca */

.search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-pill);
	transition: border-color 0.2s;
}

.search-form:focus-within {
	border-color: var(--accent);
}

.search-form__icon {
	position: absolute;
	top: 50%;
	left: 18px;
	color: var(--muted);
	transform: translateY(-50%);
}

.search-form__input {
	flex: 1;
	min-width: 0;
	padding: 8px 8px 8px 44px;
	background: none;
	border: 0;
	outline: 0;
}

.search-form__input::placeholder {
	color: var(--muted);
}

/* Listagem do blog ------------------------------------------------------- */

.blog-label {
	margin: 0 0 8px;
	color: var(--muted);
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.blog-label--section {
	margin: clamp(56px, 8vw, 96px) 0 32px;
	padding-top: 28px;
	border-top: 1px solid var(--border);
}

.blog-top {
	display: grid;
	gap: 40px;
}

@media (min-width: 1024px) {
	.blog-top {
		grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
		gap: 56px;
	}
}

.blog-top__side {
	display: grid;
	align-content: start;
}

.blog-grid {
	display: grid;
	gap: 56px 32px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

/* Cards de post ---------------------------------------------------------- */

.card-post {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.card-post__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--surface);
	border-radius: var(--radius);
}

.card-post__media .media {
	transition: transform 0.6s var(--ease);
}

.card-post:hover .card-post__media .media {
	transform: scale(1.03);
}

.card-post__media .media--placeholder {
	min-height: 0;
	background: var(--surface);
}

.card-post__body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.card-post__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 0.78rem;
}

.card-post__cat {
	position: relative;
	z-index: 1;
	color: var(--accent);
	font-weight: 600;
}

.card-post__cat:hover {
	color: var(--text);
}

.card-post__cat + span::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin-right: 10px;
	background: currentColor;
	border-radius: 50%;
	vertical-align: middle;
}

.card-post__title {
	margin: 0 0 10px;
	font-size: 1.25rem;
	line-height: 1.3;
}

.card-post__title a {
	text-decoration: underline 2px transparent;
	text-underline-offset: 5px;
	transition: text-decoration-color 0.2s;
}

.card-post:hover .card-post__title a {
	text-decoration-color: var(--accent);
}

.card-post__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.card-post__excerpt {
	display: -webkit-box;
	margin: 0 0 14px;
	overflow: hidden;
	color: var(--muted);
	font-size: 0.95rem;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.card-post__date {
	margin: auto 0 0;
	color: var(--muted);
	font-size: 0.8rem;
}

/* Destaque */

.card-post--featured .card-post__media {
	aspect-ratio: 16 / 9;
	border-radius: calc(var(--radius) + 4px);
}

.card-post--featured .card-post__title {
	font-size: clamp(1.75rem, 3.4vw, 2.6rem);
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.card-post--featured .card-post__excerpt {
	max-width: 620px;
	font-size: 1.05rem;
	-webkit-line-clamp: 3;
}

/* Compacto (lista lateral) */

.card-post--compact {
	flex-direction: row;
	align-items: center;
	gap: 18px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}

.card-post--compact:last-child {
	border-bottom: 0;
}

.card-post--compact .card-post__media {
	flex: none;
	width: 112px;
	aspect-ratio: 1;
	border-radius: var(--radius-sm);
}

.card-post--compact .card-post__media .icon {
	width: 24px;
	height: 24px;
}

.card-post--compact .card-post__kicker {
	margin-bottom: 6px;
	font-size: 0.72rem;
}

.card-post--compact .card-post__title {
	margin-bottom: 6px;
	font-size: 1rem;
	line-height: 1.35;
}

.card-post--compact .card-post__date {
	font-size: 0.75rem;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	color: var(--muted);
	font-size: 0.8rem;
}

.post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.post-meta .icon {
	width: 14px;
	height: 14px;
}

.pagination {
	margin-top: clamp(56px, 8vw, 80px);
}

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

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-pill);
	font-size: 0.9rem;
	transition: 0.2s;
}

.pagination .page-numbers:hover {
	border-color: var(--text);
	color: var(--text);
}

.pagination .page-numbers.current {
	background: var(--text);
	border-color: var(--text);
	color: var(--bg);
	font-weight: 700;
}

.pagination .page-numbers.dots {
	border: 0;
}

.empty {
	max-width: 520px;
	margin: 0 auto;
	padding: 48px 0;
	text-align: center;
}

/* Post ------------------------------------------------------------------- */

.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	height: 3px;
}

.admin-bar .reading-progress {
	top: 32px;
}

.reading-progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
}

.article__header {
	padding: clamp(40px, 7vw, 80px) 0 clamp(32px, 4vw, 48px);
}

.article__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin: 0 0 24px;
	color: var(--muted);
	font-size: 0.85rem;
}

.article__cat {
	padding: 6px 14px;
	background: var(--accent-soft);
	color: var(--accent);
	border-radius: var(--radius-pill);
	font-size: 0.8rem;
	font-weight: 600;
	transition: 0.2s;
}

.article__cat:hover {
	background: var(--accent);
	color: var(--on-accent);
}

.article__title {
	font-size: clamp(2.2rem, 5.6vw, 3.75rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.article__lead {
	margin-bottom: 0;
	color: var(--text-soft);
	font-size: clamp(1.1rem, 2vw, 1.3rem);
	line-height: 1.55;
}

.article__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 36px;
	padding-block: 20px;
	border-block: 1px solid var(--border);
}

.article__author {
	display: flex;
	align-items: center;
	gap: 12px;
	line-height: 1.35;
}

.article__author strong {
	display: block;
	color: var(--text);
	font-size: 0.92rem;
}

.article__author time {
	color: var(--muted);
	font-size: 0.82rem;
}

.article__author .avatar {
	width: 44px;
	height: 44px;
}

.article__byline .share__label {
	display: none;
}

.article__cover {
	margin: 0 auto clamp(40px, 6vw, 72px);
}

.article__cover .media {
	aspect-ratio: 16 / 9;
	border-radius: calc(var(--radius) + 4px);
}

.article__cover figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.8rem;
	text-align: center;
}

.article__layout {
	display: grid;
	gap: 48px;
	padding-bottom: var(--section);
}

@media (min-width: 1024px) {
	.article__layout {
		grid-template-columns: minmax(0, var(--narrow)) 260px;
		justify-content: space-between;
	}

	.article__layout--single {
		grid-template-columns: minmax(0, var(--narrow));
		justify-content: center;
	}

	.toc-mobile {
		display: none;
	}
}

@media (max-width: 1023px) {
	.article__aside {
		display: none;
	}

	.article__main {
		width: 100%;
		max-width: var(--narrow);
		margin-inline: auto;
	}
}

.article__sticky {
	position: sticky;
	top: calc(var(--header-h) + 32px);
	display: grid;
	gap: 24px;
}

.toc__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--text);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.toc__title .icon {
	width: 16px;
	height: 16px;
	color: var(--accent);
}

.toc ol {
	display: grid;
	list-style: none;
	border-left: 1px solid var(--border);
}

.toc a {
	display: block;
	margin-left: -1px;
	padding: 7px 0 7px 16px;
	border-left: 2px solid transparent;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.45;
	transition: 0.2s;
}

.toc__item--h3 a {
	padding-left: 28px;
	font-size: 0.82rem;
}

.toc a:hover,
.toc a.is-active {
	border-color: var(--accent);
	color: var(--text);
}

.toc-mobile {
	margin-bottom: 40px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.toc-mobile summary {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 20px;
	color: var(--text);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.toc-mobile summary::-webkit-details-marker {
	display: none;
}

.toc-mobile summary .icon-chevron {
	margin-left: auto;
	transition: transform 0.2s;
}

.toc-mobile[open] summary .icon-chevron {
	transform: rotate(180deg);
}

.toc-mobile .toc {
	padding: 0 20px 16px;
}

.toc-mobile .toc__title {
	display: none;
}

/* Tipografia do conteúdo */

.prose {
	color: var(--text-soft);
	font-size: 1.1rem;
	line-height: 1.8;
	overflow-wrap: break-word;
}

.prose > * + * {
	margin-top: 1.3em;
}

.prose p,
.prose ul,
.prose ol {
	margin-bottom: 0;
}

.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
	margin-bottom: 0;
	color: var(--text);
	font-family: var(--font-display);
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.prose h2 {
	margin-top: 2.2em;
	font-size: clamp(1.6rem, 3vw, 2rem);
}

.prose h3 {
	margin-top: 1.9em;
	font-size: 1.35rem;
}

.prose h4 {
	margin-top: 1.7em;
	font-size: 1.15rem;
}

.prose h5,
.prose h6 {
	margin-top: 1.6em;
	font-family: var(--font-body);
	font-size: 1rem;
	letter-spacing: 0;
}

.prose h6 {
	color: var(--muted);
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.prose h2 + *,
.prose h3 + *,
.prose h4 + *,
.prose h5 + *,
.prose h6 + * {
	margin-top: 0.7em;
}

.prose a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.prose a:hover {
	text-decoration-thickness: 2px;
}

.prose strong {
	color: var(--text);
}

.prose ul,
.prose ol {
	padding-left: 1.4em;
}

.prose li + li {
	margin-top: 0.5em;
}

.prose li::marker {
	color: var(--accent);
}

.prose blockquote {
	margin: 2em 0;
	padding: 4px 0 4px 28px;
	border-left: 3px solid var(--accent);
	color: var(--text);
	font-size: clamp(1.1rem, 1.8vw, 1.25rem);
	font-weight: 500;
	line-height: 1.65;
}

.prose blockquote p + p {
	margin-top: 0.8em;
}

.prose blockquote a {
	color: inherit;
}

.prose blockquote cite {
	display: block;
	margin-top: 12px;
	color: var(--muted);
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 400;
}

.prose img,
.prose video,
.prose iframe {
	border-radius: var(--radius-sm);
}

.prose figure {
	margin-inline: 0;
}

.prose figcaption,
.prose .wp-element-caption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.85rem;
	text-align: center;
}

.prose code {
	padding: 2px 6px;
	background: var(--surface-2);
	border-radius: 6px;
	font-size: 0.9em;
}

.prose pre {
	padding: 20px;
	overflow-x: auto;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.prose pre code {
	padding: 0;
	background: none;
}

.prose hr {
	height: 1px;
	margin-block: 3em;
	background: var(--border);
	border: 0;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.prose .wp-block-table {
	overflow-x: auto;
}

.prose th,
.prose td {
	padding: 12px;
	border-bottom: 1px solid var(--border);
	text-align: left;
}

.prose th {
	color: var(--text);
}

.prose .wp-block-button__link {
	background: var(--accent);
	color: var(--on-accent);
	border-radius: var(--radius-pill);
	font-weight: 600;
	text-decoration: none;
}

.prose .wp-block-embed__wrapper iframe {
	width: 100%;
}

.prose .alignwide {
	width: min(100vw - var(--gutter) * 2, 1000px);
	max-width: none;
	margin-inline: calc((min(100vw - var(--gutter) * 2, 1000px) - 100%) / -2);
}

@media (min-width: 1024px) {
	.article__layout:not(.article__layout--single) .prose .alignwide {
		width: 100%;
		margin-inline: 0;
	}
}

.prose .alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.prose .alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.article__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.article__footer .tags {
	margin: 0;
}

.share {
	display: flex;
	align-items: center;
	gap: 8px;
}

.share__label {
	margin-right: 4px;
	color: var(--muted);
	font-size: 0.85rem;
}

.share__btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 50%;
	cursor: pointer;
	transition: 0.2s;
}

.share__btn:hover,
.share__btn.is-copied {
	border-color: var(--accent);
	color: var(--accent);
}

.share__btn .icon {
	width: 18px;
	height: 18px;
}

.inline-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin-top: 48px;
	padding: clamp(24px, 4vw, 36px);
	background: var(--accent);
	color: var(--on-accent);
	border-radius: calc(var(--radius) + 4px);
}

.inline-cta > div {
	flex: 1 1 320px;
}

.inline-cta h2 {
	margin-bottom: 6px;
	color: var(--on-accent);
	font-size: 1.35rem;
}

.inline-cta p {
	margin: 0;
	color: rgba(20, 16, 10, 0.75);
	font-size: 0.95rem;
}

.inline-cta .btn--primary {
	background: var(--bg);
	color: var(--text);
}

.inline-cta .btn--primary:hover {
	background: #000;
}

.author-box {
	display: flex;
	gap: 20px;
	margin-top: 40px;
	padding: 28px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.author-box .avatar {
	width: 72px;
	height: 72px;
}

.author-box__label {
	margin: 0;
	color: var(--accent);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.author-box__name {
	margin-bottom: 8px;
	font-size: 1.2rem;
}

.author-box p:last-child {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.widget {
	padding: 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	font-size: 0.9rem;
}

.widget__title {
	font-size: 1rem;
}

/* Comentários */

.comments {
	margin-top: 56px;
}

.comments__title,
.comment-reply-title {
	font-size: 1.4rem;
}

.comments__list,
.comments__list .children {
	list-style: none;
}

.comments__list .children {
	padding-left: 24px;
}

.comment-body {
	margin-bottom: 16px;
	padding: 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.comment-meta {
	margin-bottom: 8px;
	font-size: 0.85rem;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
}

.comment-author .avatar {
	width: 32px;
	height: 32px;
}

.comment-metadata a {
	color: var(--muted);
}

.reply a {
	color: var(--accent);
	font-size: 0.85rem;
	font-weight: 600;
}

.comment-form {
	display: grid;
	gap: 16px;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--text);
	font-size: 0.875rem;
	font-weight: 500;
}

.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea {
	width: 100%;
	padding: 12px 16px;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--accent);
	outline: 0;
}

.comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	font-size: 0.85rem;
}

.comment-form-cookies-consent label {
	display: inline;
	color: var(--muted);
	font-weight: 400;
}

/* Serviço (página interna) ------------------------------------------------ */

.service-hero {
	padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 56px);
}

.service-hero__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	background: var(--accent);
	color: var(--on-accent);
	border-radius: 16px;
}

.service-hero__icon .icon {
	width: 28px;
	height: 28px;
}

.service-hero .hero__actions {
	margin-bottom: 0;
}

.service-layout {
	display: grid;
	gap: 40px;
	align-items: start;
}

@media (min-width: 1024px) {
	.service-layout {
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 64px;
	}

	.service-aside {
		position: sticky;
		top: calc(var(--header-h) + 24px);
	}
}

.service-aside {
	display: grid;
	gap: 16px;
}

.panel {
	padding: 24px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.panel--accent {
	background: var(--accent-soft);
	border-color: rgba(247, 168, 35, 0.3);
}

.panel__title {
	font-size: 1.15rem;
}

.panel p {
	color: var(--muted);
	font-size: 0.95rem;
}

.checklist {
	display: grid;
	gap: 12px;
	list-style: none;
}

.checklist li {
	display: flex;
	gap: 10px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.checklist .icon {
	margin-top: 2px;
	color: var(--accent);
}

.faq {
	display: grid;
	gap: 12px;
}

.faq__item {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
}

.faq__item[open] {
	border-color: rgba(247, 168, 35, 0.35);
}

.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	color: var(--text);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.faq__item summary::-webkit-details-marker {
	display: none;
}

.faq__item summary .icon {
	color: var(--accent);
	transition: transform 0.2s;
}

.faq__item[open] summary .icon {
	transform: rotate(180deg);
}

.faq__item p {
	margin: 0;
	padding: 0 20px 20px;
	color: var(--muted);
}

/* 404 */

.error-404 {
	text-align: center;
}

.error-404__code {
	margin: 0;
	color: var(--accent);
	font-family: var(--font-display);
	font-size: clamp(5rem, 16vw, 9rem);
	font-weight: 800;
	line-height: 1;
}

.error-404 .search-form {
	max-width: 480px;
	margin: 32px auto;
}

/* Rodapé ----------------------------------------------------------------- */

.site-footer {
	padding-top: clamp(48px, 7vw, 72px);
	background: var(--bg-alt);
	border-top: 1px solid var(--border);
	font-size: 0.9rem;
}

.site-footer__grid {
	display: grid;
	gap: 40px;
	padding-bottom: 48px;
}

@media (min-width: 900px) {
	.site-footer__grid {
		grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	}
}

.site-footer__brand p {
	max-width: 320px;
	margin-top: 16px;
	color: var(--muted);
}

.site-footer__title {
	margin-bottom: 16px;
	font-family: var(--font-body);
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.site-footer__links,
.site-footer .nav__list {
	display: grid;
	gap: 10px;
	list-style: none;
}

.site-footer .nav__list a {
	padding: 0;
	background: none;
}

.site-footer__links a,
.site-footer .nav__list a {
	color: var(--muted);
	font-size: 0.9rem;
}

.site-footer__links a:hover,
.site-footer .nav__list a:hover {
	color: var(--accent);
}

.site-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	overflow-wrap: anywhere;
}

.socials {
	display: flex;
	gap: 8px;
	list-style: none;
}

.socials a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--border-strong);
	border-radius: 50%;
	transition: 0.2s;
}

.socials a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-block: 24px;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.8rem;
}

.site-footer__bottom p {
	margin: 0;
}

.whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	background: #25d366;
	color: #fff;
	border-radius: 50%;
	box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
	transition: transform 0.2s var(--ease);
}

.whatsapp-float:hover {
	transform: scale(1.06);
}

.whatsapp-float .icon {
	width: 28px;
	height: 28px;
}

/* Animações -------------------------------------------------------------- */

.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}
