/* Blog Prime Imóveis Serra - identidade visual Vert (Fraunces + Inter, tinta/papel/sálvia/dourado).
   CSS único, mobile-first. Edite as cores só em :root. Pares de contraste AA: docs/10-design-vert.md */

/* Fontes reserva com métricas ajustadas (evita "pulo" de layout quando o Google Fonts termina de carregar) */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 103%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 107%; ascent-override: 90%; descent-override: 22%; line-gap-override: 0%; }

:root {
  /* paleta Vert (idêntica ao site Vert Manguinhos) */
  --ink: #22262c; --ink-soft: #343a42; --paper: #f7f5f0; --sand: #e9e4da;
  --sage: #8ba396; --sage-deep: #4a6156; --gold: #c9a15c; --gold-soft: #e3c990; --muted: #6e7178; --error: #b3261e;
  /* papéis semânticos (claro) */
  --bg: var(--paper); --bg-alt: var(--sand); --bg-deep: var(--ink); --on-deep: var(--paper);
  --fg: var(--ink); --fg-2: var(--ink-soft); --fg-3: #595c63;   /* fg-3 = "mudo" escurecido: o #6e7178 puro dá só 4,49:1 sobre o papel */
  --link: var(--sage-deep); --link-hover: var(--ink);
  --rule: rgba(34, 38, 44, .18); --rule-strong: var(--ink);
  --btn-bg: var(--sage-deep); --btn-fg: var(--paper); --btn-hover: var(--ink);
  --focus: var(--sage-deep); --scrim: rgba(34, 38, 44, .55);
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --measure: 66ch; --pad: clamp(1rem, 4vw, 2rem); --head-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--ink); --bg-alt: #2b3037; --bg-deep: #1a1d22; --on-deep: var(--paper);
    --fg: var(--paper); --fg-2: #d3d0c8; --fg-3: #a6a9af;
    --link: var(--sage); --link-hover: var(--gold-soft);
    --rule: rgba(247, 245, 240, .2); --rule-strong: var(--paper);
    --btn-bg: var(--sage); --btn-fg: var(--ink); --btn-hover: var(--gold-soft);
    --focus: var(--gold-soft); --scrim: rgba(0, 0, 0, .65);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: var(--ink); --bg-alt: #2b3037; --bg-deep: #1a1d22; --on-deep: var(--paper);
  --fg: var(--paper); --fg-2: #d3d0c8; --fg-3: #a6a9af;
  --link: var(--sage); --link-hover: var(--gold-soft);
  --rule: rgba(247, 245, 240, .2); --rule-strong: var(--paper);
  --btn-bg: var(--sage); --btn-fg: var(--ink); --btn-hover: var(--gold-soft);
  --focus: var(--gold-soft); --scrim: rgba(0, 0, 0, .65);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.6 var(--font-body); font-kerning: normal; font-feature-settings: "calt", "kern"; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
