/* ==========================================================================
   BEHRMANN RÁTIS — V.2
   Camada visual nova. Carrega DEPOIS de nbzadv.css (utilitários legados).
   ========================================================================== */

:root {
	/* Paleta — azuis profundos */
	--ink-950:  #050D1A;
	--navy-900: #0A1A33;
	--navy-800: #0F2547;
	--navy-700: #17345E;
	--blue-600: #2C4E82;
	--blue-500: #4A6A9E;
	--blue-300: #A3B8DB;
	--blue-100: #E3EAF5;
	--paper:    #F4F2ED;
	--white:    #FFFFFF;

	--text:       #0D1C35;
	--text-muted: #55627A;
	--line:       rgba(10, 26, 51, .14);
	--line-light: rgba(255, 255, 255, .16);

	/* Tipografia */
	--ff-display: "Newsreader", "Iowan Old Style", Georgia, serif;
	--ff-text:    "Newsreader", "Iowan Old Style", Georgia, serif;
	--ff-ui:      "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

	--t-display: clamp(2.875rem, 1.55rem + 5.4vw, 6.5rem);
	--t-h1:      clamp(2.5rem, 1.75rem + 3.2vw, 4.5rem);
	--t-h2:      clamp(2.125rem, 1.6rem + 2.1vw, 3.5rem);
	--t-h3:      clamp(1.5rem, 1.3rem + .8vw, 2rem);
	--t-h4:      1.375rem;
	--t-lead:    clamp(1.25rem, 1.12rem + .55vw, 1.625rem);
	--t-body:    1.1875rem;
	--t-small:   1rem;
	--t-ui:      .875rem;
	--t-eyebrow: .75rem;

	--section-y: clamp(4.5rem, 2.75rem + 6vw, 8.5rem);
	--ease: cubic-bezier(.2, .7, .2, 1);

	/* Bootstrap — sobrescreve os !important do nbzadv.css */
	--bs-primary: #0F2547 !important;
	--bs-primary-rgb: 15, 37, 71 !important;
	--bs-secondary: #A3B8DB !important;
	--bs-secondary-rgb: 163, 184, 219 !important;
	--bs-primary-bg-subtle: #E3EAF5 !important;
	--bs-body-color: #0D1C35;
	--bs-link-color: #17345E;
	--bs-link-hover-color: #0A1A33;
	--bs-border-color: rgba(10, 26, 51, .14);

	/* escala legada (fs-xl, fs-lg…) recalibrada para templates antigos */
	--fs-base: var(--t-body);
	--fs-xs:   1.375rem;
	--fs-sm:   var(--t-h3);
	--fs-md:   var(--t-h2);
	--fs-lg:   var(--t-h1);
	--fs-xl:   var(--t-h1);
	--fs-xxl:  var(--t-display);
	--fs-xxxl: var(--t-display);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
	font-family: var(--ff-text) !important;
	font-size: var(--t-body);
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ff-display) !important;
	color: inherit;
	font-weight: 400;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -.025em; }
h2 { font-size: var(--t-h2); line-height: 1.08; letter-spacing: -.022em; }
h3 { font-size: var(--t-h3); line-height: 1.18; }
h4 { font-size: var(--t-h4); line-height: 1.25; font-weight: 500; }
h5, h6 { font-size: 1.125rem; line-height: 1.3; font-weight: 500; }

p { font-size: inherit; margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--navy-700); transition: color .2s var(--ease); }
a:hover, a:focus { color: var(--navy-900); text-decoration: none; }

em, i:not([class]) { font-style: italic; }
::selection { background: var(--blue-300); color: var(--navy-900); }

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

.ff-ui { font-family: var(--ff-ui) !important; }
.text-muted-r { color: var(--text-muted) !important; }

