/* Fonts: Montserrat, self-hosted (lettering de apoio do manual de normas) */
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Montserrat";
	src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Brand tokens (manual de normas gráficas) */
:root {
	--ink: #212E38;
	--ink-hover: #2F4150;
	--slate: #8A9199;
	--slate-text: #5B646D;
	--mist: #F0F0F0;
	--line: #D6DADE;
	--paper: #FFFFFF;
	--on-ink: #FFFFFF;
	--on-ink-muted: #B7BEC5;
	--on-ink-line: rgba(255, 255, 255, 0.16);
	--error: #A3332B;
	--ok: #2F6B4F;

	--font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--gutter: clamp(20px, 5vw, 56px);
	--max: 1280px;
	--header-h: 64px;
	--cut: 36px;
}

*, *::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(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

h1, h2, h3 {
	margin: 0;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: 0.005em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: var(--on-ink);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

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

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { margin-bottom: 20px; }
.section-head p { color: var(--slate-text); }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 26px;
	border: 1px solid var(--ink);
	border-radius: 2px;
	background: var(--ink);
	color: var(--on-ink);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--on-ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Logo */
.logo { color: inherit; }
.logo-full { aspect-ratio: 228 / 150; }
.logo-name { aspect-ratio: 228 / 86; }

/* Language switch */
.lang {
	display: flex;
	gap: 4px;
}
.lang button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 40px;
	padding: 6px 8px;
	border: 0;
	border-radius: 2px;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity 0.2s ease;
}
.lang button:hover { opacity: 0.85; }
.lang button[aria-pressed="true"] { opacity: 1; }
.lang svg {
	width: 22px;
	height: 15px;
	border-radius: 1px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

/* Header */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	height: var(--header-h);
	color: var(--ink);
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header .wrap {
	display: flex;
	align-items: center;
	height: 100%;
}
.header-logo {
	display: flex;
	align-items: center;
	height: var(--header-h);
	margin-left: calc(var(--gutter) * -1);
	padding: 0 22px 0 var(--gutter);
	background: var(--ink);
	color: var(--on-ink);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s;
}
.header-logo .logo { width: 112px; }
.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(14px, 2vw, 28px);
	margin-left: auto;
}
.site-nav ul {
	display: flex;
	gap: clamp(14px, 2vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav a {
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}
.site-nav a:hover { border-bottom-color: currentColor; }
.header-cta.btn { min-height: 40px; padding: 8px 18px; font-size: 0.875rem; }
.header-phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -6px;
	color: inherit;
	border-radius: 2px;
}
.header-phone:hover { background: rgba(127, 127, 127, 0.12); }
.form-panel .form-required {
	margin: -16px 0 24px;
	font-size: 0.8125rem;
	color: var(--slate-text);
}
.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
	display: block;
	width: 22px;
	height: 1.5px;
	background: currentColor;
	position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
	content: "";
	position: absolute;
	left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.site-header.is-scrolled {
	background: var(--paper);
	box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .header-logo { opacity: 1; visibility: visible; }

/* "Contactos" is the last menu item, shown as a button */
.site-nav a.header-cta:hover { border-color: var(--ink-hover); }
.site-nav a.header-cta[aria-current="page"] { border-color: var(--ink); }

/* One-tap call only where the menu is collapsed (phones and tablets) */
@media (min-width: 1081px) {
	.header-phone { display: none; }
}

/* Mobile menu */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	padding: 0 var(--gutter) calc(32px + env(safe-area-inset-bottom));
	background: var(--ink);
	color: var(--on-ink);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
}
.mobile-menu-top .logo { width: 112px; }
.menu-close {
	width: 44px;
	height: 44px;
	margin-right: -10px;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	position: relative;
}
.menu-close::before,
.menu-close::after {
	content: "";
	position: absolute;
	left: 11px;
	top: 21px;
	width: 22px;
	height: 1.5px;
	background: currentColor;
}
.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }
.mobile-menu ul {
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}
.mobile-menu li { border-bottom: 1px solid var(--on-ink-line); }
.mobile-menu ul a {
	display: block;
	padding: 16px 0;
	font-size: 1.5rem;
	font-weight: 300;
	text-decoration: none;
}
.mobile-menu-foot {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.mobile-menu-foot .btn {
	background: var(--on-ink);
	color: var(--ink);
	border-color: var(--on-ink);
}

/* Hero: the letterhead (folha timbrada) */
.hero {
	display: grid;
	grid-template-columns: minmax(320px, 38%) 1fr;
	min-height: max(640px, 100vh);
	min-height: max(640px, 100svh);
}
.hero-block {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: calc(var(--header-h) + 40px) 40px 56px;
	background: var(--ink);
	color: var(--on-ink);
}
.hero-block .logo {
	width: clamp(240px, 23vw, 460px);
	max-width: 80%;
}
.hero-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* right edge lines up with the menu and the rest of the page */
	padding:
		calc(var(--header-h) + 48px)
		max(var(--gutter), calc((100vw - var(--max)) / 2))
		64px
		clamp(48px, 7vw, 136px);
}
.hero-body h1 {
	max-width: 13em;
	margin-bottom: 28px;
	font-size: clamp(2rem, 3.7vw, 4.5rem);
	line-height: 1.12;
}
.hero-lead {
	max-width: 32em;
	color: var(--slate-text);
	font-size: clamp(1.0625rem, 1.15vw, 1.3125rem);
	margin-bottom: 40px;
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.hero-hours {
	margin: 28px 0 0;
	font-size: 0.9375rem;
	font-weight: 500;
}
.hero-meta {
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	line-height: 1.9;
	color: var(--slate-text);
}

/* Logo entrance: the one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
	.hero-block .logo use {
		opacity: 0;
		animation: line-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
	}
	.hero-block .logo use:nth-child(1) { animation-delay: 0.10s; }
	.hero-block .logo use:nth-child(2) { animation-delay: 0.28s; }
	.hero-block .logo use:nth-child(3) { animation-delay: 0.46s; }
	.hero-block .logo use:nth-child(4) { animation-delay: 0.80s; }
}
@keyframes line-in {
	from { opacity: 0; transform: translateX(-6px); }
	to { opacity: 1; transform: none; }
}

/* About */
.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 7vw, 104px);
	align-items: start;
}
.portrait {
	position: relative;
	aspect-ratio: 4 / 5;
	background: var(--mist);
	clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}
