/*
Theme Name: Poersch Advogados
Theme URI: https://poersch.adv.br/
Description: Tema institucional sob medida para Poersch & Poersch Advogados Associados.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: poersch
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #101010;
	--graphite: #161616;
	--graphite-2: #1e1e1e;
	--gold: #cc9933;
	--gold-light: #ddb25a;
	--gold-deep: #8a6418; /* dourado legível sobre fundo claro */
	--paper: #f6f4ef;
	--white: #ffffff;
	--text: #2a2a2a;
	--muted: #67625a;
	--line: #e3ddd1;
	--line-dark: rgba(255, 255, 255, 0.1);
	--on-dark: rgba(255, 255, 255, 0.72);
	--on-dark-muted: rgba(255, 255, 255, 0.5);
	--whatsapp: #25d366;

	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--container: 1200px;
	--gutter: 24px;
	--radius: 2px;
	--header-h: 84px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--shadow: 0 30px 60px -30px rgba(16, 16, 16, 0.28);
}

/* ==========================================================================
   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;
	background: var(--white);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color 0.2s, background-color 0.2s, border-color 0.2s, opacity 0.2s; }

h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

::selection { background: var(--gold); color: var(--ink); }

.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: 16px; top: -60px; z-index: 1000;
	background: var(--gold); color: var(--ink); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.center { text-align: center; }

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

/* ==========================================================================
   Componentes
   ========================================================================== */
.eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	margin: 0 0 18px;
	font-family: var(--sans); font-size: 12px; font-weight: 600;
	letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--light,
.page-hero .eyebrow { color: var(--gold); }

.section-title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 22px; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 16px 28px;
	border: 1px solid transparent; border-radius: var(--radius);
	font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
	line-height: 1.2; cursor: pointer; white-space: nowrap;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.32); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--graphite-2); color: var(--gold); }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.checklist { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--paper); color: var(--gold-deep); }

/* ==========================================================================
   Topo
   ========================================================================== */
.topbar { background: #0a0a0a; color: var(--on-dark-muted); font-size: 12.5px; }
.topbar__inner { display: flex; justify-content: flex-end; gap: 28px; padding-top: 9px; padding-bottom: 9px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--gold); }
a.topbar__item:hover { color: var(--gold); }

.site-header {
	position: sticky; top: 0; z-index: 100;
	/* Sem backdrop-filter: ele faria do cabeçalho o bloco de referência do menu
	   mobile (position: fixed), que ficaria preso à altura do cabeçalho. */
	background: #121212;
	border-bottom: 1px solid var(--line-dark);
	transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.6); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--white); }