.bg-navy   { background-color: var(--navy-900) !important; color: #fff; }
.bg-ink    { background-color: var(--ink-950) !important; color: #fff; }
.bg-paper  { background-color: var(--paper) !important; }

.section-y   { padding-block: var(--section-y); }
.section-y-t { padding-top: var(--section-y); }
.section-y-b { padding-bottom: var(--section-y); }

/* ---------- Tipografia utilitária ---------- */
.t-display { font-size: var(--t-display); line-height: .98; letter-spacing: -.03em; font-weight: 350; }
.t-h1 { font-size: var(--t-h1); }
.t-h2 { font-size: var(--t-h2); }
.t-h3 { font-size: var(--t-h3); }

.lead-r {
	font-size: var(--t-lead);
	line-height: 1.42;
	font-weight: 350;
	letter-spacing: -.008em;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .875rem;
	font-family: var(--ff-ui);
	font-size: var(--t-eyebrow);
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--blue-500);
	margin-bottom: 1.5rem;
}
.eyebrow::before {
	content: "";
	width: 2rem;
	height: 1px;
	background: currentColor;
	opacity: .7;
}
.eyebrow--light { color: var(--blue-300); }
.eyebrow--plain::before { display: none; }

.meta {
	font-family: var(--ff-ui);
	font-size: var(--t-ui);
	letter-spacing: .01em;
	color: var(--text-muted);
}

/* ---------- Botões ---------- */
.btn-r {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	font-family: var(--ff-ui);
	font-size: .875rem;
	font-weight: 500;
	letter-spacing: .04em;
	padding: 1rem 1.5rem;
	border: 1px solid transparent;
	border-radius: 0;
	text-decoration: none !important;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
	line-height: 1.2;
}
.btn-r .material-symbols-outlined { font-size: 1.125rem; transition: transform .25s var(--ease); }
.btn-r:hover .material-symbols-outlined { transform: translate(2px, -2px); }

.btn-r--light   { background: #fff; color: var(--navy-900); }
.btn-r--light:hover { background: var(--blue-100); color: var(--navy-900); }
.btn-r--ghost-light { border-color: var(--line-light); color: #fff; }
.btn-r--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-r--navy   { background: var(--navy-900); color: #fff; }
.btn-r--navy:hover { background: var(--navy-700); color: #fff; }
.btn-r--ghost  { border-color: var(--line); color: var(--navy-900); }
.btn-r--ghost:hover { border-color: var(--navy-900); color: var(--navy-900); }

.link-r {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-family: var(--ff-ui);
	font-size: .875rem;
	font-weight: 500;
	letter-spacing: .04em;
	color: var(--navy-900);
	text-decoration: none;
	padding-bottom: .25rem;
	border-bottom: 1px solid currentColor;
}
.link-r .material-symbols-outlined { font-size: 1rem; }
.link-r--light { color: #fff; }
.link-r--light:hover { color: var(--blue-300); }

/* ---------- Navegação ---------- */
.site-nav {
	padding-block: 1.25rem;
	background: transparent;
	transition: background-color .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-nav.scrolled,
.site-nav.is-open {
	padding-block: .625rem;
	background: rgba(10, 26, 51, .94);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	box-shadow: 0 1px 0 var(--line-light);
}
.site-nav .navbar-brand img { height: 46px; width: auto; transition: height .35s var(--ease); }
.site-nav.scrolled .navbar-brand img { height: 38px; }

.site-nav .nav-link {
	font-family: var(--ff-ui);
	font-size: .8125rem !important;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255,255,255,.82) !important;
	padding: .5rem 0 !important;
	position: relative;
}
.site-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: .15rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: #fff !important; }
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .dropdown-toggle::after { display: none; }
.site-nav .dropdown-toggle .material-symbols-outlined { font-size: 1rem; vertical-align: -3px; }

.site-nav .dropdown-menu {
	background: var(--navy-900);
	border: 1px solid var(--line-light);
	border-radius: 0;
	padding: .5rem 0;
	margin-top: .75rem !important;
	min-width: 18rem;
}
.site-nav .dropdown-item {
	font-family: var(--ff-display);
	font-size: 1.0625rem;
	color: rgba(255,255,255,.85);
	padding: .55rem 1.25rem;
	white-space: normal;
}
.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus { background: var(--navy-700); color: #fff; }

.site-nav .nav-cta {
	font-family: var(--ff-ui);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .06em;
	color: #fff;
	border: 1px solid var(--line-light);
	padding: .6rem 1rem;
	text-decoration: none;
	white-space: nowrap;
}
.site-nav .nav-cta:hover { border-color: #fff; color: #fff; }

.site-nav .navbar-toggler { border: 0; padding: .25rem; box-shadow: none !important; }
.site-nav .navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=UTF8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1.5' d='M5 9h20M5 15h20M5 21h20'/%3e%3c/svg%3e") !important;
}

@media (max-width: 767.98px) {
	.site-nav .navbar-collapse { padding: 1.5rem 0 1rem; }
	.site-nav .nav-link { font-size: .9375rem !important; padding: .75rem 0 !important; border-bottom: 1px solid var(--line-light); }
	.site-nav .nav-link::after { display: none; }
	.site-nav .dropdown-menu { border: 0; margin: 0 !important; padding: 0 0 .5rem; background: transparent; }
	.site-nav .dropdown-item { padding: .45rem 0 .45rem 1rem; font-size: 1rem; }
	.site-nav .nav-cta { display: inline-flex; margin-top: 1.25rem; }
}

/* ---------- Hero (home) — referência: painel azul | foto, título atravessando ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	background: var(--navy-800);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	display: flex;
}
.hero__media {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 50%;
	z-index: -1;
}
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% 30%;
	transform: scale(1.04);
	animation: heroZoom 2.4s var(--ease) forwards;
}
/* escurece só a base da foto, onde o título passa */
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(5,13,26,.35) 0%, rgba(5,13,26,0) 18%, rgba(5,13,26,0) 50%, rgba(5,13,26,.55) 100%);
	pointer-events: none;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-top: 8rem;
	padding-bottom: clamp(2rem, 1rem + 3vw, 4rem);
}
.hero__intro {
	font-size: 1.0625rem;
	line-height: 1.55;
	color: rgba(255,255,255,.72);
	max-width: 22rem;
	margin: 0 0 clamp(1.5rem, 1rem + 2vw, 3rem);
}
.hero__title {
	font-size: clamp(3.25rem, 1rem + 7.6vw, 9.5rem);
	line-height: .94;
	letter-spacing: -.035em;
	font-weight: 400;
	color: #fff;
	margin: 0;
}

/* mobile: mesma ideia do desktop — foto com borda seca + painel azul, título atravessando a divisa */
@media (max-width: 991.98px) {
	.hero { min-height: 0; flex-direction: column; }
	.hero__media { position: relative; inset: auto; width: 100%; height: 62svh; min-height: 22rem; max-height: 40rem; z-index: 0; }
	.hero__media img { object-position: 58% 22%; }
	.hero__media::after { background: linear-gradient(180deg, rgba(5,13,26,.45) 0%, rgba(5,13,26,0) 22%, rgba(5,13,26,0) 70%, rgba(5,13,26,.45) 100%); }
	.hero__content { position: relative; z-index: 1; padding: 0 calc(1rem + 12px) 3rem; }
	.hero__title { order: 1; margin-top: calc(-1 * clamp(3.25rem, 1rem + 7.6vw, 9.5rem) * .94); }
	.hero__content > .row { order: 2; }
	.hero__intro { margin: 1.75rem 0 0; }
}

/* revelação palavra por palavra */
.word-reveal-title .word-reveal {
	display: inline-block;
	opacity: 0;
	transform: translateY(.35em);
	filter: blur(10px);
	transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
	transition-delay: calc(var(--i) * 90ms + 150ms);
}
.word-reveal-title.is-visible .word-reveal { opacity: 1; transform: none; filter: none; }

/* revelação genérica ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.word-reveal-title .word-reveal, .reveal { opacity: 1; transform: none; filter: none; transition: none; }
	.hero__media img { animation: none; transform: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Cabeçalho de seção ---------- */
.section-head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section-head h2 { margin-bottom: 0; }
.section-head__text {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--text-muted);
	margin: 0;
	max-width: 30rem;
}
.bg-navy .section-head__text { color: rgba(255,255,255,.66); }

/* ---------- Sobre (home) ---------- */
.about__statement {
	font-family: var(--ff-display);
	font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.875rem);
	line-height: 1.2;
	font-weight: 350;
	letter-spacing: -.018em;
	color: var(--navy-900);
	margin: 0;
}
.about__statement strong { font-weight: 500; }
.about__body { font-size: var(--t-body); line-height: 1.7; color: var(--text-muted); }

.facts-row { border-top: 1px solid var(--line); margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.facts-row .fact { padding-top: 1.75rem; }
.facts-row .fact__value { color: var(--navy-900); font-size: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); }
.facts-row .fact__label { color: var(--text-muted); font-size: .875rem; }
@media (min-width: 768px) {
	.facts-row .fact + .fact { border-left: 1px solid var(--line); padding-left: 2rem; }
}

/* ---------- Cards de atuação (imagem + texto sobreposto) ---------- */
.area-card {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 55%, var(--ink-950) 100%);
	color: #fff;
	text-decoration: none !important;
	isolation: isolate;
}
.area-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform 1.1s var(--ease), filter .6s var(--ease);
	filter: saturate(.75);
}
.area-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(5,13,26,.15) 0%, rgba(5,13,26,.05) 30%, rgba(10,26,51,.72) 68%, rgba(5,13,26,.94) 100%);
	transition: background .5s var(--ease);
}
.area-card__inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	padding: clamp(1.25rem, 1rem + 1vw, 2rem);
}
.area-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	font-family: var(--ff-ui);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .14em;
	color: rgba(255,255,255,.75);
}
.area-card__top .material-symbols-outlined { font-size: 1.75rem; color: var(--blue-300); }
.area-card__bottom { margin-top: auto; }
.area-card__title {
	font-family: var(--ff-display) !important;
	font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem);
	line-height: 1.12;
	font-weight: 400;
	letter-spacing: -.015em;
	color: #fff;
	margin: 0;
}
.area-card__excerpt {
	font-size: 1rem;
	line-height: 1.5;
	color: rgba(255,255,255,.75);
	margin: 0;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .5s var(--ease);
}
.area-card__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255,255,255,.22);
	font-family: var(--ff-ui);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .06em;
	color: rgba(255,255,255,.85);
}
.area-card__more .material-symbols-outlined { font-size: 1.25rem; transition: transform .35s var(--ease); }

