/* Aurélio Pedroso Advogados — visual institucional: grafite, marfim e dourado discreto */
:root {
  --paper: #faf8f4;
  --paper-2: #f1ede5;
  --ink: #1d1e20;
  --ink-soft: #4a4b4e;
  --ink-mute: #77766f;
  --dark: #17181a;
  --dark-2: #222326;
  --ouro: #a8803f;
  --ouro-escuro: #8a6829;
  --ouro-claro: #cfae72;
  --line: #e2dccf;
  --line-dark: rgba(255, 255, 255, .12);
  --radius: 4px;
  --shadow: 0 18px 40px -22px rgba(23, 24, 26, .35);
  --wrap: 1200px;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { font-variant-numeric: lining-nums; margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { font-style: italic; color: var(--ouro-escuro); font-weight: 500; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; }

/* ---------- topo ---------- */
.topbar { background: var(--dark); color: #cfcac0; font-size: 13px; letter-spacing: .02em; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; justify-content: space-between; padding: 8px 0; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .tb-info { display: flex; gap: 22px; flex-wrap: wrap; }

.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
/* o desfoque fica num pseudo-elemento: backdrop-filter no próprio header prenderia o menu mobile (position: fixed) dentro dele */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 80px; }
.logo img { height: 72px; width: auto; margin: -6px 0 -6px -10px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 14px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px; background: var(--ouro); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); padding: 9px 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1 var(--sans); letter-spacing: .02em; padding: 16px 26px; border-radius: var(--radius); border: 1px solid var(--ink); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ouro-escuro); border-color: var(--ouro-escuro); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ouro); color: var(--ouro-escuro); }
.btn-sm { padding: 12px 18px; font-size: 14px; }
.btn svg { width: 19px; height: 19px; flex: none; }

