/* ==========================================================================
   Monteverde & Saraiva — Advogados Associados (modelo Kraenel · advocacia)
   Identidade: verde-garrafa + latão + creme · Cormorant Garamond + Jost
   Para personalizar as cores, altere as variáveis abaixo.
   ========================================================================== */
:root {
  --green-950: #08170f;
  --green-900: #0c2119;
  --green-800: #10291f;
  --green-700: #173a2e;
  --green-600: #1f4a3b;
  --green-500: #2d5e4c;
  --brass: #b8935a;
  --brass-2: #d6b97f;
  --brass-ink: #7a5a29;      /* latão escuro para texto sobre creme (contraste AA) */
  --cream: #f4eee2;
  --cream-2: #ebe3d2;
  --paper: #fbf8f2;
  --ink: #1b2420;
  --muted: #56615b;
  --line: rgba(16, 41, 31, .14);
  --line-light: rgba(244, 238, 226, .16);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, system-ui, sans-serif;
  --text-serif: "Source Serif 4", Georgia, serif;

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 2px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: var(--brass-2); color: var(--green-900); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--brass); color: var(--green-900); padding: 10px 18px; font-weight: 500; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font: 500 .75rem/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass-ink);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: var(--brass-2); }
.h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); font-weight: 600; color: var(--green-800); }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--green-800); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 300; max-width: 640px; }
.meta-sm { font-size: .82rem; color: var(--muted); letter-spacing: .02em; }
em { font-style: italic; }
h1 em, h2 em { color: var(--brass-2); font-weight: 500; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green-700);
  padding-bottom: 6px; background: linear-gradient(var(--brass), var(--brass)) left bottom / 28px 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s;
}
.link-arrow .ico { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; color: var(--green-900); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* ---------- botões ---------- */
.btn {
  --bg: var(--green-700); --fg: var(--cream); --bd: var(--green-700);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; min-height: 52px; border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 500 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hover, var(--green-900)); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .ico { width: 18px; height: 18px; }
.btn-gold { --bg: var(--brass); --fg: var(--green-900); --bd: var(--brass); --hover: var(--brass-2); }
.btn-outline { --bg: transparent; --fg: var(--green-700); --bd: rgba(23, 58, 46, .35); --hover: var(--green-700); }
.btn-outline:hover { color: var(--cream); border-color: var(--green-700); }
.btn-ghost-light { --bg: transparent; --fg: var(--cream); --bd: rgba(244, 238, 226, .4); --hover: var(--cream); }
.btn-ghost-light:hover { color: var(--green-900); border-color: var(--cream); }
.btn-sm { padding: 11px 18px; min-height: 42px; font-size: .72rem; }
.btn-block { width: 100%; }

/* ---------- animações ---------- */
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.06); } }
@keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.anim-up { animation: up 1s var(--ease-out) both; animation-delay: var(--d, 0s); }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--cream);
  transition: background-color .45s var(--ease), height .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header::after { content: ""; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--line-light); transition: opacity .4s; }