.area-card:hover .area-card__img,
.area-card:focus-visible .area-card__img { transform: scale(1.06); filter: saturate(1); }
.area-card:hover::before,
.area-card:focus-visible::before {
	background: linear-gradient(180deg, rgba(5,13,26,.35) 0%, rgba(10,26,51,.55) 40%, rgba(10,26,51,.88) 70%, rgba(5,13,26,.97) 100%);
}
.area-card:hover .area-card__excerpt,
.area-card:focus-visible .area-card__excerpt { max-height: 8rem; opacity: 1; margin-top: .875rem; }
.area-card:hover .area-card__more .material-symbols-outlined { transform: translate(3px, -3px); }

/* sem imagem destacada: ícone grande em marca d'água */
.area-card--noimg .area-card__watermark {
	position: absolute;
	right: -1.5rem;
	top: 18%;
	font-size: 13rem !important;
	color: rgba(163,184,219,.08);
	z-index: -1;
	pointer-events: none;
}

/* em telas de toque, mostrar o resumo sempre */
@media (hover: none) {
	.area-card__excerpt { max-height: none; opacity: 1; margin-top: .75rem; }
}

/* ---------- Equipe ---------- */
.person-card { display: block; text-decoration: none !important; color: var(--text); }
.person-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--blue-100);
}
.person-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 1s var(--ease), filter .6s var(--ease);
	filter: grayscale(.25);
}
.person-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,26,51,0) 60%, rgba(10,26,51,.35) 100%);
	opacity: 0;
	transition: opacity .5s var(--ease);
}
.person-card:hover .person-card__media img { transform: scale(1.04); filter: none; }
.person-card:hover .person-card__media::after { opacity: 1; }
.person-card__name {
	font-family: var(--ff-display) !important;
	font-size: 1.375rem;
	line-height: 1.2;
	font-weight: 450;
	color: var(--navy-900);
	margin: 1.125rem 0 .3rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}