.about-text h2 { margin-bottom: 28px; }
.about-motto {
	margin-top: 28px;
	font-size: 1.25rem;
	font-weight: 300;
	line-height: 1.5;
}
.about-text > p { max-width: 36em; }
.facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 40px;
	margin: 44px 0 0;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
.facts dt {
	margin-bottom: 4px;
	font-size: 0.8125rem;
	font-weight: 600;
}
.facts dd {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--slate-text);
}

/* Practice areas */
.areas {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px clamp(28px, 4vw, 56px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.areas > li {
	padding-top: 22px;
	border-top: 1px solid var(--ink);
}
.areas h3 { margin-bottom: 10px; }
.areas p {
	margin-bottom: 14px;
	font-size: 0.9375rem;
	color: var(--slate-text);
}
.areas .sub {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	line-height: 1.5;
}
.areas .sub li {
	position: relative;
	padding: 5px 0 5px 16px;
}
.areas .sub li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 15px;
	width: 6px;
	height: 1px;
	background: var(--slate);
}

/* Process */
.process-section { border-top: 1px solid var(--line); }
.steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px clamp(24px, 3vw, 44px);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
	content: counter(step);
	display: block;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
	font-size: 2.5rem;
	font-weight: 200;
	line-height: 1;
	color: var(--slate);
}
.steps h3 { margin-bottom: 8px; }
.steps p {
	font-size: 0.9375rem;
	color: var(--slate-text);
}

