/*
Theme Name: PLH Advocacia
Theme URI: https://plhadvogados.com.br
Author: PLH Advogados
Description: Tema sob medida para o PLH Advogados — Pereira Lima & Hauque Advogados. Visual sóbrio e moderno, 100% responsivo, rápido (sem jQuery, fontes locais) e sem dependências de terceiros.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: plh-advocacia
*/

/* ==========================================================================
   Fontes (hospedadas no tema)
   ========================================================================== */
@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/playfair-display-latin.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("assets/fonts/inter-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--c-primary: #004247;
	--c-primary-700: #00353a;
	--c-primary-900: #00262a;
	--c-ink: #13282b;
	--c-text: #3a4d50;
	--c-muted: #6a7b7d;
	--c-gold: #b8935a;
	--c-gold-600: #8a6a38;
	--c-gold-100: #f3ebde;
	--c-cream: #f7f4ee;
	--c-line: #e6e0d5;
	--c-white: #fff;

	--font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow-sm: 0 2px 10px -4px rgba(0, 38, 42, 0.15);
	--shadow: 0 18px 40px -20px rgba(0, 38, 42, 0.35);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
	--section: clamp(64px, 9vw, 120px);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 1024px) {
	:root { --header-h: 88px; }
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-gold-600); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--c-ink); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--c-gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-gold-100); color: var(--c-ink); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.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 {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--c-gold); color: var(--c-primary-900); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	padding: 0.85em 1.4em; border-radius: var(--radius-sm); border: 1.5px solid transparent;
	font: 600 0.95rem/1.2 var(--font-sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 1em 1.7em; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--c-gold); color: var(--c-primary-900); box-shadow: 0 10px 24px -12px rgba(184, 147, 90, 0.9); }