::selection { background: var(--gold-soft); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 450; font-optical-sizing: auto; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; text-rendering: optimizeLegibility; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .8rem 1.1rem; z-index: 200; font-weight: 600; }
.skip:focus { left: 1rem; top: 1rem; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }
.wrap--leitura { max-width: 46rem; }
.secao { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
html.is-locked { overflow: hidden; }

/* ---------- rótulos, botões, links ---------- */
.kicker { display: flex; align-items: center; gap: .6rem; margin: 0 0 .85rem; font: 600 .75rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--link); }
.kicker::before { content: ""; width: 1.6rem; height: 2px; background: var(--gold); flex: none; }
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.kicker--plain::before { display: none; }
.meta { color: var(--fg-3); font-size: .8125rem; line-height: 1.4; margin: 0; font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px; padding: .6rem 1.2rem; border: 1px solid var(--btn-bg); border-radius: 2px; background: var(--btn-bg); color: var(--btn-fg); font: 600 .9rem/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-fg); }
.btn--navy { }
.btn--sm { min-height: 44px; padding: .45rem .95rem; font-size: .84rem; }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--ghost:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.btn--wa { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn--wa:hover { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.ico { flex: none; }
.seta { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; font-size: .92rem; color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.seta:hover { color: var(--link-hover); }
.seta .ico { transition: transform .18s; }
.seta:hover .ico { transform: translateX(3px); }
.sec-tit { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.5rem; font: 600 .8125rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--fg); }
.sec-tit::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.vazio { padding: 2rem 0; border-top: 1px solid var(--rule); color: var(--fg-2); }

/* ---------- barra superior ---------- */
.topbar { background: var(--bg-alt); color: var(--fg-2); font-size: .8125rem; border-bottom: 1px solid var(--rule); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.topbar__data { margin: 0; font-variant-numeric: tabular-nums; }
.topbar__data .t-short { display: none; }
.topbar__links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.topbar__a { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 44px; min-height: 44px; padding: 0 .55rem; color: var(--fg); text-decoration: none; font-weight: 500; }
.topbar__a:hover { color: var(--link); text-decoration: underline; }
@media (max-width: 639px) {
  .topbar__data .t-long { display: none; }
  .topbar__data .t-short { display: inline; }
  .topbar__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topbar__a { padding: 0; }
  .topbar__links { gap: 0; }
}

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid var(--rule); transition: transform .28s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__in { display: flex; align-items: center; gap: .5rem; min-height: var(--head-h); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--fg); margin-right: auto; min-height: 44px; }
.brand:hover { color: var(--fg); }
.brand__blog { font: 600 .75rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--fg-3); padding-left: .8rem; border-left: 1px solid var(--rule); }
.wm-img { height: 42px; width: auto; display: block; }
.wm-img--escuro { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wm-img--claro { display: none; } :root:not([data-theme="light"]) .wm-img--escuro { display: block; } }
:root[data-theme="dark"] .wm-img--claro { display: none; }
:root[data-theme="dark"] .wm-img--escuro { display: block; }
.wm { font: 450 1.35rem/1 var(--font-display); letter-spacing: -.01em; }
.wm em { font-style: italic; color: var(--link); }
.hdr-btn { display: none; align-items: center; justify-content: center; gap: .45rem; min-width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: 2px; color: var(--fg); cursor: pointer; font: 500 .88rem/1 var(--font-body); }
.hdr-btn:hover { color: var(--link); }
.js .hdr-btn { display: inline-flex; }
.menu-btn__barras, .menu-btn__barras::before, .menu-btn__barras::after { display: block; width: 22px; height: 2px; background: currentColor; content: ""; position: relative; transition: transform .2s; }
.menu-btn__barras::before { position: absolute; top: -7px; }
.menu-btn__barras::after { position: absolute; top: 7px; }
.nav { width: 100%; padding-bottom: .75rem; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list a { display: flex; align-items: center; min-height: 44px; color: var(--fg); text-decoration: none; font-weight: 500; }
.nav__list a:hover, .nav__list a[aria-current] { color: var(--link); }
.nav__cta { margin-top: .5rem; }
.drawer-close { display: none; }
.scrim { position: fixed; inset: 0; z-index: 59; background: var(--scrim); }
@media (max-width: 899px) {
  .js .nav { position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(88vw, 380px); height: 100dvh; overflow-y: auto; padding: 1rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); background: var(--bg); border-left: 1px solid var(--rule); clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .28s ease, visibility 0s linear .28s; display: flex; flex-direction: column; }
  .js .nav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .28s ease; }
  .js .drawer-close { display: inline-flex; align-self: flex-end; margin-right: -.6rem; }
  .js .nav__list a { min-height: 56px; border-bottom: 1px solid var(--rule); font: 450 1.55rem/1.1 var(--font-display); }
  .js .nav__cta { margin-top: 1.5rem; width: 100%; min-height: 48px; }
  html:not(.js) .nav__list { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
}
/* desktop: logo ao centro, busca à direita, menu centralizado na segunda linha */
@media (min-width: 900px) {
  :root { --head-h: 112px; }
  .site-header__in { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: ". brand search" "nav nav nav"; align-items: center; gap: 0; min-height: 0; padding-top: .5rem; }
  .brand { grid-area: brand; margin: 0; justify-self: center; }
  .busca-btn { grid-area: search; justify-self: end; }
  .js .menu-btn, .js .drawer-close { display: none; }
  .nav { grid-area: nav; display: flex; align-items: center; justify-content: center; gap: 2rem; width: 100%; padding: 0; border-top: 1px solid var(--rule); margin-top: .5rem; }
  .nav__list { display: flex; gap: 2rem; }
  .nav__list a { min-height: 48px; min-width: 44px; font-size: .9375rem; letter-spacing: .005em; position: relative; }
  .nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
  .nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
  .nav__cta { margin: 0; }
  .wm-img { height: 48px; }
}

/* ---------- foto e quadro de foto a produzir ---------- */
.foto { margin: 0; }
.foto__img { position: relative; overflow: hidden; background: var(--bg-alt); aspect-ratio: 3 / 2; }
.foto__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto figcaption { margin-top: .6rem; font-size: .8125rem; line-height: 1.4; color: var(--fg-3); }
.foto__rotulo { display: inline-block; margin-right: .6rem; padding: .05rem .45rem; border: 1px solid var(--rule); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.foto--vazia .foto__img { background: var(--bg-alt); }
.foto--vazia .foto__img::before { content: ""; position: absolute; inset: 12px; border: 1px solid color-mix(in srgb, var(--sage-deep) 45%, transparent); }
.foto--vazia .foto__img::after { content: ""; width: 38px; height: 26px; border: 1px solid color-mix(in srgb, var(--sage-deep) 55%, transparent); border-radius: 3px; }
.foto--vazia figcaption { color: var(--fg-2); }

/* ---------- home em formato revista ---------- */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.sec-head .sec-tit { margin: 0; flex: 1; }
.demo-tag { margin-left: .5rem; padding: 0 .35rem; border: 1px solid currentColor; font-size: .6875rem; letter-spacing: .08em; }

/* hero: cartão de texto + imagem grande */
.hero { display: grid; gap: 0; padding-block: clamp(1.25rem, 3vw, 2.25rem); }
.hero__card { background: var(--bg-alt); padding: clamp(1.4rem, 3.2vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; }
.hero__tit { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; margin: .1rem 0 .7rem; }
.hero__tit a { color: var(--fg); text-decoration: none; }
.hero__tit a:hover { color: var(--link); }
.hero__sub { font-size: 1.0625rem; line-height: 1.55; color: var(--fg-2); max-width: 46ch; margin: 0 0 .9rem; }
.hero__cta { margin: 1.1rem 0 0; }
.hero__media { min-width: 0; }
.hero__media .foto { height: 100%; display: flex; flex-direction: column; }
.hero__media .foto__img { flex: 1; aspect-ratio: 4 / 3; }
.hero__media .foto figcaption { padding: .5rem 0 0; }
@media (max-width: 959px) { .hero__media { order: -1; } .hero__media .foto__img { aspect-ratio: 3 / 2; } }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero__media .foto__img { aspect-ratio: auto; min-height: 26rem; }
}

/* cartões */
.card { position: relative; display: flex; flex-direction: column; height: 100%; }
.card__media { margin: 0; }
.card .foto__img { aspect-ratio: 3 / 2; }
.card .foto__img img { transition: transform .35s ease; }
.card:hover .foto__img img { transform: scale(1.025); }
.card .foto figcaption { font-size: .75rem; margin-top: .4rem; }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: .9rem; }
.card .kicker { margin: 0 0 .3rem; font-size: .75rem; }
.card__tit { font-size: 1.3rem; line-height: 1.2; font-weight: 500; letter-spacing: -.005em; margin: 0 0 .4rem; }
.card__tit a { color: var(--fg); text-decoration: none; }
.card__tit a::after { content: ""; position: absolute; inset: 0; }
.card__tit a:hover { color: var(--link); }
.card__tit a:focus-visible { outline: none; }
.card:has(.card__tit a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }
.card__sub { margin: 0 0 .6rem; font-size: .9375rem; line-height: 1.5; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; padding-top: .25rem; }
.foto__sem { order: 1; font: 600 .75rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); position: relative; }
.foto--vazia .foto__img { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; }
.foto--vazia .foto__img::after { order: 0; }
.grid2, .grid3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2.25rem 1.5rem; }
.grid2 > li, .grid3 > li { min-width: 0; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 800px) { .grid3 { grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2rem; } }

