/* Marques Advogados Associados — versão clara, celular primeiro.
   Manual de identidade (ArthDesignn, 01/2025): creme #E9E2DA, preto #000 e gradiente dourado;
   Lovely nos títulos (aqui Cormorant Garamond, que pode ser embutida) e Raleway no texto.
   O dourado é destaque: fios, numerais e rótulos. Texto pequeno em dourado usa o tom escuro
   (#7A5C2A: 4,8:1 no creme mais escuro, conferido com o axe-core). */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fontes/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Raleway";
  src: url("/fontes/raleway.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --papel: #fbf8f4;
  --creme-claro: #f3eee8;
  --creme: #e9e2da;
  --branco: #fff;
  --preto: #000;
  --tinta: #241c13;
  --tinta-suave: #5e5246;
  --ouro: #a9823c;
  --ouro-texto: #7a5c2a;
  --ouro-gradiente: linear-gradient(120deg, #f0d3a0 0%, #c9a063 48%, #7a5a2e 100%);
  --linha: rgba(36, 28, 19, 0.12);
  --linha-forte: rgba(36, 28, 19, 0.22);
  --sombra: 0 1px 2px rgba(36, 28, 19, 0.04), 0 18px 40px -22px rgba(36, 28, 19, 0.28);
  --serifa: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --texto-fonte: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largura: 1180px;
  --texto: 41rem;
  --topo: 4.5rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 1rem); }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--texto-fonte);
  font-size: 1.125rem;
  font-weight: 450;
  line-height: 1.72;
  font-variant-numeric: lining-nums proportional-nums; /* a Raleway vem com algarismos antigos */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; } /* botões que só existem com GA4 ligado */
a { color: inherit; text-decoration-color: var(--ouro); text-decoration-thickness: 1px; text-underline-offset: 0.24em; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--ouro-texto); }
:focus-visible { outline: 2px solid var(--ouro-texto); outline-offset: 3px; }
::selection { background: #f0d3a0; color: var(--preto); }

h1, h2, h3 { font-family: var(--serifa); font-weight: 600; color: var(--preto); line-height: 1.08; letter-spacing: -0.012em; margin: 0 0 0.55em; text-wrap: balance; }
h1 { font-size: clamp(2.45rem, 8vw, 4.4rem); }
h2 { font-size: clamp(1.95rem, 5.2vw, 2.9rem); margin-top: 1.6em; }
h3 { font-size: clamp(1.4rem, 3.8vw, 1.7rem); margin-top: 1.4em; line-height: 1.2; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--ouro-texto); display: inline-block; } /* nome da cidade numa linha só, mas quebra se a letra for ampliada */
p, ul, ol, table { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.5em; }
li::marker { color: var(--ouro); }
strong { font-weight: 650; color: var(--preto); }