.btn--gold:hover { background: #c8a46a; color: var(--c-primary-900); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-700); color: #fff; }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.25); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px;
	font: 600 0.75rem/1.2 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-gold-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: #d6b98a; }

/* ==========================================================================
   Topo
   ========================================================================== */
.topbar { display: none; background: var(--c-primary-900); color: rgba(255, 255, 255, 0.78); font-size: 0.82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__tagline { margin: 0; letter-spacing: 0.02em; }
.topbar__contacts { list-style: none; display: flex; gap: 28px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--c-gold); width: 1em; height: 1em; }
@media (min-width: 1024px) { .topbar { display: block; } }

/* Sem backdrop-filter/transform aqui: isso prenderia a gaveta (position: fixed) ao cabeçalho. */
.site-header {
	position: sticky; top: 0; z-index: 50; background: #fff;
	border-bottom: 1px solid var(--c-line); transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img, .custom-logo { width: auto; height: 46px; }
@media (min-width: 1024px) { .brand img, .custom-logo { height: 54px; } }
.brand--light { display: none; }

/* Página inicial: cabeçalho transparente sobre o banner até rolar */
.has-hero .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; }
.has-hero .site-header:not(.is-scrolled) .brand--light { display: inline-flex; }
.has-hero .site-header:not(.is-scrolled) .brand--dark:not(:only-of-type) { display: none; }
.has-hero .site-header:not(.is-scrolled) .nav-toggle { color: #fff; }
@media (min-width: 1024px) {
	.has-hero .site-header:not(.is-scrolled) .menu > li > a { color: rgba(255, 255, 255, 0.9); }
	.has-hero .site-header:not(.is-scrolled) .menu > li > a:hover { color: #fff; }
}

/* Botão do menu (celular/tablet) */
.nav-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: -8px;
	border: 0; background: transparent; color: var(--c-primary); cursor: pointer; border-radius: var(--radius-sm); position: relative; z-index: 2;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }
.nav-open .nav-toggle { color: #fff !important; }

/* Gaveta (até 1023px) */
.site-nav {
	position: fixed; inset: 0 0 0 auto; z-index: 1; width: min(88vw, 380px); height: 100vh; height: 100dvh;
	background: var(--c-primary-900); color: #fff; padding: calc(var(--header-h) + 8px) 28px 32px;
	display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
	transform: translateX(100%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0.35s;
}
.nav-open .site-nav { transform: none; visibility: visible; }
.nav-open { overflow: hidden; }
.nav-overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0, 20, 22, 0.55); }
.nav-open .ht-ctc { opacity: 0 !important; visibility: hidden !important; pointer-events: none; } /* botão flutuante do WhatsApp (plugin) não cobre a gaveta */
.menu { list-style: none; }
.site-nav .menu > li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.site-nav .menu a {
	display: block; padding: 16px 0; color: #fff; text-decoration: none;
	font: 500 1.15rem/1.3 var(--font-sans); letter-spacing: 0.01em;
}
.site-nav .menu .current-menu-item > a, .site-nav .menu a:hover { color: #d6b98a; }
.site-nav .sub-menu { list-style: none; padding: 0 0 12px 16px; }
.site-nav .sub-menu a { font-size: 1rem; padding: 8px 0; color: rgba(255, 255, 255, 0.75); }
.site-nav__actions { display: grid; gap: 12px; margin-top: auto; }
.site-nav__actions .btn { width: 100%; }

@media (min-width: 1024px) {
	.nav-toggle, .nav-overlay { display: none !important; }
	.site-nav {
		position: static; width: auto; height: auto; padding: 0; background: none; color: inherit;
		flex-direction: row; align-items: center; gap: 36px; overflow: visible; transform: none; visibility: visible;
	}
	.site-nav .menu { display: flex; align-items: center; gap: 34px; }
	.site-nav .menu > li { border: 0; position: relative; }
	.site-nav .menu > li > a {
		padding: 8px 0; color: var(--c-ink); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
		background: linear-gradient(var(--c-gold), var(--c-gold)) 0 100% / 0 2px no-repeat; transition: background-size 0.3s var(--ease), color 0.2s;
	}
	.site-nav .menu > li > a:hover, .site-nav .menu > .current-menu-item > a, .site-nav .menu > .current-menu-parent > a { color: var(--c-primary); background-size: 100% 2px; }
	.site-nav .sub-menu {
		position: absolute; top: 100%; left: -18px; min-width: 240px; padding: 10px; background: #fff; border-radius: var(--radius-sm);
		box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s;
	}
	.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-nav .sub-menu a { color: var(--c-ink); padding: 10px 12px; border-radius: 6px; font-size: 0.92rem; }
	.site-nav .sub-menu a:hover { background: var(--c-cream); }
	.site-nav__actions { display: flex; margin: 0; }
	.site-nav__actions .btn { width: auto; }
	.site-nav__phone { display: none !important; }
}

/* ==========================================================================
   Banner da página inicial
   ========================================================================== */
.hero {
	position: relative; isolation: isolate; color: #fff; overflow: hidden;
	margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h);
	min-height: min(100svh, 860px); display: flex; flex-direction: column; justify-content: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(ellipse 75% 70% at 50% 45%, rgba(0, 30, 33, 0.78) 0%, rgba(0, 30, 33, 0.9) 100%),
		linear-gradient(0deg, rgba(0, 30, 33, 0.6) 0%, rgba(0, 30, 33, 0) 35%);
}
.hero__inner { padding-block: clamp(48px, 9vh, 110px) 40px; max-width: calc(860px + 2 * var(--gutter)); margin-inline: auto; text-align: center; }
.hero__eyebrow { justify-content: center; }
.hero__eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
@media (max-width: 639px) { .hero__eyebrow::before, .hero__eyebrow::after { display: none; } }
.hero__title { color: #fff; font-size: clamp(2.4rem, 6.2vw, 4.4rem); line-height: 1.05; margin-bottom: 0.45em; }
.hero__title span { display: block; color: #d6b98a; font-size: 0.5em; font-weight: 500; letter-spacing: 0.02em; margin-top: 0.45em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; color: rgba(255, 255, 255, 0.86); max-width: 680px; margin: 0 auto 2em; text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__trust { padding-bottom: 28px; }
.trust {
	list-style: none; display: grid; gap: 1px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(6px);
}
.trust__item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 20px; background: rgba(0, 30, 33, 0.55); font-weight: 500; font-size: 0.95rem; }
.trust__item .icon { color: #d6b98a; width: 26px; height: 26px; }
@media (min-width: 768px) { .trust { grid-template-columns: repeat(3, 1fr); } .trust__item { padding: 20px 18px; gap: 12px; } }
@media (min-width: 1024px) { .trust__item { padding: 22px 26px; gap: 14px; } }

/* ==========================================================================
   Seções
   ========================================================================== */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--cream { background: var(--c-cream); }
.section--dark { background: var(--c-primary-900); color: rgba(255, 255, 255, 0.78); position: relative; overflow: hidden; }
.section--dark::before {
	content: ""; position: absolute; inset: auto -10% -40% auto; width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle, rgba(184, 147, 90, 0.18), transparent 65%); pointer-events: none;
}
.section--dark .section-title { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 0.4em; }
.section-lead { font-size: 1.08rem; color: var(--c-muted); margin: 0; }

/* Desktop: banner e cabeçalhos de seção usam a largura toda, sem quebrar em linhas curtas */
@media (min-width: 1024px) {
	.hero__inner { max-width: calc(var(--container) + 2 * var(--gutter)); }
	.hero__lead { max-width: none; font-size: 1.075rem; }
	.section-head { max-width: none; }
	.section-head .section-lead { font-size: 1rem; }
}

/* Áreas de atuação */
.areas { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.area {
	position: relative; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 36px);
	background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
	transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.area::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; border-radius: var(--radius) var(--radius) 0 0;
	background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.area:hover::before { transform: scaleX(1); }
.area__icon {
	display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 50%;
	background: var(--c-cream); color: var(--c-primary);
}
.area__icon .icon { width: 28px; height: 28px; }
.area__title { font-size: 1.5rem; margin-bottom: 16px; }
.area__list { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.area__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.97rem; color: var(--c-text); }
.area__list .icon { color: var(--c-gold); margin-top: 3px; width: 18px; height: 18px; }
.area__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--c-primary); }
.area__link .icon { transition: transform 0.25s var(--ease); }
.area__link:hover .icon { transform: translateX(4px); }
.area__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* O escritório */
.about { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__media::before {
	content: ""; position: absolute; inset: 14px -10px -10px 14px; z-index: -1;
	border: 1.5px solid var(--c-gold); border-radius: var(--radius);
}
@media (min-width: 640px) { .about__media::before { inset: 22px -18px -18px 22px; } }
.about__media { isolation: isolate; }
.about__badge {
	position: absolute; left: -12px; bottom: 28px; background: var(--c-primary); color: #fff;
	padding: 18px 22px; border-radius: var(--radius-sm); box-shadow: var(--shadow); display: grid; gap: 2px;
}
.about__badge strong { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; }
.about__badge span { font-size: 0.82rem; color: #d6b98a; letter-spacing: 0.08em; text-transform: uppercase; }
@media (min-width: 960px) {
	.about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
	.about__media { position: sticky; top: calc(var(--header-h) + 32px); }
	.about__badge { left: -28px; }
}

/* Diferenciais */
.features { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); position: relative; }
.feature {
	padding: 34px 30px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(214, 185, 138, 0.5); color: #d6b98a; margin-bottom: 22px; }
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { color: #fff; font-size: 1.35rem; }
.feature p { margin: 0; line-height: 1.7; }

/* Cartões de artigos */
.cards { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
	position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
	border: 1px solid var(--c-line); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.card__meta { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--c-muted); margin-bottom: 10px; text-transform: uppercase; }
.card__title { font-size: 1.25rem; line-height: 1.3; margin-bottom: 10px; }
.card__title a { color: var(--c-ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__excerpt { font-size: 0.95rem; color: var(--c-muted); margin-bottom: 18px; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; color: var(--c-gold-600); }

/* Chamada final */
.cta-band {
	background:
		radial-gradient(circle at 85% 20%, rgba(184, 147, 90, 0.22), transparent 45%),
		linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-900) 100%);
	color: #fff; padding-block: clamp(56px, 7vw, 88px);
}
.cta-band__inner { display: grid; gap: 28px; align-items: center; }
.cta-band__title { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin: 0; max-width: 760px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band__actions .btn { flex: 1 1 auto; }
@media (min-width: 1024px) {
	.cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; }
	.cta-band__actions .btn { flex: 0 0 auto; }
}

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero {
	position: relative; isolation: isolate; color: #fff; padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px);
	background: var(--c-primary-900) url("assets/img/hero-1600.webp") center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 30, 33, 0.96) 0%, rgba(0, 38, 42, 0.9) 55%, rgba(0, 38, 42, 0.72) 100%); }
.page-hero__inner { max-width: calc(900px + 2 * var(--gutter)); margin-left: max(0px, calc((100% - var(--container) - 2 * var(--gutter)) / 2)); }
.page-hero__title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); margin: 0; }
.page-hero__sub { display: block; font-size: 0.55em; color: #d6b98a; font-weight: 500; margin-top: 0.4em; }
.page-hero__lead { margin: 18px 0 0; color: rgba(255, 255, 255, 0.8); font-size: 1.08rem; max-width: 680px; }

.breadcrumbs { margin-bottom: 22px; font-size: 0.85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, 0.65); }
.breadcrumbs li + li::before { content: "›"; color: #d6b98a; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs li:last-child { min-width: 0; max-width: 100%; }
.breadcrumbs [aria-current] { display: block; min-width: 0; max-width: 46ch; color: rgba(255, 255, 255, 0.65); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.post-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: 0.9rem; }
.post-meta li { display: inline-flex; align-items: center; gap: 8px; }
.post-meta--light { color: rgba(255, 255, 255, 0.8); }
.post-meta .icon { color: #d6b98a; }

.layout { display: grid; gap: 48px; }
.layout__main { min-width: 0; }
.layout__aside { display: grid; gap: 28px; align-content: start; }
@media (min-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; }
	.layout__aside > .contact-card { position: sticky; top: calc(var(--header-h) + 24px); }
}
.featured { margin: 0 0 36px; }
.featured img { width: 100%; border-radius: var(--radius); }

/* Tipografia do conteúdo */
.entry-content { font-size: 1.0625rem; line-height: 1.8; color: var(--c-text); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 1.8em 0 0.6em; }
.entry-content h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin: 1.7em 0 0.55em; }
.entry-content h4 { font-size: 1.15rem; margin: 1.5em 0 0.5em; }
.entry-content strong { color: var(--c-ink); font-weight: 600; }
.entry-content a { color: var(--c-primary); text-decoration-color: var(--c-gold); text-decoration-thickness: 1.5px; }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em; padding-left: 0; }
.entry-content ul { list-style: none; }
.entry-content ul > li { position: relative; padding-left: 28px; margin-bottom: 0.7em; }
.entry-content ul > li::before {
	content: ""; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; transform: rotate(45deg);
	background: var(--c-gold);
}
.entry-content ol { padding-left: 1.4em; }
.entry-content ol > li { margin-bottom: 0.7em; padding-left: 4px; }
.entry-content ol > li::marker { color: var(--c-gold-600); font-weight: 600; }
.entry-content blockquote { margin: 2em 0; padding: 8px 0 8px 26px; border-left: 3px solid var(--c-gold); font-family: var(--font-serif); font-size: 1.25rem; color: var(--c-ink); }
.entry-content hr, .entry-content .wp-block-separator { border: 0; height: 2px; width: 64px; margin: 2.4em 0; background: var(--c-gold); opacity: 1; }
.entry-content img, .entry-content .wp-block-image img { border-radius: var(--radius-sm); }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { font-size: 0.85rem; color: var(--c-muted); text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 0.95rem; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--c-line); text-align: left; }
.entry-content th { color: var(--c-ink); background: var(--c-cream); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content iframe { width: 100%; border: 0; border-radius: var(--radius-sm); }
.entry-content--compact { font-size: 1.02rem; line-height: 1.75; }
.entry-content--compact p:first-child { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.5; color: var(--c-ink); }

/* Botões de bloco dentro do conteúdo e widgets */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-button__link, .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; padding: 0.8em 1.3em; border-radius: var(--radius-sm);
	background: var(--c-primary); color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; transition: background 0.2s;
}
.wp-block-button__link:hover { background: var(--c-primary-700); color: #fff; }

/* Cartão de contato lateral */
.contact-card {
	display: grid; gap: 12px; padding: 30px 28px; background: #fff; border: 1px solid var(--c-line);
	border-top: 3px solid var(--c-gold); border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-card .eyebrow { margin-bottom: 0; }
.contact-card__title { font-size: 1.45rem; margin: 0; }
.contact-card__text { margin: 0 0 6px; color: var(--c-muted); font-size: 0.95rem; }
.contact-card__mail { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; font-size: 0.9rem; text-decoration: none; word-break: break-all; }

/* Página de contato */
.channels { display: grid; gap: 16px; margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.channel {
	display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--c-line); border-radius: var(--radius);
	text-decoration: none; color: var(--c-text); background: #fff; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.channel:hover { border-color: var(--c-gold); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--c-text); }
.channel strong { display: block; color: var(--c-ink); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.channel > span:last-child { overflow-wrap: anywhere; }
.channel__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-cream); color: var(--c-primary); flex: none; }

/* Artigo */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--c-line); font-size: 0.9rem; }
.share span { font-weight: 600; color: var(--c-ink); margin-right: 4px; }
.share a { padding: 6px 14px; border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; color: var(--c-text); }
.share a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.post-cta {
	display: grid; gap: 18px; align-items: center; margin: 36px 0; padding: 28px; border-radius: var(--radius);
	background: var(--c-cream); border-left: 4px solid var(--c-gold);
}
.post-cta__title { font-size: 1.35rem; margin: 0 0 4px; }
.post-cta p { margin: 0; color: var(--c-muted); }
@media (min-width: 720px) { .post-cta { grid-template-columns: 1fr auto; } }
.post-nav { display: grid; gap: 16px; }
.post-nav a { display: block; padding: 18px 20px; border: 1px solid var(--c-line); border-radius: var(--radius); text-decoration: none; color: var(--c-ink); font-weight: 600; height: 100%; }
.post-nav a:hover { border-color: var(--c-gold); }
.post-nav small { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-gold-600); margin-bottom: 4px; }
.post-nav__next { text-align: right; }
@media (min-width: 720px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav__next:only-child { grid-column: 2; } }