/* carrossel "Em destaque" (scroll-snap; setas por JS) */
.car-sec { padding-block: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem); }
.car-ctrl { display: flex; gap: .4rem; }
.car-btn { width: 44px; height: 44px; display: grid; place-items: center; background: var(--bg); color: var(--fg); border: 1px solid var(--rule-strong); border-radius: 2px; cursor: pointer; }
.car-btn:hover:not(:disabled) { background: var(--fg); color: var(--bg); }
.car-btn:disabled { opacity: .4; cursor: default; }
.car { --n: 1.25; list-style: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) .75rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--sage) transparent; }
.car__item { flex: 0 0 calc((100% - (var(--n) - 1) * 1rem) / var(--n)); min-width: 0; scroll-snap-align: start; }
.car .card__tit { font-size: 1.125rem; }
.car .card .foto__img { aspect-ratio: 4 / 3; }
@media (min-width: 560px) { .car { --n: 2.2; } }
@media (min-width: 800px) { .car { --n: 3; } }
@media (min-width: 1000px) { .car { --n: 4; } }

/* faixas largas com título sobreposto (véu sólido na placa de texto: contraste AA) */
.faixas { padding-block: clamp(1rem, 2vw, 1.5rem) clamp(2rem, 4vw, 3rem); }
.faixas__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .faixas__lista { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.banner { position: relative; display: flex; align-items: flex-end; min-height: 17rem; height: 100%; overflow: hidden; background: var(--sage-deep); isolation: isolate; }
.banner__img { position: absolute; inset: 0; z-index: -1; }
.banner__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.banner:hover .banner__img img { transform: scale(1.03); }
.banner__img--vazio { display: grid; place-items: center; align-content: start; padding-top: 2.5rem; }
.banner__img--vazio::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(247, 245, 240, .28); }
.banner__img--vazio .foto__sem { color: var(--paper); opacity: .9; }
.banner__plate { width: min(30rem, 100%); padding: 1.1rem 1.35rem 1.2rem; background: rgba(26, 29, 34, .84); color: var(--paper); }
.banner__kicker { margin: 0 0 .45rem; font: 600 .75rem/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); }
.banner__tit { margin: 0 0 .45rem; font: 450 clamp(1.4rem, 1rem + 1.2vw, 1.85rem)/1.15 var(--font-display); letter-spacing: -.01em; }
.banner__tit a { color: var(--paper); text-decoration: none; }
.banner__tit a::after { content: ""; position: absolute; inset: 0; }
.banner__tit a:hover { text-decoration: underline; text-underline-offset: .2em; color: var(--paper); }
.banner__tit a:focus-visible { outline: none; }
.banner:has(.banner__tit a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.banner__txt { margin: 0 0 .6rem; font-size: .9375rem; line-height: 1.5; color: #e4e1d9; }
.banner__cta { display: inline-flex; align-items: center; gap: .45rem; margin: 0; font: 600 .8125rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--paper); }
.banner__credito { position: absolute; top: .6rem; right: .6rem; max-width: calc(100% - 1.2rem); padding: .2rem .55rem; background: rgba(26, 29, 34, .84); color: #ece8df; font-size: .75rem; line-height: 1.35; }

/* grade principal + barra lateral */
.revista { display: grid; gap: 3rem; padding-block: 1rem clamp(2.5rem, 5vw, 4rem); }
.revista__main { min-width: 0; }
.bloco + .bloco { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 1000px) { .revista { grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2.5rem, 4vw, 3.5rem); align-items: start; } }
.side { display: flex; flex-direction: column; gap: 1.5rem; min-width: 0; }
.widget { padding: 1.25rem 1.25rem 1.3rem; border: 1px solid var(--rule); }
.widget p { font-size: .9375rem; line-height: 1.55; color: var(--fg-2); margin: 0 0 .9rem; }
.widget__tit { margin: 0 0 1rem; padding-bottom: .65rem; border-bottom: 2px solid var(--rule-strong); font: 600 .75rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--fg); }
.widget__mais { margin: .5rem 0 0 !important; }
.widget__acoes { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 !important; }
.widget__rot { margin: 0 0 .4rem !important; font: 600 .75rem/1.2 var(--font-body) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft) !important; }
.widget--imoveis { background: var(--bg-deep); border-color: var(--bg-deep); color: var(--on-deep); }
.widget--imoveis .widget__tit { margin: 0 0 .6rem; padding: 0; border: 0; font: 400 1.6rem/1.15 var(--font-display); letter-spacing: -.01em; text-transform: none; color: var(--paper); }
.widget--imoveis p { color: #d3d0c8; }
.widget--imoveis :focus-visible { outline-color: var(--gold-soft); }
.widget--imoveis .btn--wa { color: var(--paper); border-color: rgba(247, 245, 240, .55); }
.widget--imoveis .btn--wa:hover { background: var(--paper); color: var(--ink); }
:root[data-theme="dark"] .widget--imoveis { border-color: rgba(247, 245, 240, .18); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .widget--imoveis { border-color: rgba(247, 245, 240, .18); } }
.btn--inv { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--inv:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.minis { list-style: none; margin: 0; padding: 0; }
.mini { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: .85rem; align-items: start; padding-block: .85rem; border-top: 1px solid var(--rule); }
.mini:first-child { border-top: 0; padding-top: 0; }
.mini:last-child { padding-bottom: 0; }
.mini__foto { width: 72px; height: 72px; overflow: hidden; background: var(--bg-alt); }
.mini__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini__foto--vazia { border: 1px solid color-mix(in srgb, var(--sage-deep) 40%, transparent); }
.mini .kicker { margin: 0 0 .15rem; font-size: .6875rem; }
.mini__tit { margin: 0 0 .2rem; font: 500 1rem/1.25 var(--font-display); }
.mini__tit a { color: var(--fg); text-decoration: none; }
.mini__tit a::after { content: ""; position: absolute; inset: 0; }
.mini__tit a:hover { color: var(--link); }
.mini__tit a:focus-visible { outline: none; }
.mini:has(.mini__tit a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.lista-c { list-style: none; margin: 0; padding: 0; }
.lista-c a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-block: .35rem; border-top: 1px solid var(--rule); color: var(--fg); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.lista-c li:first-child a { border-top: 0; }
.lista-c a:hover { color: var(--link); }
.lista-c__n { font-size: .8125rem; font-variant-numeric: tabular-nums; color: var(--fg-3); }
.widget--news { background: var(--bg-alt); border-color: transparent; }
.idx--1 { grid-template-columns: 1fr !important; }

/* índice tipográfico de bairros */
.idx { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: clamp(2rem, 6vw, 5rem); }
.idx li { border-top: 1px solid var(--rule); }
.idx a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .1rem 1rem; padding: 1rem 0 1.05rem; text-decoration: none; color: var(--fg); min-height: 44px; }
.idx__nome { font: 400 clamp(1.5rem, 1rem + 1.8vw, 2.2rem)/1.1 var(--font-display); letter-spacing: -.012em; }
.idx__n { font-size: .8rem; color: var(--fg-3); white-space: nowrap; }
.idx__resumo { grid-column: 1; margin: 0; font-size: .9rem; color: var(--fg-3); max-width: 42ch; }
.idx__acao { margin: 0; padding: 0 0 1rem; }
.idx a:hover .idx__nome { color: var(--link); font-style: italic; }
.idx a:hover .idx__n { color: var(--link); }
@media (min-width: 760px) { .idx { grid-template-columns: 1fr 1fr; } }
/* faixa de imóveis */
.faixa { background: var(--bg-deep); color: var(--on-deep); }
.faixa .kicker { color: var(--gold-soft); }
.faixa__in { display: grid; gap: 2rem; padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.faixa h2 { color: var(--paper); font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.7rem); font-weight: 400; margin-bottom: .5em; }
.faixa p { color: #d3d0c8; max-width: 38ch; }
.faixa__lista { list-style: none; margin: 0; padding: 0; }
.faixa__lista li { border-top: 1px solid rgba(247, 245, 240, .22); }
.faixa__lista li:last-child { border-bottom: 1px solid rgba(247, 245, 240, .22); }
.faixa__lista a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding-block: .5rem; color: var(--paper); text-decoration: none; font: 400 1.4rem/1.2 var(--font-display); }
.faixa__lista a span { font: 600 .78rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); display: inline-flex; align-items: center; gap: .45rem; }
.faixa__lista a:hover { color: var(--gold-soft); }
.faixa :focus-visible { outline-color: var(--gold-soft); }
@media (min-width: 900px) { .faixa__in { grid-template-columns: 5fr 6fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; } }
/* chamada WhatsApp / assuntos */
.chamada { display: grid; gap: 1.25rem; align-items: center; }
.chamada h2 { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.2rem); font-weight: 400; margin: 0; max-width: 24ch; }
.chamada p { margin: 0; color: var(--fg-2); max-width: 46ch; }
.chamada__acoes { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; }
@media (min-width: 900px) { .chamada { grid-template-columns: 1.2fr 1fr auto; gap: 3rem; } }
.assuntos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 0; }
.assuntos li + li::before { content: "/"; margin: 0 .85rem; color: var(--rule); }
.assuntos li { display: flex; align-items: center; }
.assuntos a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); text-decoration: none; font: 400 1.25rem/1.2 var(--font-display); }
.assuntos a:hover, .assuntos a[aria-current] { color: var(--link); font-style: italic; }