/* FAQ */
.faq-section { background: var(--mist); }
.faq-grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
}
.faq-grid .section-head { margin-bottom: 0; }
.faq details { border-bottom: 1px solid #CDD1D5; }
.faq details:first-child { border-top: 1px solid #CDD1D5; }
.faq summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
	position: relative;
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 6px;
}
.faq summary .icon::before,
.faq summary .icon::after {
	content: "";
	position: absolute;
	left: 0;
	top: 6.5px;
	width: 14px;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.25s ease;
}
.faq summary .icon::after { transform: rotate(90deg); }
.faq details[open]:not(.is-closing) summary .icon::after { transform: rotate(0deg); }
.faq .answer {
	padding: 0 40px 24px 0;
	color: var(--slate-text);
}

/* Contact */
.contact-section {
	background: var(--ink);
	color: var(--on-ink);
}
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 7vw, 104px);
	align-items: start;
}
.contact-section .section-head p { color: var(--on-ink-muted); }
.contact-list {
	margin: 0;
	display: grid;
	gap: 22px;
}
.contact-list dt {
	font-size: 0.8125rem;
	color: var(--on-ink-muted);
}
.contact-list dd {
	margin: 2px 0 0;
	font-size: 1rem;
}
.contact-list a {
	text-decoration: none;
	border-bottom: 1px solid var(--on-ink-line);
	transition: border-color 0.2s ease;
	overflow-wrap: anywhere;
}
.contact-list a:hover { border-bottom-color: var(--on-ink); }
.contact-hours dd {
	font-size: 1.25rem;
	font-weight: 300;
}
.contact-list small {
	display: block;
	font-size: 0.75rem;
	color: var(--on-ink-muted);
}

.form-panel {
	padding: clamp(28px, 4vw, 48px);
	background: var(--paper);
	color: var(--ink);
	clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.form-panel h3 {
	margin-bottom: 28px;
	font-size: 1.375rem;
	font-weight: 300;
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}
.field { margin-bottom: 20px; }
.field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.8125rem;
	font-weight: 600;
}
.field label .opt { font-weight: 400; color: var(--slate-text); }
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid #C3C9CF;
	border-radius: 2px;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color 0.2s ease;
}
.field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23212E38' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--slate); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 0;
	border-color: var(--ink);
}
.consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 4px 0 24px;
	font-size: 0.875rem;
	line-height: 1.55;
	color: var(--slate-text);
}
.consent input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--ink);
}
.link-button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.form-note {
	margin-top: 16px;
	font-size: 0.8125rem;
	color: var(--slate-text);
}
.form-status {
	margin-top: 16px;
	padding: 12px 14px;
	border-left: 3px solid;
	font-size: 0.9375rem;
}
.form-status[hidden] { display: none; }
.form-status.is-ok { border-color: var(--ok); color: var(--ok); background: #EEF5F1; }
.form-status.is-error { border-color: var(--error); color: var(--error); background: #F8EEED; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer {
	padding: 64px 0 calc(40px + env(safe-area-inset-bottom));
	background: var(--ink);
	color: var(--on-ink);
	border-top: 1px solid var(--on-ink-line);
}
.footer-cols {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
	gap: 40px clamp(32px, 5vw, 72px);
}
.site-footer .logo { width: 200px; }
.footer-brand p {
	margin: 28px 0 24px;
	font-size: 0.9375rem;
	color: var(--on-ink-muted);
}
.footer-col h2 {
	margin-bottom: 16px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--on-ink-muted);
}
.footer-col li + li { margin-top: 10px; }
.footer-col a {
	text-decoration: none;
	overflow-wrap: anywhere;
}
.footer-col a:hover { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-col small {
	display: block;
	font-size: 0.75rem;
}
.footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 24px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--on-ink-line);
	font-size: 0.75rem;
	color: var(--on-ink-muted);
}

/* Icons */
.icon-svg {
	flex: none;
	width: 20px;
	height: 20px;
}

/* Inner pages: title band, like the cover of her document folder */
.page-head {
	padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(56px, 8vw, 96px);
	background: var(--ink);
	color: var(--on-ink);
}
.page-head h1 {
	max-width: 14em;
	font-size: clamp(2.25rem, 5vw, 3.75rem);
}
.page-head p {
	max-width: 36em;
	margin-top: 20px;
	color: var(--on-ink-muted);
	font-size: clamp(1.0625rem, 1.15vw, 1.25rem);
}

/* Home: about teaser and link out */
.text-link {
	display: inline-block;
	margin-top: 32px;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
}
.text-link:hover { border-bottom-width: 2px; padding-bottom: 3px; }