.conteiner { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 1.25rem; }
.pular { position: absolute; left: -999px; top: 0; background: var(--preto); color: var(--papel); padding: 0.75rem 1rem; z-index: 100; }
.pular:focus { left: 1rem; top: 1rem; }
.icone { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* rótulo com fio dourado */
.sobretitulo { display: flex; align-items: center; gap: 0.85rem; font: 650 0.875rem/1.3 var(--texto-fonte); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ouro-texto); margin: 0 0 1.1rem; }
.sobretitulo::before { content: ""; width: 2.25rem; height: 1px; background: var(--ouro-gradiente); flex: none; }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 244, 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linha); }
.topo__barra { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--topo); }
.topo__marca img { width: 168px; }
.topo__menu-botao {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.9rem; padding: 0 1rem; background: none; color: var(--preto); border: 1px solid var(--linha-forte);
  font: 650 0.875rem/1 var(--texto-fonte); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.topo__menu-icone, .topo__menu-icone::before, .topo__menu-icone::after { display: block; width: 18px; height: 1.5px; background: var(--preto); position: relative; content: ""; transition: transform .2s, background-color .2s; }
.topo__menu-icone::before { position: absolute; top: -6px; }
.topo__menu-icone::after { position: absolute; top: 6px; }
.topo__menu-botao[aria-expanded="true"] .topo__menu-icone { background: transparent; }
.topo__menu-botao[aria-expanded="true"] .topo__menu-icone::before { transform: translateY(6px) rotate(45deg); }
.topo__menu-botao[aria-expanded="true"] .topo__menu-icone::after { transform: translateY(-6px) rotate(-45deg); }

.menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--papel); border-bottom: 1px solid var(--linha); padding: 0.5rem 1.25rem 1.75rem; max-height: calc(100dvh - var(--topo)); overflow-y: auto; box-shadow: 0 24px 40px -24px rgba(36, 28, 19, .25); }
.menu.menu--aberto { display: block; }
.menu ul { list-style: none; padding: 0; margin: 0 0 0.25rem; }
.menu li { margin: 0; }
.menu a { text-decoration: none; display: block; padding: 0.8rem 0; color: var(--preto); }
.menu ul a { border-bottom: 1px solid var(--linha); font-size: 1.05rem; }
.menu a[aria-current="page"] { color: var(--ouro-texto); }
.menu__titulo { font: 650 0.875rem/1.2 var(--texto-fonte); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ouro-texto) !important; padding-top: 1.3rem !important; }
.menu__grupo--solto .menu__titulo { font: 500 1.05rem/1.4 var(--texto-fonte); letter-spacing: 0; text-transform: none; color: var(--preto) !important; border-bottom: 1px solid var(--linha); }
.menu a.botao { display: flex; margin-top: 1.4rem; width: 100%; color: var(--papel); padding: 0 1.5rem; }

/* ---------- migalha ---------- */
.migalha ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; padding: 0; margin: 0 0 1.6rem; font-size: 0.9375rem; color: var(--tinta-suave); }
.migalha li { margin: 0; }
.migalha li + li::before { content: "/"; margin-right: 0.45rem; color: var(--ouro); }

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; min-height: 3.35rem; padding: 0 1.6rem;
  font: 650 0.9375rem/1.25 var(--texto-fonte); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; text-align: center;
  min-width: 0; max-width: 100%; overflow-wrap: anywhere;
  border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.botao:active { transform: translateY(1px); }
.botao--tinta { background: var(--preto); color: var(--papel); border-color: var(--preto); }
.botao--tinta:hover { background: var(--tinta); color: #f0d3a0; }
.botao--contorno { background: transparent; color: var(--preto); border-color: var(--preto); }
.botao--contorno:hover { background: var(--preto); color: var(--papel); }
.seta { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 650; font-size: 0.9rem; text-decoration: none; color: var(--preto); border-bottom: 1px solid var(--ouro); padding-bottom: 2px; }
.seta::after { content: "→"; color: var(--ouro-texto); transition: transform .2s; }
.seta:hover::after { transform: translateX(3px); }

/* ---------- abertura (página inicial) ---------- */
.abertura { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 100% 0%, var(--creme-claro) 0%, var(--papel) 55%); }
.abertura__grade { position: relative; display: grid; gap: 2.75rem; padding-top: 2.75rem; padding-bottom: 3.5rem; }
.abertura h1 { margin-bottom: 0.5em; }
.abertura__lide { font-size: 1.1rem; color: var(--tinta-suave); max-width: 33rem; margin-bottom: 2rem; }
.abertura__acoes { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.abertura__acoes .botao { flex: 1 1 auto; } /* cada botão com a largura do próprio texto; quebra de linha só no grupo */
.cabeca__acoes { display: flex; margin: 0 0 1.5rem; }
.cabeca__acoes .botao { flex: 1 1 15rem; }
.abertura__assinatura { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--linha); font-size: 0.9rem; color: var(--tinta-suave); }
.abertura__assinatura strong { display: block; font-family: var(--serifa); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }

/* ---------- fotos em arco (coluna do brasão) ---------- */
.foto { margin: 0; position: relative; }
.foto--arco { width: min(100%, 26rem); justify-self: center; aspect-ratio: 4 / 5; }
.foto--arco::before { content: ""; position: absolute; inset: 0.9rem -0.9rem -0.9rem 0.9rem; border: 1px solid var(--ouro); border-radius: 999px 999px 0 0; opacity: .55; }
.foto__moldura { position: relative; overflow: hidden; background: var(--creme); }
.foto--arco .foto__moldura { height: 100%; border-radius: 999px 999px 0 0; }
.foto--paisagem .foto__moldura { aspect-ratio: 3 / 2; }
.foto__imagem { width: 100%; height: 100%; object-fit: cover; }
.foto--vazia .foto__moldura { display: grid; place-items: center; }
.foto--vazia .foto__moldura::before { content: ""; position: absolute; inset: 0; background: url("/img/estampa.png") 0 0 / 120px 120px repeat; opacity: .22; }
.foto__brasao { position: relative; width: 30%; max-width: 7rem; }
.foto--vazia figcaption { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; font-size: 0.875rem; line-height: 1.4; z-index: 1; }

/* ---------- faixa de identificação ---------- */
.credenciais { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); background: var(--branco); }
.credenciais ul { list-style: none; margin: 0; padding: 0; display: grid; }
.credenciais li { margin: 0; padding: 1.15rem 0; display: flex; gap: 0.9rem; align-items: flex-start; border-bottom: 1px solid var(--linha); font-size: 0.95rem; color: var(--tinta-suave); }
.credenciais li:last-child { border-bottom: 0; }
.credenciais strong { display: block; font-family: var(--serifa); font-size: 1.3rem; line-height: 1.2; }
.credenciais .icone { color: var(--ouro-texto); width: 1.5rem; height: 1.5rem; margin-top: 0.2rem; }

/* ---------- faixas ---------- */
.faixa { padding: 4rem 0; position: relative; }
.faixa--creme { background: var(--creme-claro); }
.faixa--creme-forte { background: var(--creme); }
.faixa--estampa::after { content: ""; position: absolute; inset: 0; background: url("/img/estampa.png") 0 0 / 120px 120px repeat; opacity: .16; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 75%); mask-image: linear-gradient(90deg, transparent 0%, #000 75%); }
.faixa > .conteiner { position: relative; z-index: 1; }
.faixa__cabeca { max-width: 44rem; margin-bottom: 2.25rem; }
.faixa__cabeca h2, .faixa__titulo { margin-top: 0; }
.faixa__intro { color: var(--tinta-suave); margin: 0; }
.grade { display: grid; gap: 1rem; }

/* ---------- índice das áreas (lista editorial) ---------- */
.indice-areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha-forte); }
.indice-areas li { margin: 0; border-bottom: 1px solid var(--linha-forte); }
.indice-areas a, .indice-areas__item { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.3rem 1rem; padding: 1.5rem 0; text-decoration: none; color: inherit; }
.indice-areas__numero { font: italic 500 1.5rem/1 var(--serifa); color: var(--ouro); padding-top: 0.35rem; }
/* o numeral fica no atributo: no texto, "04 Aposentadorias" seria lido como contagem pelo gate OAB e por robôs */
.indice-areas__numero::before { content: attr(data-n); }
.indice-areas__titulo { font: 600 1.6rem/1.15 var(--serifa); color: var(--preto); transition: color .2s; }
.indice-areas__resumo { grid-column: 2; color: var(--tinta-suave); font-size: 0.97rem; }
.indice-areas__seta { grid-column: 2; font-weight: 650; font-size: 0.875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro-texto); }
.indice-areas a:hover .indice-areas__titulo { color: var(--ouro-texto); }