/* ---------- hero com foto ---------- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--dark); }
/* a foto é deslocada para a direita para o Dr. Eduardo ficar fora da área do texto */
.hero-bg { position: absolute; top: 0; left: 20%; width: 80%; height: 100%; object-fit: cover; object-position: 45% 30%; animation: zoom 18s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 18, 20, 1) 0%, rgba(17, 18, 20, .97) 22%, rgba(17, 18, 20, .6) 42%, rgba(17, 18, 20, .1) 70%, rgba(17, 18, 20, 0) 100%), linear-gradient(0deg, rgba(17, 18, 20, .5), transparent 35%); }
.hero-txt { position: relative; z-index: 1; padding: 90px 0; }
.hero-txt > * { max-width: 600px; }
.hero h1 { color: #fff; }
.hero .lead { color: #d9d4ca; }
.hero .eyebrow { color: var(--ouro-claro); }
.hero .btn-primary { background: var(--ouro); border-color: var(--ouro); }
.hero .btn-primary:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.hero-txt > * { animation: sobe .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-txt > :nth-child(2) { animation-delay: .1s; } .hero-txt > :nth-child(3) { animation-delay: .2s; } .hero-txt > :nth-child(4) { animation-delay: .3s; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ouro-escuro); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--ink-soft); max-width: 38em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 0; }

.numeros { background: var(--dark-2); color: #fff; border-top: 1px solid var(--line-dark); }
.numeros .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.numeros div div, .numeros .wrap > div { padding: 28px 24px; border-left: 1px solid var(--line-dark); }
.numeros .wrap > div:first-child { border-left: 0; padding-left: 0; }
.numeros b { display: block; font: 600 1.9rem/1.1 var(--serif); color: var(--ouro-claro); }
.numeros span { font-size: 13.5px; color: #b9b4aa; }

/* ---------- seções ---------- */
.sec { padding: clamp(70px, 9vw, 120px) 0; }
.sec-alt { background: var(--paper-2); }
.sec-dark { background: var(--dark); color: #fff; }
.sec-dark .eyebrow { color: var(--ouro-claro); }
.sec-dark .lead { color: #c9c4ba; }
.sec-dark h2 { color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.sec-head > div { max-width: 640px; }
.sec-head p { color: var(--ink-soft); margin: 0; }

.resposta { border-left: 2px solid var(--ouro); background: var(--paper-2); padding: 22px 28px; margin: 0 0 40px; }
.sec-alt .resposta { background: var(--paper); }
.resposta-tit { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-escuro); margin: 0 0 10px; }
.resposta p:last-child { margin: 0; }

/* ícones */
.icone { display: inline-grid; place-items: center; width: 60px; height: 60px; color: var(--ouro-escuro); border: 1px solid var(--line); border-radius: 50%; transition: background .3s, color .3s, border-color .3s; flex: none; }
.icone svg { width: 30px; height: 30px; }
.icone-grande { width: 160px; height: 160px; border-color: var(--ouro-claro); background: var(--paper); justify-self: end; }
.icone-grande svg { width: 72px; height: 72px; }

/* cards de área */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.area-card { display: flex; flex-direction: column; align-items: flex-start; padding: 36px 34px 34px; background: var(--paper); text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.sec-alt .area-card { background: var(--paper-2); }
.area-card:hover { background: #fff; }
.area-card:hover .icone { background: var(--ouro); border-color: var(--ouro); color: #fff; }
.area-card .icone { margin-bottom: 22px; }
.area-card h3 { margin: 0 0 10px; }
.area-card p { margin: 0 0 18px; font-size: 15.5px; color: var(--ink-soft); flex: 1; }
.mais { font-weight: 600; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ouro-escuro); display: inline-flex; gap: 8px; }
.mais span { transition: transform .2s; }
.area-card:hover .mais span { transform: translateX(4px); }

/* história */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.foto-moldura { position: relative; }
.foto-moldura img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.foto-moldura::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--ouro-claro); }
.timeline { list-style: none; padding: 0; margin: 30px 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 20px 28px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--ouro); }
.timeline b { font: 600 1.45rem/1.2 var(--serif); display: block; }
.timeline span { color: var(--ink-soft); font-size: 15.5px; }

/* equipe */
.equipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pessoa { background: var(--paper); }
.pessoa img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; filter: grayscale(.25); transition: filter .4s; }
.pessoa:hover img { filter: none; }
.pessoa div { padding: 22px 2px 0; }
.pessoa h3 { margin-bottom: 4px; font-size: 1.6rem; }
.pessoa .oab { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ouro-escuro); margin-bottom: 12px; display: block; }
.pessoa p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* CPR */
.cpr { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.b3-card { background: #fff; padding: 46px 40px 30px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.b3-card img { width: 100%; max-width: 280px; height: auto; }
.b3-card span { color: var(--ink-soft); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.sec-dark .btn-primary { background: var(--ouro); border-color: var(--ouro); }
.sec-dark .btn-primary:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* mapa */
.mapa-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.mapa { background: var(--paper-2); border: 1px solid var(--line); }
/* o SVG do mapa usa as dimensões em pixels do fundo (~1457 px de largura), por isso os tamanhos abaixo são maiores que o normal */
.mapa image { filter: saturate(.75) contrast(1.02); }
.mapa .rota { fill: none; stroke: var(--ink); stroke-width: calc(2.6px * var(--e, 1)); stroke-dasharray: 1.4 1.6; opacity: .55; }
.mapa .rota-ativa { stroke: var(--ouro); stroke-width: calc(7px * var(--e, 1)); stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 1; animation: drawline 2s .3s ease forwards; }
.mapa .pt circle { fill: #fff; stroke: var(--ink); stroke-width: calc(3.4px * var(--e, 1)); transition: fill .2s; }
.mapa .pt text { font: 600 calc(30px * var(--e, 1)) var(--sans); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: calc(9px * var(--e, 1)); stroke-linejoin: round; }
.mapa .pt:hover circle, .mapa .pt-ativo circle { fill: var(--ouro); stroke: var(--ouro-escuro); }
.mapa .pt-sede circle { fill: var(--ink); }
.mapa .pt-sede text, .mapa .pt-ativo text { font-size: calc(36px * var(--e, 1)); font-weight: 700; }
.mapa .mapa-regiao { font: 500 italic calc(46px * var(--e, 1)) var(--serif); fill: var(--ouro-escuro); letter-spacing: .04em; opacity: .85; paint-order: stroke; stroke: rgba(255,255,255,.8); stroke-width: calc(10px * var(--e, 1)); stroke-linejoin: round; pointer-events: none; }
.mapa .a-ping { fill: var(--ouro); stroke: none !important; opacity: .45; transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
.mapa .mapa-cred { font: 400 calc(17px * var(--e, 1)) var(--sans); fill: var(--ink-soft); paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips a { display: inline-block; text-decoration: none; border: 1px solid var(--line); padding: 7px 14px; font-size: 14px; background: var(--paper); transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--ouro); color: var(--ouro-escuro); }

/* blog */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16/10; background: var(--dark-2); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.thumb-icone { width: 100%; height: 100%; display: grid; place-items: center; }
.thumb-icone .icone { width: 90px; height: 90px; color: var(--ouro-claro); border-color: var(--line-dark); }
.thumb-icone .icone svg { width: 42px; height: 42px; }
.post-card .txt { padding: 18px 0 0; }
.post-card time { font-size: 12px; color: var(--ink-mute); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.post-card h3 { font-size: 1.4rem; margin: 6px 0 0; transition: color .2s; }
.post-card:hover h3 { color: var(--ouro-escuro); }

/* instagram */
.ig-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ig-strip a { aspect-ratio: 1; overflow: hidden; }
.ig-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.ig-strip a:hover img { transform: scale(1.05); opacity: .9; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 50px 22px 0; font: 600 1.3rem/1.3 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 28px/1 var(--sans); color: var(--ouro); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-soft); }

/* contato */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.card { border: 1px solid var(--line); padding: 32px; background: var(--paper); }
.nap { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.nap li { display: flex; gap: 14px; align-items: flex-start; }
.nap svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--ouro-escuro); }
.nap a { font-weight: 600; }
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; display: grid; gap: 8px; color: var(--ink-soft); }
.form input, .form select, .form textarea { font: inherit; text-transform: none; letter-spacing: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ouro); outline: none; }
.form textarea { min-height: 120px; resize: vertical; }
.form .aviso { font-size: 13px; color: var(--ink-mute); margin: 0; }
.mapa-google { border: 1px solid var(--line); min-height: 320px; height: 100%; }
.mapa-google iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.4); }

/* páginas internas */
.page-hero { padding: 44px 0 64px; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.page-hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.page-hero.sem-arte .wrap { grid-template-columns: 1fr; }
.page-hero.com-mapa .wrap { grid-template-columns: .9fr 1.1fr; }
.page-hero.com-mapa h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.bread { font-size: 13.5px; color: var(--ink-mute); margin-bottom: 26px; }
.bread ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bread li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.bread a { text-decoration: none; }
.bread a:hover { color: var(--ouro-escuro); }
.conteudo { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.prosa { max-width: 740px; }
.prosa h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-top: 1.5em; }
.prosa h3 { margin-top: 1.4em; }
.prosa ul, .prosa ol { padding-left: 1.2em; }
.prosa li { margin-bottom: .45em; }
.prosa li::marker { color: var(--ouro); }
.prosa blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--ouro); font-family: var(--serif); font-size: 1.35rem; }
.prosa .areas-grid { margin: 10px 0 20px; }
.prosa .area-card { padding: 26px 24px; }
.lista-check { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.lista-check li { padding-left: 30px; position: relative; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px; border-left: 1.5px solid var(--ouro); border-bottom: 1.5px solid var(--ouro); transform: rotate(-45deg); }
.aside { position: sticky; top: 104px; display: grid; gap: 20px; }
.aside .card h3 { font-size: 1.5rem; }
.aside .card p { font-size: 15px; color: var(--ink-soft); }
.aside .btn { width: 100%; justify-content: center; }
.aside-links { list-style: none; padding: 0; margin: 0; display: grid; }
.aside-links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.aside-links a:hover { color: var(--ouro-escuro); }
.post-capa { margin: 0 0 32px; max-width: 560px; }
.meta-post { color: var(--ink-mute); font-size: 14.5px; margin-bottom: 0; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.cidade-dados { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin: 30px 0; }
.cidade-dados div { padding: 18px 20px; border-left: 1px solid var(--line); }
.cidade-dados div:first-child { border-left: 0; }
.cidade-dados b { font: 600 1.7rem/1.1 var(--serif); display: block; color: var(--ouro-escuro); }
.cidade-dados span { font-size: 13.5px; color: var(--ink-soft); }

.cta-final { text-align: center; }
.cta-final .eyebrow::before { display: none; }
.cta-final h2 { max-width: 20ch; margin-inline: auto; }
.cta-final .cta-row { justify-content: center; }

/* rodapé */
.footer { background: var(--dark); color: #bdb8ae; padding: 72px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1.25rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ouro-claro); }
.footer .logo-rodape { height: 70px; width: auto; filter: brightness(0) invert(.92); margin: 0 0 18px -10px; }
.footer-base { border-top: 1px solid var(--line-dark); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #8f8a80; }

.wpp { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); display: grid; place-items: center; transition: transform .2s; }
.wpp:hover { transform: scale(1.06); }
.wpp svg { width: 30px; height: 30px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.vis { opacity: 1; transform: none; }

@keyframes zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes sobe { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes drawline { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .mapa .rota-ativa { stroke-dashoffset: 0; }
}

/* evita estouro horizontal em telas estreitas */
.contato-grid > *, .conteudo > *, .split > *, .mapa-wrap > *, .page-hero .wrap > *, .cpr > * { min-width: 0; }
.nap a, .footer a, .prosa a { overflow-wrap: anywhere; }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .conteudo { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
}
@media (max-width: 900px) {
  .menu-btn { display: block; position: relative; z-index: 80; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: var(--paper); border-left: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 96px 24px 24px; transform: translateX(100%); transition: transform .3s ease; z-index: 70; box-shadow: var(--shadow); }
  .nav a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-open .nav { transform: none; }
  .nav-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  .nav-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .header .btn-cta { display: none; }
  .split, .cpr, .mapa-wrap, .contato-grid, .page-hero .wrap, .page-hero.com-mapa .wrap { grid-template-columns: 1fr; }
  .icone-grande { display: none; }
  .equipe-grid, .posts-grid { grid-template-columns: 1fr 1fr; }
  .ig-strip { grid-template-columns: repeat(3, 1fr); }
  .numeros .wrap { grid-template-columns: 1fr 1fr; }
  .numeros .wrap > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .numeros .wrap > div { border-top: 1px solid var(--line-dark); }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-bg { position: relative; left: 0; width: 100%; height: 300px; object-position: 50% 25%; }
  .hero::after { background: linear-gradient(180deg, transparent 0, transparent 200px, var(--dark) 300px); }
  .hero-txt { padding: 0 0 56px; margin-top: -40px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar .tb-hide { display: none; }
  .logo img { height: 58px; }
  .areas-grid, .equipe-grid, .posts-grid, .footer-grid, .cidade-dados { grid-template-columns: 1fr; }
  .cidade-dados div { border-left: 0; border-top: 1px solid var(--line); }
  .cidade-dados div:first-child { border-top: 0; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .area-card { padding: 28px 22px; }
  .mapa .pt text { font-size: calc(38px * var(--e, 1)); } .mapa .pt-sede text, .mapa .pt-ativo text { font-size: calc(42px * var(--e, 1)); }
  .foto-moldura::before { inset: 10px -10px -10px 10px; }
}
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -.015em; }

/* ---------- blog: filtros, menu do admin, mídias dos artigos ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filtros button { font: 500 14px var(--sans); padding: 9px 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); cursor: pointer; border-radius: var(--radius); transition: border-color .2s, color .2s, background .2s; }
.filtros button:hover { border-color: var(--ouro); color: var(--ouro-escuro); }
.filtros button.ativo { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-card[hidden] { display: none; }
.nav .nav-admin { color: var(--ouro-escuro); font-weight: 600; }
.nav .nav-admin-novo { background: var(--ink); color: #fff; border-radius: var(--radius); margin-left: 6px; }
.nav .nav-admin-novo::after { display: none; }
.nav-sair button { font: 500 15px var(--sans); background: none; border: 0; color: var(--ink-mute); cursor: pointer; padding: 8px 14px; }
.nav-sair button:hover { color: var(--ink); }
.aviso-rascunho { display: inline-block; background: #fbf1dc; color: var(--ouro-escuro); border: 1px solid var(--ouro-claro); padding: 6px 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 18px; }
.prosa figure { margin: 2em 0; }
.prosa figure img, .prosa figure video { width: 100%; height: auto; display: block; }
.prosa figcaption { font-size: 14px; color: var(--ink-mute); text-align: center; margin-top: 10px; }
.prosa figure.video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; background: var(--dark); }
.prosa hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prosa a { color: var(--ouro-escuro); }
@media (max-width: 900px) {
  .nav .nav-admin-novo { margin: 10px 0 0; text-align: center; }
  .nav-sair button { padding: 14px 0; width: 100%; text-align: left; border-bottom: 1px solid var(--line); font-size: 18px; }
}
/* cidades menores no mapa: só a bolinha; o nome aparece ao passar o mouse (e fica por cima dos demais) */
.mapa .pt-menor circle { transform-box: fill-box; transform-origin: center; transform: scale(.8); }
.mapa .pt-menor text { opacity: 0; transition: opacity .2s; }
.mapa .pt-menor:hover text, .mapa .pt-menor:focus text { opacity: 1; }