/* Widgets da barra lateral */
.sidebar-widgets { display: grid; gap: 28px; }
.widget-title, .sidebar-widgets .wp-block-heading { font-size: 1.15rem; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--c-line); text-transform: none; letter-spacing: 0; }
.sidebar-widgets .wp-block-latest-posts { list-style: none; margin: 0; padding: 0; }
.sidebar-widgets .wp-block-latest-posts li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.sidebar-widgets .wp-block-latest-posts__featured-image { grid-row: span 2; margin: 0 !important; float: none !important; }
.sidebar-widgets .wp-block-latest-posts__featured-image img { width: 56px !important; height: 56px !important; object-fit: cover; border-radius: 8px; border: 0; padding: 0; }
.sidebar-widgets .wp-block-latest-posts__post-title { font-weight: 600; font-size: 0.92rem; line-height: 1.35; color: var(--c-ink); text-decoration: none; }
.sidebar-widgets .wp-block-latest-posts__post-title:hover { color: var(--c-primary); }
.sidebar-widgets .wp-block-latest-posts__post-date { font-size: 0.78rem; color: var(--c-muted); }
.sidebar-widgets .wp-block-button { flex: 1 1 100%; }
.sidebar-widgets .wp-block-button__link { width: 100%; background: transparent; color: var(--c-primary); border: 1.5px solid var(--c-primary); }
.sidebar-widgets .wp-block-button__link:hover { background: var(--c-primary); color: #fff; }

/* Paginação, busca, vazio */
.pagination { margin-top: 56px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--radius-sm);
	border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); font-weight: 600;
}
.page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
a.page-numbers:hover { border-color: var(--c-gold); color: var(--c-primary); }
.page-numbers.dots { border: 0; }
.search-form { display: flex; max-width: 520px; border: 1px solid var(--c-line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.search-form__input { flex: 1; min-width: 0; padding: 14px 16px; border: 0; font: inherit; color: var(--c-ink); background: transparent; }
.search-form__input:focus { outline: none; }
.search-form:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(0, 66, 71, 0.12); }
.search-form__button { display: grid; place-items: center; width: 54px; border: 0; background: var(--c-primary); color: #fff; cursor: pointer; }
.search-inline { margin-bottom: 40px; }
.empty-state { text-align: center; max-width: 620px; margin-inline: auto; }
.empty-state .search-form { margin: 24px auto; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { background: var(--c-primary-900); color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }
.site-footer__grid { display: grid; gap: 40px; padding-block: clamp(56px, 7vw, 88px) 48px; }
.site-footer__brand .brand { display: inline-flex; margin-bottom: 20px; }
.site-footer__brand .brand img { height: 48px; }
.site-footer__brand p { max-width: 320px; margin: 0; }
.site-footer__title { font: 600 0.78rem/1.2 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase; color: #d6b98a; margin-bottom: 18px; }
.footer-menu { list-style: none; display: grid; gap: 10px; }
.footer-menu + .footer-menu { margin-top: 10px; }
.footer-menu a, .footer-contacts a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer-menu a:hover, .footer-contacts a:hover { color: #fff; }
.footer-contacts { list-style: none; display: grid; gap: 14px; }
.footer-contacts li { display: flex; gap: 12px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contacts .icon { color: #d6b98a; margin-top: 3px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; } }
.site-footer__map iframe { display: block; width: 100%; height: 280px; border: 0; filter: grayscale(0.85) contrast(1.05); transition: filter 0.4s; }
.site-footer__map iframe:hover { filter: none; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 22px; }
.site-footer__bottom p { margin: 0; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.to-top .icon { transform: rotate(-90deg); color: #d6b98a; }
.to-top:hover { color: #fff; }

/* ==========================================================================
   Animações de entrada
   ========================================================================== */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .areas .reveal:nth-child(2), .js-reveal .cards .reveal:nth-child(2), .js-reveal .features .reveal:nth-child(2) { transition-delay: 0.1s; }
.js-reveal .areas .reveal:nth-child(3), .js-reveal .cards .reveal:nth-child(3), .js-reveal .features .reveal:nth-child(3) { transition-delay: 0.2s; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
	.topbar, .site-header, .site-footer, .cta-band, .layout__aside, .share, .post-nav { display: none !important; }
	.page-hero { background: none; color: #000; }
	.page-hero__title { color: #000; }
}