/* Home: compact index of the practice areas */
.area-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 clamp(28px, 4vw, 56px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.area-links a {
	display: block;
	height: 100%;
	padding: 22px 0 28px;
	border-top: 1px solid var(--line);
	text-decoration: none;
}
.area-links h3 { margin-bottom: 6px; }
.area-links p {
	font-size: 0.9375rem;
	color: var(--slate-text);
}
.area-links a:hover h3 {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.area-links-foot { margin-top: 40px; }

/* Areas page: quick index and expandable detail */
.area-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 clamp(48px, 7vw, 80px);
	padding: 0;
	list-style: none;
}
.area-jump a {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 2px;
	font-size: 0.875rem;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.area-jump a:hover { border-color: var(--ink); }

.area-detail {
	border-top: 1px solid var(--line);
	scroll-margin-top: calc(var(--header-h) + 16px);
}
.area-detail:last-child { border-bottom: 1px solid var(--line); }
.area-detail summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: start;
	padding: 28px 0;
	cursor: pointer;
	list-style: none;
}
.area-detail summary::-webkit-details-marker { display: none; }
.area-detail summary h2 {
	font-size: clamp(1.375rem, 2.3vw, 1.875rem);
	margin-bottom: 8px;
}
.area-detail summary p {
	max-width: 46em;
	color: var(--slate-text);
}
.area-detail summary .icon { margin-top: 12px; }
.area-detail[open]:not(.is-closing) summary p { display: none; }
.area-detail[open]:not(.is-closing) summary { padding-bottom: 20px; }
.area-detail .icon {
	position: relative;
	width: 16px;
	height: 16px;
}
.area-detail .icon::before,
.area-detail .icon::after {
	content: "";
	position: absolute;
	left: 0;
	top: 7.25px;
	width: 16px;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.25s ease;
}
.area-detail .icon::after { transform: rotate(90deg); }
.area-detail[open]:not(.is-closing) .icon::after { transform: rotate(0deg); }
.area-body {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: 24px clamp(32px, 6vw, 88px);
	padding: 0 0 40px;
}
.area-body > p { color: var(--ink); }
.services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 36px;
	margin: 0;
}
.services dt {
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 0.9375rem;
}
.services dd {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--slate-text);
}

/* Values on the About page */
.values {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px clamp(28px, 4vw, 56px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.values li {
	padding-top: 22px;
	border-top: 1px solid var(--ink);
}
.values h3 {
	margin-bottom: 10px;
	font-size: 1.375rem;
	font-weight: 300;
}
.values p { color: var(--slate-text); }

/* Home: professional address service for other lawyers */
.lawyers-band {
	padding: clamp(56px, 8vw, 96px) 0;
	background: var(--mist);
}
.lawyers-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 28px 48px;
}
.lawyers-inner > div { max-width: 40em; }
.lawyers-inner h2 {
	margin-bottom: 18px;
	font-size: clamp(1.5rem, 2.6vw, 2.125rem);
}
.lawyers-inner p { color: var(--slate-text); }
.lawyers-terms {
	margin-top: 8px;
	font-size: 0.9375rem;
}

/* Call to action band, before the footer */
.cta-band {
	padding: clamp(64px, 9vw, 112px) 0;
	background: var(--ink);
	color: var(--on-ink);
}
.cta-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px 48px;
}
.cta-inner h2 { max-width: 13em; }
.cta-inner p {
	margin-top: 16px;
	color: var(--on-ink-muted);
}
.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.btn-light {
	background: var(--on-ink);
	border-color: var(--on-ink);
	color: var(--ink);
}
.btn-light:hover { background: #E4E7EA; border-color: #E4E7EA; }
.btn-ghost-light {
	gap: 10px;
	background: transparent;
	border-color: var(--on-ink-line);
	color: var(--on-ink);
}
.btn-ghost-light:hover { background: transparent; border-color: var(--on-ink); }

/* Social links */
.social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--on-ink-line);
	border-radius: 2px;
	color: inherit;
	transition: border-color 0.2s ease;
}
.social a:hover { border-color: currentColor; }
.social-labelled a {
	width: auto;
	gap: 12px;
	padding: 0 16px;
	border-color: var(--line);
	font-size: 0.9375rem;
	text-decoration: none;
}