/* ---------- páginas de lista (categoria/bairro/índice) ---------- */
.pagehead { padding-block: clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--rule); }
.pagehead h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.8rem); font-weight: 400; max-width: 18ch; margin-bottom: .35em; }
.pagehead__lead { color: var(--fg-2); font-size: 1.1rem; max-width: 56ch; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem .4rem; margin: 0 0 1.25rem; padding: 0; font-size: .82rem; color: var(--fg-3); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--rule-strong); opacity: .4; }
.crumbs a { color: var(--fg-3); text-decoration: none; display: inline-block; padding-block: .35rem; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }
.crumbs span { display: inline-block; padding-block: .35rem; }
.crumbs li { display: flex; align-items: baseline; flex: none; }
.crumbs li:last-child { flex: 0 1 auto; min-width: 0; }
.crumbs li:last-child span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 899px) { .crumbs ol { flex-wrap: nowrap; } .crumbs li:not(:last-child) { white-space: nowrap; } }

/* ficha editorial de imóveis (aparece em artigos, guias de bairro e páginas de apoio) */
.ficha { margin: 2.75rem 0; padding: 1.4rem 0 1.5rem; border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule); display: grid; gap: .25rem 2rem; }
.ficha__rotulo { margin: 0 0 .55rem; font: 600 .7rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--link); }
.ficha__titulo { margin: 0 0 .4rem; font: 400 clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem)/1.1 var(--font-display); letter-spacing: -.012em; color: var(--fg); }
.ficha__texto { margin: 0 0 1rem; color: var(--fg-2); font-size: 1rem; line-height: 1.55; max-width: 52ch; }
.ficha__acoes { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.ficha__mais { margin: .9rem 0 0; font-size: .9rem; }
.ficha--final { background: var(--bg-alt); padding-inline: clamp(1.1rem, 3vw, 1.75rem); border-bottom: 0; }

/* ---------- artigo ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress__bar { height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.post__head { padding-top: clamp(1.25rem, 3vw, 2.25rem); }
.post__title { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.7rem); font-weight: 400; line-height: 1.06; letter-spacing: -.018em; max-width: 21ch; margin-bottom: .4em; }
.post__sub { font: 400 clamp(1.1rem, 1rem + .5vw, 1.35rem)/1.5 var(--font-body); color: var(--fg-2); max-width: 44rem; margin: 0 0 1.4rem; }
.byline { display: flex; align-items: center; gap: .85rem; margin: 0 0 1.5rem; padding-block: .9rem; border-block: 1px solid var(--rule); flex-wrap: wrap; font-size: .88rem; color: var(--fg-3); }
.byline__av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: var(--bg-alt); flex: none; }
.byline__av--vazia { display: grid; place-items: center; border: 1px solid var(--rule); font: 450 1.1rem/1 var(--font-display); color: var(--link); }
.byline strong { color: var(--fg); font-weight: 600; }
.byline__txt { display: flex; flex-direction: column; gap: .1rem; line-height: 1.35; }
.byline .share, .share--topo { margin: 0 0 0 auto; }
.post__hero { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.post__hero .foto__img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .post__hero .foto__img { aspect-ratio: 2 / 1; } }
.post__grid { display: block; }
.post__rail { display: none; }
.toc { font-size: .92rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li { counter-increment: t; margin: 0; }
.toc a { display: flex; gap: .7rem; align-items: baseline; padding: .5rem 0 .5rem .9rem; border-left: 2px solid var(--rule); color: var(--fg-2); text-decoration: none; line-height: 1.35; min-height: 44px; }
.toc a::before { content: counter(t, decimal-leading-zero); font: 400 .8125rem/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--fg-3); flex: none; }
.toc a:hover { color: var(--link); }
.toc a.is-ativo { border-left-color: var(--gold); color: var(--fg); font-weight: 600; }
.toc__tit { margin: 0 0 .5rem; font: 600 .7rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.toc--m { margin: 0 0 2rem; border-block: 1px solid var(--rule); }
.toc--m summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 52px; font: 600 .76rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.toc--m summary::-webkit-details-marker { display: none; }
.toc--m summary::after { content: "+"; font: 300 1.6rem/1 var(--font-body); letter-spacing: 0; color: var(--link); }
.toc--m[open] summary::after { content: "\2212"; }
.toc--m ol { padding-bottom: .75rem; }
.rail-cta { margin-top: 2rem; padding: 1.1rem 1.1rem 1rem; border: 1px solid var(--rule); background: var(--bg-alt); }
.rail-cta__tit { margin: 0 0 .6rem; font: 400 1.2rem/1.2 var(--font-display); }
.rail-cta__wa { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; margin-top: .25rem; font-size: .88rem; font-weight: 600; color: var(--fg-2); text-decoration: none; }
.rail-cta__wa:hover { color: var(--link); text-decoration: underline; }
@media (min-width: 1100px) {
  .post__grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .post__rail { display: block; position: sticky; top: calc(var(--head-h) + 1.5rem); max-height: calc(100vh - var(--head-h) - 3rem); overflow-y: auto; }
  .toc--m { display: none; }
}
.post__main { min-width: 0; max-width: var(--measure); }

/* texto do artigo */
.prose { font-size: clamp(1.125rem, 1.05rem + .25vw, 1.1875rem); line-height: 1.7; text-wrap: pretty; hanging-punctuation: first; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.25rem); font-weight: 450; margin: 2.3em 0 .55em; scroll-margin-top: 5.5rem; }
.prose h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); font-weight: 500; margin: 1.9em 0 .5em; }
.prose h4 { font: 600 1rem/1.4 var(--font-body); margin: 1.5em 0 .4em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.25em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--link); }
.prose li > ul, .prose li > ol { margin: .45em 0 .6em; }
.prose a { text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); font-weight: 500; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 600; }
.prose img { display: block; }
.prose figure { margin: 2.2em 0; }
.prose figcaption { font-size: .85rem; color: var(--fg-3); margin-top: .55rem; }
.prose blockquote { margin: 2em 0; padding: .2em 0 .2em 1.3rem; border-left: 2px solid var(--gold); font: italic 400 1.28em/1.5 var(--font-display); color: var(--fg-2); }
.prose blockquote p { margin-bottom: .6em; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }
.prose code { background: var(--bg-alt); padding: .1em .35em; border-radius: 2px; font-size: .9em; }
.prose pre { overflow-x: auto; background: var(--bg-deep); color: var(--paper); padding: 1rem; border-radius: 2px; font-size: .9rem; }
.prose pre code { background: none; padding: 0; }
.tabela { overflow-x: auto; margin: 2em 0; border-top: 2px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); -webkit-overflow-scrolling: touch; }
.tabela table { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.45; min-width: 30rem; }
.tabela th, .tabela td { padding: .75rem .9rem .75rem 0; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tabela th { font: 600 .72rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--fg); border-bottom-color: var(--rule-strong); }
.tabela td:first-child { font-weight: 600; }
.tabela tr:last-child td { border-bottom: 0; }