.brand__mark { width: 46px; height: auto; color: var(--gold); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand__name { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.brand__tag { font-size: 9.5px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin-top: 5px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav .menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu a {
	position: relative; display: block; padding: 8px 0; white-space: nowrap;
	font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em; color: var(--on-dark);
}
.main-nav .menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
	background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.main-nav .menu a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current_page_parent > a { color: var(--white); }
.main-nav .menu a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after,
.main-nav .current-menu-ancestor > a::after,
.main-nav .current_page_parent > a::after { transform: scaleX(1); }
.main-nav__cta { padding: 13px 20px; }

.nav-toggle {
	display: none; align-items: center; justify-content: center;
	width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-dark); border-radius: var(--radius);
	background: transparent; color: var(--white); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ==========================================================================
   Hero (página inicial)
   ========================================================================== */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(60% 70% at 85% 30%, rgba(204, 153, 51, 0.13), transparent 70%),
		var(--ink);
	color: var(--white);
	padding-top: clamp(64px, 9vw, 112px);
}
.hero__grid-lines {
	position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: calc(100% / 6) 100%;
	mask-image: linear-gradient(to bottom, #000 40%, transparent);
	-webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; }
.hero__title { font-size: clamp(2.7rem, 5.6vw, 4.75rem); line-height: 1.02; color: var(--white); margin-bottom: 28px; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero__lead { max-width: 34em; font-size: 17px; color: var(--on-dark); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; isolation: isolate; padding: 0 0 36px 36px; }
.hero__frame {
	position: relative; aspect-ratio: 4 / 4.6;
	display: grid; place-items: center;
	background: linear-gradient(160deg, #1d1d1d 0%, #121212 100%);
	border: 1px solid rgba(204, 153, 51, 0.35);
}
.hero__frame::before {
	content: ""; position: absolute; inset: 0; transform: translate(-22px, 22px);
	border: 1px solid rgba(204, 153, 51, 0.18); z-index: -1;
}
.hero__mark { width: 52%; color: var(--gold); filter: drop-shadow(0 20px 40px rgba(204, 153, 51, 0.18)); }
.hero__badge {
	position: absolute; left: 0; bottom: 0;
	display: flex; align-items: center; gap: 14px;
	padding: 20px 26px; background: var(--gold); color: var(--ink);
}
.hero__badge strong { font-family: var(--serif); font-size: 56px; line-height: 0.9; font-weight: 600; }
.hero__badge span { font-size: 12px; font-weight: 600; line-height: 1.35; letter-spacing: 0.1em; text-transform: uppercase; }

.hero__facts {
	position: relative; list-style: none; margin: clamp(56px, 8vw, 96px) 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line-dark);
}
.hero__facts li { padding: 30px 32px 40px 0; display: flex; flex-direction: column; gap: 4px; }
.hero__facts li + li { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.hero__facts strong { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--white); line-height: 1.1; }
.hero__facts span { font-size: 13.5px; color: var(--on-dark-muted); }

/* ==========================================================================
   Seções
   ========================================================================== */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tight { padding: 56px 0 clamp(72px, 9vw, 112px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--graphite); color: var(--on-dark); }
.section--dark .section-title { color: var(--white); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 52px; }
.section-head .section-title { margin-bottom: 0; max-width: 18em; }
.section-head__text { max-width: 27rem; color: var(--muted); margin: 0; }

/* Sobre */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about__content > p { color: var(--muted); }
.about__content > p strong { color: var(--ink); font-weight: 600; }
.about__media {
	position: relative; overflow: hidden; aspect-ratio: 4 / 4.4;
	display: flex; align-items: flex-end;
	background: linear-gradient(160deg, #1e1e1e, #101010);
	padding: clamp(28px, 4vw, 48px);
}
.about__mark { position: absolute; top: -8%; right: -14%; width: 85%; color: var(--gold); opacity: 0.09; }
.about__panel { position: relative; color: var(--on-dark); max-width: 22rem; }
.about__panel p { font-size: 15px; }
.about__year { display: block; font-family: var(--serif); font-size: clamp(4.5rem, 9vw, 7.5rem); font-weight: 600; line-height: 0.9; color: var(--gold); margin-bottom: 18px; }

/* Áreas */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area-card { background: var(--white); border: 1px solid var(--line); transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.area-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.area-card__link { display: flex; flex-direction: column; height: 100%; padding: 36px 34px 32px; }
.area-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 34px; }
.area-card__icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--line); color: var(--gold-deep); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.area-card__icon .icon { width: 28px; height: 28px; }
.area-card:hover .area-card__icon { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.area-card__num { font-family: var(--serif); font-size: 18px; color: #b9b2a4; }
.area-card__title { font-size: 27px; margin-bottom: 12px; }
.area-card__text { color: var(--muted); font-size: 15px; flex: 1; margin-bottom: 26px; }
.area-card__more { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); }
.area-card__more .icon { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.area-card:hover .area-card__more .icon { transform: translateX(4px); }

/* Como trabalhamos */
.method .section-title { max-width: 16em; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { border-top: 1px solid rgba(204, 153, 51, 0.45); padding-top: 28px; }
.step__num { display: block; font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--gold); margin-bottom: 22px; }
.step__title { font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 10px; letter-spacing: 0; }
.step p { font-size: 15px; color: var(--on-dark-muted); }

/* Equipe */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-card__photo {
	position: relative; overflow: hidden; aspect-ratio: 4 / 5;
	display: grid; place-items: center;
	background:
		radial-gradient(80% 60% at 50% 25%, rgba(204, 153, 51, 0.16), transparent 70%),
		linear-gradient(170deg, #222, #121212);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15); transition: transform 0.6s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__initials { font-family: var(--serif); font-size: 72px; font-weight: 500; letter-spacing: 0.04em; color: var(--gold); }
.team-card__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.team-card:hover .team-card__photo::after { transform: scaleX(1); }
.team-card__body { padding-top: 20px; }
.team-card__name { font-size: 24px; margin-bottom: 6px; }
.team-card__role { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin: 0; }
.team-card__oab { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Artigos */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--graphite); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; background: linear-gradient(160deg, #1e1e1e, #101010); }
.post-card__placeholder svg { width: 26%; color: var(--gold); opacity: 0.55; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.post-card__meta { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.post-card__meta span { color: var(--gold-deep); }
.post-card__title { font-size: 25px; margin-bottom: 12px; }
.post-card__title a:hover { color: var(--gold-deep); }
.post-card__excerpt { color: var(--muted); font-size: 15px; flex: 1; margin-bottom: 22px; }

/* Contato */
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.contact__info > p { color: var(--muted); }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 18px; }
.contact-list__icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border: 1px solid var(--line); color: var(--gold-deep); }
.contact-list__icon .icon { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-list a,
.contact-list span:not(.contact-list__icon) { font-weight: 600; color: var(--ink); line-height: 1.5; }
.contact-list a:hover { color: var(--gold-deep); }

.contact__form { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label span { color: var(--gold-deep); }
.field input,
.field select,
.field textarea {
	width: 100%; padding: 14px 15px;
	border: 1px solid #d7d0c2; border-radius: var(--radius); background: var(--white);
	font: inherit; font-size: 15px; color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(204, 153, 51, 0.2); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--muted); line-height: 1.55; cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--gold-deep); flex: none; }
.consent a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; font-size: 14.5px; font-weight: 500; border-left: 3px solid; }
.notice--success { background: #eef6ee; border-color: #3c8a4a; color: #1f5129; }
.notice--error { background: #fbefec; border-color: #b4472f; color: #7a2716; }

.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }

/* Chamada */
.cta { background: var(--paper); padding: clamp(56px, 7vw, 88px) 0; }
.cta__inner {
	position: relative; overflow: hidden;
	display: flex; align-items: center; justify-content: space-between; gap: 40px;
	padding: clamp(36px, 5vw, 64px);
	background: linear-gradient(135deg, #1c1c1c, #101010);
	border-left: 3px solid var(--gold);
}
.cta__title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); color: var(--white); margin-bottom: 10px; }
.cta__text { color: var(--on-dark); max-width: 34em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero {
	position: relative; overflow: hidden;
	background: radial-gradient(50% 80% at 90% 10%, rgba(204, 153, 51, 0.12), transparent 70%), var(--ink);
	padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
}
.page-hero__mark { position: absolute; right: -4%; top: 50%; width: min(520px, 55%); transform: translateY(-50%); color: var(--gold); opacity: 0.06; }
.page-hero__inner { position: relative; }
.page-hero__title { font-size: clamp(2.4rem, 4.8vw, 3.9rem); color: var(--white); max-width: 16em; }
.page-hero__lead { margin-top: 20px; max-width: 40em; font-size: 17px; color: var(--on-dark); }
.page-hero--article .page-hero__title { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.article__meta { margin-top: 22px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }
.article__cover { margin-top: -40px; position: relative; }
.article__cover img { width: 100%; box-shadow: var(--shadow); }
.article__disclaimer { margin-top: 48px !important; padding: 18px 22px; background: var(--paper); border-left: 3px solid var(--gold); font-size: 14px !important; color: var(--muted); }

.prose { font-size: 17px; color: var(--text); }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.25rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose > *:first-child { margin-top: 0; }
.prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose ul li::marker { color: var(--gold); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose .lead, .prose .has-large-font-size { font-size: 1.2rem; }

.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.side-card { border: 1px solid var(--line); padding: 30px; }
.side-card--dark { background: linear-gradient(160deg, #1e1e1e, #101010); border-color: transparent; color: var(--on-dark); }
.side-card--dark h2 { font-size: 27px; color: var(--white); margin: 18px 0 10px; }
.side-card--dark p { font-size: 15px; margin-bottom: 24px; }
.side-card__icon { display: block; color: var(--gold); }
.side-card__icon .icon { width: 40px; height: 40px; }
.side-card__title { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 15px; color: var(--ink); }
.side-list li:last-child a { border-bottom: 0; }
.side-list .icon { width: 16px; height: 16px; color: var(--gold-deep); opacity: 0; transform: translateX(-6px); transition: 0.25s var(--ease); }
.side-list a:hover, .side-list a[aria-current] { color: var(--gold-deep); }
.side-list a:hover .icon, .side-list a[aria-current] .icon { opacity: 1; transform: none; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value { border-top: 2px solid var(--gold); padding-top: 26px; }
.value__num { display: block; font-family: var(--serif); font-size: 18px; color: var(--gold-deep); margin-bottom: 14px; }
.value h3 { font-size: 27px; margin-bottom: 12px; }
.value p { color: var(--muted); font-size: 15.5px; }

.pagination { margin-top: 56px; }
.pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 14px; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.pagination a.page-numbers:hover { border-color: var(--gold); color: var(--gold-deep); }
.empty { text-align: center; color: var(--muted); }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { background: #0b0b0b; color: var(--on-dark-muted); font-size: 14.5px; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 0.9fr 1.1fr 1.3fr; gap: 48px; padding-top: clamp(64px, 7vw, 88px); padding-bottom: 56px; }
.site-footer__about p { margin: 24px 0 26px; max-width: 24rem; }
.site-footer__title { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-links, .site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-links a:hover, .site-footer .menu a:hover { color: var(--gold); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--gold); }
.footer-contact a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-dark); color: var(--on-dark); }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social .icon { width: 19px; height: 19px; }
.site-footer__bottom { border-top: 1px solid var(--line-dark); font-size: 13px; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.site-footer__bottom a:hover { color: var(--gold); }

.wa-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 90;
	display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
	background: var(--whatsapp); color: var(--white);
	box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
	transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 30px; height: 30px; }

/* ==========================================================================
   Animação de entrada
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-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; }
	.js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1320px) {
	.main-nav { gap: 22px; }
	.main-nav .menu { gap: 18px; }
	.main-nav .menu a { font-size: 13px; }
	.main-nav__cta { padding: 12px 16px; letter-spacing: 0.06em; }
}

@media (max-width: 1180px) {
	:root { --header-h: 74px; }
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 16px var(--gutter) 32px;
		background: var(--ink); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
	}
	.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.main-nav .menu { flex-direction: column; gap: 0; }
	.main-nav .menu a { padding: 18px 0; font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: 0; color: var(--white); border-bottom: 1px solid var(--line-dark); }
	.main-nav .menu a::after { display: none; }
	.main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current_page_parent > a { color: var(--gold); }
	.main-nav__cta { margin-top: 28px; padding: 18px; }
	body.nav-open { overflow: hidden; }
}

@media (max-width: 900px) {
	.hero__inner, .about__grid, .contact__grid, .with-sidebar { grid-template-columns: 1fr; }
	.hero__visual { display: none; }
	.area-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
	.values { grid-template-columns: 1fr; gap: 32px; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.about__media { aspect-ratio: auto; min-height: 340px; }
	.cta__inner { flex-direction: column; align-items: flex-start; }
	.sidebar { position: static; }
	.topbar__item--hide-sm { display: none; }
}

@media (max-width: 640px) {
	:root { --gutter: 16px; }
	body { font-size: 15.5px; }
	.topbar__inner { justify-content: center; gap: 18px; font-size: 12px; }
	.topbar__item:first-child { display: none; }
	.brand__mark { width: 38px; }
	.brand__name { font-size: 13px; letter-spacing: 0.12em; }
	.brand__tag { font-size: 8.5px; letter-spacing: 0.26em; }
	.hero__facts { grid-template-columns: 1fr; }
	.hero__facts li, .hero__facts li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
	.hero__facts li:last-child { border-bottom: 0; padding-bottom: 32px; }
	.hero__actions .btn, .cta__actions .btn, .cta__actions { width: 100%; }
	.area-grid, .post-grid, .steps, .field-row, .checklist { grid-template-columns: 1fr; }
	.team-grid { gap: 20px 14px; }
	.team-card__name { font-size: 20px; }
	.team-card__initials { font-size: 52px; }
	.area-card__link { padding: 28px 24px; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
	.page-hero__mark { width: 80%; right: -30%; }
}

/* ==========================================================================
   v2 — componentes do briefing e da proposta
   ========================================================================== */
.muted { color: var(--muted); }
.section--tight-top { padding-top: clamp(48px, 6vw, 72px); }
.page-hero__actions { margin-top: 32px; }
.btn--ghost-dark { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.link-button { background: none; border: 0; padding: 0; font: inherit; line-height: inherit; color: inherit; cursor: pointer; }
.site-footer__bottom-inner { align-items: baseline; }
.site-footer__bottom-inner p { margin: 0; }
.link-button:hover { color: var(--gold); }

/* Diferenciais */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255, 255, 255, 0.06); }
.feature { background: var(--graphite); padding: 36px 30px 40px; transition: background-color 0.3s; }
.feature:hover { background: #1b1b1b; }
.feature__num { display: block; font-family: var(--serif); font-size: 18px; color: var(--gold); margin-bottom: 40px; }
.feature__title { font-size: 26px; color: var(--white); margin-bottom: 14px; }
.feature p { font-size: 15px; color: var(--on-dark-muted); }

/* Atendimento a distância (home) */
.remote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.remote__lead { color: var(--muted); margin-bottom: 32px; }
.remote-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.remote-steps li { display: flex; gap: 18px; align-items: flex-start; }
.remote-steps li > span { display: grid; place-items: center; flex: none; width: 50px; height: 50px; background: var(--paper); color: var(--gold-deep); }
.remote-steps .icon { width: 24px; height: 24px; }
.remote-steps strong { display: block; color: var(--ink); font-weight: 600; }
.remote-steps div { color: var(--muted); font-size: 15px; line-height: 1.55; }
.remote__cities { background: var(--paper); padding: clamp(28px, 4vw, 40px); border-top: 3px solid var(--gold); }
.remote__cities-title { display: flex; align-items: center; gap: 10px; font-size: 26px; margin-bottom: 22px; }
.remote__cities-title .icon { color: var(--gold-deep); width: 26px; height: 26px; }

/* Chips de capitais */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--white); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); }
.chips a span { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); }
.chips a:hover { border-color: var(--gold); color: var(--gold-deep); }
.other-cities__title { font-size: 26px; margin-bottom: 20px; }

/* Perguntas frequentes */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-layout .btn { margin-top: 12px; }
.faq { border-top: 1px solid var(--line); }
.faq__item, .prose details { border-bottom: 1px solid var(--line); }
.faq__item summary, .prose details summary {
	position: relative; list-style: none; cursor: pointer;
	padding: 22px 48px 22px 0;
	font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--ink);
}
.faq__item summary::-webkit-details-marker, .prose details summary::-webkit-details-marker { display: none; }
.faq__item summary::after, .prose details summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
	border-right: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep);
	transform: rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after, .prose details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item summary:hover, .prose details summary:hover { color: var(--gold-deep); }
.faq__answer, .prose details > :not(summary) { color: var(--muted); padding-bottom: 22px; font-size: 16px; }
.prose details > :not(summary) { margin: 0; }
.faq__answer p + p { margin-top: 0.8em; }
.prose details + details { margin-top: 0; }
.prose h2 + details { margin-top: 0.8em; border-top: 1px solid var(--line); }

/* Equipe */
.team-grid--3 { grid-template-columns: repeat(3, 1fr); }
.team-card__name a:hover { color: var(--gold-deep); }
.team-card__areas { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.team-card__photo { color: inherit; }
.bios { display: grid; gap: clamp(48px, 6vw, 80px); }
.bio { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; scroll-margin-top: calc(var(--header-h) + 24px); }
.bio__name { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: 6px 0 12px; }
.bio__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 22px; }
.bio__meta span + span { color: var(--muted); font-weight: 500; }
.bio + .bio { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); }

/* O escritório */
.about__grid--top { align-items: start; }
.about__media--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.mv__text { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.3; color: var(--white); }
.values--5 { grid-template-columns: repeat(5, 1fr); gap: 28px; }
.values--5 .value h3 { font-size: 24px; }

/* Páginas de capital */
.city-intro { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.city-card h2 { margin-top: 0; }
.city-card__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.city-card__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--on-dark); }
.city-card__list .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.city-badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--paper); border-left: 3px solid var(--gold); font-size: 15px !important; font-weight: 600; color: var(--ink); }
.city-badge .icon { color: var(--gold-deep); }

.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.area-list__item { display: flex; align-items: center; gap: 20px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); transition: border-color 0.3s, box-shadow 0.3s; }
.area-list__item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.area-list__item > span:nth-child(2) { flex: 1; }
.area-list__item strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.area-list__item small { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.area-list__item > .icon { width: 18px; height: 18px; color: var(--gold-deep); }

.court-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.court { padding: 28px 26px; border: 1px solid var(--line); }
.court__icon { display: block; color: var(--gold-deep); margin-bottom: 18px; }
.court__icon .icon { width: 30px; height: 30px; }
.court h3 { font-size: 21px; margin-bottom: 10px; }
.court p { font-size: 14.5px; color: var(--muted); }

.nearby { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--white); border: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.tags .icon { width: 16px; height: 16px; color: var(--gold-deep); }

/* Onde atendemos */
.regions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.region { background: var(--white); border: 1px solid var(--line); padding: 26px 22px; }
.region__title { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; }
.region__list { list-style: none; margin: 0; padding: 0; }
.region__list a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.region__list li:last-child a { border-bottom: 0; }
.region__list small { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; }
.region__list a:hover { color: var(--gold-deep); }

/* Página de área */
.prose--area > h2:first-child { margin-top: 0; }

/* Autor do artigo */
.author-box { display: flex; align-items: center; gap: 18px; margin-top: 48px !important; padding: 22px 24px; border: 1px solid var(--line); }
.author-box__avatar { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--ink); color: var(--gold); font-family: var(--serif); font-size: 24px; }
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box small { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.author-box__name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink); margin: 2px 0 0 !important; }
.author-box__name a { text-decoration: none !important; color: inherit !important; }
.author-box__meta { font-size: 14px !important; color: var(--muted); margin: 2px 0 0 !important; }

/* Aviso de cookies */
.cookie-banner {
	position: fixed; left: 20px; bottom: 20px; z-index: 120;
	max-width: 440px; padding: 22px 24px;
	background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.35);
	font-size: 14px; color: var(--text); line-height: 1.55;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--gold-deep); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-banner .btn { padding: 12px 16px; font-size: 12px; flex: 1; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; }