.site-header.is-scrolled { --header-h: 70px; background: rgba(251, 248, 242, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(12, 33, 25, .35); }
@supports (backdrop-filter: blur(10px)) { .site-header.is-scrolled { background: rgba(251, 248, 242, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); } }
.site-header.is-scrolled::after { opacity: 0; }
.header-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; position: relative; z-index: 2; }
.brand-logo { max-height: 48px; width: auto; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center; flex: none;
  font: 600 1.15rem/1 var(--serif); letter-spacing: .04em; color: var(--brass-2);
  border: 1px solid currentColor; outline: 1px solid rgba(214, 185, 127, .35); outline-offset: 3px;
}
.is-scrolled .brand-mark { color: var(--brass-ink); outline-color: rgba(122, 90, 41, .3); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand-txt strong { font: 600 1.42rem/1 var(--serif); letter-spacing: .01em; }
.brand-txt small { font: 400 .62rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; margin-top: 6px; opacity: .8; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav ul { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav ul a { text-decoration: none; font: 400 .9rem/1 var(--sans); letter-spacing: .04em; padding: 8px 0; position: relative; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav-extra { display: none; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 640px; min-height: clamp(640px, 100vh, 960px); min-height: clamp(640px, 100svh, 960px); display: flex; flex-direction: column;
  color: var(--cream); background: var(--green-900); overflow: hidden; contain: paint;
}
.hero-bg, .page-head-bg, .cta-bg { position: absolute; inset: 0; overflow: hidden; contain: paint; }
.hero-bg img, .page-head-bg img, .cta-bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-bg img { animation: kenburns 14s var(--ease-out) both; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 23, 15, .95) 0%, rgba(10, 30, 22, .86) 38%, rgba(12, 33, 25, .55) 70%, rgba(12, 33, 25, .4) 100%),
    linear-gradient(0deg, rgba(8, 23, 15, .85) 0%, transparent 35%);
}
.hero-frame { position: absolute; inset: 22px; border: 1px solid rgba(214, 185, 127, .22); pointer-events: none; z-index: 1; animation: fadein 2s .4s both; }
.hero-in { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 60px); padding-bottom: 60px; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); font-weight: 500; line-height: 1; max-width: 15ch; margin-bottom: 28px; letter-spacing: -.015em; }
.hero-lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); font-weight: 300; max-width: 560px; color: rgba(244, 238, 226, .86); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { position: relative; z-index: 2; border-top: 1px solid var(--line-light); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-facts p { display: flex; align-items: center; gap: 14px; margin: 0; padding: 26px 0; font-size: .9rem; color: rgba(244, 238, 226, .82); letter-spacing: .02em; }
.hero-facts p + p { padding-left: 28px; border-left: 1px solid var(--line-light); }
.hero-facts span { color: var(--brass-2); display: inline-grid; }
.hero-facts .ico { width: 24px; height: 24px; }

/* ---------- page head (páginas internas) ---------- */
.page-head { position: relative; color: var(--cream); background: var(--green-900); overflow: hidden; contain: paint; }
.page-head-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 23, 15, .94) 0%, rgba(12, 33, 25, .84) 50%, rgba(12, 33, 25, .62) 100%); }
.page-head-in { position: relative; z-index: 2; padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px)); padding-bottom: clamp(56px, 7vw, 96px); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 500; max-width: 18ch; margin-bottom: 20px; }
.page-head .lead { color: rgba(244, 238, 226, .84); margin: 0; }
.page-head-rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, var(--brass) 20%, var(--brass) 80%, transparent); opacity: .55; transform-origin: left; animation: rule 1.6s .3s var(--ease-out) both; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; letter-spacing: .06em; color: rgba(244, 238, 226, .66); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brass-2); }

/* ---------- seções ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-tint { background: var(--cream); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.sec-head .h2 { margin: 0; max-width: 20ch; }
.sec-lead { max-width: 460px; color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }

/* moldura de imagem com filete de latão */
.frame-img { position: relative; }
.frame-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.frame-img::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--brass); opacity: .6; z-index: 0; }

/* ---------- intro / números ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-media { position: relative; padding: 0 0 70px; }
.intro-media .frame-img:first-child { aspect-ratio: 4 / 3.4; overflow: visible; }
.frame-img-sm { position: absolute !important; right: -6%; bottom: 0; width: 44%; aspect-ratio: 1; z-index: 2; box-shadow: 0 30px 60px -30px rgba(12, 33, 25, .5); border: 8px solid var(--paper); }
.frame-img-sm::before { display: none; }
.intro-txt p { color: var(--muted); }
.intro-txt .h2 { margin-bottom: 26px; }
.intro-txt .link-arrow { margin-top: 12px; }

.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(56px, 7vw, 96px) 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers > div { padding: 34px 28px; display: flex; flex-direction: column-reverse; gap: 6px; }
.numbers > div + div { border-left: 1px solid var(--line); }
.numbers dt { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.numbers dd { margin: 0; font: 500 clamp(2.8rem, 5vw, 4.2rem)/1 var(--serif); color: var(--green-700); }
.numbers-light { margin-top: 0; }

/* ---------- áreas ---------- */
.areas-sec { background: var(--cream); }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.area-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(32px, 3.4vw, 48px);
  min-height: 340px; text-decoration: none; color: var(--ink); background: var(--paper);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.area-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--green-700), var(--green-900)); transform: translateY(101%); transition: transform .7s var(--ease-out); }
.area-card::after { content: ""; position: absolute; left: clamp(32px, 3.4vw, 48px); top: 0; width: 0; height: 2px; background: var(--brass); transition: width .7s var(--ease-out); }
.area-num { position: absolute; top: 30px; right: 32px; font: italic 500 1.05rem/1 var(--serif); color: var(--brass-ink); transition: color .5s; }
.area-ico { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(184, 147, 90, .5); border-radius: 50%; color: var(--brass-ink); margin-bottom: 26px; transition: color .5s, border-color .5s, transform .7s var(--ease-out); }
.area-ico .ico { width: 28px; height: 28px; }
.area-card h3 { font-size: 1.7rem; color: var(--green-800); transition: color .5s; margin-bottom: 10px; }
.area-card p { color: var(--muted); font-size: .97rem; transition: color .5s; flex: 1; }
.area-card .link-arrow { align-self: flex-start; transition: color .5s, background-size .45s var(--ease); }
.area-card:hover::before, .area-card:focus-visible::before { transform: none; }
.area-card:hover::after, .area-card:focus-visible::after { width: 64px; }
.area-card:hover h3, .area-card:focus-visible h3 { color: var(--cream); }
.area-card:hover p, .area-card:focus-visible p { color: rgba(244, 238, 226, .78); }
.area-card:hover .area-ico, .area-card:focus-visible .area-ico { color: var(--brass-2); border-color: var(--brass-2); transform: rotate(-8deg); }
.area-card:hover .area-num { color: var(--brass-2); }
.area-card:hover .link-arrow, .area-card:focus-visible .link-arrow { color: var(--brass-2); background-size: 100% 1px; }
.area-card:hover .link-arrow .ico { transform: translateX(5px); }
.area-card:focus-visible { outline-offset: -4px; }