/* ---------- cartões ---------- */
.cartao { position: relative; background: var(--branco); border: 1px solid var(--linha); padding: 1.6rem 1.4rem; box-shadow: var(--sombra); }
.cartao::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--ouro-gradiente); }
.cartao__titulo { margin: 0 0 0.75rem; font-size: 1.9rem; }
.cartao__titulo a { text-decoration: none; }
.cartao p:last-child { margin-bottom: 0; }
.dados { list-style: none; padding: 0; margin: 0; }
.dados li { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0 0 0.7rem; font-size: 0.97rem; line-height: 1.55; }
.dados .icone { color: var(--ouro-texto); margin-top: 0.15rem; }
.cartao__acoes { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--linha); }

/* ---------- passos do atendimento ---------- */
.passos { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; counter-reset: passo; }
.passos li { counter-increment: passo; margin: 0; padding-top: 1.1rem; border-top: 1px solid var(--linha-forte); color: var(--tinta-suave); }
.passos li::before { content: "0" counter(passo); display: block; font: italic 500 2.6rem/1 var(--serifa); color: var(--ouro); margin-bottom: 0.6rem; }
.passos strong { display: block; font-family: var(--serifa); font-size: 1.5rem; line-height: 1.2; margin-bottom: 0.3rem; }

/* ---------- advogada ---------- */
.advogada { display: grid; gap: 2.5rem; align-items: center; }
.advogada__selo { width: 11rem; justify-self: center; }
.advogada p { color: var(--tinta-suave); }

/* ---------- perguntas ---------- */
.perguntas { display: grid; gap: 1.5rem; }
.perguntas__lista h3 { margin-top: 0; padding-top: 1.4rem; border-top: 1px solid var(--linha); font-size: 1.5rem; }
.perguntas__lista h3:first-child { padding-top: 0; border-top: 0; }
.perguntas__lista p { color: var(--tinta-suave); }

/* ---------- cabeçalho das páginas internas ---------- */
.cabeca { background: linear-gradient(180deg, var(--creme-claro) 0%, var(--papel) 100%); padding: 1.75rem 0 2.25rem; border-bottom: 1px solid var(--linha); }
.cabeca h1 { max-width: 22ch; font-size: clamp(2.3rem, 7vw, 3.9rem); }
.lide { font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.3rem); line-height: 1.68; max-width: var(--texto); margin-bottom: 1.4rem; }
.autoria { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; font-size: 0.9375rem; color: var(--tinta-suave); margin: 0; }
.autoria span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--ouro); margin-right: 1.1rem; vertical-align: middle; }

/* ---------- texto longo ---------- */
.artigo__grade { display: grid; gap: 2rem; padding-top: 2.25rem; padding-bottom: 4rem; }
.texto { max-width: var(--texto); min-width: 0; }
.texto > h2:first-of-type { margin-top: 0.4em; }
.texto h2 { padding-top: 1.5rem; border-top: 1px solid var(--linha); }
.indice-pagina { font-size: 0.92rem; }
.indice-pagina p { font: 650 0.875rem/1.3 var(--texto-fonte); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ouro-texto); margin: 0 0 0.8rem; }
.indice-pagina ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--linha-forte); }
.indice-pagina li { margin: 0; }
.indice-pagina a { display: flex; align-items: center; min-height: 2.75rem; padding: 0.3rem 0 0.3rem 1rem; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--tinta-suave); line-height: 1.4; }
.indice-pagina a:hover { color: var(--preto); border-left-color: var(--ouro); }
.indice-movel { border: 1px solid var(--linha); background: var(--branco); margin: 0 0 1.75rem; }
.indice-movel summary { cursor: pointer; min-height: 3rem; padding: 0.95rem 1.1rem; font: 650 0.875rem/1.3 var(--texto-fonte); letter-spacing: 0.14em; text-transform: uppercase; color: var(--preto); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.indice-movel summary::-webkit-details-marker { display: none; }
.indice-movel summary::after { content: "+"; color: var(--ouro-texto); font-size: 1.2rem; line-height: 1; }
.indice-movel[open] summary::after { content: "–"; }
.indice-movel ol { margin: 0; padding: 0 1.1rem 1rem 2.2rem; font-size: 0.97rem; }
.indice-movel a { display: flex; align-items: center; min-height: 2.75rem; padding: 0.3rem 0; text-decoration: none; }
.aside-contato { margin-top: 2rem; padding: 1.4rem 1.25rem; background: var(--creme-claro); position: relative; }
.aside-contato::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ouro-gradiente); }
.aside-contato p { font-size: 0.92rem; color: var(--tinta-suave); margin-bottom: 1rem; }
.aside-contato strong { display: block; font-family: var(--serifa); font-size: 1.4rem; line-height: 1.2; margin-bottom: 0.3rem; }
.aside-contato .botao { width: 100%; padding: 0 1rem; }
.lateral { display: none; }

