@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:300 500;font-display:swap;src:url(../fonts/cormorantgaramond-italic-latin-ext.woff2) format('woff2');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;}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:300 500;font-display:swap;src:url(../fonts/cormorantgaramond-italic-latin.woff2) format('woff2');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:'Cormorant Garamond';font-style:normal;font-weight:300 500;font-display:swap;src:url(../fonts/cormorantgaramond-normal-latin-ext.woff2) format('woff2');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;}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300 500;font-display:swap;src:url(../fonts/cormorantgaramond-normal-latin.woff2) format('woff2');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:'Raleway';font-style:normal;font-weight:300 600;font-display:swap;src:url(../fonts/raleway-latin-ext.woff2) format('woff2');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;}
@font-face{font-family:'Raleway';font-style:normal;font-weight:300 600;font-display:swap;src:url(../fonts/raleway-latin.woff2) format('woff2');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;}
/* ==========================================================================
   AF Legal — Advogados
   Tema à medida · Blue Bolt
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--teal: #1f4047;
	--teal-900: #17323a;
	--teal-950: #122a30;
	--teal-700: #2b525a;
	--teal-500: #4d7078;
	--cream: #f1dac1;
	--cream-300: #e7c9a8;
	--cream-100: #f7ebdd;
	--paper: #faf6f1;
	--white: #fff;
	--ink: #1b2b2f;
	--text: #3a4a4e;
	--muted: #6c7a7d;
	--line: rgba(31, 64, 71, 0.14);
	--line-light: rgba(241, 218, 193, 0.2);

	--serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--sans: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

	--container: 1320px;
	--gutter: clamp(20px, 4vw, 56px);
	--section: clamp(84px, 11vw, 168px);
	--header-h: 92px;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.75;
	font-variant-numeric: lining-nums;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, blockquote { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--cream); color: var(--teal); }

:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 4px;
}

.screen-reader-text,
.hp {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 1000;
	padding: 10px 18px;
	background: var(--cream);
	color: var(--teal);
	font-size: 14px;
	transition: top .2s;
}
.skip-link:focus { top: 16px; }

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

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

/* ---------- Tipografia ---------- */
.h1, .h2, .h3,
.hero__title, .page-hero__title, .article-hero__title {
	font-family: var(--serif);
	font-weight: 300;
	color: var(--ink);
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.h2 {
	font-size: clamp(2.3rem, 4.2vw, 3.9rem);
	line-height: 1.06;
}
.h3 {
	font-size: clamp(1.6rem, 2.2vw, 2.1rem);
	line-height: 1.15;
	font-weight: 400;
}
em, .h2 em, .hero__title em, .page-hero__title em {
	font-style: italic;
	font-weight: 300;
}

.lead {
	font-size: clamp(1.05rem, 1.3vw, 1.2rem);
	line-height: 1.7;
	color: var(--text);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 26px;
	font-family: var(--sans);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--teal-500);
}
.eyebrow::before {
	content: "";
	width: 34px;
	height: 1px;
	background: currentColor;
	opacity: .7;
}
.eyebrow--light { color: var(--cream); }
.eyebrow--center { justify-content: center; }

.prose > * + * { margin-top: 1.25em; }
.prose p { color: var(--text); }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose--lg { font-size: 1.1rem; }

/* ---------- Botões e links ---------- */
.btn {
	--btn-bg: transparent;
	--btn-fg: var(--teal);
	--btn-bd: currentColor;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 56px;
	padding: 0 30px;
	border: 1px solid var(--btn-bd);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	line-height: 1;
	overflow: hidden;
	isolation: isolate;
	transition: color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--btn-hover-bg, var(--teal));
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .6s var(--ease-out);
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .icon { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }

.btn--primary { --btn-bg: var(--teal); --btn-fg: var(--cream); --btn-bd: var(--teal); --btn-hover-bg: var(--teal-950); }
.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--teal); --btn-bd: var(--cream); --btn-hover-bg: var(--white); }
.btn--line { --btn-fg: var(--teal); --btn-bd: var(--teal); --btn-hover-bg: var(--teal); }
.btn--line:hover { color: var(--cream); }
.btn--ghost-light { --btn-fg: var(--cream); --btn-bd: rgba(241, 218, 193, .45); --btn-hover-bg: var(--cream); }
.btn--ghost-light:hover { color: var(--teal); border-color: var(--cream); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 11.5px; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--teal);
	padding-bottom: 6px;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	transition: background-size .6s var(--ease-out);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.link-arrow:hover { background-size: 30% 1px; }