/* Contact page */
.contact-page {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 7vw, 104px);
	align-items: start;
}
.contact-details {
	margin: 0;
	display: grid;
	gap: 28px;
}
.contact-details > div {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 0 16px;
}
.contact-details .icon-svg {
	grid-row: span 2;
	margin-top: 2px;
	color: var(--slate);
}
.contact-details dt {
	font-size: 0.8125rem;
	color: var(--slate-text);
}
.contact-details dd {
	margin: 2px 0 0;
	font-size: 1rem;
}
.contact-details a {
	text-decoration: none;
	border-bottom: 1px solid var(--line);
	overflow-wrap: anywhere;
	transition: border-color 0.2s ease;
}
.contact-details a:hover { border-bottom-color: var(--ink); }
.contact-details small {
	display: block;
	font-size: 0.75rem;
	color: var(--slate-text);
}
.contact-details .contact-hours dd {
	font-size: 1.25rem;
	font-weight: 300;
}
.contact-social { margin-top: 40px; }
.contact-social h2 {
	margin-bottom: 14px;
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--slate-text);
}
.form-panel .form-title {
	margin-bottom: 28px;
	font-size: 1.375rem;
	font-weight: 300;
}
.form-panel.on-light { background: var(--mist); }

/* Current page in the menu */
.site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.mobile-menu ul a[aria-current="page"] { font-weight: 400; }
.form-panel.on-light .field input,
.form-panel.on-light .field select,
.form-panel.on-light .field textarea { background: var(--paper); }