/* lista de áreas (página) */
.areas-list { display: grid; gap: clamp(56px, 8vw, 110px); }
.area-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.area-row.is-alt .area-row-img { order: 2; }
.area-row-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.area-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.area-row-img:hover img { transform: scale(1.05); }
.area-row-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.area-row-top .area-ico { margin: 0; }
.area-row-top .area-num { position: static; font-size: 3rem; opacity: .5; }
.area-row h2 a { text-decoration: none; }
.area-row h2 a:hover { color: var(--green-500); }
.area-row-b > p:not(.area-row-top) { color: var(--muted); }

/* página da área */
.area-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.area-icon-big { width: 84px; height: 84px; display: grid; place-items: center; border: 1px solid var(--brass); border-radius: 50%; color: var(--brass-ink); margin-bottom: 36px; outline: 1px solid rgba(184, 147, 90, .3); outline-offset: 6px; }
.area-icon-big .ico { width: 38px; height: 38px; }
.area-aside, .profile-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside-card { border: 1px solid var(--line); padding: 30px; background: var(--paper); }
.aside-cta { background: var(--green-800); color: var(--cream); border-color: var(--green-800); position: relative; }
.aside-cta::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(214, 185, 127, .22); pointer-events: none; }
.aside-cta h2 { font-size: 1.65rem; }
.aside-cta p { color: rgba(244, 238, 226, .78); font-size: .95rem; }
.aside-cta .btn { margin-top: 10px; position: relative; z-index: 1; }
.aside-h { font: 500 .74rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 18px; }
.aside-links li + li { border-top: 1px solid var(--line); }
.aside-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; font-size: .95rem; transition: color .3s, padding .4s var(--ease); }
.aside-links a .ico { color: var(--brass-ink); width: 20px; height: 20px; }
.aside-links a:hover { color: var(--green-500); padding-left: 6px; }
.aside-team li + li { margin-top: 14px; }
.aside-team a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.aside-team strong { display: block; font: 600 1.2rem/1.1 var(--serif); color: var(--green-800); }
.aside-team small { font-size: .8rem; color: var(--muted); }
.aside-team a:hover strong { color: var(--green-500); }
.mini-mono { width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: var(--green-800); color: var(--brass-2); font: 600 1rem/1 var(--serif); letter-spacing: .05em; border-radius: 50%; }