.tabela-rolagem { overflow-x: auto; margin: 0 0 1.5rem; border: 1px solid var(--linha); background: var(--branco); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.9rem 1rem; border-bottom: 1px solid var(--linha); }
thead th { font-size: 0.875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ouro-texto); background: var(--creme-claro); font-weight: 650; }
tbody th { font-family: var(--serifa); font-size: 1.22rem; font-weight: 600; color: var(--preto); line-height: 1.25; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.tabela-rolagem table { margin: 0; min-width: 34rem; }
caption { text-align: left; font-weight: 650; padding-bottom: 0.4rem; }
td.base { white-space: nowrap; color: var(--tinta-suave); }
@media (max-width: 719px) {
  .tabela-rolagem { overflow: visible; border: 0; background: none; }
  .tabela-rolagem table { min-width: 0; }
  .tabela-rolagem thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabela-rolagem tbody, .tabela-rolagem tr, .tabela-rolagem th, .tabela-rolagem td { display: block; }
  .tabela-rolagem tr { position: relative; background: var(--branco); border: 1px solid var(--linha); margin-bottom: 0.9rem; padding: 0.5rem 0; }
  .tabela-rolagem tr::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--ouro-gradiente); }
  .tabela-rolagem th, .tabela-rolagem td { border: 0; padding: 0.45rem 1rem; }
  .tabela-rolagem tbody th { font-size: 1.4rem; }
  .tabela-rolagem td[data-rotulo]::before { content: attr(data-rotulo); display: block; font: 650 0.66rem/1.4 var(--texto-fonte); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ouro-texto); }
  td.base { white-space: normal; }
}
.fontes { font-size: 0.9rem; color: var(--tinta-suave); }
.fontes li { margin-bottom: 0.4rem; }
.aviso { font-size: 0.88rem; color: var(--tinta-suave); border-top: 1px solid var(--linha); padding-top: 1rem; margin-top: 2rem; }

/* ---------- contato ---------- */
.contato__grade { display: grid; gap: 2rem; }
.contato__texto { color: var(--tinta-suave); }
.passos--contato { margin: 0 0 1.25rem; }
.contato__fisico { color: var(--tinta-suave); margin: 0; }
.contato__numero { display: block; font-family: var(--serifa); font-size: 1.7rem; font-weight: 600; color: var(--preto); margin: 0.2rem 0 1.25rem; }