/* Legal notice and privacy page */
.legal-grid {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.legal-toc {
	position: sticky;
	top: calc(var(--header-h) + 32px);
}
.legal-toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9375rem;
}
.legal-toc li + li { margin-top: 10px; }
.legal-toc a { text-decoration: none; border-bottom: 1px solid var(--line); }
.legal-toc a:hover { border-bottom-color: var(--ink); }
.prose { max-width: 760px; }
.prose .part-title {
	margin: 56px 0 8px;
	padding-top: 32px;
	border-top: 1px solid var(--ink);
	font-size: clamp(1.625rem, 2.6vw, 2.125rem);
	scroll-margin-top: calc(var(--header-h) + 16px);
}
.prose .note + .part-title { margin-top: 40px; }
.prose h3 {
	margin: 32px 0 8px;
	font-size: 1rem;
	font-weight: 600;
}
.prose p,
.prose li { color: var(--slate-text); }
.prose ul { margin: 0 0 1em; padding-left: 1.1em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--ink); }
.prose .note {
	padding: 14px 16px;
	background: var(--mist);
	color: var(--ink);
	font-size: 0.9375rem;
}
.legal-table {
	width: 100%;
	margin: 8px 0 1em;
	border-collapse: collapse;
	font-size: 0.875rem;
}
.legal-table th,
.legal-table td {
	padding: 12px 14px 12px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
.legal-table th { font-weight: 600; border-bottom-color: var(--ink); }
.legal-table td { color: var(--slate-text); }

/* Tablet */
@media (max-width: 1080px) {
	.areas,
	.area-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-nav ul { display: none; }
	.menu-toggle { display: inline-flex; }
}

/* Stacked layout: phones and portrait tablets */
@media (max-width: 860px) {
	.hero {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.hero-block {
		min-height: 62svh;
		padding: calc(var(--header-h) + 24px) 24px 48px;
	}
	.hero-block .logo { width: min(280px, 72%); }
	.hero-body {
		padding: 48px var(--gutter) 64px;
		max-width: none;
	}
	.hero-meta { margin-top: 40px; }
	.site-header:not(.is-scrolled) { color: var(--on-ink); }
	.site-header:not(.is-scrolled) .header-cta { display: none; }
	.about-grid,
	.faq-grid,
	.contact-grid,
	.contact-page,
	.area-body { grid-template-columns: 1fr; }
	.portrait { max-width: 420px; }
	.values { grid-template-columns: 1fr; }
	.cta-inner { align-items: flex-start; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.legal-grid { grid-template-columns: 1fr; }
	.legal-toc { position: static; }
}

@media (max-width: 560px) {
	.areas,
	.area-links,
	.services,
	.steps { grid-template-columns: 1fr; }
	.cta-actions,
	.cta-actions .btn { width: 100%; }
	.footer-cols { grid-template-columns: 1fr; }
	.legal-table thead { display: none; }
	.legal-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.legal-table td { display: block; padding: 2px 0; border: 0; }
	.legal-table td:first-child { color: var(--ink); font-weight: 600; }
	.facts { grid-template-columns: 1fr; gap: 20px; }
	.form-row { grid-template-columns: 1fr; }
	.site-header .header-cta { display: none; }
	.hero-actions .btn { flex: 1 1 100%; }
	.site-nav .lang button span { display: none; }
	:root { --cut: 28px; }
}

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

/* Contacts page footer: brand and navigation only */
.footer-cols-short { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 860px) {
	.footer-cols-short { grid-template-columns: 1fr; }
}

/* ==========================================================
	Motion
	Movement answers what the visitor does, plus one quiet entrance per page.
	Everything here is off when the device asks for reduced motion.
========================================================== */

/* Menu links: the underline draws in from the left */
.site-nav ul a {
	border-bottom: 0;
	background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
	transition: background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] { background-size: 100% 1px; }

@keyframes fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
	/* Inner pages: title and lead arrive like the lines of the logo */
	.page-head h1,
	.page-head p {
		opacity: 0;
		animation: line-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
	}
	.page-head h1 { animation-delay: 0.08s; }
	.page-head p { animation-delay: 0.26s; }

	/* Phone menu: links arrive one after another */
	.mobile-menu.is-open ul li { animation: line-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.mobile-menu.is-open ul li:nth-child(1) { animation-delay: 0.04s; }
	.mobile-menu.is-open ul li:nth-child(2) { animation-delay: 0.10s; }
	.mobile-menu.is-open ul li:nth-child(3) { animation-delay: 0.16s; }
	.mobile-menu.is-open ul li:nth-child(4) { animation-delay: 0.22s; }
	.mobile-menu.is-open .mobile-menu-foot { animation: fade-in 0.5s 0.3s both; }

	/* Form messages appear softly */
	.form-status:not([hidden]) { animation: fade-in 0.35s ease both; }
}

/* Links inside the dark title band */
.page-head p a {
	color: var(--on-ink);
	text-underline-offset: 3px;
}

/* Whole-pixel line heights inside the FAQ and practice-area lists, so every row starts on the
   same pixel grid and the + signs render identically (older browsers keep the plain values) */
.faq summary,
.faq .answer,
.area-detail summary p,
.area-body p,
.services dd {
	line-height: round(1.7em, 1px);
}
.area-detail summary h2,
.services dt {
	line-height: round(1.3em, 1px);
}

/* Short intro lines: avoid a lonely word or split term on the last line */
.page-head p,
.hero-lead,
.section-head p { text-wrap: pretty; }

/* Map link under the address on the Contacts page */
.contact-details .map-link {
	display: table;
	margin-top: 10px;
	font-size: 0.875rem;
}
.contact-details .contact-hours dd { text-wrap: balance; }

/* Contacts page map: loads Google Maps only after the visitor asks for it */
.contact-page > div:first-child { grid-column: 1; grid-row: 1; }
.contact-page > .form-panel { grid-column: 2; grid-row: 1 / span 2; }
.contact-page > .map-block { grid-column: 1; grid-row: 2; }
.contact-page { row-gap: 48px; }
.map-frame {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--mist);
	clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.map-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.map-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px clamp(20px, 6%, 48px);
	text-align: center;
}
.map-pin {
	width: 28px;
	height: 28px;
	color: var(--slate);
}
.map-place {
	margin: 10px 0 12px;
	font-size: 1.375rem;
	font-weight: 300;
}
.map-note {
	max-width: 30em;
	margin-bottom: 20px;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--slate-text);
}
@media (max-width: 860px) {
	.contact-page > div:first-child,
	.contact-page > .form-panel,
	.contact-page > .map-block { grid-column: 1; grid-row: auto; }
}

/* Footer address with map link */
.footer-col .footer-address a {
	display: table;
	margin-top: 6px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* "Localização" heading above the map, same style as "Redes sociais" */
.map-title {
	margin-bottom: 14px;
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--slate-text);
}

/* Keep terms and the email's first half on one line */
.nowrap { white-space: nowrap; }
.fact-line { display: block; }
.fact-line + .fact-line { margin-top: 8px; }
