/* ==========================================================================
   RMN – Ribeiro de Mendonça e Nozima Advogados
   Medidas tiradas do Figma (frame de 1440px). Verticais em px fixos; as
   horizontais usam a unidade --u (= 1px em 1440, encolhe proporcionalmente
   em telas menores — ver main.js). Abaixo de 960px entra o layout mobile.
   ========================================================================== */

:root {
	--u: 1px;
	--azul: #3b6e8e;
	--azul-2: #40718f;
	--teal: #4ac3cc;
	--navy: #0c2d36;
	--texto: #464646;
	--cinza: #9f9f9f;
	--bg: #f5f5f5;
	--ease: 300ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
	margin: 0;
	background: #fff;
	color: var(--texto);
	font-family: "Public Sans", system-ui, sans-serif;
	font-size: 18px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
.screen-reader-text, .contact-form__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.site { position: relative; display: flow-root; max-width: 1440px; margin: 0 auto; }

/* ---------- Primitivos ---------- */
.eyebrow {
	font-size: 18px;
	font-weight: 400;
	line-height: 21px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--teal);
}
.rich p { margin: 0 0 27px; }
.rich p:last-child { margin-bottom: 0; }
.rich strong { font-weight: 700; }
.rich a { color: var(--azul); text-decoration: underline; }

/* Link com barrinha turquesa que vira fundo no hover ("Conheça o escritório", "Enviar") */
.link-bar {
	position: relative;
	display: inline-block;
	padding: 0 0 0 13px;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
	color: var(--navy);
}
.link-bar::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 6px;
	width: 4px;
	height: 7px;
	background: var(--teal);
	transition: top var(--ease), height var(--ease), width var(--ease);
}
.link-bar span { position: relative; }
.link-bar:hover::before, .link-bar:focus-visible::before { top: -1px; height: 19px; width: calc(100% + 4px); }
.link-bar--light { color: #ebedf0; }
.link-bar--light:hover, .link-bar--light:focus-visible { color: var(--navy); }

/* "Ler mais +" */
.read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	line-height: 44px;
	text-transform: uppercase;
	color: var(--teal);
	white-space: nowrap;
}
.read-more .ic-plus-sm { transition: transform var(--ease); }
.read-more:hover .ic-plus-sm { transform: rotate(90deg); }

/* ==========================================================================
   Cabeçalho — estado "capa" (absoluto no topo) e "fixo" (após rolar)
   ========================================================================== */
.site-header { position: absolute; z-index: 50; top: 0; left: 0; right: 0; height: 179px; }
.site-header__bar { position: relative; height: 100%; max-width: 1440px; margin: 0 auto; }
.site-header__brand { position: absolute; left: calc(40 * var(--u)); top: 77px; display: block; }
.site-header__logo { width: 243.5px; height: 43.5px; }
.site-header__logo-compact { display: none; width: 111.7px; height: 51.7px; }
.site-header__selo { position: absolute; left: 263px; top: 0; width: 95px; height: 43.8px; object-fit: contain; }
.site-header__util { position: absolute; top: 26px; right: calc(39 * var(--u)); display: flex; align-items: flex-start; gap: 22px; }
.lang-switch { display: flex; gap: 7px; padding-top: 5px; font-size: 10px; font-weight: 700; line-height: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--azul); }
.lang-switch a { color: #464646; opacity: 0.5; }
.site-header__linkedin { display: block; width: 17px; height: 15.2px; color: var(--azul); }
.site-header__linkedin svg { width: 100%; height: 100%; }

.site-nav { position: absolute; top: 107px; right: calc(34.8 * var(--u)); }
.site-nav__list { display: flex; gap: calc(52 * var(--u)); }
.site-nav__list li { display: flex; }
.site-nav__list a {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--azul);
	transition: color var(--ease);
}
/* reserva a largura do negrito para o hover não empurrar os vizinhos */
.site-nav__list a::after { content: attr(data-label); height: 0; overflow: hidden; visibility: hidden; font-weight: 700; }
.site-nav__list a:hover, .site-nav__list .is-active > a { font-weight: 700; color: var(--teal); }

.nav-toggle { display: none; }