/* ---------- unidade ---------- */
.unidade__grade { display: grid; gap: 2.5rem; align-items: start; }
.unidade__dados address { font-style: normal; font-size: 1.15rem; line-height: 1.55; margin-bottom: 1rem; color: var(--preto); }
.horario { font-size: 0.97rem; margin: 0.5rem 0 1.25rem; background: none; }
.horario th, .horario td { padding: 0.6rem 0.1rem; }
.horario th { font-family: var(--texto-fonte); font-size: 0.97rem; font-weight: 500; color: var(--tinta); }
.horario caption { font: 650 0.875rem/1.3 var(--texto-fonte); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ouro-texto); }
.unidade__acoes { display: grid; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- sobre ---------- */
.sobre__grade { display: grid; gap: 2.75rem; }

/* ---------- rodapé ---------- */
.rodape { position: relative; background: var(--creme); color: var(--tinta); font-size: 0.93rem; padding: 3.75rem 0 2rem; }
.rodape::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ouro-gradiente); }
.rodape a, .rodape__link { color: var(--tinta); }
.rodape__grade { display: grid; gap: 2.25rem; }
.rodape__marca img { width: 170px; margin-bottom: 1.25rem; }
.rodape__assinatura { font-size: 0.9rem; color: var(--tinta-suave); }
.rodape__rotulo { font: 650 0.875rem/1.3 var(--texto-fonte); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ouro-texto); margin-bottom: 0.9rem; }
.rodape__rotulo a { color: var(--ouro-texto); }
.rodape__unidade { margin-bottom: 1.2rem; }
.rodape__unidade p { margin-bottom: 0.25rem; }
.rodape ul { list-style: none; padding: 0; }
.rodape li { margin-bottom: 0.55rem; }
.rodape__link { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-decoration-color: var(--ouro); text-underline-offset: 0.24em; cursor: pointer; }
.rodape__legal { border-top: 1px solid var(--linha-forte); margin-top: 2.5rem; padding-top: 1.4rem; font-size: 0.875rem; color: var(--tinta-suave); }
.rodape__legal p { margin-bottom: 0.3rem; }