.link-arrow:hover .icon { transform: translateX(5px); }
.link-arrow--back .icon { transform: rotate(180deg); }
.link-arrow--back:hover .icon { transform: rotate(180deg) translateX(5px); }

/* ---------- Cabeçalho ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	color: var(--teal);
	transition: background-color .5s var(--ease), color .5s var(--ease), height .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}
.has-dark-hero .site-header:not(.is-scrolled) { color: var(--cream); }
.site-header.is-scrolled {
	--header-h: 76px;
	background: rgba(250, 246, 241, 0.94);
	backdrop-filter: saturate(140%) blur(12px);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
body:not(.has-dark-hero) .site-header { background: var(--paper); }

.brand {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
	color: inherit;
}
.brand__mark { height: 38px; width: auto; }
.brand__wordmark { height: 38px; width: auto; }
.brand__img { max-height: 48px; width: auto; }

.main-nav .menu {
	display: flex;
	align-items: center;
	gap: clamp(20px, 2.6vw, 44px);
}
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	position: relative;
	display: inline-block;
	padding: 10px 0;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.main-nav .menu > li > a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .5s var(--ease-out);
}
.main-nav .menu > li:hover > a::after,
.main-nav .menu > li.current-menu-item > a::after,
.main-nav .menu > li.current-menu-ancestor > a::after,
.main-nav .menu > li.current_page_parent > a::after {
	transform: scaleX(1);
	transform-origin: left;
}
.main-nav .menu-item-has-children > a { padding-right: 16px !important; }
.main-nav .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 0; top: 50%;
	width: 6px; height: 6px;
	border-right: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}
.main-nav .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: -28px;
	min-width: 280px;
	padding: 18px 0;
	background: var(--white);
	color: var(--teal);
	box-shadow: 0 30px 60px -30px rgba(18, 42, 48, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.main-nav .menu > li:hover > .sub-menu,
.main-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a {
	display: block;
	padding: 10px 28px;
	font-family: var(--serif);
	font-size: 1.3rem;
	line-height: 1.3;
	transition: background-color .3s, padding .3s var(--ease-out);
}
.main-nav .sub-menu a:hover { background: var(--paper); padding-left: 34px; }
.main-nav__extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 20px; }
.has-dark-hero .site-header:not(.is-scrolled) .header-cta { --btn-fg: var(--cream); --btn-hover-bg: var(--cream); }
.has-dark-hero .site-header:not(.is-scrolled) .header-cta:hover { color: var(--teal); }
.header-cta:hover { color: var(--cream); }

.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle__bars { position: relative; width: 26px; height: 10px; }
.nav-toggle__bars span {
	position: absolute; left: 0;
	width: 100%; height: 1px;
	background: currentColor;
	transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { top: 9px; }
.nav-open .nav-toggle__bars span:first-child { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:last-child { top: 5px; transform: rotate(-45deg); }

/* ---------- Hero (homepage) ---------- */
.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	min-height: max(720px, 100svh);
	background: var(--teal);
	color: var(--cream);
	overflow: hidden;
}
.hero::before {
	/* textura de linhas muito subtil */
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, var(--line-light) 1px, transparent 1px) calc(var(--gutter) + 0px) 0 / calc((100% - var(--gutter) * 2) / 6) 100%;
	opacity: .18;
	pointer-events: none;
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero__content {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: calc(var(--header-h) + clamp(40px, 7vh, 88px)) clamp(24px, 5vw, 80px) 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.hero__text { max-width: 720px; }
.hero__title {
	color: var(--cream);
	font-size: clamp(3.1rem, 6.6vw, 6.4rem);
	line-height: 0.98;
	letter-spacing: -0.02em;
}
.hero__title em { color: var(--cream-300); }
.hero__lead {
	max-width: 520px;
	margin-top: 34px;
	font-size: clamp(1rem, 1.2vw, 1.12rem);
	line-height: 1.8;
	color: rgba(241, 218, 193, 0.82);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

.hero__areas {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin-top: 56px;
	border-top: 1px solid var(--line-light);
}
.hero__areas li + li { border-left: 1px solid var(--line-light); }
.hero__areas a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 26px 24px 30px 0;
	transition: background-color .4s;
}
.hero__areas li + li a { padding-left: 24px; }
.hero__areas-num { min-width: 24px; font-size: 11px; letter-spacing: .24em; opacity: .6; }
.hero__areas-name { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; transition: transform .5s var(--ease-out); }
.hero__areas a:hover .hero__areas-name { transform: translateX(6px); }

.hero__media {
	position: relative;
	overflow: hidden;
}
.hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.08);
	animation: heroZoom 2.4s var(--ease-out) forwards;
}
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(31, 64, 71, .55), rgba(31, 64, 71, 0) 40%), linear-gradient(0deg, rgba(18, 42, 48, .45), transparent 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }

/* ---------- Animação de entrada (mosaico com zoom) ---------- */
/* Sem JS / movimento reduzido: versão estática (imagem + frase depois do hero). */
.zoom-intro { display: flex; flex-direction: column; }
.zoom-intro .hero { order: 1; }
.zoom-stage {
	order: 2;
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	overflow: hidden;
	background: var(--paper);
}
.zoom-grid { position: absolute; inset: 0; }
.zoom-img { position: absolute; margin: 0; overflow: hidden; background: var(--teal-900); display: none; }
.zoom-img img { width: 100%; height: 100%; object-fit: cover; }
.zoom-img--main { display: block; inset: 0; background: var(--teal); }
.zoom-shade {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(18, 42, 48, .78) 0%, rgba(18, 42, 48, .35) 60%, rgba(18, 42, 48, .2) 100%);
	opacity: .9;
}
.zoom-mark {
	position: absolute;
	left: 50%; top: 50%;
	width: 38%;
	transform: translate(-50%, -50%);
	color: var(--cream);
	opacity: .45;
	pointer-events: none;
}
.zoom-mark svg { width: 100%; height: auto; }
.zoom-caption {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	color: var(--cream);
	pointer-events: none;
}
.zoom-caption__title {
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(2.6rem, 6vw, 5.8rem);
	line-height: 1.02;
	letter-spacing: -0.015em;
	max-width: 13ch;
	text-wrap: balance;
}
.zoom-caption__title em { color: var(--cream-300); }
.zoom-caption__text {
	max-width: 520px;
	margin-top: 30px;
	font-size: clamp(1rem, 1.2vw, 1.12rem);
	line-height: 1.8;
	color: rgba(241, 218, 193, .85);
}
.zoom-caption__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.zoom-caption.is-active { pointer-events: auto; }
.zoom-cue {
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 16px 18px 0;
	background: var(--paper);
	transform: translateX(-50%);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--teal);
	pointer-events: none;
}
.zoom-cue i { display: block; width: 1px; height: 48px; background: linear-gradient(var(--teal) 50%, transparent 50%) 0 0 / 1px 200% no-repeat; animation: cue 2.2s var(--ease) infinite; opacity: .6; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.zoom-intro:not(.zoom-ready) .zoom-cue { display: none; }
.zoom-intro:not(.zoom-ready) .zoom-caption { pointer-events: auto; }

/* Com JS: palco fixo por trás do hero, o hero sobe e o mosaico faz zoom. */
.zoom-ready.zoom-intro { display: block; position: relative; }
.zoom-ready .hero { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.zoom-ready .zoom-stage {
	position: sticky;
	top: 0;
	height: var(--zoom-vh, 100vh);
	min-height: 0;
	z-index: 1;
}
.zoom-ready .zoom-grid {
	inset: auto;
	left: 50%; top: 50%;
	width: 0; height: 0;
	transform-origin: 0 0;
	will-change: transform;
}
.zoom-ready .zoom-img { display: block; will-change: transform; }
.zoom-ready .zoom-img--main { inset: auto; }
.zoom-ready .zoom-caption { opacity: 0; }
.zoom-ready .zoom-caption .container { will-change: transform; }
.zoom-ready + .section {
	position: relative;
	z-index: 3;
	background: var(--paper);
	box-shadow: 0 -40px 80px -40px rgba(18, 42, 48, .35);
}

/* ---------- Intro ---------- */
.intro__grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(20px, 3vw, 40px);
	row-gap: 56px;
}
.intro__head { grid-column: 1 / span 7; }
.intro__body { grid-column: 8 / span 5; padding-top: 58px; }
.intro__body .link-arrow { margin-top: 40px; }
.intro__media {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(20px, 3vw, 40px);
	align-items: end;
	margin-top: 24px;
}
.intro__img { overflow: hidden; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img--main { grid-column: 2 / span 6; aspect-ratio: 4 / 3; }
.intro__img--second { grid-column: 9 / span 3; aspect-ratio: 3 / 4; margin-bottom: -80px; }

/* ---------- Cabeçalhos de secção ---------- */
.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px 80px;
	margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head > div { max-width: 760px; }
.section-head__text { max-width: 420px; color: var(--muted); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center > * { max-width: 820px; }

/* ---------- Áreas (cards) ---------- */
.areas { background: var(--white); }
.area-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.4vw, 36px);
}
.area-card__link { display: flex; flex-direction: column; height: 100%; }
.area-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--teal);
}
.area-card__media img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out), opacity .8s var(--ease-out);
}
.area-card__media::after {
	content: "";
	position: absolute; inset: 0;
	background: var(--teal);
	mix-blend-mode: multiply;
	opacity: 0;
	transition: opacity .8s var(--ease-out);
}
.area-card__link:hover .area-card__media img { transform: scale(1.05); }
.area-card__link:hover .area-card__media::after { opacity: .35; }
.area-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 30px 0 0;
	border-top: 1px solid var(--line);
	margin-top: 28px;
}
.area-card__num { font-size: 11.5px; letter-spacing: .24em; color: var(--teal-500); }
.area-card__title {
	margin: 10px 0 14px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(1.8rem, 2.4vw, 2.3rem);
	line-height: 1.1;
	color: var(--ink);
}
.area-card__text { color: var(--muted); margin-bottom: 26px; }
.area-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Valores ---------- */
.values { background: var(--teal); color: var(--cream); }
.values .h2 { color: var(--cream); }
.values .h2 em { color: var(--cream-300); }
.values__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 8vw, 140px);
}
.values__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.values__media { margin-top: 56px; aspect-ratio: 4 / 5; max-width: 380px; overflow: hidden; }
.values__media img { width: 100%; height: 100%; object-fit: cover; }
.values__list { counter-reset: v; }
.value {
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 24px;
	padding: 44px 0;
	border-top: 1px solid var(--line-light);
}
.value:last-child { border-bottom: 1px solid var(--line-light); }
.value__num { font-size: 12px; letter-spacing: .24em; opacity: .6; padding-top: 16px; }
.value__title {
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(2.2rem, 3.6vw, 3.4rem);
	line-height: 1;
	margin-bottom: 14px;
	color: var(--cream);
}
.value__text { color: rgba(241, 218, 193, .75); max-width: 520px; }