/* Em 30 segundos / pull quote */
.takeaways { margin: 0 0 2.25rem; padding: 1.1rem 1.25rem 1.2rem; background: var(--bg-alt); border-left: 3px solid var(--gold); }
.takeaways__tit { margin: 0 0 .6rem; font: 600 .72rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.takeaways ul { margin: 0; padding: 0; list-style: none; font-size: .98rem; line-height: 1.5; }
.takeaways li { position: relative; margin: 0 0 .55rem; padding-left: 1.4rem; }
.takeaways li:last-child { margin-bottom: 0; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: 2px; background: var(--link); }
.pullquote { margin: 2.6em 0; padding: 1.2rem 0; border-block: 1px solid var(--rule-strong); }
.pullquote blockquote { margin: 0; padding: 0; border: 0; font: italic 400 clamp(1.5rem, 1.1rem + 1.6vw, 2.15rem)/1.22 var(--font-display); letter-spacing: -.01em; color: var(--fg); text-wrap: balance; }
.pullquote blockquote p { margin: 0; }

/* FAQ nativo */
.faq { margin-top: 3.25rem; }
.faq h2 { font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.25rem); font-weight: 450; margin-bottom: .6em; }
.faq__item { border-top: 1px solid var(--rule); }
.faq__item:last-of-type { border-bottom: 1px solid var(--rule); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.05rem 2.5rem 1.05rem 0; min-height: 56px; font: 450 1.15rem/1.35 var(--font-display); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font: 300 1.7rem/1 var(--font-body); color: var(--link); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:hover { color: var(--link); }
.faq__resp { padding: 0 0 1.3rem; color: var(--fg-2); font-size: 1.02rem; line-height: 1.65; max-width: 60ch; }
.faq__resp p { margin: 0; }

/* autoria */
.autor { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; margin: 3rem 0 1.5rem; padding-top: 1.4rem; border-top: 2px solid var(--rule-strong); }
.autor__foto { width: 84px; height: 84px; border-radius: 2px; object-fit: cover; object-position: 50% 22%; background: var(--bg-alt); }
.autor__foto--vazia { display: grid; place-items: center; border: 1px solid var(--rule); font: 400 2rem/1 var(--font-display); color: var(--link); }
.autor__rot { margin: 0 0 .15rem; font: 600 .7rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.autor__nome { margin: 0 0 .35rem; font: 450 1.4rem/1.15 var(--font-display); }
.autor__bio { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--fg-2); max-width: 54ch; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin: 1.5rem 0; }
.share__tit { font-size: .82rem; color: var(--fg-3); font-weight: 600; margin-right: .25rem; }
.share .btn { min-height: 44px; }
.share--fim { padding-top: 1.1rem; border-top: 1px solid var(--rule); }

/* Leia também */
.leia { border-top: 1px solid var(--rule); }

/* ---------- barra inferior (mobile), voltar ao topo ---------- */
.bar-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: .6rem; padding: .6rem max(1rem, env(safe-area-inset-right)) calc(.6rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: var(--bg); border-top: 1px solid var(--rule); clip-path: inset(100% 0 0 0); visibility: hidden; transition: clip-path .25s ease, visibility 0s linear .25s; }
.bar-mobile.is-on { clip-path: inset(0); visibility: visible; transition: clip-path .25s ease; }
.bar-mobile .btn { flex: 1; min-height: 44px; }
.bar-mobile .btn--wa { flex: none; width: 48px; padding: 0; }
@media (min-width: 900px) { .bar-mobile { display: none; } }
@media (max-width: 899px) { body.post-page { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } }
.to-top { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 54; width: 44px; height: 44px; display: grid; place-items: center; background: var(--bg); color: var(--fg); border: 1px solid var(--rule-strong); border-radius: 2px; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s, bottom .25s; }
.to-top.is-on { opacity: 1; visibility: visible; transition: opacity .2s, bottom .25s; }
.to-top:hover { background: var(--fg); color: var(--bg); }
@media (max-width: 899px) { html.has-bar .to-top { bottom: calc(5rem + env(safe-area-inset-bottom)); } html.consent-open .to-top { opacity: 0; visibility: hidden; } }

/* ---------- busca ---------- */
.busca { position: fixed; inset: 0; z-index: 90; background: var(--scrim); display: flex; justify-content: center; align-items: flex-start; }
.busca__box { width: 100%; max-width: 44rem; max-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); padding: 1rem var(--pad) 1.25rem; overflow: hidden; }
@media (min-width: 760px) { .busca { padding: 9vh var(--pad) 0; } .busca__box { max-height: 78vh; border: 1px solid var(--rule); padding: 1.4rem 1.75rem 1.5rem; } }
.busca__top { display: flex; align-items: center; gap: .5rem; border-bottom: 2px solid var(--rule-strong); }
.busca__input { flex: 1; min-width: 0; height: 56px; padding: 0; border: 0; background: transparent; color: var(--fg); font: 400 1.5rem/1.2 var(--font-display); outline: none; border-radius: 0; -webkit-appearance: none; appearance: none; }
.busca__input::placeholder { color: var(--fg-3); opacity: 1; }
.busca__input::-webkit-search-cancel-button { display: none; }
.busca__top:focus-within { border-bottom-color: var(--gold); }
.busca__status { margin: .8rem 0 .25rem; font-size: .82rem; color: var(--fg-3); }
.busca__res { list-style: none; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; }
.busca__res li { border-bottom: 1px solid var(--rule); }
.busca__res a { display: block; padding: .85rem .5rem; margin-inline: -.5rem; text-decoration: none; color: var(--fg); min-height: 44px; }
.busca__res a:hover, .busca__res a:focus-visible { background: var(--bg-alt); outline-offset: -3px; }
.busca__res .kicker { margin: 0 0 .15rem; font-size: .66rem; }
.busca__res .kicker::before { display: none; }
.busca__t { display: block; font: 450 1.2rem/1.2 var(--font-display); }
.busca__x { display: block; margin-top: .2rem; font-size: .88rem; color: var(--fg-2); }
.busca mark { background: var(--gold-soft); color: var(--ink); padding: 0 .1em; }