/* FAQ / acordeão */
.faq { margin-top: clamp(56px, 7vw, 88px); }
.faq .h2 { margin-bottom: 28px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-h { margin: 0; font-size: inherit; }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; background: none; border: 0; cursor: pointer; text-align: left; font: 600 clamp(1.2rem, 1.7vw, 1.42rem)/1.25 var(--serif); color: var(--green-800); transition: color .3s; }
.acc-btn:hover { color: var(--green-500); }
.acc-ico { position: relative; width: 34px; height: 34px; flex: none; border: 1px solid rgba(184, 147, 90, .6); border-radius: 50%; transition: background-color .4s, transform .5s var(--ease-out); }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: var(--brass-ink); transform: translate(-50%, -50%); transition: transform .5s var(--ease-out), background-color .4s; }
.acc-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-ico { background: var(--green-700); border-color: var(--green-700); transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .acc-ico::before, .acc-btn[aria-expanded="true"] .acc-ico::after { background: var(--brass-2); }
.acc-btn[aria-expanded="true"] .acc-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease-out); }
.js .acc-panel { grid-template-rows: 0fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { margin: 0; padding: 0 60px 26px 0; color: var(--muted); font-family: var(--text-serif); font-size: 1.04rem; line-height: 1.7; }
.js .acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.note, .disclaimer { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-top: 24px; }
.note .ico, .disclaimer .ico { color: var(--brass-ink); width: 20px; height: 20px; margin-top: 2px; }
.disclaimer { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- texto corrido ---------- */
.prose { font-family: var(--text-serif); font-size: 1.1rem; line-height: 1.8; color: #2a332f; max-width: 720px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.25em; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.25rem); color: var(--green-800); margin: 1.8em 0 .6em; line-height: 1.15; }
.prose h3 { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.6rem); color: var(--green-700); margin: 1.6em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.4em; }
.prose li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .85em; width: 12px; height: 1px; background: var(--brass); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before { content: counter(n) "."; position: absolute; left: 0; top: 0; font: italic 600 1.15rem/1.6 var(--serif); color: var(--brass-ink); }
.prose a { color: var(--green-600); text-decoration-color: var(--brass); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 2em 0; padding: 24px 30px; border-left: 2px solid var(--brass); background: var(--cream); font-style: italic; color: var(--green-800); font-size: 1.12rem; }
.prose blockquote p:last-child { margin: 0; }
.dropcap::first-letter { float: left; font: 600 4.6rem/.8 var(--serif); color: var(--brass-ink); padding: 6px 12px 0 0; }

/* ---------- artigos ---------- */
.journal-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.journal-list { border-top: 1px solid var(--line); }
.post-row { padding: 26px 0; border-bottom: 1px solid var(--line); }
.post-row h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); margin: 10px 0 8px; }
.post-row h3 a { text-decoration: none; background: linear-gradient(var(--brass), var(--brass)) left 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.post-row h3 a:hover { background-size: 100% 1px; }
.post-row .meta-sm { margin: 0; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .8rem; color: var(--muted); margin: 0 0 12px; letter-spacing: .02em; }
.meta span + span::before { content: "·"; margin-right: 16px; color: var(--brass); }
.tag { display: inline-block; padding: 5px 11px; border: 1px solid rgba(184, 147, 90, .55); color: var(--brass-ink); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background-color .3s, color .3s; }
.tag:hover { background: var(--green-700); border-color: var(--green-700); color: var(--cream); }
.tag-light { color: var(--brass-2); border-color: rgba(214, 185, 127, .55); }

.post-card { display: flex; flex-direction: column; }
.post-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); margin-bottom: 24px; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .8s; filter: saturate(.9); }
.post-card:hover .post-card-img img { transform: scale(1.05); filter: saturate(1); }
.post-card h3 { font-size: 1.55rem; margin-bottom: 12px; line-height: 1.15; }
.post-card h3 a { text-decoration: none; color: var(--green-800); transition: color .3s; }
.post-card h3 a:hover { color: var(--green-500); }
.post-card .excerpt { color: var(--muted); font-size: .97rem; }
.post-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 0; }
.post-card-foot .meta-sm { display: inline-flex; align-items: center; gap: 6px; }
.post-card-foot .meta-sm .ico { width: 15px; height: 15px; color: var(--brass-ink); }
.post-card-b { display: flex; flex-direction: column; flex: 1; }
.post-card-b .excerpt { flex: 1; }
.post-card-lg h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.post-card-lg .post-card-img { aspect-ratio: 16 / 9.5; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.5vw, 48px); }
.featured-wrap { margin-bottom: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.post-card-wide { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.post-card-wide .post-card-img { margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 40px; text-decoration: none; font-size: .86rem; color: var(--green-700); background: var(--paper); transition: background-color .3s, color .3s, border-color .3s; }
.chips a small { font-size: .72rem; color: var(--brass-ink); }
.chips a:hover { border-color: var(--green-700); }
.chips a[aria-current] { background: var(--green-700); border-color: var(--green-700); color: var(--cream); }
.chips a[aria-current] small { color: var(--brass-2); }

.blog-tools { display: grid; gap: 22px; margin-bottom: clamp(44px, 5vw, 64px); }
.blog-tools .chips { margin: 0; }
.search { display: flex; align-items: center; gap: 12px; max-width: 560px; border-bottom: 1px solid var(--green-700); padding: 4px 0 4px 2px; }
.search .ico { color: var(--brass-ink); width: 22px; height: 22px; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font: 400 1.1rem/1.4 var(--sans); padding: 12px 0; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { border-bottom-color: var(--brass); box-shadow: 0 1px 0 var(--brass); }
.search-info { margin: -24px 0 40px; color: var(--muted); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ico { width: 44px; height: 44px; color: var(--brass); margin: 0 auto 14px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 64px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; }
.pagination a:hover { border-color: var(--green-700); }
.pagination .is-active { background: var(--green-700); color: var(--cream); border-color: var(--green-700); }

/* artigo */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-2)); transform: scaleX(0); transform-origin: left; }
.article-head h1 { max-width: 22ch; font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
.article-head .lead { margin-bottom: 30px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .88rem; color: rgba(244, 238, 226, .8); margin: 0; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .ico { color: var(--brass-2); width: 18px; height: 18px; }
.article-meta a { color: var(--brass-2); text-decoration: none; border-bottom: 1px solid rgba(214, 185, 127, .5); }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); }
.toc-wrap { position: sticky; top: 100px; align-self: start; display: grid; gap: 34px; }
.toc summary { list-style: none; cursor: pointer; font: 500 .74rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 16px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; font-size: .88rem; line-height: 1.4; color: var(--muted); transition: color .3s, border-color .3s; }
.toc .toc-l3 a { padding-left: 32px; font-size: .82rem; }
.toc li a:hover { color: var(--green-700); }
.toc li a.is-active { color: var(--green-800); border-left-color: var(--brass); font-weight: 500; }
.share-end { display: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share-t { width: 100%; margin: 0 0 4px; font: 500 .74rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); }
.share a, .share button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; color: var(--green-700); position: relative; transition: background-color .3s, color .3s, border-color .3s; }
.share a:hover, .share button:hover { background: var(--green-700); color: var(--cream); border-color: var(--green-700); }
.share .ico { width: 19px; height: 19px; }
.copied { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; font-size: .72rem; background: var(--green-900); color: var(--cream); padding: 4px 8px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.copied:not(:empty) { opacity: 1; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: var(--cream); border-left: 2px solid var(--brass); font-size: .92rem; color: var(--muted); margin-bottom: 44px; max-width: 720px; }
.notice .ico { width: 22px; height: 22px; color: var(--brass-ink); margin-top: 1px; }
.notice strong { color: var(--green-800); font-weight: 500; }
.prose-article > p:first-child { font-size: 1.24rem; line-height: 1.7; color: var(--green-800); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; max-width: 720px; }
.tags a { font-size: .85rem; color: var(--brass-ink); text-decoration: none; }
.tags a:hover { text-decoration: underline; }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 26px; align-items: start; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); max-width: 720px; }
.author-mono { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--green-800); color: var(--brass-2); font: 600 1.9rem/1 var(--serif); text-decoration: none; outline: 1px solid var(--brass); outline-offset: 4px; }
.author-mono img { width: 100%; height: 100%; object-fit: cover; }
.author-box h2 { font-size: 1.7rem; margin-bottom: 4px; }
.author-box h2 a { text-decoration: none; color: var(--green-800); }
.author-box .eyebrow { margin-bottom: 10px; }
.author-box p:last-child { color: var(--muted); font-size: .95rem; margin: 10px 0 0; }
.area-link-box { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin-top: 40px; padding: 30px; background: var(--cream); border: 1px solid var(--line); max-width: 720px; }
.area-link-box .area-ico { margin: 0; }
.area-link-box h2 { font-size: 1.6rem; color: var(--green-800); margin-bottom: 6px; }
.area-link-box p:not(.eyebrow) { color: var(--muted); font-size: .95rem; margin: 0; }
.area-link-box .eyebrow { margin-bottom: 8px; }
.area-link-actions { grid-column: 2; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- valores ---------- */
.values { background: var(--green-800); color: var(--cream); overflow: hidden; contain: paint; }
.values-bg { position: absolute; inset: 0; opacity: .5; background:
  radial-gradient(circle at 85% 15%, rgba(214, 185, 127, .14), transparent 40%),
  repeating-linear-gradient(90deg, transparent 0 119px, rgba(244, 238, 226, .035) 119px 120px); }
.values-in { position: relative; display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 7vw, 110px); }
.values-head { position: sticky; top: 120px; align-self: start; }
.values-head .h2 { color: var(--cream); }
.values-head p:not(.eyebrow) { color: rgba(244, 238, 226, .74); }
.values-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-light); }
.values-list li { padding: 40px 36px 40px 0; border-bottom: 1px solid var(--line-light); }
.values-list li:nth-child(even) { padding: 40px 0 40px 36px; border-left: 1px solid var(--line-light); }
.roman { display: block; font: italic 500 2.6rem/1 var(--serif); color: var(--brass-2); margin-bottom: 20px; }
.values-list h3 { font-size: 1.75rem; color: var(--cream); }
.values-list p { color: rgba(244, 238, 226, .72); font-size: .97rem; margin: 0; }