.values__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}
.value--col {
	display: block;
	padding: 36px 32px 8px 0;
	border-top: 1px solid var(--line-light);
	border-bottom: 0 !important;
}
.value--col + .value--col { padding-left: 32px; border-left: 1px solid var(--line-light); }
.value--col .value__num { display: block; padding: 0 0 32px; }
.value--col .value__title { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }

/* ---------- Compromissos ---------- */
.trust { background: var(--paper); }
.trust__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--line);
}
.trust__item {
	padding: 48px 32px 16px;
	text-align: center;
}
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__num {
	display: block;
	font-family: var(--serif);
	font-style: italic;
	font-size: 2.4rem;
	line-height: 1;
	color: var(--teal-500);
	margin-bottom: 24px;
}
.trust__title {
	font-family: var(--serif);
	font-weight: 500;
	font-size: 1.55rem;
	line-height: 1.2;
	color: var(--ink);
	margin-bottom: 12px;
}
.trust__item p { color: var(--muted); font-size: .96rem; }

/* ---------- Citação ---------- */
.quote-band {
	position: relative;
	min-height: clamp(460px, 70vh, 720px);
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--teal-950);
	color: var(--cream);
}
.quote-band__bg {
	position: absolute;
	inset: -12% 0;
}
.quote-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: grayscale(.3); }
.quote-band::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(18, 42, 48, .85), rgba(18, 42, 48, .35));
}
.quote-band__inner { position: relative; z-index: 1; text-align: center; }
.quote-band__mark { width: 84px; margin: 0 auto 40px; }
.quote-band__text p {
	font-family: var(--serif);
	font-weight: 300;
	font-size: clamp(2.4rem, 5.4vw, 5rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
	max-width: 17ch;
	margin-inline: auto;
	text-wrap: balance;
}
.quote-band__text em { color: var(--cream-300); }

/* ---------- Artigos ---------- */
.posts-section { background: var(--paper); }
.posts-section--tint { background: var(--cream-100); }
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(36px, 3vw, 48px) clamp(20px, 2.4vw, 36px);
}
.post-card__link { display: flex; flex-direction: column; height: 100%; }
.post-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--teal); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card__link:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 26px; }
.post-card__meta {
	display: flex; flex-wrap: wrap; gap: 6px 18px;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--teal-500);
}
.post-card__meta span { color: var(--teal); }
.post-card__title {
	margin: 14px 0 12px;
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(1.55rem, 2vw, 1.9rem);
	line-height: 1.15;
	color: var(--ink);
	transition: color .3s;
}
.post-card__excerpt { color: var(--muted); font-size: .96rem; margin-bottom: 24px; }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 64px; }
.chip {
	padding: 10px 20px;
	border: 1px solid var(--line);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--teal);
	transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--teal); }