/* ---------- aviso de cookies ---------- */
.cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0.75rem; }
.cookies[hidden] { display: none; }
.cookies__caixa { position: relative; max-width: 46rem; margin: 0 auto; background: var(--branco); border: 1px solid var(--linha); padding: 1rem 1.1rem; font-size: 0.9375rem; line-height: 1.5; box-shadow: 0 -10px 40px -10px rgba(36, 28, 19, 0.3); }
.cookies__caixa::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--ouro-gradiente); }
.cookies__titulo { font-size: 1.3rem; margin: 0 0 0.3rem; }
.cookies p { margin: 0 0 0.75rem; }
.cookies p { color: var(--tinta-suave); }
.cookies__acoes { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookies__acoes .botao { flex: 1 1 7rem; min-height: 2.75rem; padding: 0 1rem; }

/* ---------- lacunas da prévia ---------- */
mark.preencher { background: #fff1a8; color: #3b2f00; outline: 1px dashed #b38f00; padding: 0 0.25em; font: 500 0.82em/1.5 var(--texto-fonte); letter-spacing: 0; text-transform: none; }

/* ---------- telas maiores ---------- */
@media (min-width: 720px) {
  body { font-size: 1.125rem; }
  .conteiner { padding: 0 2.25rem; }
  .grade--2 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .faixa { padding: 5.5rem 0; }
  .credenciais ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .credenciais li { border-bottom: 0; border-right: 1px solid var(--linha); padding: 1.6rem 1.5rem 1.6rem 0; }
  .credenciais li + li { padding-left: 1.5rem; }
  .credenciais li:last-child { border-right: 0; }
  .passos { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 2.5rem; }
  .indice-areas a, .indice-areas__item { grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.25fr) auto; align-items: baseline; gap: 1.75rem; padding: 2rem 1rem; transition: background-color .25s; }
  .indice-areas a:hover { background: var(--branco); }
  .indice-areas__numero { font-size: 2rem; padding: 0; }
  .indice-areas__titulo { font-size: 1.95rem; }
  .indice-areas__resumo, .indice-areas__seta { grid-column: auto; }
  .indice-areas__resumo { margin: 0; }
  .unidade__acoes { display: flex; flex-wrap: wrap; }
  .rodape__grade { grid-template-columns: repeat(2, 1fr); }
  .cookies { padding: 1.25rem; }
  .abertura__acoes .botao, .cabeca__acoes .botao { flex: 0 0 auto; }
}
@media (min-width: 1000px) {
  :root { --topo: 5.25rem; }
  .topo__marca img { width: 200px; }
  .topo__menu-botao { display: none; }
  .menu { display: flex !important; position: static; align-items: center; gap: 2.1rem; padding: 0; border: 0; background: none; max-height: none; overflow: visible; box-shadow: none; }
  .menu ul { display: none; }
  .menu__titulo, .menu__grupo--solto .menu__titulo { font: 550 0.92rem/1 var(--texto-fonte) !important; letter-spacing: 0.02em !important; text-transform: none !important; color: var(--preto) !important; padding: 0.5rem 0 !important; border: 0 !important; }
  .menu__titulo:hover { color: var(--ouro-texto) !important; }
  .menu a.botao { margin: 0 0 0 0.4rem; width: auto; min-height: 2.9rem; padding: 0 1.3rem; }
  .abertura__grade { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 4.5rem; padding-top: 5rem; padding-bottom: 5.5rem; }
  .abertura h1 { font-size: clamp(3.4rem, 5.2vw, 4.6rem); }
  .passos { grid-template-columns: repeat(4, 1fr); }
  .advogada { grid-template-columns: 0.7fr 1.3fr; gap: 4rem; }
  .advogada__selo { width: 14rem; }
  .perguntas { grid-template-columns: 0.8fr 1.4fr; gap: 4rem; align-items: start; }
  .perguntas__cabeca { position: sticky; top: calc(var(--topo) + 2rem); }
  .contato__grade { grid-template-columns: 0.75fr 1.6fr; gap: 3rem; align-items: start; }
  .artigo__grade { grid-template-columns: minmax(0, 1fr) 17rem; gap: 4.5rem; padding-top: 3rem; }
  .lateral { display: block; }
  .lateral__fixa { position: sticky; top: calc(var(--topo) + 2rem); }
  .indice-movel { display: none; }
  .unidade__grade { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .sobre__grade { grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; align-items: start; }
  .rodape__grade { grid-template-columns: 1.1fr 1.3fr 1fr 1fr; }
  .cabeca { padding: 2.5rem 0 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .topo, .rodape, .cookies, .botao, .migalha, .lateral, .indice-movel { display: none !important; }
  body { background: #fff; }
}

/* ajustes de composição */
.abertura .foto--arco { width: min(80%, 24rem); margin: 0 auto 1rem; }
.unidade__dados.cartao { padding: 1.8rem 1.5rem; }
.foto--paisagem .foto__moldura { aspect-ratio: 4 / 3; }
@media (min-width: 1000px) {
  .abertura .foto--arco { width: 100%; max-width: 27rem; margin: 0 0 1rem auto; }
  .sobre__grade .foto--arco { position: sticky; top: calc(var(--topo) + 2rem); }
}
.cabeca { position: relative; overflow: hidden; }
.cabeca::after { display: none; content: ""; position: absolute; inset: 0 0 0 auto; width: 46%; background: url("/img/estampa.png") 0 0 / 120px 120px repeat; opacity: .13; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 80%); mask-image: linear-gradient(90deg, transparent 0%, #000 80%); }
.cabeca > .conteiner { position: relative; z-index: 1; }
.cabeca h1 { max-width: 26ch; }
.texto > h2:first-of-type { border-top: 0; padding-top: 0; }
.pagina--sobre .cabeca::after { display: none; }
@media (min-width: 1000px) { .cabeca::after { display: block; } .pagina--sobre .cabeca::after { display: none; } }
/* alvos de toque: regra da casa de 44 px de altura e de largura em todo link e botão (a WCAG 2.5.8 só isenta o link
   no meio da frase). Onde o desenho não pode crescer, a margem negativa devolve o espaço: o dedo ganha área e nada
   sai do lugar. Quem confere é o testar_navegador.py, que mede tudo o que é clicável. */
.rodape li a, .rodape__link, .rodape__rotulo a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.6rem 0; }
.topo__marca { display: flex; align-items: center; min-height: 2.75rem; }
.migalha a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.35rem; margin: -0.55rem -0.35rem; }
.cartao__titulo a { display: inline-flex; align-items: center; min-height: 2.75rem; margin: -0.25rem 0; }
.wa-balao { min-height: 2.75rem; }
/* "Ver a unidade →": o fio dourado continua a 2 px do texto, como na borda de antes, e a caixa do link passa a 44 px */
.seta { line-height: 1.7; padding: 0.625rem 0; margin: -0.5rem 0; border-bottom: 0;
  background: linear-gradient(var(--ouro), var(--ouro)) 0 calc(100% + 3px) / 100% 1px no-repeat content-box border-box; }
@media (forced-colors: active) { .seta { text-decoration: underline; } }
.sem-quebra { display: inline-block; } /* o CNPJ não parte no hífen, salvo com a letra muito ampliada */
@media (min-width: 1000px) { .menu__titulo, .menu__grupo--solto .menu__titulo { min-height: 2.75rem; display: inline-flex !important; align-items: center; } }
.foto__moldura picture { display: block; height: 100%; }
.indice-areas__titulo { margin: 0; } .indice-areas__resumo { margin: 0.2rem 0 0; }
/* página atual no menu: também no título solto (Dra. Ana Paula), que tem cor própria com !important */
.menu .menu__titulo[aria-current="page"] { color: var(--ouro-texto) !important; }
/* letra ampliada pelo navegador (WCAG 1.4.4): palavra longa quebra em vez de empurrar a página para o lado */
main, .rodape, .cookies { overflow-wrap: break-word; }
.sobretitulo { flex-wrap: wrap; row-gap: 0.4rem; overflow-wrap: anywhere; }
td, th, address, .cartao, .indice-areas__titulo, a[href^="mailto:"], .rodape li a { overflow-wrap: anywhere; } /* o @ do Instagram é uma palavra só */
.cartao, .texto, .unidade__dados, .abertura__texto, .rodape__grade > *, .faixa__cabeca > *, .credenciais li > * { min-width: 0; }
.credenciais strong { overflow-wrap: anywhere; }
/* celular: topo das páginas internas mais enxuto, para o botão de WhatsApp caber na primeira tela */
@media (max-width: 719px) {
  .cabeca { padding: 1.1rem 0 1.75rem; }
  .cabeca .migalha ol { margin-bottom: 0.9rem; }
  .cabeca .sobretitulo { margin-bottom: 0.7rem; }
  .cabeca h1 { font-size: 2.05rem; margin-bottom: 0.45em; }
  .cabeca .lide { font-size: 1.125rem; line-height: 1.58; margin-bottom: 1.1rem; }
}
@media (min-width: 1000px) { .passos.passos--contato { grid-template-columns: repeat(2, 1fr); } }
/* balão do WhatsApp dentro do texto: leva direto à conversa, com o código de origem da página */
.wa-balao { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0.1rem; padding: 0.15rem 0.75rem 0.15rem 0.55rem; border: 1px solid var(--preto); border-radius: 999px; background: var(--preto); color: var(--papel); font-weight: 650; text-decoration: none; white-space: nowrap; vertical-align: baseline; transition: background-color .2s, color .2s; }
.wa-balao .icone { width: 1.05em; height: 1.05em; }
.wa-balao:hover { background: var(--papel); color: var(--preto); }
/* celular: WhatsApp sempre à vista no topo fixo, ao lado do Menu (no computador o menu já tem o botão) */
.topo__wa { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.9rem; height: 2.9rem; background: var(--preto); color: var(--papel); border: 1px solid var(--preto); transition: background-color .2s; }
.topo__wa .icone { width: 1.35rem; height: 1.35rem; }
.topo__wa:hover { background: var(--tinta); }
.topo__barra { gap: 0.6rem; }
@media (min-width: 1000px) { .topo__wa { display: none; } }
@media (max-width: 399px) { .topo__marca img { width: 140px; } }
@media (max-width: 359px) {
  .topo__menu-botao { padding: 0 0.85rem; }
  .topo__menu-rotulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