.person-card__name .material-symbols-outlined { font-size: 1.125rem; color: var(--blue-500); opacity: 0; transform: translate(-4px, 4px); transition: all .35s var(--ease); }
.person-card:hover .person-card__name .material-symbols-outlined { opacity: 1; transform: none; }
.person-card__role { font-family: var(--ff-ui); font-size: .875rem; line-height: 1.45; color: var(--text-muted); margin: 0; }

/* ---------- RJ's e Falências ---------- */
.doc-list { border-top: 1px solid var(--navy-900); }
.doc-list > .row { margin-left: 0; margin-right: 0; }
.doc-list > .row > * { padding-left: 0; padding-right: 1.5rem; }
.doc-list__head {
	font-family: var(--ff-ui);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--text-muted);
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
}
.doc-row { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.doc-row__date { font-family: var(--ff-ui); font-size: .875rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.doc-row__title {
	font-family: var(--ff-display);
	font-size: 1.375rem;
	line-height: 1.25;
	color: var(--navy-900);
	text-decoration: none;
}
.doc-row__title:hover { color: var(--blue-600); }
.doc-row__label { display: block; font-family: var(--ff-ui); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .35rem; }

.doc-link {
	display: flex;
	align-items: flex-start;
	gap: .625rem;
	font-family: var(--ff-ui);
	font-size: .9375rem;
	line-height: 1.4;
	color: var(--navy-700);
	text-decoration: none;
	padding: .375rem 0;
}
.doc-link i { color: var(--blue-500); font-size: 1rem; margin-top: .05rem; }
.doc-link:hover { color: var(--navy-900); }
.doc-link:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* lista simples de processos (página RJ's) */
.case-row {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1.75rem 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none !important;
	color: var(--navy-900);
}
.case-row__type { display: block; font-family: var(--ff-ui); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-500); margin-bottom: .4rem; }
.case-row__title { font-family: var(--ff-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.2; margin: 0; }
.case-row .material-symbols-outlined { margin-left: auto; color: var(--blue-500); transition: transform .35s var(--ease); }
.case-row:hover .case-row__title { color: var(--blue-600); }
.case-row:hover .material-symbols-outlined { transform: translate(3px, -3px); }

/* bloco de downloads (singles RJ/documento) */
.download {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.125rem 1.25rem;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--navy-900);
	text-decoration: none !important;
	font-family: var(--ff-ui);
	font-size: .9375rem;
	line-height: 1.4;
	transition: border-color .25s var(--ease), background .25s var(--ease);
}
.download + .download { margin-top: .5rem; }
.download i { font-size: 1.25rem; color: var(--blue-500); }
.download .material-symbols-outlined { margin-left: auto; font-size: 1.125rem; color: var(--text-muted); }
.download:hover { border-color: var(--navy-900); background: var(--paper); color: var(--navy-900); }

/* ---------- Livros ---------- */
.book-card { display: flex; gap: 1.5rem; align-items: flex-start; }
.book-card__cover {
	flex: 0 0 42%;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	background: var(--blue-100);
	box-shadow: 0 1px 2px rgba(10,26,51,.08), 0 18px 40px -18px rgba(10,26,51,.45);
}
.book-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.book-card__title {
	font-family: var(--ff-display) !important;
	font-size: 1.375rem;
	line-height: 1.2;
	font-weight: 450;
	color: var(--navy-900);
	margin: 0 0 .75rem;
}
.book-card__authors { font-size: 1rem; line-height: 1.45; color: var(--text); margin-bottom: .75rem; }
.book-card__meta { font-family: var(--ff-ui); font-size: .8125rem; letter-spacing: .02em; color: var(--text-muted); }

/* ---------- Cabeçalho de páginas internas ---------- */
.page-hero {
	position: relative;
	background: var(--navy-900);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	padding-top: 9rem;
	padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
	min-height: 52vh;
	display: flex;
	align-items: flex-end;
}
.page-hero--compact { min-height: 0; padding-top: 8.5rem; }
.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(.35); }
.page-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10,26,51,.96) 0%, rgba(10,26,51,.82) 45%, rgba(10,26,51,.55) 100%), rgba(15,37,71,.25);
}
.page-hero h1 { color: #fff; margin: 0; font-weight: 350; }
.page-hero__lead { font-size: var(--t-lead); line-height: 1.45; font-weight: 350; color: rgba(255,255,255,.72); margin: 1.5rem 0 0; max-width: 40rem; }
.page-hero .meta { color: rgba(255,255,255,.6); margin-top: 1.5rem; }

.breadcrumb-r {
	font-family: var(--ff-ui);
	font-size: .75rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: rgba(255,255,255,.55);
	margin-bottom: 1.5rem;
}
.breadcrumb-r a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb-r a:hover { color: #fff; }
.breadcrumb-r .sep { margin: 0 .6rem; opacity: .5; }

/* ---------- Conteúdo editorial (the_content) ---------- */
.prose { font-size: var(--t-body); line-height: 1.72; color: var(--text); }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { font-size: var(--t-h3); margin: 2.25em 0 .75em; }
.prose h3 { font-size: 1.5rem; margin: 2em 0 .6em; }
.prose h4, .prose h5, .prose h6 { font-size: 1.1875rem; font-weight: 600; margin: 1.75em 0 .5em; }
.prose a { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--blue-300); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.25em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue-500); }
.prose blockquote {
	margin: 2em 0;
	padding: 0 0 0 1.5rem;
	border-left: 2px solid var(--navy-900);
	font-size: var(--t-lead);
	line-height: 1.45;
	font-style: italic;
	color: var(--navy-900);
}
.prose img { max-width: 100%; height: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-family: var(--ff-ui); font-size: .8125rem; color: var(--text-muted); margin-top: .5rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; opacity: 1; }
.prose table { width: 100%; font-size: 1rem; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .75rem .5rem; text-align: left; }
.prose--lead > p:first-of-type { font-size: var(--t-lead); line-height: 1.45; color: var(--navy-900); }