.chip.is-active { background: var(--teal); border-color: var(--teal); color: var(--cream); }

.pagination { margin-top: 80px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 48px; height: 48px;
	border: 1px solid var(--line);
	font-size: 14px;
	color: var(--teal);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--teal); color: var(--cream); border-color: var(--teal); }

.empty-state { text-align: center; padding: 40px 0; }
.empty-state p + p { margin-top: 12px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band {
	background: var(--cream);
	color: var(--teal);
	padding-block: clamp(80px, 10vw, 140px);
}
.cta-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: 48px clamp(40px, 8vw, 120px);
	align-items: end;
}
.cta-band .eyebrow { color: var(--teal); }
.cta-band .h2 { color: var(--teal); }
.cta-band .lead { margin-top: 24px; max-width: 560px; color: var(--teal-700); }
.cta-band__contacts { margin-top: 32px; display: grid; gap: 16px; }
.cta-band__contacts li { display: flex; gap: 14px; align-items: flex-start; }
.cta-band__contacts .icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 4px; }
.cta-band__contacts a { font-family: var(--serif); font-size: 1.4rem; line-height: 1.3; }
.cta-band__contacts small, .footer-contacts small { display: block; font-size: 12px; color: var(--teal-700); opacity: .8; }

/* ---------- Topo das páginas internas ---------- */
.page-hero {
	position: relative;
	z-index: 2;
	background: var(--teal);
	color: var(--cream);
	padding: calc(var(--header-h) + clamp(64px, 10vw, 140px)) 0 clamp(72px, 9vw, 128px);
}
.page-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 56px;
	align-items: end;
}
.page-hero--image .page-hero__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.page-hero__title {
	color: var(--cream);
	font-size: clamp(2.9rem, 6vw, 5.8rem);
	line-height: 1;
	max-width: 15ch;
}
.page-hero__title em { color: var(--cream-300); }
.page-hero__lead {
	max-width: 600px;
	margin-top: 32px;
	font-size: clamp(1rem, 1.25vw, 1.15rem);
	color: rgba(241, 218, 193, .82);
}
.page-hero__media {
	justify-self: end;
	width: 100%;
	max-width: 440px;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	margin-bottom: calc(clamp(72px, 9vw, 128px) * -1 - 120px);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--image + .section { padding-top: calc(var(--section) + 80px); }
.page-hero--compact { padding-bottom: clamp(56px, 7vw, 96px); }

/* ---------- Sobre ---------- */
.story__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 8vw, 128px);
	align-items: center;
}
.story__media { aspect-ratio: 4 / 5; overflow: hidden; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__body .h2 { margin-bottom: 36px; }
.page-hero--image + .story .story__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.page-hero--image + .story .story__media { display: none; }
.page-hero--image + .story .story__body { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 0 clamp(40px, 8vw, 128px); }
.page-hero--image + .story .story__body .eyebrow { grid-column: 1; }
.page-hero--image + .story .story__body .h2 { grid-column: 1; }
.page-hero--image + .story .story__body .prose { grid-column: 2; grid-row: 1 / span 2; padding-top: 50px; }

.pillars { background: var(--white); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.pillar { padding: 12px clamp(24px, 3vw, 48px) 12px 0; }
.pillar + .pillar { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); }
.pillar__label {
	font-size: 11.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
	color: var(--teal-500);
	margin-bottom: 24px;
}
.pillar__text { font-family: var(--serif); font-size: clamp(1.45rem, 1.9vw, 1.8rem); line-height: 1.3; color: var(--ink); font-weight: 400; }

.founder { background: var(--cream-100); }
.founder__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 8vw, 128px); align-items: center; }
.founder__quote p {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.9rem, 3vw, 2.8rem);
	line-height: 1.2;
	color: var(--teal);
	text-wrap: balance;
}
.founder__name { margin-top: 44px; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--ink); }
.founder__role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-500); margin: 6px 0 28px; }
.founder__media { aspect-ratio: 3 / 4; overflow: hidden; }
.founder__media img { width: 100%; height: 100%; object-fit: cover; }