/* Página de captação */
.site-header--landing { position: relative; }
.landing__header-cta { padding: 12px 18px; }
.landing__hero { padding-bottom: clamp(56px, 8vw, 96px); }
.landing__grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.landing__title { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
.landing__trust { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 10px; color: var(--on-dark); }
.landing__trust li { display: flex; align-items: center; gap: 10px; }
.landing__trust .icon { color: var(--gold); }
.landing__form { box-shadow: none; }
.landing__form-title { font-size: 26px; margin-bottom: 18px; }
.landing__footer { background: #0b0b0b; color: var(--on-dark-muted); font-size: 13px; padding: 28px 0; }
.landing__footer p + p { margin-top: 6px; }
.landing__footer a { color: var(--gold); }

@media (max-width: 1100px) {
	.features { grid-template-columns: repeat(2, 1fr); }
	.court-grid { grid-template-columns: repeat(2, 1fr); }
	.regions { grid-template-columns: repeat(3, 1fr); }
	.values--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
	.remote__grid, .faq-layout, .city-intro, .nearby, .mv, .landing__grid { grid-template-columns: 1fr; }
	.team-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.area-list { grid-template-columns: 1fr; }
	.bio { grid-template-columns: 220px 1fr; }
	.about__media--sticky { position: relative; top: 0; }
	.regions { grid-template-columns: repeat(2, 1fr); }
	.values--5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.features, .court-grid, .regions, .values--5 { grid-template-columns: 1fr; }
	.team-grid--3 { grid-template-columns: 1fr 1fr; }
	.bio { grid-template-columns: 1fr; }
	.bio__photo { max-width: 260px; }
	.faq__item summary, .prose details summary { font-size: 19px; }
	.cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
	.landing__header-cta span { display: none; }
	.area-list__item { padding: 18px; gap: 14px; }
	.area-list__item .area-card__icon { width: 46px; height: 46px; }
}