/* ---------- paginação ---------- */
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; justify-content: flex-start; margin: 2rem 0 0; padding: 0; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--rule); border-radius: 2px; color: var(--fg); text-decoration: none; font-weight: 600; font-size: .9rem; }
.pager a:hover { border-color: var(--fg); }
.pager span[aria-current] { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ---------- rodapé ---------- */
.site-footer { background: var(--bg-deep); color: #d3d0c8; padding-top: clamp(2.75rem, 6vw, 4rem); border-top: 3px solid var(--gold); }
.site-footer a { color: #ece8df; text-decoration: none; display: inline-block; padding-block: .3rem; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--gold-soft); }
.site-footer .btn--wa { color: var(--paper); border-color: rgba(247, 245, 240, .5); display: inline-flex; padding-block: .45rem; }
.site-footer .btn--wa:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.site-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; } }
.site-footer__logo { width: 150px; height: auto; margin: 0 0 1rem; }
.site-footer__marca { font: 450 1.4rem/1.2 var(--font-display); color: var(--paper); margin-bottom: .5rem; }
.site-footer__tit { margin: 0 0 .6rem; font: 600 .7rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { font-size: .93rem; }
.redes { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .75rem !important; }
.site-footer__base { margin-top: 2.5rem; padding-block: 1.25rem; border-top: 1px solid rgba(247, 245, 240, .18); font-size: .82rem; color: #b6b3ab; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center; }
.site-footer__base p { margin: 0; }
.linklike { background: none; border: 0; padding: .3rem 0; font: inherit; color: #ece8df; cursor: pointer; text-align: left; min-height: 36px; }
.linklike:hover { color: var(--gold-soft); text-decoration: underline; }

.pagina { padding-top: clamp(1.75rem, 4vw, 3rem); padding-bottom: 2rem; }
.pagina h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.3rem); font-weight: 400; }
.pagina__acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.contato-lista { list-style: none; padding: 0; line-height: 2; }
.lista-simples { padding-left: 1.2em; }

/* ---------- aviso de consentimento (LGPD) ---------- */
.consent { position: fixed; z-index: 95; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); max-width: 38rem; max-height: 70vh; overflow-y: auto; margin-inline: auto; background: var(--bg); color: var(--fg); border: 1px solid var(--rule-strong); border-top: 3px solid var(--gold); border-radius: 2px; padding: 1rem 1.15rem; box-shadow: 0 -1px 0 var(--rule); }
@media (min-width: 900px) { .consent { left: 1.25rem; right: auto; margin-inline: 0; } }
.consent__t { font: 450 1.15rem/1.2 var(--font-display); margin: 0 0 .3rem; }
.consent__p { margin: 0 0 .8rem; font-size: .88rem; line-height: 1.5; color: var(--fg-2); }
.consent__p a { color: var(--link); text-decoration: underline; }
.consent__b { display: flex; gap: .6rem; }
.consent__b .btn { flex: 1; }
@media (min-width: 480px) { .consent__b .btn { flex: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .share, .ficha, .post__rail, .toc--m, .leia, .progress, .bar-mobile, .to-top, .consent, .busca { display: none !important; }
  body { background: #fff; color: #000; }
}

/* hero sem foto: tom de sálvia para não se confundir com o cartão de texto */
.hero__media .foto--vazia .foto__img { background: color-mix(in srgb, var(--sage) 24%, var(--bg-alt)); }
.hero__media .foto figcaption { margin: .5rem 0 .9rem; font-size: .75rem; }
@media (min-width: 960px) { .hero__media .foto figcaption { margin-bottom: 0; } }