/* ---------- equipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 36px); }
.member-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 22px; position: relative; background: var(--green-800); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.member:hover .member-photo img { transform: scale(1.05); }
.monogram { position: absolute; inset: 0; display: grid; place-items: center; background:
  radial-gradient(120% 80% at 30% 10%, rgba(214, 185, 127, .16), transparent 55%),
  linear-gradient(160deg, var(--green-600), var(--green-900)); }
.monogram::before, .monogram::after { content: ""; position: absolute; border: 1px solid rgba(214, 185, 127, .35); transition: inset .8s var(--ease-out), border-color .6s; }
.monogram::before { inset: 14px; }
.monogram::after { inset: 20px; border-color: rgba(214, 185, 127, .16); }
.monogram span { font: 500 clamp(3.4rem, 6vw, 5rem)/1 var(--serif); letter-spacing: .06em; color: var(--brass-2); transition: transform .8s var(--ease-out), letter-spacing .8s var(--ease-out); }
.member:hover .monogram::before { inset: 22px; border-color: rgba(214, 185, 127, .6); }
.member:hover .monogram span { transform: scale(1.06); letter-spacing: .12em; }
.monogram-lg span { font-size: clamp(4.5rem, 9vw, 7rem); }
.member-role { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 8px; }
.member h3 { font-size: 1.65rem; margin-bottom: 4px; }
.member h3 a { text-decoration: none; color: var(--green-800); }
.member h3 a:hover { color: var(--green-500); }
.member-oab { font-size: .84rem; color: var(--muted); margin: 0 0 8px; }
.member-areas { font-size: .84rem; color: var(--green-600); margin: 0; padding-top: 10px; border-top: 1px solid var(--line); }

/* perfil */
.page-head-profile .profile-head { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 50px); padding-bottom: 60px; }
.profile-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 64px); align-items: end; }
.profile-photo { aspect-ratio: 4 / 5; position: relative; overflow: hidden; outline: 1px solid rgba(214, 185, 127, .4); outline-offset: 8px; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-id h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 500; margin-bottom: 8px; }
.profile-oab { color: rgba(244, 238, 226, .74); letter-spacing: .04em; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 18px; }
.profile-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-2); text-decoration: none; font-size: .92rem; }
.profile-links a:hover { text-decoration: underline; }
.profile-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.formacao li { position: relative; padding: 10px 0 10px 22px; font-size: .95rem; border-top: 1px solid var(--line); }
.formacao li:first-child { border-top: 0; }
.formacao li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 7px; height: 7px; border: 1px solid var(--brass); transform: rotate(45deg); }