.team__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 48px 32px; }
.member__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--teal); margin-bottom: 24px; }
.member__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.member__placeholder { display: grid; place-items: center; height: 100%; color: var(--cream); }
.member__placeholder svg { width: 40%; opacity: .6; }
.member__name { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--ink); line-height: 1.2; }
.member__role { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-500); margin-top: 6px; }
.member__areas { color: var(--muted); font-size: .95rem; margin-top: 10px; }
.member__bio { margin-top: 14px; font-size: .95rem; }
.member__links { display: flex; gap: 12px; margin-top: 16px; color: var(--teal); }
.member__links .icon { width: 20px; height: 20px; }

/* ---------- Serviços ---------- */
.area-index { background: var(--teal-900); color: var(--cream); position: sticky; top: 0; z-index: 5; }
.admin-bar .area-index { top: 32px; }
.area-index ol { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.area-index li { flex: 1 0 auto; }
.area-index li + li { border-left: 1px solid var(--line-light); }
.area-index a { display: block; padding: 22px 28px; font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; transition: background-color .3s; }
.area-index li:first-child a { padding-left: 0; }
.area-index a span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; opacity: .6; margin-right: 10px; }
.area-index a:hover { color: var(--white); }

.service__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 128px); align-items: center; }
.service--alt { background: var(--white); }
.service--alt .service__media { order: 2; }
.service__media { aspect-ratio: 4 / 5; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; }
.service__num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--teal-500); margin-bottom: 14px; }
.service__body .h2 { margin-bottom: 24px; }
.service__body .btn { margin-top: 40px; }

.check-list { margin-top: 36px; border-top: 1px solid var(--line); }
.check-list li {
	position: relative;
	padding: 16px 0 16px 34px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
}
.check-list li::before {
	content: "";
	position: absolute;
	left: 2px; top: 50%;
	width: 14px; height: 1px;
	background: var(--teal);
}

/* Página de área */
.area-detail__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.matters { margin-top: 72px; }
.matters .h3 { margin-bottom: 28px; }
.matters__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.matters__list li {
	display: flex; gap: 18px;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
	font-family: var(--serif);
	font-size: 1.3rem;
	line-height: 1.3;
	color: var(--ink);
}
.matters__list span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--teal-500); padding-top: 6px; }