/* ---------- Perfil (single equipe) ---------- */
.profile__media { position: sticky; top: 6.5rem; }
.profile__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }

/* ---------- Paginação ---------- */
.pagination-r { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem; font-family: var(--ff-ui); font-size: .875rem; }
.pagination-r .page-numbers {
	min-width: 2.75rem; height: 2.75rem;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 0 .75rem;
	border: 1px solid var(--line);
	color: var(--navy-900);
	text-decoration: none;
}
.pagination-r .page-numbers.current { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.pagination-r a.page-numbers:hover { border-color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: rgba(255,255,255,.75); }
.site-footer a:not(.btn-r) { color: inherit; text-decoration: none; }
.site-footer a:not(.btn-r):hover { color: #fff; }
.footer-cta { border-bottom: 1px solid var(--line-light); }
.footer-credits { background: var(--ink-950) !important; }
.footer-cta__title { font-size: var(--t-h2); color: #fff; font-weight: 350; margin: 0; }
.footer-cta__title em { color: var(--blue-300); font-weight: 300; }
.footer-label {
	font-family: var(--ff-ui);
	font-size: .6875rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--blue-300);
	margin-bottom: 1.25rem;
}
.footer-address { font-style: normal; font-size: 1.0625rem; line-height: 1.65; color: rgba(255,255,255,.78); margin: 0 0 1.25rem; }
.footer-phone {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--ff-ui); font-size: 1rem; font-weight: 500; letter-spacing: .02em;
	color: #fff !important;
	padding-bottom: .25rem;
	border-bottom: 1px solid var(--line-light);
}
.footer-phone .material-symbols-outlined { font-size: 1.125rem; color: var(--blue-300); }
.footer-phone:hover { border-color: #fff; }
.footer-nav { list-style: none; padding: 0; margin: 0; font-family: var(--ff-ui); font-size: .9375rem; font-weight: 400; }
.footer-nav a { font-weight: 400; }
.footer-nav li + li { margin-top: .6rem; }
.footer-assoc { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; max-width: 26rem; }
.footer-assoc__logo {
	background: #fff;
	display: flex; align-items: center; justify-content: center;
	padding: 1.25rem 1.5rem;
	aspect-ratio: 16 / 9;
}
.footer-assoc__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (min-width: 992px) {
	.footer-cols > div + div { border-left: 1px solid var(--line-light); }
}

/* ---------- 404 ---------- */
.notfound__code { font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: .9; font-weight: 300; color: var(--blue-300); letter-spacing: -.04em; }

/* ---------- Swiper (templates legados) ---------- */
.swiper-pagination-bullet-active { background: var(--navy-900) !important; }

@media (max-width: 575.98px) {
	.person-card__name { font-size: 1.1875rem; margin-top: .875rem; }
	.book-card__title { font-size: 1.25rem; }
	.eyebrow { letter-spacing: .12em; }
}

/* ---------- Swiper de atuação ---------- */
.swAtuacao { overflow: visible; }
#atuacao { overflow: hidden; }
.swAtuacao .swiper-slide { height: auto; }
.slider-ctrl {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin-top: 2.5rem;
}
.slider-ctrl__progress {
	position: relative !important;
	flex: 1;
	height: 1px !important;
	background: var(--line-light) !important;
}
.slider-ctrl__progress .swiper-pagination-progressbar-fill { background: #fff !important; }
.slider-ctrl__btns { display: flex; gap: .5rem; }
.slider-btn {
	width: 3.25rem; height: 3.25rem;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line-light);
	background: transparent;
	color: #fff;
	border-radius: 0;
	transition: background-color .25s var(--ease), border-color .25s var(--ease), opacity .25s;
}
.slider-btn:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.slider-btn.swiper-button-disabled { opacity: .3; pointer-events: none; }
.slider-btn .material-symbols-outlined { font-size: 1.25rem; }

/* ---------- Barra LGPD / cookies — faixa fina no rodapé da tela (como na V.1) ---------- */
.cookie-bar {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 1080;
	background: var(--navy-900);
	border-top: 1px solid var(--line-light);
	transform: translateY(100%);
	transition: transform .45s var(--ease);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar.is-in { transform: none; }
.cookie-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	padding: .625rem 1rem;
}
.cookie-bar__text {
	margin: 0;
	font-family: var(--ff-ui);
	font-size: .75rem;
	letter-spacing: .02em;
	line-height: 1.4;
	color: rgba(255,255,255,.75);
	text-align: center;
}
.cookie-bar__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--blue-300); }
.cookie-bar__btn { flex-shrink: 0; padding: .45rem .9rem; font-size: .75rem; letter-spacing: .06em; }
@media (max-width: 575.98px) {
	.cookie-bar__inner { gap: .75rem; padding: .625rem .75rem; }
	.cookie-bar__text { text-align: left; }
}