/* ---------- publicações ---------- */
.pubs-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.pubs-img { margin-top: 36px; aspect-ratio: 4 / 3.2; max-width: 440px; }
.pubs-list { border-top: 1px solid var(--line); }
.pubs-list li { display: grid; grid-template-columns: 92px 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.pubs-list time { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 92px; border: 1px solid rgba(184, 147, 90, .5); text-align: center; }
.pubs-list time strong { font: 500 2.3rem/1 var(--serif); color: var(--green-700); }
.pubs-list time span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.pub-type { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); margin: 0 0 8px; }
.pubs-list h3 { font-size: 1.45rem; color: var(--green-800); margin-bottom: 8px; }
.pubs-list h3 a { text-decoration: none; }
.pubs-list p:last-child { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- escritório ---------- */
.story-img { margin-top: 40px; aspect-ratio: 4 / 4.6; max-width: 460px; }
.split-story p { color: var(--muted); }
.timeline { margin-top: 44px; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 30px 34px; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; background: var(--paper); border: 1px solid var(--brass); transform: rotate(45deg); }
.timeline strong { font: 600 1.6rem/1.2 var(--serif); color: var(--green-700); }
.timeline span { color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.steps li { position: relative; padding-top: 34px; border-top: 1px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--brass); }
.step-n { display: block; font: italic 500 3rem/1 var(--serif); color: var(--brass-ink); margin-bottom: 16px; }
.steps h3 { font-size: 1.55rem; color: var(--green-800); }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.gallery figure { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.gallery figure:first-child { aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 18px; background: rgba(12, 33, 25, .82); color: var(--cream); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- CTA ---------- */
.cta-band { position: relative; color: var(--cream); text-align: center; overflow: hidden; contain: paint; background: var(--green-900); }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 23, 15, .92), rgba(12, 33, 25, .86)); }
.cta-in { position: relative; z-index: 1; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); max-width: 860px; }
.cta-in::before { content: ""; display: block; width: 1px; height: 64px; margin: 0 auto 32px; background: linear-gradient(transparent, var(--brass)); }
.cta-band h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 500; margin-bottom: 22px; }
.cta-band p:not(.eyebrow) { color: rgba(244, 238, 226, .8); max-width: 600px; margin: 0 auto 38px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted); }
.contact-list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { width: 26px; height: 26px; color: var(--brass-ink); margin-top: 2px; }
.contact-list strong { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.contact-list span { display: block; }
.contact-list a { color: var(--green-700); }
.contact-list div > a { display: inline-block; margin-top: 2px; }
.form-card { background: #fff; border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 80px -50px rgba(12, 33, 25, .45); position: relative; scroll-margin-top: 100px; }
.form-card::before { content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px; background: linear-gradient(90deg, var(--green-700), var(--brass)); }
.form-title { font-size: 2.1rem; color: var(--green-800); margin-bottom: 4px; }
.form-sub { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; margin-bottom: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.f-full { grid-column: 1 / -1; }
.field label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); font-weight: 500; }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid rgba(16, 41, 31, .22); border-radius: var(--radius); padding: 13px 14px; min-height: 50px;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5a29' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: #fff; box-shadow: 0 0 0 3px rgba(184, 147, 90, .2); }
.field .err { color: #9b2c1f; font-size: .8rem; min-height: 0; }
.field .err:empty { display: none; }
.field.has-err input, .field.has-err select { border-color: #9b2c1f; }
.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.check input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 2px 0 0; accent-color: var(--green-700); }
.check label { flex: 1; text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 400; color: var(--muted); line-height: 1.5; }
.check label a { color: var(--green-700); }
.check .err { width: 100%; }
.form-note { margin: 16px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.alert { padding: 16px 20px; margin-bottom: 22px; border-left: 3px solid; }
.alert-err { background: #fbeceb; border-color: #9b2c1f; color: #7a2015; }
.alert-ok { border: 0; padding: 20px 0; margin: 0; text-align: center; }
.alert-ok h2 { font-size: 2.2rem; color: var(--green-800); }
.alert-ok p { color: var(--muted); }
.alert-ico { width: 72px; height: 72px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--brass); color: var(--green-700); }
.alert-ico .ico { width: 34px; height: 34px; }
.map-sec { position: relative; }
.map-wrap { height: clamp(360px, 42vw, 520px); overflow: hidden; contain: paint; background: var(--cream-2); }
.map { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.55) sepia(.18) contrast(.95); }
.map-card { position: absolute; left: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); top: 56px; background: var(--green-800); color: var(--cream); padding: 34px 36px; max-width: 340px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.map-card .link-arrow { color: var(--brass-2); }

/* ---------- rodapé ---------- */
.site-footer { background: var(--green-950); color: rgba(244, 238, 226, .74); font-size: .94rem; padding-top: clamp(64px, 8vw, 100px); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.1fr 1.35fr; gap: clamp(32px, 4vw, 64px); padding-bottom: 56px; }
.brand-light { color: var(--cream); }
.footer-about { margin: 24px 0 22px; max-width: 340px; font-size: .9rem; }
.footer-h { font: 500 .72rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 22px; }
.site-footer ul li + li { margin-top: 10px; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--brass-2); }
.footer-contact p { display: flex; gap: 12px; margin: 0 0 12px; }
.footer-contact .ico { color: var(--brass); width: 19px; height: 19px; margin-top: 3px; }
.footer-contact .muted { color: rgba(244, 238, 226, .55); padding-left: 31px; margin-bottom: 4px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; }
.social a:hover { border-color: var(--brass); }
.social .ico { width: 20px; height: 20px; }
.footer-ethics { border-top: 1px solid var(--line-light); padding-top: 26px; padding-bottom: 26px; }
.footer-ethics p { margin: 0; font-size: .82rem; color: rgba(244, 238, 226, .56); max-width: 900px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; border-top: 1px solid var(--line-light); padding-top: 22px; padding-bottom: 96px; font-size: .8rem; color: rgba(244, 238, 226, .5); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(244, 238, 226, .7); text-decoration: underline; text-decoration-color: rgba(214, 185, 127, .4); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; display: inline-flex; align-items: center; gap: 10px;
  height: 54px; padding: 0 20px 0 16px; border-radius: 40px; background: var(--green-700); color: var(--cream);
  border: 1px solid rgba(214, 185, 127, .5); text-decoration: none; font-size: .82rem; letter-spacing: .08em;
  box-shadow: 0 18px 40px -16px rgba(8, 23, 15, .7); transition: background-color .3s, transform .4s var(--ease-out);
}
.wa-float .ico { width: 26px; height: 26px; color: var(--brass-2); }
.wa-float:hover { background: var(--green-900); transform: translateY(-3px); }

/* SELO DEMO (remover na entrega junto com o bloco no footer.php) */
.demo-seal { position: fixed; left: 18px; bottom: 22px; z-index: 41; display: flex; align-items: center; gap: 2px; max-width: calc(100vw - 110px); background: rgba(251, 248, 242, .96); border: 1px solid rgba(184, 147, 90, .55); border-radius: 40px; box-shadow: 0 12px 30px -14px rgba(8, 23, 15, .45); font-size: .74rem; color: var(--green-800); animation: fadein .8s 1.2s both; }
.demo-seal a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 4px 9px 14px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-seal strong { font-weight: 500; color: var(--brass-ink); }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); flex: none; }
.demo-seal button { width: 30px; height: 30px; margin-right: 4px; border: 0; background: none; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--muted); flex: none; }
.demo-seal button:hover { background: var(--cream-2); }
.demo-seal.is-hidden { display: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .nav ul { gap: 18px; }
  .nav ul a { font-size: .84rem; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-in { grid-template-columns: 1fr; }
  .values-head { position: static; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; z-index: 2; color: inherit; }
  .bars { position: relative; width: 26px; height: 12px; }
  .bars i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out), width .4s; }
  .bars i:first-child { top: 0; }
  .bars i:last-child { top: 11px; width: 70%; left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px;
    padding: calc(var(--header-h) + 20px) var(--pad) 40px; background: var(--green-900); color: var(--cream);
    visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-out), opacity .4s, visibility 0s .7s;
    overflow-y: auto;
  }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav ul a { font: 500 clamp(2rem, 8vw, 2.6rem)/1.2 var(--serif); letter-spacing: 0; display: inline-block; }
  .nav ul li, .nav-cta, .nav-extra { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease-out); }
  .nav-extra { display: block; font-size: .88rem; color: rgba(244, 238, 226, .7); border-top: 1px solid var(--line-light); padding-top: 22px; width: 100%; }
  .nav-extra p { margin: 0 0 6px; }
  .nav-extra a { color: var(--brass-2); }
  .nav-open .nav { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease-out), opacity .3s, visibility 0s; }
  .nav-open .nav ul li, .nav-open .nav-cta, .nav-open .nav-extra { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i, 5) * .06s); }
  .nav-open .nav-cta { --i: 5; }
  .nav-open .nav-extra { --i: 6; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .brand-mark { color: var(--brass-2); }
  .nav-open .bars i:first-child { top: 6px; transform: rotate(45deg); }
  .nav-open .bars i:last-child { top: 6px; width: 100%; transform: rotate(-45deg); }
  .intro-grid, .journal-grid, .pubs-grid, .contact-grid, .split, .area-layout, .profile-body { grid-template-columns: 1fr; }
  .area-aside, .profile-aside { position: static; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc-wrap { position: static; order: 0; }
  .toc { border: 1px solid var(--line); padding: 18px 20px; }
  .toc summary { margin: 0; display: flex; justify-content: space-between; }
  .toc summary::after { content: "+"; font-size: 1.2rem; line-height: .6; }
  .toc[open] summary::after { content: "–"; }
  .toc[open] summary { margin-bottom: 14px; }
  .toc-wrap .share { display: none; }
  .share-end { display: block; margin-top: 32px; }
  .post-card-wide { grid-template-columns: 1fr; }
  .post-card-wide .post-card-img { margin-bottom: 4px; }
  .area-row, .area-row.is-alt { grid-template-columns: 1fr; }
  .area-row.is-alt .area-row-img { order: 0; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers > div:nth-child(3) { border-left: 0; }
  .numbers > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .intro-media { max-width: 620px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts p { padding: 14px 0; }
  .hero-facts p + p { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .profile-grid { grid-template-columns: 200px 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 1rem; }
  .areas-grid, .posts-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 0; }
  .values-list { grid-template-columns: 1fr; }
  .values-list li, .values-list li:nth-child(even) { padding: 30px 0; border-left: 0; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .member h3 { font-size: 1.3rem; }
  .member-areas { display: none; }
  .fgrid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .hero-frame { inset: 12px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero-actions .btn { width: 100%; }
  .hero-foot { display: none; }
  .hero { min-height: 640px; }
  .frame-img::before { inset: 10px -10px -10px 10px; }
  .frame-img-sm { right: 0; }
  .pubs-list li { grid-template-columns: 70px 1fr; gap: 18px; }
  .pubs-list time { height: 72px; }
  .pubs-list time strong { font-size: 1.8rem; }
  .steps { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { max-width: 200px; }
  .map-card { position: relative; left: auto; top: auto; max-width: none; }
  .area-link-box { grid-template-columns: 1fr; }
  .area-link-actions { grid-column: 1; }
  .author-box { grid-template-columns: 1fr; }
  .acc-panel p { padding-right: 0; }
  .wa-float { width: 54px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .sec-head { align-items: flex-start; }
  .numbers > div { padding: 26px 18px; }
  .footer-bottom { padding-bottom: 110px; }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-bg img { animation: none; }
}