/* Estado fixo: barra branca de 103px com sombra seca de 8px (Figma: menu flutuante) */
.site-header.is-fixed { position: fixed; height: 103px; background: #fff; box-shadow: 0 8px 0 rgba(0, 0, 0, 0.1); animation: header-in 300ms ease both; }
.site-header.is-fixed .site-header__brand { left: calc(37 * var(--u)); top: 41px; }
.site-header.is-fixed .site-header__logo, .site-header.is-fixed .site-header__selo, .site-header.is-fixed .site-header__util { display: none; }
.site-header.is-fixed .site-header__logo-compact { display: block; }
.site-header.is-fixed .site-nav { top: 70.4px; right: calc(37.8 * var(--u)); }
@keyframes header-in { from { transform: translateY(-103px); } to { transform: none; } }
.admin-bar .site-header.is-fixed { top: 32px; }

/* ==========================================================================
   HOME
   ========================================================================== */
/* Capa: caixa 1361×719 em (40,179) */
.hero { padding-top: 179px; }
.hero__box { position: relative; margin-left: calc(40 * var(--u)); width: calc(1361 * var(--u)); height: 719px; overflow: hidden; background: var(--navy); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__ov1 { position: absolute; inset: 0; background: rgba(12, 45, 54, 0.25); }
.hero__ov2 { position: absolute; top: 0; bottom: 0; left: calc(1 * var(--u)); width: calc(1124 * var(--u)); background: rgba(12, 45, 54, 0.48); }
.hero__title { position: absolute; z-index: 2; left: calc(59 * var(--u)); top: 282px; font-size: 40.95px; font-weight: 300; line-height: 49.7px; color: #fff; }
.hero__arrow { position: absolute; z-index: 2; left: calc(59 * var(--u)); top: 532px; color: #fff; transition: transform var(--ease); }
.hero__arrow:hover { transform: translateY(4px); }
.hero__deco span, .page-hero__deco span, .escr-hero__deco span { position: absolute; display: block; }
.hero__deco .d1 { left: calc(1124.9 * var(--u)); top: 267px; width: calc(236.1 * var(--u)); height: 164px; background: var(--teal); }
.hero__deco .d2 { left: calc(666 * var(--u)); top: 267px; width: calc(459 * var(--u)); height: 452px; background: rgba(74, 195, 204, 0.8); }
.hero__deco .d3 { left: calc(842 * var(--u)); top: 431px; width: calc(519 * var(--u)); height: 288px; background: rgba(59, 110, 142, 0.8); }

/* Escritório (prévia): 600px de altura, foto 666×600 */
.home-escr { position: relative; height: 600px; scroll-margin-top: 103px; }
.home-escr__media { position: absolute; left: calc(40 * var(--u)); top: 0; width: calc(666 * var(--u)); height: 600px; overflow: hidden; background: var(--azul); }
.home-escr__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.home-escr__ov { position: absolute; inset: 0; background: rgba(59, 110, 142, 0.8); }
.home-escr__teal { position: absolute; left: calc(630 * var(--u)); top: 0; width: calc(76 * var(--u)); height: 110px; background: var(--teal); }
.home-escr__text { position: absolute; left: calc(808 * var(--u)); top: 94px; width: calc(542 * var(--u)); }
.home-escr__body { margin-top: 45px; font-size: 18px; line-height: 27px; color: var(--texto); }
.home-escr__link { position: absolute; top: 405px; left: 0; }

/* Atuação: bloco cinza 1357 de largura */
.home-atuacao { margin-left: calc(40 * var(--u)); width: calc(1357 * var(--u)); padding: 99px 0 87px; background: var(--bg); scroll-margin-top: 103px; }
.home-atuacao__eyebrow { margin-left: calc(54 * var(--u)); }
.home-atuacao__cols { display: flex; align-items: flex-start; gap: calc(94 * var(--u)); margin: 62.6px 0 0 calc(44 * var(--u)); }
.area-list { width: calc(565 * var(--u)); }
.area-row {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 0 0 12px 1px;
	margin-bottom: 23px;
	border-bottom: 1px solid rgba(144, 144, 144, 0.3);
	font-size: 18px;
	font-weight: 700;
	line-height: 21px;
	color: var(--azul);
	transition: color var(--ease);
}
.area-row__title { max-width: 530px; }
.area-row .ic-plus { flex: none; color: var(--teal); transition: transform var(--ease); }
.area-row:hover { color: var(--teal); }
.area-row:hover .ic-plus { transform: rotate(90deg); }

/* Equipe: bloco azul */
.home-equipe { position: relative; margin-left: calc(40 * var(--u)); width: calc(1357 * var(--u)); padding: 94.7px 0 102px calc(54 * var(--u)); background: var(--azul); scroll-margin-top: 103px; }
.home-equipe__deco span { position: absolute; display: block; }
.home-equipe__deco .d1 { right: 0; top: 0; bottom: 0; width: calc(362 * var(--u)); background: rgba(0, 51, 65, 0.2); }
.home-equipe__deco .d2 { right: 0; top: 0; width: calc(361.5 * var(--u)); height: 640.5px; background: rgba(0, 51, 65, 0.2); }
.home-equipe__deco .d3 { left: calc(995.5 * var(--u)); top: 0; width: calc(93.5 * var(--u)); height: 176.6px; background: rgba(74, 195, 204, 0.9); }
.home-equipe__eyebrow { position: relative; }
.team-list { position: relative; display: grid; grid-template-columns: repeat(2, calc(388 * var(--u))); column-gap: calc(77 * var(--u)); margin-top: 59.3px; }
.team-list + .home-equipe__eyebrow { margin-top: 69px; }
.team-row {
	position: relative;
	display: block;
	padding-bottom: 12px;
	margin-bottom: 23px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
}
.team-row__name { display: block; font-size: 18px; line-height: 21px; transition: color var(--ease); }
.team-row__role { display: block; margin-top: 6px; font-size: 12px; line-height: 14px; letter-spacing: 0.1em; text-transform: uppercase; }
.team-row .ic-plus { position: absolute; right: 0; top: 20px; color: var(--teal); transition: transform var(--ease); }
.team-row:hover .team-row__name { color: var(--teal); }
.team-row:hover .ic-plus { transform: rotate(90deg); }
.team-list--adm { margin-top: 58.5px; }
.team-list--adm .team-row { padding-bottom: 15.5px; margin-bottom: 24.9px; }
.team-list--adm .ic-plus { top: 1.5px; }

/* Linha de notícias (Home e "relacionadas") */
.news-row { padding-left: calc(40 * var(--u)); margin-top: 95.3px; scroll-margin-top: 103px; }
.news-row__head { display: flex; justify-content: space-between; align-items: baseline; width: calc(1357 * var(--u)); }
/* "Ver todas": mesmo estilo do "Voltar"; termina na borda direita do bloco da Equipe */
.news-row__all { font-size: 12px; font-weight: 700; line-height: 16px; text-transform: uppercase; color: var(--teal); transition: color var(--ease); }
.news-row__all:hover { color: var(--azul); }
.news-row__grid { display: flex; align-items: flex-start; margin: 64px 0 0 calc(1 * var(--u)); }
.news-row__grid .news-card { width: calc(363 * var(--u)); }
.news-row__grid .news-card + .news-card { margin-left: calc(50 * var(--u)); }
.news-row__grid .news-card--wide { width: calc(538 * var(--u)); }
.news-row__grid .news-card--wide + .news-card { margin-left: calc(43 * var(--u)); }
.news-row__grid .news-card--wide .news-card__title { max-width: calc(480 * var(--u)); }
.news-row__grid .news-card--wide .news-card__excerpt { max-width: calc(508 * var(--u)); }

.news-card__media { position: relative; display: block; height: 235px; overflow: hidden; background: #ddd; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter var(--ease); }
.news-card__ov-blue { position: absolute; left: 0; bottom: 0; width: 20px; height: 33px; background: rgba(59, 110, 142, 0.8); transition: width var(--ease), height var(--ease); }
.news-card__ov-teal { position: absolute; left: 0; bottom: 0; width: 10px; height: 16px; background: rgba(74, 195, 204, 0.6); opacity: 0; transition: width var(--ease), height var(--ease), opacity var(--ease); }
.news-card:hover .news-card__media img, .rel-item:hover .news-card__media img { filter: none; }
.news-card:hover .news-card__ov-blue, .rel-item:hover .news-card__ov-blue { width: 100%; height: 100%; }
.news-card:hover .news-card__ov-teal, .rel-item:hover .news-card__ov-teal { width: 98px; height: 154px; opacity: 1; }
.news-card__date { font-size: 14px; font-weight: 600; line-height: 44px; text-transform: uppercase; color: var(--cinza); }
.news-card__title { margin-top: 12px; height: 84px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 24px; font-weight: 500; line-height: 28px; color: var(--azul); }
.news-card__title a:hover { color: var(--teal); }
.news-card__excerpt { margin-top: 17px; height: 57px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 16px; line-height: 19px; color: var(--texto); }
.news-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; height: 44px; }
.news-card__author { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; line-height: 44px; text-transform: uppercase; color: var(--cinza); }

/* Notícia sem imagem de destaque: bloco nas cores da marca no lugar da foto
   (mesma composição do hover), em vez de um quadro vazio. */
.news-card__media.is-empty { background: var(--azul); }
.news-card__media.is-empty .news-card__ov-blue { width: 100%; height: 100%; background: rgba(12, 45, 54, 0.25); }
.news-card__media.is-empty .news-card__ov-teal { width: 98px; height: 154px; opacity: 1; }
.news-card:hover .news-card__media.is-empty .news-card__ov-teal, .rel-item:hover .news-card__media.is-empty .news-card__ov-teal { width: 140px; height: 100%; }
.news-featured__deco { display: none; }
.news-featured__media.is-empty { position: relative; background: var(--azul); }
.news-featured__media.is-empty .news-featured__deco { display: block; position: absolute; left: 0; bottom: 0; width: calc(236 * var(--u)); height: 215px; background: rgba(74, 195, 204, 0.9); }

/* Contato (Home) */
.home-contato { position: relative; display: flex; margin: 73px 0 0 calc(40 * var(--u)); width: calc(1357 * var(--u)); height: 551px; background: var(--navy); color: #fff; scroll-margin-top: 103px; }
.home-contato::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; left: calc(582 * var(--u)); background: rgba(0, 0, 0, 0.2); pointer-events: none; }
.home-contato__info { position: relative; width: calc(582 * var(--u)); padding: 97px 0 0 calc(59 * var(--u)); }
.home-contato__tel { margin-top: 46px; font-size: 16px; line-height: 24px; }
.home-contato__tel a, .footer-c__contact a { text-decoration: underline; text-underline-offset: 2px; }
.home-contato__addr { margin-top: 37.2px; font-size: 16px; line-height: 24px; }
.home-contato__logo { position: absolute; left: calc(59 * var(--u)); top: 453px; width: 223px; height: 44.3px; }
.home-contato .social { position: absolute; left: calc(423 * var(--u)); top: 469px; }

.social { display: flex; align-items: flex-start; color: var(--teal); }
.social a { display: block; transition: opacity var(--ease); }
.social a:hover { opacity: 0.7; }
.social svg { width: 100%; height: 100%; }
.social__maps a { width: 24px; height: 26.5px; }
.social__waze { margin-left: calc(18.4 * var(--u)); padding-top: 2.7px; }
.social__waze a { width: 24.6px; height: 24.2px; }
.social__linkedin { margin-left: calc(24 * var(--u)); padding-top: 5px; }
.social__linkedin a { width: 20px; height: 18.9px; }

.contact-form { position: relative; z-index: 1; width: calc(682 * var(--u)); margin-left: calc(48 * var(--u)); padding-top: 93px; }
.cf-field { position: relative; display: block; border-bottom: 1px solid #626262; }
.cf-field input, .cf-field textarea { display: block; width: 100%; padding: 0 0 0 4.4px; border: 0; background: transparent; color: #fff; font-size: 16px; line-height: 25px; outline: none; }
.cf-field input { height: 34.9px; padding-bottom: 9.9px; }
.cf-field input::placeholder, .cf-field__label { font-size: 12px; font-weight: 500; line-height: 25px; letter-spacing: 4px; text-transform: uppercase; color: var(--teal); opacity: 1; }
.cf-field--tel { margin-top: 38.4px; }
.cf-field--msg { margin-top: 31.6px; }
.cf-field__label { display: block; height: 33.4px; padding-left: 4.4px; border-bottom: 1px solid #626262; }
.cf-field textarea { height: 164.8px; padding-top: 10px; resize: none; }
.cf-field:focus-within { border-bottom-color: var(--teal); }
.contact-form__foot { position: relative; display: flex; justify-content: space-between; margin-top: 39px; }
.cf-check { position: relative; display: flex; gap: 18px; cursor: pointer; }
.cf-check input { position: absolute; opacity: 0; width: 16px; height: 16px; margin: 0; }
.cf-check__box { flex: none; width: 16px; height: 16px; margin: 3px 0 0 1px; border: 1px solid var(--teal); }
.cf-check input:checked + .cf-check__box { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l3 3 6-6.4' fill='none' stroke='%230c2d36' stroke-width='2'/%3E%3C/svg%3E") center/12px no-repeat; }
.cf-check input:focus-visible + .cf-check__box { outline: 2px solid var(--teal); outline-offset: 2px; }
.cf-check__text { max-width: 365px; font-size: 12px; line-height: 14px; color: rgba(255, 255, 255, 0.5); }
.cf-check__text a { text-decoration: underline; }
.cf-check__text a.no-ul { text-decoration: none; }
.contact-form__send { margin: 0 calc(13 * var(--u)) 0 0; }
.contact-form__msg { margin-top: 18px; font-size: 14px; color: var(--teal); }

.home-mapa { margin-left: calc(40 * var(--u)); width: calc(1357 * var(--u)); height: 286.7px; background: #e9e5dc; }
.home-mapa iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Faixa inferior (Home e internas) */
.footer-bar { position: relative; height: 68px; margin-left: calc(40 * var(--u)); width: calc(1357 * var(--u)); border-top: 1px solid var(--azul-2); background: var(--navy); font-family: "DM Sans", "Public Sans", sans-serif; font-size: 11px; line-height: 28px; color: var(--azul); }
.home .footer-bar { margin-bottom: 72px; }
.footer-bar > * { position: absolute; top: 22.3px; }
.footer-bar__copy { left: calc(59 * var(--u)); }
.footer-bar__rights { left: calc(534 * var(--u)); }
.footer-bar__priv { left: calc(827 * var(--u)); transition: color var(--ease); }
.footer-bar__priv:hover { color: var(--teal); }
.footer-bar__unitri { left: calc(1297 * var(--u)); top: 26px; width: 14.5px; height: 18.7px; color: var(--azul); }
.footer-bar__unitri svg { width: 100%; height: 100%; }

/* ==========================================================================
   Internas
   ========================================================================== */
/* Faixa do topo 1361×246 em (40,179) */
.page-hero { position: relative; margin: 179px 0 0 calc(40 * var(--u)); width: calc(1361 * var(--u)); height: 246px; overflow: hidden; background: var(--azul); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; mix-blend-mode: multiply; }
.page-hero__deco .d1 { left: calc(1124.9 * var(--u)); top: 0; width: calc(236.1 * var(--u)); height: 215px; background: var(--teal); }
.page-hero__deco .d2 { left: calc(666 * var(--u)); top: 0; width: calc(459 * var(--u)); height: 246px; background: rgba(74, 195, 204, 0.9); }
.page-hero__deco .d3 { left: calc(842 * var(--u)); top: 164px; width: calc(519 * var(--u)); height: 82px; background: var(--azul); }
.page-hero__text { position: absolute; z-index: 1; left: calc(59 * var(--u)); top: 153px; width: calc(600 * var(--u)); }
.page-hero--titled .page-hero__text { top: 134px; }
.page-hero__title { font-size: 24px; font-weight: 700; line-height: 50px; color: #fff; }

/* Textura de fundo do conteúdo (P&B, 15%) */
.content-bg { position: relative; margin-left: calc(40 * var(--u)); width: calc(1361 * var(--u)); }
.content-bg__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: 0.15; }
.content-bg > :not(.content-bg__img) { position: relative; }

/* Rodapé compacto das internas: 1357×230 */
.footer-c { margin: 0 0 42px calc(40 * var(--u)); width: calc(1357 * var(--u)); background: var(--navy); color: #fff; }
.footer-c__main { position: relative; height: 161.8px; }
.footer-c__logo { position: absolute; left: calc(59 * var(--u)); top: 73px; width: 223px; height: 44.3px; }
.footer-c__contact, .footer-c__address { position: absolute; top: 72px; font-size: 16px; line-height: 24px; }
.footer-c__contact { left: calc(386 * var(--u)); }
.footer-c__address { left: calc(627 * var(--u)); width: calc(407 * var(--u)); }
.footer-c .social { position: absolute; left: calc(1198 * var(--u)); top: 85px; }
.footer-c .footer-bar { margin-left: 0; width: 100%; }

/* Espaço entre o último bloco e o rodapé, por página */
.page-template-page-escritorio .footer-c { margin-top: 28.9px; }
.single-area .footer-c, .single-profissional .footer-c, .single-post .footer-c { margin-top: 61px; }
.single-profissional .footer-c, .single-post .footer-c { margin-top: 71px; }
.blog .footer-c { margin-top: 107px; }
.page-template-default .footer-c, .error404 .footer-c { margin-top: 80px; }

/* ---------- O Escritório ---------- */
.escr-hero { position: relative; margin: 179px 0 0 calc(40 * var(--u)); width: calc(1361 * var(--u)); height: 587px; overflow: hidden; background: var(--azul); }
.escr-hero .page-hero__img { object-position: center top; }
.escr-hero__deco .d1 { left: calc(1124.9 * var(--u)); top: 267px; width: calc(236.1 * var(--u)); height: 215px; background: var(--teal); }
.escr-hero__deco .d2 { left: calc(666 * var(--u)); top: 267px; width: calc(459 * var(--u)); height: 320px; background: rgba(74, 195, 204, 0.9); }
.escr-hero__deco .d3 { left: calc(842 * var(--u)); top: 431px; width: calc(519 * var(--u)); height: 156px; background: var(--azul); }
.escr-hero__eyebrow { position: absolute; left: calc(59 * var(--u)); top: 186px; }
.escr-hero__title { position: absolute; left: calc(59 * var(--u)); top: 247px; width: calc(560 * var(--u)); font-size: 32px; font-weight: 400; line-height: 50px; color: #fff; }

.escr-intro { height: 536px; }
.escr-intro__selo { position: absolute !important; left: calc(156 * var(--u)); top: 165px; width: calc(340 * var(--u)); height: 171px; object-fit: contain; }
.escr-intro__text { position: absolute !important; left: calc(666 * var(--u)); top: 141px; width: calc(644 * var(--u)); font-size: 18px; line-height: 27px; }
.escr-intro__text p { margin-bottom: 40px; }
.escr-intro__text p:first-child { max-width: calc(627 * var(--u)); }

.escr-como { position: relative; height: 688px; }
.escr-como__media { position: absolute; left: calc(40 * var(--u)); top: 0; width: calc(670 * var(--u)); height: 688px; overflow: hidden; }
.escr-como__media img { width: 100%; height: 100%; object-fit: cover; }
.escr-como__ov { position: absolute; inset: 0; background: rgba(64, 113, 143, 0.53); }
.escr-como__teal { position: absolute; left: calc(634 * var(--u)); top: 0; width: calc(76 * var(--u)); height: 110px; background: var(--teal); }
.escr-como__text { position: absolute; left: calc(795 * var(--u)); top: 79px; width: calc(560 * var(--u)); }
.escr-como__body { margin-top: 42px; width: calc(516 * var(--u)); font-size: 18px; line-height: 27px; }
.escr-como__list { margin-top: 71px; }
.escr-como__list li { position: relative; padding-left: calc(32 * var(--u)); margin-bottom: 27px; max-width: calc(559 * var(--u)); font-size: 18px; font-weight: 700; line-height: 27px; color: var(--azul); }
.escr-como__list li::before { content: "•"; position: absolute; left: 0; top: 0; font-size: 21px; color: var(--teal); }

.escr-dif { position: relative; margin-left: calc(40 * var(--u)); width: calc(1357 * var(--u)); height: 612.1px; overflow: hidden; background: var(--azul); color: #fff; }
.escr-dif__lines { position: absolute; left: 0; top: 0; width: calc(1351 * var(--u)); height: 612.1px; }
.escr-dif__eyebrow { position: absolute; left: calc(59 * var(--u)); top: 126.2px; }
.escr-dif__col { position: absolute; font-size: 18px; line-height: 27px; }
.escr-dif__col--1 { left: calc(59 * var(--u)); top: 214px; width: calc(631 * var(--u)); }
.escr-dif__col--2 { left: calc(764 * var(--u)); top: 208.4px; width: calc(472 * var(--u)); }
.escr-dif .rich p { margin-bottom: 27px; }

/* ---------- Área de atuação ---------- */
.area-body { display: flex; padding: 88px 0 76px; }
.area-body__text { margin-left: calc(59 * var(--u)); width: calc(607 * var(--u)); font-size: 18px; line-height: 24px; }
.area-body__text p { margin-bottom: 24px; }
.back-link { display: inline-flex; align-items: center; gap: 6.5px; height: 16px; margin: 10px 0 0 calc(176 * var(--u)); font-size: 12px; font-weight: 700; line-height: 16px; text-transform: uppercase; color: var(--teal); }
.back-link svg { width: 6.5px; height: 13px; transition: transform var(--ease); }
.back-link:hover svg { transform: translateX(-3px); }
.back-link--prof { margin: 42px 0 0; }
.single-area .news-row, .single-profissional .news-row { margin-top: 96px; }
.single-profissional .news-row { margin-top: 81px; }

/* ---------- Profissional ---------- */
.prof { display: flex; align-items: flex-start; padding: 91px 0 77px; min-height: 711px; }
.prof__aside { margin-left: calc(49 * var(--u)); width: calc(553 * var(--u)); flex: none; }
.prof__photo { position: relative; width: 100%; height: 468px; overflow: hidden; background: #e8ecef; }
.prof__photo img { width: 100%; height: 100%; object-fit: cover; }
.prof__deco1 { position: absolute; right: 0; bottom: 0; width: 124px; height: 181px; background: rgba(59, 110, 142, 0.3); }
.prof__deco2 { position: absolute; right: 0; bottom: 0; width: 81px; height: 131px; background: rgba(59, 110, 142, 0.8); }
.prof__links { display: flex; align-items: flex-start; gap: calc(19.7 * var(--u)); margin-top: 25px; }
.prof__mail { display: block; width: 26.3px; height: 19.7px; margin-top: 3.3px; color: var(--azul-2); }
.prof__li { display: block; width: 23.4px; height: 21.7px; color: var(--azul); }
.prof__li svg, .prof__mail svg { width: 100%; height: 100%; }
.prof__links a:hover { color: var(--teal); }
.prof__main { margin-left: calc(63 * var(--u)); width: calc(583 * var(--u)); }
.prof__name { font-size: 24px; font-weight: 700; line-height: 28px; color: var(--azul-2); }
.prof__role { margin-top: 7px; font-size: 14px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--azul-2); }
.prof__eyebrow { margin-top: 37.5px; }
.prof__text + .prof__eyebrow { margin-top: 42px; }
.prof__text { margin-top: 24.2px; font-size: 18px; line-height: 24px; }
.prof__text p { margin-bottom: 24px; }

/* ---------- Notícias: listagem ---------- */
.news-list { margin-left: calc(40 * var(--u)); width: calc(1360 * var(--u)); }
.news-featured { margin-top: 62px; }
.news-featured__media { display: block; height: 371px; overflow: hidden; background: #ddd; }
.news-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.news-featured:hover .news-featured__media img { transform: scale(1.02); }
.news-featured .news-card__date { margin: 0; }
.news-featured__title { margin: 12px 0 0; max-width: calc(965 * var(--u)); font-size: 32px; font-weight: 300; line-height: 33px; color: var(--azul); }
.news-featured__title a:hover { color: var(--teal); }
.news-featured__excerpt { margin: 17px 0 0; max-width: calc(1344 * var(--u)); font-size: 20px; line-height: 23.5px; color: var(--texto); }
.news-featured .news-card__meta { margin: 14px 0 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, calc(415 * var(--u))); column-gap: calc(57.5 * var(--u)); row-gap: 52.3px; margin: 52.3px 0 0; }
.news-grid .news-card__body, .news-grid .news-card > :not(.news-card__media) { max-width: calc(363 * var(--u)); }
.news-list > .news-grid:first-child { margin-top: 62px; } /* páginas 2+ (sem destaque): mesmo respiro da foto em destaque */
.news-empty { padding: 80px 0; }
.pager { position: relative; display: flex; justify-content: center; margin-top: 52px; height: 40px; }
.pager__list { display: flex; gap: 11.8px; }
.pager__num, .pager__dots { display: flex; align-items: center; justify-content: center; width: 29.8px; height: 40px; border-radius: 2px; background: rgba(141, 141, 141, 0.2); font-size: 18px; font-weight: 700; color: var(--azul); transition: background var(--ease), color var(--ease); }
.pager__dots { background: none; }
.pager__num:hover { background: rgba(74, 195, 204, 0.35); }
.pager__num.is-current { background: var(--azul); color: #fff; }
.pager__arrow { position: absolute; top: 12.9px; color: var(--azul); }
.pager__arrow--prev { left: calc(7.5 * var(--u)); }
.pager__arrow--next { right: calc(10 * var(--u)); }
.pager__arrow:hover { color: var(--teal); }

/* ---------- Notícia ---------- */
.post { display: flex; align-items: flex-start; margin-left: calc(40 * var(--u)); width: calc(1360 * var(--u)); padding-top: 62px; }
.post__main { width: calc(742 * var(--u)); flex: none; }
.post__media { height: 369px; overflow: hidden; background: #ddd; }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__dateline { display: flex; justify-content: space-between; align-items: center; margin-top: 41px; }
.back-link--post { margin: 0; }
.post__title { margin-top: 18px; font-size: 32px; font-weight: 300; line-height: 33px; color: var(--azul); }
.post__author { margin-top: 18px; font-size: 14px; font-weight: 600; line-height: 44px; text-transform: uppercase; color: var(--cinza); }
.post__content { margin-top: 39px; max-width: calc(712 * var(--u)); font-size: 20px; line-height: 23.5px; color: var(--texto); }
.post__content > * { margin: 0 0 23.5px; }
.post__content h2, .post__content h3, .post__content h4 { font-size: 20px; font-weight: 700; line-height: 23.5px; margin-top: 47px; }
.post__content strong { font-weight: 700; }
.post__content a { color: var(--azul); text-decoration: underline; }
.post__content ul, .post__content ol { padding-left: 1.2em; }
.post__content ul { list-style: disc; }
.post__content li { margin-bottom: 8px; }
.post__content blockquote { margin-left: 0; padding-left: 24px; border-left: 3px solid var(--teal); font-style: italic; }
.post__content img { max-width: 100%; height: auto; }
.post__content figure { margin: 0 0 23.5px; }
.post__content figcaption { font-size: 14px; color: var(--cinza); margin-top: 6px; }
.post__content hr { border: 0; border-top: 1px solid rgba(144, 144, 144, 0.4); }
.post__content table { border-collapse: collapse; width: 100%; font-size: 16px; }
.post__content td, .post__content th { border: 1px solid #ddd; padding: 8px; text-align: left; }
.post__share { display: flex; align-items: center; gap: 16px; margin-top: 24px; font-size: 12px; font-weight: 700; line-height: 44px; text-transform: uppercase; color: var(--azul); }
.post__share a { display: block; width: 20px; height: 19px; color: var(--azul); }
.post__share a svg { width: 100%; height: 100%; }
.post__share a:hover { color: var(--teal); }
.post__aside { margin-left: calc(71 * var(--u)); width: calc(531 * var(--u)); }
.rel-list { margin-top: 45.2px; }
.rel-item { display: flex; gap: calc(24.4 * var(--u)); padding-bottom: 29px; margin-bottom: 33.3px; border-bottom: 1px solid #909090; }
.rel-item:last-child { border-bottom: 0; }
.rel-item__media { width: calc(204.6 * var(--u)) !important; height: 143.6px !important; flex: none; }
.rel-item__body { position: relative; flex: 1; min-width: 0; margin-top: -5px; }
.rel-item__title { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 20px; font-weight: 700; line-height: 24px; color: var(--azul); }
.rel-item__title a:hover { color: var(--teal); }
.rel-item__excerpt { margin-top: 6px; max-width: calc(264 * var(--u)); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 16px; line-height: 19px; }
.rel-item__meta { display: flex; justify-content: space-between; align-items: center; height: 34px; margin-top: 8px; }
.rel-item__meta .news-card__date, .rel-item__meta .read-more { line-height: 34px; }

/* ---------- Página de texto ---------- */
.text-page { padding: 88px 0 76px; }
.text-page__body { margin-left: calc(59 * var(--u)); max-width: calc(860 * var(--u)); }

/* ---------- Aviso LGPD ---------- */
.lgpd { position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 32px; width: min(1100px, calc(100% - 32px)); padding: 22px 28px; background: var(--navy); color: #fff; box-shadow: 0 8px 0 rgba(0, 0, 0, 0.1); }
.lgpd[hidden] { display: none; }
.lgpd__text { flex: 1; font-size: 14px; line-height: 20px; }
.lgpd__text a { color: var(--teal); text-decoration: underline; }
.lgpd__actions { display: flex; gap: 12px; flex: none; }
.lgpd__btn { padding: 10px 18px; border: 1px solid var(--teal); background: var(--teal); color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background var(--ease), color var(--ease); }
.lgpd__btn--ghost { background: transparent; color: var(--teal); }
.lgpd__btn:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* ==========================================================================
   MOBILE (até 960px) — sem referência no Figma: mesma linguagem, empilhado.
   (Fica no fim do arquivo de propósito: precisa vencer as regras-base.)
   ========================================================================== */
@media (max-width: 960px) {
	:root { --g: 20px; }
	body { font-size: 16px; }

	.site-header, .site-header.is-fixed { position: fixed; height: 72px; background: #fff; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.08); animation: none; }
	.admin-bar .site-header { top: 46px; }
	.site-header__brand, .site-header.is-fixed .site-header__brand { left: var(--g); top: 16px; }
	.site-header__logo { width: 196px; height: 35px; }
	.site-header.is-fixed .site-header__logo { display: block; }
	.site-header.is-fixed .site-header__logo-compact { display: none; }
	.site-header__selo { display: none; }
	.site-header__util, .site-header.is-fixed .site-header__util { display: none; }
	.nav-toggle { position: absolute; right: 12px; top: 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 36px; height: 36px; padding: 6px; border: 0; background: none; cursor: pointer; }
	.nav-toggle span { display: block; height: 2px; background: var(--azul); transition: transform var(--ease), opacity var(--ease); }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.site-nav, .site-header.is-fixed .site-nav { position: fixed; top: 72px; right: 0; left: 0; bottom: 0; display: none; padding: 32px var(--g); background: #fff; overflow-y: auto; }
	.admin-bar .site-nav { top: 118px; }
	.nav-open .site-nav { display: block; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(144, 144, 144, 0.3); font-size: 15px; }
	.site-nav__list a::after { display: none; }

	.hero { padding-top: 72px; }
	.hero__box { margin: 0; width: 100%; height: 560px; }
	.hero__ov2 { left: 0; width: 100%; }
	.hero__title { left: var(--g); right: var(--g); top: 140px; font-size: 30px; line-height: 37px; }
	.hero__arrow { left: var(--g); top: 280px; }
	.hero__deco .d1 { left: auto; right: 0; top: 330px; width: 22%; height: 90px; }
	.hero__deco .d2 { left: 22%; top: 330px; width: 56%; height: 230px; }
	.hero__deco .d3 { left: 46%; top: 420px; width: 54%; height: 140px; }

	.home-escr { height: auto; display: flex; flex-direction: column; scroll-margin-top: 72px; }
	.home-escr__media { position: relative; left: 0; width: calc(100% - 40px); height: 300px; }
	.home-escr__teal { left: auto; right: 0; width: 40px; height: 70px; }
	.home-escr__text { position: static; width: auto; padding: 48px var(--g) 56px; }
	.home-escr__body { margin-top: 24px; font-size: 16px; line-height: 25px; }
	.home-escr__link { position: static; margin-top: 32px; }

	.home-atuacao, .home-equipe, .home-contato, .home-mapa, .footer-bar, .escr-dif, .footer-c, .content-bg, .page-hero, .escr-hero, .news-list, .post { margin-left: 0; width: 100%; }
	.home-atuacao { padding: 56px var(--g) 40px; scroll-margin-top: 72px; }
	.home-atuacao__eyebrow { margin-left: 0; }
	.home-atuacao__cols { flex-direction: column; gap: 0; margin: 32px 0 0; }
	.area-list { width: 100%; }
	.area-row { font-size: 16px; line-height: 21px; margin-bottom: 18px; }

	.home-equipe { padding: 56px var(--g) 40px; scroll-margin-top: 72px; }
	.home-equipe__deco .d1, .home-equipe__deco .d2 { width: 60px; }
	.home-equipe__deco .d3 { left: auto; right: 60px; width: 30px; height: 90px; }
	.team-list { grid-template-columns: 1fr; margin-top: 32px; padding-right: 76px; }
	.team-list + .home-equipe__eyebrow { margin-top: 40px; }
	.team-list--adm { margin-top: 32px; }

	.news-row { padding: 0 var(--g); margin-top: 56px; scroll-margin-top: 72px; }
	.news-row__head { width: 100%; }
	.news-row__grid { flex-direction: column; gap: 40px; margin: 32px 0 0; }
	.news-row__grid .news-card, .news-row__grid .news-card--wide { width: 100%; }
	.news-row__grid .news-card + .news-card, .news-row__grid .news-card--wide + .news-card { margin-left: 0; }
	.news-row__grid .news-card--wide .news-card__title, .news-row__grid .news-card--wide .news-card__excerpt { max-width: none; }
	.news-card__media { height: 210px; }
	.news-card__title { height: auto; font-size: 21px; line-height: 26px; }
	.news-card__excerpt { height: auto; }

	.home-contato { flex-direction: column; height: auto; margin-top: 56px; scroll-margin-top: 72px; }
	.home-contato::after { display: none; }
	.home-contato__info { width: auto; padding: 48px var(--g) 40px; }
	.home-contato__logo, .home-contato .social { position: static; }
	.home-contato__logo { margin-top: 32px; }
	.home-contato .social { margin-top: 24px; }
	.contact-form { width: auto; margin: 0; padding: 40px var(--g) 48px; background: rgba(0, 0, 0, 0.2); }
	.contact-form__foot { flex-direction: column; gap: 28px; }
	.contact-form__send { align-self: flex-start; }
	.social__waze, .social__linkedin { margin-left: 18px; }
	.home-mapa { height: 260px; }
	.footer-bar { height: auto; padding: 18px var(--g); display: flex; flex-direction: column; gap: 2px; }
	.footer-bar > * { position: static; }
	.footer-bar__unitri { margin-top: 8px; }
	.home .footer-bar { margin-bottom: 0; }

	.page-hero, .escr-hero { margin-top: 72px; height: 170px; }
	.page-hero__deco .d1 { left: auto; right: 0; width: 18%; height: 120px; }
	.page-hero__deco .d2 { left: 50%; width: 32%; height: 170px; }
	.page-hero__deco .d3 { left: 64%; top: 120px; width: 36%; height: 50px; }
	.page-hero__text, .page-hero--titled .page-hero__text { left: var(--g); right: var(--g); top: auto; bottom: 26px; width: auto; }
	.page-hero__title { font-size: 21px; line-height: 28px; margin-top: 6px; max-width: 70%; }

	.escr-hero { height: 360px; }
	.escr-hero__deco .d1 { left: auto; right: 0; top: 220px; width: 18%; height: 80px; }
	.escr-hero__deco .d2 { left: 50%; top: 220px; width: 32%; height: 140px; }
	.escr-hero__deco .d3 { left: 64%; top: 300px; width: 36%; height: 60px; }
	.escr-hero__eyebrow { left: var(--g); top: 70px; }
	.escr-hero__title { left: var(--g); right: var(--g); top: 110px; width: auto; font-size: 24px; line-height: 34px; }

	.escr-intro { height: auto; padding: 48px var(--g); display: flex; flex-direction: column; gap: 32px; }
	.escr-intro__selo, .escr-intro__text { position: relative !important; left: 0; top: 0; width: 100%; }
	.escr-intro__selo { width: 240px; height: auto; align-self: center; }
	.escr-intro__text { font-size: 16px; line-height: 25px; }
	.escr-intro__text p:first-child { max-width: none; }
	.escr-como { height: auto; display: flex; flex-direction: column; }
	.escr-como__media { position: relative; left: 0; width: calc(100% - 40px); height: 320px; }
	.escr-como__teal { left: auto; right: 0; width: 40px; height: 70px; }
	.escr-como__text { position: static; width: auto; padding: 48px var(--g); }
	.escr-como__body, .escr-como__list li { width: auto; max-width: none; font-size: 16px; line-height: 25px; }
	.escr-como__body { margin-top: 24px; }
	.escr-como__list { margin-top: 32px; }
	.escr-como__list li { padding-left: 22px; margin-bottom: 18px; }
	.escr-dif { height: auto; padding: 56px var(--g); }
	.escr-dif__lines { width: 100%; height: 100%; object-fit: cover; }
	.escr-dif__eyebrow, .escr-dif__col { position: relative; left: 0; top: 0; width: auto; }
	.escr-dif__col { margin-top: 24px; font-size: 16px; line-height: 25px; }
	.escr-dif .rich p { margin-bottom: 20px; }

	.area-body { flex-direction: column; padding: 40px var(--g) 48px; }
	.area-body__text { margin: 0; width: auto; font-size: 16px; line-height: 24px; }
	.back-link { margin: 32px 0 0; order: 2; }
	.back-link--post { margin: 0; }
	.single-area .news-row, .single-profissional .news-row { margin-top: 56px; }

	.prof { flex-direction: column; padding: 32px var(--g) 48px; min-height: 0; }
	.prof__aside, .prof__main { margin: 0; width: 100%; }
	.prof__photo { height: auto; aspect-ratio: 553 / 468; }
	.prof__main { margin-top: 32px; }
	.prof__text { font-size: 16px; line-height: 24px; }

	.news-list { padding: 0 var(--g); }
	.news-featured { margin-top: 32px; }
	.news-featured__media { height: 220px; }
	.news-featured .news-card__date, .news-featured__title, .news-featured__excerpt, .news-featured .news-card__meta { margin-left: 0; margin-right: 0; }
	.news-featured__title { font-size: 26px; line-height: 30px; }
	.news-featured__excerpt { font-size: 17px; line-height: 23px; }
	.news-grid { grid-template-columns: 1fr; row-gap: 40px; margin: 40px 0 0; }
	.news-grid .news-card > :not(.news-card__media) { max-width: none; }
	.pager { margin-top: 48px; }

	.post { flex-direction: column; padding: 32px var(--g) 0; }
	.post__main, .post__aside { width: 100%; margin: 0; }
	.post__media { height: 220px; }
	.post__dateline { margin-top: 18px; }
	.post__title { font-size: 26px; line-height: 30px; margin-top: 0; }
	.post__content { font-size: 17px; line-height: 25px; max-width: none; }
	.post__aside { margin-top: 56px; }
	.rel-item__media { width: 120px !important; height: 90px !important; }
	.rel-item__title { font-size: 17px; line-height: 21px; }
	.rel-item__excerpt { display: none; }

	.footer-c { margin-bottom: 0 !important; }
	.footer-c__main { height: auto; padding: 40px var(--g) 32px; display: flex; flex-direction: column; gap: 20px; }
	.footer-c__logo, .footer-c__contact, .footer-c__address, .footer-c .social { position: static; width: auto; }
	.text-page { padding: 40px var(--g); }
	.text-page__body { margin: 0; max-width: none; }
	.lgpd { flex-direction: column; align-items: stretch; gap: 16px; bottom: 12px; padding: 18px; }
}