/* evita que margens internas "vazem" e criem faixa branca acima do footer */
.site-footer { display: flow-root; }
.footer-cta__inner { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }

/* hero: textos mais altos no desktop, longe da barra fixa de LGPD */
@media (min-width: 992px) {
	.hero__content { padding-bottom: clamp(5.5rem, 3rem + 4vw, 8.5rem); }
}

/* ---------- Documentos (singles RJ / documento) — lista larga em 2 colunas ---------- */
.docs-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--navy-900);
}
.docs-head__count { font-family: var(--ff-ui); font-size: .8125rem; color: var(--text-muted); }
.download { align-items: flex-start; }
.download + .download { margin-top: 0; }
.download__n {
	flex-shrink: 0;
	min-width: 1.75rem;
	font-family: var(--ff-ui);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--blue-500);
	padding-top: .15rem;
	font-variant-numeric: tabular-nums;
}
.download__title { flex: 1; }
.download .material-symbols-outlined { margin-top: .05rem; }
.doc-meta-bar { border-bottom: 1px solid var(--line); }
.doc-meta { margin: 0; padding: 1.25rem 0; font-family: var(--ff-ui); font-size: .875rem; color: var(--text-muted); }
.doc-meta strong { color: var(--navy-900); font-weight: 600; }
.doc-meta__sep { margin: 0 .5rem; opacity: .5; }