.area-detail__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 24px; }
.aside-card { padding: 36px 32px; background: var(--white); border: 1px solid var(--line); }
.aside-card--dark { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.aside-card--dark p { color: rgba(241, 218, 193, .8); }
.aside-card .eyebrow { margin-bottom: 18px; }
.aside-card__title { font-family: var(--serif); font-size: 1.75rem !important; line-height: 1.15; color: var(--cream) !important; margin-bottom: 12px; }
.aside-card .btn { margin-top: 28px; }
.aside-card__phone { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; font-family: var(--serif); font-size: 1.3rem; }
.aside-card__phone .icon { width: 18px; }
.aside-card__note { display: block; font-size: 12px; opacity: .7; }
.aside-links li + li { border-top: 1px solid var(--line); }
.aside-links a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.aside-links .icon { width: 18px; color: var(--teal-500); transition: transform .4s var(--ease-out); }
.aside-links a:hover .icon { transform: translateX(4px); }

/* ---------- Contactos ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 8vw, 128px); align-items: start; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list .icon { width: 22px; height: 22px; color: var(--teal-500); margin-top: 4px; }
.contact-list__label { font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--teal-500); margin-bottom: 8px; }
.contact-list__value { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.25; color: var(--ink); word-break: break-word; }
.contact-list__value--sm { font-size: 1.35rem; }
.contact-list small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.contact-list .link-arrow { margin-top: 12px; }
.contact__info .social { margin-top: 32px; }
.contact__form { background: var(--white); padding: clamp(32px, 5vw, 64px); border: 1px solid var(--line); }
.contact__form-text { color: var(--muted); margin: 12px 0 32px; }

/* ---------- Formulário ---------- */
.contact-form { display: grid; gap: 8px; }
.field { position: relative; }
.field input,
.field textarea {
	width: 100%;
	padding: 28px 0 12px;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	font-size: 1.05rem;
	color: var(--ink);
	outline: none;
	transition: border-color .4s;
	-webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field label {
	position: absolute;
	left: 0; top: 28px;
	font-size: 1rem;
	color: var(--muted);
	pointer-events: none;
	transform-origin: left top;
	transition: transform .35s var(--ease-out), color .35s;
}
.field input:focus,
.field textarea:focus { border-color: var(--teal); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
	transform: translateY(-22px) scale(.72);
	color: var(--teal-500);
	letter-spacing: .06em;
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #a4493d; }
.consent {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 14px;
	margin-top: 22px;
	font-size: .88rem;
	line-height: 1.6;
	color: var(--muted);
	cursor: pointer;
}
.consent input {
	appearance: none; -webkit-appearance: none;
	width: 18px; height: 18px;
	margin: 3px 0 0;
	border: 1px solid var(--teal-500);
	display: grid; place-items: center;
	cursor: pointer;
}
.consent input:checked { background: var(--teal); border-color: var(--teal); }
.consent input:checked::after { content: ""; width: 5px; height: 9px; border: solid var(--cream); border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(45deg); }
.consent.is-invalid input { border-color: #a4493d; }
.consent a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.form-footer { margin-top: 28px; }
.contact-form .btn[disabled] { opacity: .6; pointer-events: none; }
.form-status { margin-top: 20px; padding: 16px 20px; font-size: .95rem; border-left: 2px solid var(--teal); background: var(--cream-100); color: var(--teal); }
.form-status[data-state="erro"], .form-status[data-state="campos"], .form-status[data-state="rgpd"], .form-status[data-state="spam"], .form-status.is-error { border-color: #a4493d; background: #f7e9e5; color: #7a3128; }

/* ---------- Artigo ---------- */
.article-hero {
	padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(40px, 5vw, 64px);
	text-align: center;
}
.article-hero__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-500); margin-bottom: 28px; }
.article-hero__meta a { color: var(--teal); }
.article-hero__title { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.05; }
.article-hero__lead { margin-top: 28px; font-size: 1.15rem; color: var(--muted); }
.article-cover { margin-bottom: clamp(48px, 6vw, 88px); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.prose--article { font-size: 1.08rem; padding-bottom: 24px; }
.prose--article h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.15; color: var(--ink); margin-top: 1.8em; }
.prose--article h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--ink); margin-top: 1.6em; }
.prose--article ul, .prose--article ol { padding-left: 1.2em; }
.prose--article ul { list-style: none; padding-left: 0; }
.prose--article ul li { position: relative; padding-left: 28px; }
.prose--article ul li + li { margin-top: .5em; }
.prose--article ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 14px; height: 1px; background: var(--teal); }
.prose--article ol { list-style: decimal; }
.prose--article blockquote { border-left: 1px solid var(--teal); padding-left: 28px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.35; font-style: italic; color: var(--teal); }
.prose--article img { margin-block: 2em; }
.prose--article figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.article-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 40px 0 var(--section); margin-top: 48px; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 14px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.share a { color: var(--teal); }
.share .icon { width: 20px; height: 20px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--teal-950); color: rgba(241, 218, 193, .72); padding: clamp(72px, 9vw, 120px) 0 36px; font-size: .95rem; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--cream); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.2fr)); gap: 48px; padding-bottom: 72px; border-bottom: 1px solid var(--line-light); }
.site-footer__logo { display: inline-block; color: var(--cream); }
.footer-logo { width: 200px; }
.site-footer__brand p { margin-top: 32px; max-width: 340px; }
.site-footer__title { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--cream); margin-bottom: 24px; }
.footer-menu li + li, .footer-contacts li + li { margin-top: 10px; }
.footer-contacts small { color: rgba(241, 218, 193, .5); }
.site-footer .sub-menu { display: none; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; opacity: .75; transition: opacity .3s, background-color .3s, color .3s; }
.social a:hover { opacity: 1; }
.site-footer .social a:hover { background: var(--cream); color: var(--teal); border-color: var(--cream); }
.social .icon { width: 18px; height: 18px; }
.contact__info .social { color: var(--teal); }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 32px; font-size: .82rem; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* ---------- Animações de entrada ---------- */
.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
	transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }
/* O recorte é aplicado à imagem (não à figura observada), senão o IntersectionObserver nunca dispara. */
.js figure.reveal { transform: none; opacity: 1; }
.js figure.reveal > img {
	clip-path: inset(0 0 100% 0);
	transform: scale(1.12);
	transition: clip-path 1.4s var(--ease-out), transform 1.8s var(--ease-out);
	transition-delay: calc(var(--d, 0) * 110ms);
}
.js figure.reveal.is-in > img { clip-path: inset(0 0 0 0); transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.js .reveal, .js figure.reveal, .js figure.reveal > img { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
	.header-cta { display: none; }
	.site-footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
	.trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust__item:nth-child(3) { border-left: 0; }
	.trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
	.values__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.value--col:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 1024px) {
	:root { --header-h: 76px; }

	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: fixed;
		inset: 0;
		z-index: -1;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
		background: var(--teal);
		color: var(--cream);
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transition: opacity .5s var(--ease), visibility .5s;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.nav-open .site-header { color: var(--cream) !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
	.nav-open { overflow: hidden; }
	.main-nav .menu { flex-direction: column; align-items: flex-start; gap: 0; }
	.main-nav .menu > li { width: 100%; border-bottom: 1px solid var(--line-light); }
	.main-nav .menu > li > a {
		display: block;
		padding: 18px 0;
		font-family: var(--serif);
		font-size: clamp(2rem, 7vw, 2.8rem);
		font-weight: 300;
		letter-spacing: 0;
		text-transform: none;
		line-height: 1.1;
	}
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .menu-item-has-children > a::before { display: none; }
	.main-nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 0 0 18px;
		background: none;
		color: inherit;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.main-nav .sub-menu a { padding: 6px 0 6px 18px; font-family: var(--sans); font-size: 1rem; opacity: .8; }
	.main-nav .sub-menu a:hover { background: none; padding-left: 18px; }
	.main-nav__extra { display: grid; gap: 6px; margin-top: 40px; font-size: .95rem; opacity: .8; }
	.js .main-nav .menu > li { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
	.nav-open .main-nav .menu > li { opacity: 1; transform: none; }
	.nav-open .main-nav .menu > li:nth-child(2) { transition-delay: .06s; }
	.nav-open .main-nav .menu > li:nth-child(3) { transition-delay: .12s; }
	.nav-open .main-nav .menu > li:nth-child(4) { transition-delay: .18s; }
	.nav-open .main-nav .menu > li:nth-child(5) { transition-delay: .24s; }

	.brand__mark { height: 28px; }
	.brand__wordmark { height: 24px; }

	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero__content { padding: calc(var(--header-h) + 64px) var(--gutter) 0; }
	.hero__media { order: 2; aspect-ratio: 4 / 3; max-height: 70vh; }
	.hero__areas { margin-top: 56px; }

	.intro__head, .intro__body { grid-column: 1 / -1; }
	.intro__body { padding-top: 0; }
	.intro__img--main { grid-column: 1 / span 8; }
	.intro__img--second { grid-column: 9 / span 4; margin-bottom: -40px; }

	.area-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.values__grid { grid-template-columns: 1fr; }
	.values__aside { position: static; }
	.values__media { display: none; }

	.page-hero--image .page-hero__inner { grid-template-columns: 1fr; }
	.page-hero__media { margin-bottom: 0; aspect-ratio: 16 / 10; max-width: none; justify-self: stretch; }
	.page-hero--image + .section { padding-top: var(--section); }

	.story__grid, .service__grid, .founder__grid, .contact__grid, .area-detail__grid, .cta-band__inner { grid-template-columns: 1fr; }
	.page-hero--image + .story .story__body { display: block; }
	.page-hero--image + .story .story__body .prose { padding-top: 0; }
	.service--alt .service__media { order: 0; }
	.service__media, .story__media { aspect-ratio: 16 / 11; }
	.founder__media { max-width: 420px; }
	.area-detail__aside { position: static; }
	.pillars__grid { grid-template-columns: 1fr; gap: 40px; }
	.pillar + .pillar { padding-left: 0; border-left: 0; padding-top: 40px; border-top: 1px solid var(--line); }
	.section-head { flex-direction: column; align-items: flex-start; }
	.section-head--center { align-items: center; }
}

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

@media (max-width: 680px) {
	.zoom-shade { background: linear-gradient(180deg, rgba(18, 42, 48, .55), rgba(18, 42, 48, .78)); }
	body { font-size: 16px; }
	.header-cta { display: none; }
	.hero__areas { grid-template-columns: 1fr; }
	.hero__areas li + li { border-left: 0; border-top: 1px solid var(--line-light); }
	.hero__areas a, .hero__areas li + li a { padding: 18px 0; flex-direction: row; align-items: baseline; gap: 16px; }
		.hero__actions .btn { flex: 1 1 100%; }

	.intro__media { grid-template-columns: 1fr; }
	.intro__img--main { grid-column: 1; }
	.intro__img--second { display: none; }

	.area-grid, .post-grid, .trust__grid, .values__cols, .matters__list { grid-template-columns: 1fr; }
	.trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--line); }
	.value--col, .value--col + .value--col { padding-left: 0; border-left: 0; }
	.value { grid-template-columns: 44px 1fr; padding: 32px 0; }
	.site-footer__top { grid-template-columns: 1fr; }
	.area-index { position: static; }
}