/* ---------- Swiper de equipe (fundo claro) ---------- */
.swEquipe .swiper-slide { height: auto; }
.slider-ctrl--dark .slider-ctrl__progress { background: var(--line) !important; }
.slider-ctrl--dark .swiper-pagination-progressbar-fill { background: var(--navy-900) !important; }
.slider-ctrl--dark .slider-btn { border-color: var(--line); color: var(--navy-900); }
.slider-ctrl--dark .slider-btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ---------- Menu mobile: marca e toggle não "pulam" ao abrir/rolar ---------- */
@media (max-width: 767.98px) {
	.site-nav,
	.site-nav.scrolled,
	.site-nav.is-open { padding-block: .75rem; }
	.site-nav .navbar-brand img,
	.site-nav.scrolled .navbar-brand img { height: 38px; }
}

/* hero: o zoom inicial da foto não pode vazar para fora da área do filtro */
.hero__media { overflow: hidden; }

/* single RJ / documento: títulos longos */
.page-hero--doc h1 { font-size: clamp(1.875rem, 1.4rem + 1.7vw, 3rem); line-height: 1.12; letter-spacing: -.018em; }
.page-hero--doc .col-xl-8 { width: 100%; max-width: 62rem; }
.footer-cta .btn-r--light:hover .material-symbols-outlined { transform: none; }
