/* ==========================================================================
   Isidoro Gonçalves · Sociedade Individual de Advocacia
   Identidade do manual da marca: verde-petróleo, taupe e areia; Fahkwang nos
   títulos e Montserrat no texto. Texto sempre alinhado à esquerda; uma única
   cena animada (o ramo de oliveira da abertura) e o resto parado.
   ========================================================================== */

:root {
  /* Manual da marca: #143B40, #86756D, #D9D0C7, #E0DAD5, #FAFAFA */
  --petroleo: #143b40;
  --petroleo-2: #1d4a50;
  --tinta: #0d2a2e;
  --taupe: #86756d;
  --taupe-escuro: #655750;
  --areia: #d9d0c7;
  --linho: #e0dad5;
  --fundo: #fafafa;
  --campo: #ffffff;

  --titulo: #fafafa;
  --texto: #fafafa;
  --texto-suave: rgba(250, 250, 250, 0.78);
  --texto-claro: #fafafa;
  --texto-claro-suave: rgba(250, 250, 250, 0.78);
  --linha: rgba(250, 250, 250, 0.22);
  --linha-clara: rgba(250, 250, 250, 0.22);
  --erro: #9b2c1f;

  --serif: "Fahkwang", "Montserrat", "Segoe UI", system-ui, sans-serif;
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 76rem;
  --raio: .65rem;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: 6.5rem; background: var(--petroleo); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--petroleo);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--taupe);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible { outline-color: var(--areia); }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--fundo); color: var(--texto); padding: .6rem 1rem;
}
.skip:focus { top: .75rem; }

/* ---------- Tipografia ---------- */

.t-display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.15rem, 4.7vw, 4.1rem);
  line-height: 1.12;
  letter-spacing: -0.012em;
}
.t-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.008em;
}
.t-sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.3;
}
.t-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--texto-suave);
  max-width: 38rem;
  text-wrap: pretty;
}
.on-dark .t-lead { color: var(--texto-claro-suave); }
.t-small { font-size: .9rem; color: var(--texto-suave); }
.measure { max-width: 38rem; }
.measure p + p { margin-top: 1em; }

/* ---------- Estrutura ---------- */

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--linho { background: var(--linho); }
.on-dark { background: var(--petroleo); color: var(--texto-claro); }
.on-dark-2 { background: var(--petroleo-2); color: var(--texto-claro); }
.section__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

/* ---------- Botões e links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem; min-height: 3rem;
  border: 1px solid transparent; border-radius: var(--raio);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--petroleo); color: var(--texto-claro); }
.btn--solid:hover { background: var(--tinta); }
.btn--claro { background: var(--fundo); color: var(--petroleo); }
.btn--claro:hover { background: #fff; }
.btn--contorno { border-color: currentColor; background: transparent; }
.btn--contorno:hover { background: rgba(217, 208, 199, .16); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link {
  color: inherit; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .25em; text-decoration-color: var(--taupe);
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- Cabeçalho ---------- */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--texto-claro);
  transition: background-color .25s, color .25s, box-shadow .25s;
  padding-top: env(safe-area-inset-top, 0px);
}
.header--solid,
.header.is-scrolled {
  background: rgba(250, 250, 250, .96);
  color: var(--texto);
  box-shadow: 0 1px 0 var(--linha);
  backdrop-filter: blur(8px);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.brand { display: block; text-decoration: none; line-height: 0; flex: none; }
.brand__logo { height: clamp(2.2rem, 4vw, 3.1rem); width: auto; max-width: none; }
.brand__logo--escuro { display: none; }
.header--solid .brand__logo--claro,
.header.is-scrolled .brand__logo--claro,
.header.has-menu-open .brand__logo--claro { display: none; }
.header--solid .brand__logo--escuro,
.header.is-scrolled .brand__logo--escuro,
.header.has-menu-open .brand__logo--escuro { display: block; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav__link { text-decoration: none; font-size: .98rem; padding-block: .4rem; border-bottom: 1px solid transparent; }
.nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: currentColor; }
.header .btn { padding: .65rem 1.1rem; min-height: 2.6rem; font-size: .95rem; }
.header:not(.is-scrolled):not(.header--solid) .btn--solid { background: var(--fundo); color: var(--petroleo); }
/* Com o menu do celular aberto o painel é claro: o botão volta a ser escuro, senão fica branco sobre branco. */
.header.has-menu-open .btn--solid,
.header:not(.is-scrolled):not(.header--solid).has-menu-open .btn--solid { background: var(--petroleo); color: var(--texto-claro); }

.menu-btn {
  display: none; background: none; border: 1px solid currentColor; border-radius: var(--raio);
  width: 2.9rem; height: 2.9rem; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 1.3rem; height: 2px; background: currentColor; content: ""; position: relative;
  transition: transform .2s, background-color .2s;
}
.menu-btn__bars::before { position: absolute; top: -6px; }
.menu-btn__bars::after { position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 52rem) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fundo); color: var(--texto); padding: .5rem var(--gutter) 1.5rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12); display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding-block: 1rem; border-bottom: 1px solid var(--linha); font-size: 1.1rem; }
  .nav .btn { margin-top: 1.25rem; }
  .header.has-menu-open { background: var(--fundo); color: var(--texto); }
}

/* Cabeçalho largo: transparente no topo e verde-petróleo da marca ao rolar (texto e logo claros, botão bege). */
.header.is-scrolled, .header--solid, .header.has-menu-open {
  background: rgba(20, 59, 64, .96); color: var(--texto-claro); box-shadow: 0 1px 0 rgba(250, 250, 250, .12), 0 10px 26px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.header.is-scrolled .brand__logo--claro, .header--solid .brand__logo--claro, .header.has-menu-open .brand__logo--claro { display: block; }
.header.is-scrolled .brand__logo--escuro, .header--solid .brand__logo--escuro, .header.has-menu-open .brand__logo--escuro { display: none; }
.header.is-scrolled .btn--solid, .header--solid .btn--solid, .header.has-menu-open .btn--solid,
.header:not(.is-scrolled):not(.header--solid) .btn--solid,
.header:not(.is-scrolled):not(.header--solid).has-menu-open .btn--solid { background: var(--areia); color: var(--petroleo); }
.header.is-scrolled .btn--solid:hover, .header--solid .btn--solid:hover, .header.has-menu-open .btn--solid:hover { background: #fff; }
@media (max-width: 52rem) {
  .nav { background: var(--petroleo); color: var(--texto-claro); box-shadow: 0 12px 24px rgba(0, 0, 0, .3); }
  .nav__link { border-bottom-color: rgba(250, 250, 250, .18); }
  .header.has-menu-open { background: var(--petroleo); color: var(--texto-claro); }
}

/* ---------- Abertura ---------- */

.hero {
  position: relative; isolation: isolate; text-align: center;
  display: grid; align-items: center; min-height: min(100svh, 52rem);
  padding-top: clamp(8rem, 16vw, 11.5rem); padding-bottom: clamp(4rem, 8vw, 6.5rem);
  /* Fundo: troque --hero-img por uma foto (ex.: url("../img/hero.jpg")) e use size "cover". */
  --hero-img: url("../img/hero.jpg");
  --hero-size: cover;
  background:
    linear-gradient(rgba(20, 59, 64, .80), rgba(20, 59, 64, .88)),
    var(--hero-img) var(--hero-pos, center 40%) / var(--hero-size) no-repeat,
    var(--petroleo);
}
.hero__inner { display: grid; justify-items: center; gap: 2rem; max-width: 46rem; margin-inline: auto; }
.hero__word { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: .04em; color: var(--areia); display: grid; justify-items: center; gap: .9rem; }
.hero__word::after { content: ""; width: 3rem; height: 1px; background: var(--areia); opacity: .7; }
.hero__inner .t-lead { max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; margin-top: .5rem; }

@media (max-width: 52rem) {
  .hero { --hero-pos: 50% 40%; }
}

/* ---------- Cartões sobre a abertura ---------- */

.hero { padding-bottom: clamp(9rem, 14vw, 11.5rem); }
/* ---------- Cartões sobre a abertura ---------- */

.hero { padding-bottom: clamp(9rem, 14vw, 11.5rem); }
.destaques { position: relative; z-index: 2; margin-top: clamp(-7rem, -9vw, -5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.destaques__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); box-shadow: 0 18px 40px rgba(13, 42, 46, .28); }
.destaque { display: grid; justify-items: center; align-content: start; gap: .9rem; text-align: center; padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2rem); color: var(--texto-claro); }
.destaque:nth-child(1) { background: var(--tinta); }
.destaque:nth-child(2) { background: #123338; }
.destaque:nth-child(3) { background: var(--petroleo); }
.destaque__icon { color: var(--areia); }
.destaque__title { font-family: var(--serif); font-weight: 300; font-size: 1.4rem; line-height: 1.15; }
.destaque p { color: var(--texto-claro-suave); font-size: .95rem; max-width: 20rem; }
.destaque__link { margin-top: .25rem; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--areia); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15rem; }
.destaque__link:hover { color: #fff; }
@media (max-width: 52rem) {
  .destaques__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Botão flutuante do WhatsApp ---------- */

.wa-float {
  position: fixed; z-index: 50; right: max(1.25rem, env(safe-area-inset-right)); bottom: max(1.25rem, env(safe-area-inset-bottom));
  width: 3.75rem; height: 3.75rem; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #25d366;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transition: transform .2s ease, background-color .2s ease;
}
.wa-float:hover { transform: scale(1.08); background: #1fb855; }
.wa-float[hidden] { display: none; }

/* ---------- Áreas de atuação (seletor) ---------- */

.areas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.areas__list { display: grid; gap: .25rem; }
.areas__tab {
  display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--linha); cursor: pointer;
  padding: 1.1rem 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2;
  color: var(--texto-suave); transition: color .2s;
}
.areas__tab:hover { color: var(--texto); }
.areas__tab[aria-selected="true"] { color: var(--texto); }
.leaf-mark {
  flex: none; width: .55em; height: .55em; border-radius: 0 100% 0 100%; background: var(--taupe);
  transform: rotate(-12deg) scale(0); transition: transform .25s;
}
.areas__tab[aria-selected="true"] .leaf-mark { transform: rotate(-12deg) scale(1); }

.areas__panel { display: grid; gap: 2rem; }
.areas__panel[hidden] { display: none; }
.story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2.5rem; }
.story__item { display: grid; gap: .35rem; align-content: start; }
.story__item h3 { font-family: var(--sans); font-weight: 700; font-size: 1rem; }
.story__item p { color: var(--texto-suave); }
.areas__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

@media (max-width: 52rem) {
  .areas { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Diferencial / foto ---------- */

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.photo--wide img { aspect-ratio: 4 / 3; }
.photo figcaption { margin-top: .6rem; font-size: .85rem; color: var(--texto-suave); }
.on-dark .photo figcaption { color: var(--texto-claro-suave); }
.principles { display: grid; gap: 1.5rem; margin-top: 2rem; }
.principles li { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: start; }
.principles .leaf-mark { transform: rotate(-12deg) scale(1); margin-top: .5rem; }
.principles h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; }
.principles p { grid-column: 2; color: var(--texto-suave); }

@media (max-width: 52rem) {
  .split, .split--reverse { grid-template-columns: minmax(0, 1fr); }
  .photo img { aspect-ratio: 4 / 3; }
}

/* ---------- Honorários ---------- */

.honorarios { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.honorarios .t-lead { max-width: none; }
@media (max-width: 52rem) { .honorarios { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Oliveira ---------- */

.oliveira__quote {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.3; letter-spacing: -0.005em; max-width: 48rem;
}
.oliveira__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.oliveira__item { display: grid; gap: .6rem; align-content: start; border-top: 1px solid var(--linha-clara); padding-top: 1.1rem; }
.oliveira__item h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.oliveira__fact { color: var(--areia); }
.oliveira__meaning { color: var(--texto-claro-suave); }
@media (max-width: 52rem) { .oliveira__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Valores ---------- */

.values { display: flex; flex-wrap: wrap; gap: .6rem; }
.values li { border: 1px solid var(--linha); border-radius: 999px; padding: .4rem 1rem; font-size: .98rem; }
.mvv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 5rem); }
.mvv__item { display: grid; gap: .5rem; align-content: start; }
.mvv__item h3 { font-family: var(--sans); font-weight: 700; font-size: 1rem; }
.mvv__item--full { grid-column: 1 / -1; }
@media (max-width: 52rem) { .mvv { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Blog ---------- */

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
.post {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 1rem; align-content: start;
  padding-block: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--linha);
}
.post__area { display: inline-flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--taupe-escuro); }
.post__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.25; color: var(--titulo); }
.post__text { color: var(--texto-suave); }
.post__status { justify-self: start; font-size: .9rem; color: var(--texto-suave); }
@media (max-width: 60rem) {
  .posts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Páginas internas ---------- */

.page-head { padding-top: clamp(8rem, 14vw, 10.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-head .t-lead { margin-top: 1.25rem; }
/* Cabeçalho de página interna sobre foto: estátua da Justiça por padrão, oliveiras em Sobre. */
.page-head--foto {
  /* Mesma altura de banner em Sobre, Serviços e Blog, com o texto sempre na mesma posição. */
  display: flex; align-items: flex-end; min-height: max(22rem, 34vw);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  background:
    var(--ph-veil, linear-gradient(90deg, rgba(20, 59, 64, .90) 0%, rgba(20, 59, 64, .70) 55%, rgba(20, 59, 64, .50) 100%)),
    var(--ph-img, url("../img/estatua.jpg")) var(--ph-pos, 80% 12%) / cover no-repeat,
    var(--petroleo);
}
.page-head--mesa {
  --ph-img: url("../img/sala.jpg"); --ph-pos: 50% 62%;
  --ph-veil: linear-gradient(90deg, rgba(20, 59, 64, .90) 0%, rgba(20, 59, 64, .72) 55%, rgba(20, 59, 64, .55) 100%);
}
.page-head--pena { --ph-img: url("../img/pena.jpg"); --ph-pos: 50% 82%; }
.page-head--foto > .container { width: 100%; }
.page-head--foto .t-lead { color: var(--texto-claro-suave); max-width: 38rem; }

/* ---------- Áreas de atuação (página Serviços) ---------- */

.svc-nav {
  position: sticky; top: 4.6rem; z-index: 20; display: flex; gap: .35rem; padding: .4rem; margin-top: clamp(1.5rem, 3vw, 2.25rem);
  width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  background: rgba(250, 250, 250, .94); backdrop-filter: blur(8px);
  border: 1px solid var(--linha); border-radius: 999px; box-shadow: 0 6px 20px rgba(13, 42, 46, .08);
}
.svc-nav::-webkit-scrollbar { display: none; }
.svc-nav a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; white-space: nowrap;
  color: var(--texto-suave); text-decoration: none; transition: background-color .2s, color .2s;
}
.svc-nav a:hover { color: var(--texto); background: rgba(20, 59, 64, .07); }
.svc-nav a[aria-current="true"] { background: var(--petroleo); color: var(--texto-claro); }

.svc { padding-block: clamp(2.5rem, 5vw, 4rem) 0; scroll-margin-top: 8rem; }
.svc + .svc { border-top: 1px solid var(--linha); margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); }
.svc:last-of-type { padding-bottom: clamp(3rem, 6vw, 5rem); }
.svc__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: start; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.svc__head .t-lead { margin-top: 1rem; color: var(--texto-suave); max-width: 34rem; }
.svc__label { font-size: .9rem; color: var(--texto-suave); margin-bottom: .6rem; }
.svc__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.svc__chips li { padding: .4rem .9rem; border: 1px solid var(--linha); border-radius: 999px; font-size: .92rem; background: #fff; }

/* Quatro passos em linha: o leitor se reconhece e chega à solução, onde fica o botão. */
.svc__path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 1rem; counter-reset: none; }
.svc__step {
  display: grid; align-content: start; gap: .6rem; padding: clamp(1.25rem, 2vw, 1.75rem);
  background: var(--linho); border-radius: var(--raio);
}
.svc__n { font-family: var(--serif); font-weight: 300; font-size: 2rem; line-height: 1; color: var(--taupe-escuro); }
.svc__step h3 { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--titulo); }
.svc__step p { color: var(--texto-suave); font-size: .96rem; }
.svc__step.is-solucao { background: var(--petroleo); }
.svc__step.is-solucao .svc__n { color: var(--areia); }
.svc__step.is-solucao h3 { color: var(--texto-claro); }
.svc__step.is-solucao p { color: var(--texto-claro-suave); }
.svc__step.is-solucao .btn { justify-self: start; margin-top: .75rem; white-space: nowrap; }

@media (max-width: 70rem) { .svc__path { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 52rem) {
  .svc-nav a { padding: 0 .9rem; }
  .svc__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .svc-nav { top: 4.25rem; }
}
@media (max-width: 40rem) { .svc__path { grid-template-columns: minmax(0, 1fr); } }

.steps { display: grid; gap: 1.1rem; counter-reset: passo; margin-top: 1.75rem; }
.steps li { counter-increment: passo; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; align-items: baseline; }
.steps li::before { content: counter(passo); font-family: var(--serif); font-size: 1.5rem; color: var(--taupe-escuro); }

/* ---------- Formulário ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 52rem) { .contact { grid-template-columns: minmax(0, 1fr); } }

.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
@media (max-width: 40rem) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .45rem; min-width: 0; align-content: start; }
.field label, .field legend { font-weight: 500; font-size: .9rem; color: var(--titulo); padding: 0; letter-spacing: .01em; }
.field__hint { font-weight: 400; color: var(--texto-suave); }

/* Campos: cantos arredondados, borda visível e foco claro. O fundo muda só em background-color,
   para não apagar a seta das listas. */
.input, .select, .textarea {
  width: 100%; background-color: rgba(255, 255, 255, .85); color: var(--texto);
  border: 1px solid rgba(20, 59, 64, .28); border-radius: var(--raio);
  padding: .85rem 1.1rem; min-height: 3.25rem; line-height: 1.4;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--texto-suave); opacity: .75; }
.input:hover, .select:hover, .textarea:hover { background-color: #fff; border-color: rgba(20, 59, 64, .55); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: none; background-color: #fff; border-color: var(--petroleo); box-shadow: 0 0 0 3px rgba(20, 59, 64, .16);
}
.textarea { min-height: 9rem; resize: vertical; }

.select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23143b40' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 7 7.500 13 1.500'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; background-size: .85rem auto;
}
.select:invalid, .select option[value=""] { color: var(--texto-suave); }
.select option { color: var(--texto); }

.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--erro); box-shadow: 0 0 0 3px rgba(155, 44, 31, .14); }
.field__error { color: var(--erro); font-size: .9rem; }
.field__error:empty { display: none; }

/* Caixa de autorização com marca própria, no lugar da nativa. */
.check { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; font-size: .92rem; color: var(--texto-suave); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 1.3rem; height: 1.3rem; margin-top: .1rem; cursor: pointer;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(20, 59, 64, .55); border-radius: .35rem; display: grid; place-content: center;
  transition: background-color .2s, border-color .2s;
}
.check input::before {
  content: ""; width: .7rem; height: .4rem; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .15s;
}
.check input:checked { background: var(--petroleo); border-color: var(--petroleo); }
.check input:checked::before { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible { outline: 2px solid var(--petroleo); outline-offset: 2px; }
.field.has-error .check input { border-color: var(--erro); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: .95rem; min-height: 1.4em; }
.form__status.is-error { color: var(--erro); }
.form-done { display: grid; gap: 1rem; padding: 2rem; background: var(--linho); border-radius: var(--raio); }
.form-done[hidden] { display: none; }
.demo-note { font-size: .88rem; color: var(--texto-suave); border-top: 1px solid var(--linha); padding-top: .75rem; }

.map-slot {
  min-height: 15rem; display: grid; place-items: center; text-align: center; padding: 1.5rem;
  border: 1px dashed rgba(20, 59, 64, .4); color: var(--texto-suave);
}

/* ---------- Rodapé ---------- */

.footer { padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); }
.footer h2 { font-family: var(--sans); font-weight: 700; font-size: 1rem; margin-bottom: .75rem; }
.footer li + li { margin-top: .4rem; }
.footer .brand__logo { height: 3rem; }
.footer__contact { display: grid; gap: .5rem; font-style: normal; color: var(--texto-claro-suave); }
.footer__contact a { color: var(--texto-claro); }
.footer__map { margin-top: clamp(2rem, 4vw, 3rem); min-height: 12rem; }
.footer .map-slot { color: var(--texto-claro-suave); border-color: var(--linha-clara); background: transparent; }
.footer__legal { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.25rem; border-top: 1px solid var(--linha-clara); font-size: .85rem; color: var(--texto-claro-suave); display: grid; gap: .4rem; }
.todo { background: rgba(217, 208, 199, .22); padding: 0 .3em; border-radius: 2px; }
@media (max-width: 52rem) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cookies ---------- */

.consent {
  position: fixed; z-index: 60; left: var(--gutter); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  max-width: 27rem; background: var(--petroleo-2); color: var(--texto-claro);
  padding: 1.1rem 1.25rem; border-radius: var(--raio); box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
  display: grid; gap: .9rem; font-size: .92rem;
}
.consent[hidden] { display: none; }
.consent p { color: var(--texto-claro-suave); }
.consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent .btn { padding: .55rem 1rem; min-height: 2.5rem; font-size: .92rem; }
@media (max-width: 40rem) { .consent { right: var(--gutter); max-width: none; } }

/* ---------- Usabilidade ---------- */

.form__note { font-size: .9rem; color: var(--texto-suave); }
.form-done__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
/* Em telas pequenas o aviso de cookies ocupa a largura toda: o botão do WhatsApp sobe para não ficar por baixo. */
@media (max-width: 40rem) {
  body:has(.consent:not([hidden])) .wa-float { bottom: 11.5rem; }
}

/* ---------- Carrossel de fotos ---------- */

.carousel { display: grid; gap: .9rem; min-width: 0; }
.carousel__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { flex: none; width: 100%; scroll-snap-align: start; position: relative; }
.carousel__slide img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.carousel__caption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem .9rem; font-size: .9rem; color: #fff;
  background: linear-gradient(transparent, rgba(13, 42, 46, .72));
}
.carousel__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.carousel__count { font-size: .9rem; color: var(--texto-suave); font-variant-numeric: tabular-nums; }
.carousel__btn {
  width: 2.9rem; height: 2.9rem; display: grid; place-items: center; cursor: pointer;
  background: none; color: var(--petroleo); border: 1px solid var(--linha); border-radius: 50%;
  font-size: 1.6rem; line-height: 1; transition: background-color .2s, color .2s, border-color .2s;
}
.carousel__btn:hover:not(:disabled) { background: var(--petroleo); color: var(--texto-claro); border-color: var(--petroleo); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
@media (prefers-reduced-motion: no-preference) { .carousel__track { scroll-behavior: smooth; } }
@media (max-width: 52rem) { .carousel__slide img { aspect-ratio: 4 / 3; } }

/* ---------- Sobre: texto de abertura ---------- */

.sobre { align-items: start; }
.sobre__text { display: grid; gap: 1.5rem; max-width: 34rem; }
.sobre__lead { font-family: var(--serif); font-weight: 300; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.5; color: var(--titulo); }
.sobre__sign { display: grid; gap: 1.5rem; margin-top: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--linha); }
@media (min-width: 52.01rem) { .sobre .carousel { position: sticky; top: 6.5rem; } }

/* ---------- Faixa da oliveira (início) ---------- */

.section--arvore { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(4rem, 8vw, 7rem); }
.section--arvore .container { position: relative; z-index: 1; }
.section--arvore .oliveira__quote { max-width: 30rem; }
/* Marca d'água: símbolo inteiro, translúcido, dentro da faixa e atrás do texto. */
.section__arvore {
  position: absolute; z-index: 0; right: clamp(1rem, 8vw, 9rem); top: 50%; transform: translateY(-50%);
  height: 92%; width: auto; max-width: none; opacity: .10; pointer-events: none;
}
@media (max-width: 52rem) {
  .section__arvore { right: -1.5rem; height: 70%; opacity: .09; }
}


/* ---------- Sobre: a oliveira (as partes da árvore explicam o escritório) ---------- */

.oli3 { padding-block: clamp(2rem, 4vw, 3rem); }
.oli3__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.oli3__figure { position: relative; margin: 0; width: 100%; justify-self: start; }
.oli3__figure img { width: 100%; height: auto; display: block; }
.oli3__dot {
  position: absolute; width: .7rem; height: .7rem; margin: -.35rem 0 0 -.35rem; border-radius: 50%;
  background: var(--areia); box-shadow: 0 0 0 .35rem rgba(217, 208, 199, .22);
}
.oli3__dot i {
  position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); font-style: normal; font-size: .85rem;
  color: var(--texto-claro); background: var(--petroleo-2); padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--linha-clara); white-space: nowrap;
}
.oli3 .oliveira__quote { max-width: 30rem; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.3; }
.oli3__list { margin-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--linha-clara); }
.oli3__item { display: grid; gap: .35rem; padding-block: 1.1rem; border-bottom: 1px solid var(--linha-clara); }
.oli3__item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.1; }
.oli3__fact { color: var(--texto-claro-suave); font-size: .92rem; line-height: 1.55; }
.oli3__meaning { color: var(--areia); font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.05rem; line-height: 1.4; }
@media (max-width: 52rem) {
  .oli3__grid { grid-template-columns: minmax(0, 1fr); }
  .oli3__figure { max-width: 26rem; order: 2; margin: 0 auto; }
}

/* ---------- Sobre: o advogado ---------- */

.advogado-sec { padding-block: clamp(4rem, 8vw, 7rem); }
.advogado { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.advogado__foto { margin: 0; position: relative; max-width: 28rem; }
/* Moldura deslocada, só uma linha fina: dá profundidade sem peso. */
.advogado__foto::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1px solid var(--taupe); border-radius: var(--raio); z-index: 0;
}
.advogado__foto img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: var(--raio); display: block; }
.advogado__texto { display: grid; gap: 1.1rem; max-width: 36rem; min-width: 0; }
.advogado__lead { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.15rem; color: var(--taupe-escuro); }
.advogado__nome { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.7vw, 2.4rem); line-height: 1.15; color: var(--titulo); }
@media (min-width: 64rem) { .advogado__nome { white-space: nowrap; } }
.advogado__cargo { font-size: .92rem; color: var(--texto-suave); padding-bottom: 1.25rem; border-bottom: 1px solid var(--linha); }
.advogado__bio { display: grid; gap: 1rem; margin-top: .5rem; color: var(--texto-suave); }
.advogado__cta { justify-self: start; font-weight: 600; color: var(--titulo); margin-top: .5rem; }
@media (max-width: 52rem) {
  .advogado { grid-template-columns: minmax(0, 1fr); }
  .advogado__foto { max-width: 22rem; margin-right: 1.25rem; }
}


/* ---------- Início: refinamento dos cartões e da seleção de áreas ---------- */

.destaques__grid { gap: 1rem; box-shadow: none; }
.destaque { border-radius: var(--raio); box-shadow: 0 14px 34px rgba(13, 42, 46, .25); transition: transform .25s; }
.destaque:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .destaque:hover { transform: none; } }
.destaque__link { min-height: 2.75rem; display: inline-flex; align-items: center; }

#areas.section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
#areas .areas__tab { min-height: 3.75rem; }
#areas .areas__tab[aria-selected="true"] { border-bottom-color: var(--petroleo); }
#areas .story { gap: 0 2.5rem; }
#areas .story__item { padding-block: 1.1rem; border-top: 1px solid var(--linha); }
#areas .story__item:nth-child(-n+2) { border-top-color: var(--petroleo); }
#areas .story__item:last-child, #areas .story__item:nth-child(4) { background: var(--linho); border-radius: var(--raio); border-top-color: transparent; padding-inline: 1rem; }
@media (max-width: 52rem) {
  #areas .story__item:nth-child(2) { border-top-color: var(--linha); }
}

/* ---------- Formulário compacto ---------- */

.form { gap: 1rem; }
.form__row { gap: 1rem; }
.field { gap: .3rem; }
.field label, .field legend { font-size: .85rem; }
.input, .select, .textarea { min-height: 2.85rem; padding: .6rem .9rem; font-size: .95rem; }
.select { padding-right: 2.5rem; background-position: right .9rem center; }
.textarea { min-height: 5.5rem; }
.form__note { font-size: .85rem; }
.check { font-size: .85rem; gap: .65rem; }
.field__hint { font-size: .85rem; }
.field__error:empty { display: none; }
.form .btn { min-height: 2.85rem; padding-block: .7rem; }
.contact { gap: clamp(1.5rem, 5vw, 4rem); }
.contact .steps { gap: .6rem; margin-top: 1.25rem; }
.contact .steps li { font-size: .95rem; }
#contato.section { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Fotos padronizadas: todas com o mesmo canto arredondado ---------- */

.photo img { border-radius: var(--raio); }
.carousel__track { border-radius: var(--raio); }
.map-slot { border-radius: var(--raio); }

/* Moldura fina deslocada atrás da foto (mesmo detalhe do retrato do advogado). */
.photo--moldura { position: relative; }
.photo--moldura::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1px solid var(--taupe); border-radius: var(--raio); z-index: 0;
}
.photo--moldura img { position: relative; z-index: 1; }
@media (max-width: 52rem) { .photo--moldura { margin-right: 1.25rem; margin-bottom: 1.25rem; } }

/* Título da abertura: menor, em duas linhas fixas a partir de telas médias. */
.hero .t-display { font-size: clamp(1.8rem, 3.5vw, 3rem); text-wrap: balance; }
@media (min-width: 40rem) { .hero__linha { display: block; white-space: nowrap; } }

/* ---------- Seção escura com texto bege (blog, início) ---------- */

.section--bege { background: var(--petroleo); color: var(--areia); }
.section--bege .t-title { color: var(--areia); }
.section--bege .t-lead { color: rgba(217, 208, 199, .82); }
.section--bege .post__title { color: var(--areia); }
.section--bege .post__area { color: rgba(217, 208, 199, .7); }
.section--bege .post__text, .section--bege .post__status { color: rgba(217, 208, 199, .75); }
.section--bege .post { border-top-color: rgba(217, 208, 199, .25); }
.section--bege .link { text-decoration-color: rgba(217, 208, 199, .6); }

/* Mapa */
.map-slot.is-loaded { padding: 0; border: 0; overflow: hidden; }
.map-slot iframe { width: 100%; height: 100%; min-height: 18rem; border: 0; display: block; }
.map-slot__ask { display: grid; justify-items: center; gap: .9rem; max-width: 24rem; }
.map-slot__ask p { font-size: .92rem; }
.footer .map-slot__ask .btn--solid { background: var(--areia); color: var(--petroleo); }
.split .map-slot { align-self: stretch; }
.split .map-slot.is-loaded iframe { min-height: 24rem; height: 100%; }

/* ---------- Início: honorários ---------- */

.hon { padding-block: clamp(3.5rem, 7vw, 6rem); }
.hon__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.hon__intro { display: grid; gap: 1.25rem; }
.hon__intro .t-lead { max-width: 28rem; }
.hon__quote {
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.45;
  color: var(--titulo); padding-left: 1.25rem; border-left: 2px solid var(--taupe); max-width: 28rem; margin-top: .5rem;
}
.hon__side { display: grid; gap: 2rem; }
.hon__list { border-top: 1px solid var(--linha); }
.hon__list li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .25rem 1.5rem; padding-block: 1.1rem; border-bottom: 1px solid var(--linha); align-items: baseline; }
.hon__list h3 { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--titulo); }
.hon__list p { color: var(--texto-suave); }
.hon__side .btn { justify-self: start; }
@media (max-width: 52rem) {
  .hon__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .hon__list li { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Quebra de linha em todo o site ---------- */
/* Títulos, destaques e frases curtas: linhas equilibradas, sem palavra solta no fim. */
h1, h2, h3, h4, .t-display, .t-title, .t-sub, .t-lead, .oliveira__quote, .hon__quote,
.post__title, .advogado__lead, .advogado__nome, .destaque__title, .section__head p { text-wrap: balance; }
/* Texto corrido: balanceado (até 6 linhas) para não sobrar uma ou duas palavras na última linha. */
p, li, figcaption, address { text-wrap: balance; }
/* Cada frase do destaque começa em uma linha nova a partir de telas médias. */
@media (min-width: 40rem) { .hon__quote span { display: block; } }

/* ---------- Início: áreas em abas horizontais ---------- */

#areas .areas { grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.25rem); }
#areas .areas__list { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
#areas .areas__tab {
  width: auto; min-height: 3rem; padding: .55rem 1.35rem; border: 1px solid var(--linha); border-radius: 999px; gap: .6rem;
  font-size: 1.05rem; background: transparent; color: var(--texto-suave);
}
#areas .areas__tab:hover { color: var(--texto); border-color: var(--taupe); }
#areas .areas__tab[aria-selected="true"] { background: var(--petroleo); border-color: var(--petroleo); color: var(--texto-claro); }
#areas .areas__tab .leaf-mark { display: none; }

.ap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1rem, 2.5vw, 1.5rem); align-items: stretch; }
.ap__rows { border-top: 1px solid var(--linha); align-self: start; }
.ap__row { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: .25rem 1.5rem; padding-block: 1.25rem; border-bottom: 1px solid var(--linha); }
.ap__row dt { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--titulo); }
.ap__row dd { margin: 0; color: var(--texto-suave); }
.ap__solve {
  display: grid; align-content: start; gap: .9rem; padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--petroleo); color: var(--texto-claro); border-radius: var(--raio);
}
.ap__solve h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; color: var(--areia); }
.ap__solve p { color: var(--texto-claro-suave); }
.ap__solve .areas__cta { margin-top: .5rem; }
.ap__solve .btn--solid { background: var(--areia); color: var(--petroleo); }
.ap__solve .btn--solid:hover { background: #fff; }
.ap__solve .link { text-decoration-color: rgba(217, 208, 199, .6); }
/* Nestas colunas estreitas, quebra normal: o balanceamento deixava as linhas curtas demais. */
.ap p, .ap dd, .ap dt { text-wrap: wrap; }
@media (max-width: 60rem) { .ap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) {
  .ap__row { grid-template-columns: minmax(0, 1fr); }
  #areas .areas__tab { padding-inline: 1.05rem; font-size: 1rem; }
}

/* ---------- Serviços: situações atendidas, abaixo dos quatro passos ---------- */

.svc__head { grid-template-columns: minmax(0, 1fr); gap: 0; }
.svc__head .t-lead { max-width: 40rem; }
.svc__more { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: clamp(1.25rem, 2.5vw, 1.75rem); padding-top: clamp(1.1rem, 2vw, 1.5rem); border-top: 1px solid var(--linha); }
.svc__more .svc__label { margin: 0; }
/* Nos cartões estreitos, quebra normal: o balanceamento deixava linhas curtas demais. */
.svc__step p, .svc__more li { text-wrap: wrap; }

/* O rótulo segue o mesmo estilo dos títulos dos cartões (Sua situação, O que pesa...). */
.svc__more .svc__label { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--titulo); }
.svc__more { padding-left: clamp(1rem, 2vw, 1.75rem); }

/* Mesma disposição nas três áreas: rótulo em cima, etiquetas embaixo. */
.svc__more { display: grid; gap: .75rem; align-items: start; }

/* ---------- Sobre: oliveira interativa (o item ilumina a parte da árvore) ---------- */

.oli3 .oliveira__quote { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.25; max-width: 32rem; }
.oli3__list { border-top: 0; margin-top: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: .75rem; }
.oli3__item {
  display: grid; gap: .35rem; padding: .95rem 1.25rem; border: 1px solid var(--linha-clara); border-bottom: 1px solid var(--linha-clara);
  border-radius: var(--raio); background: rgba(250, 250, 250, .04); transition: background-color .25s, border-color .25s;
}
.oli3__item:hover, .oli3__item:focus-visible { background: rgba(250, 250, 250, .1); border-color: rgba(217, 208, 199, .55); outline: none; }
.oli3__item h3 { font-size: 1.3rem; }
.oli3__fact { font-size: .95rem; }
.oli3__meaning { display: flex; align-items: baseline; gap: .6rem; margin-top: .3rem; padding-top: .7rem; border-top: 1px solid var(--linha-clara); font-size: 1.1rem; }
.oli3__meaning .leaf-mark { transform: rotate(-12deg) scale(1); background: var(--areia); flex: none; }
.oli3__dot { transition: transform .25s, box-shadow .25s, opacity .25s; }
.oli3__dot i { transition: background-color .25s, color .25s; }
.oli3__figure .oli3__dot { opacity: .75; }
/* Passando o mouse (ou focando) num item, a parte correspondente da árvore se destaca. */
.oli3__grid:has(.oli3__item[data-p="folha"]:is(:hover, :focus-visible)) .oli3__dot[data-p="folha"],
.oli3__grid:has(.oli3__item[data-p="tronco"]:is(:hover, :focus-visible)) .oli3__dot[data-p="tronco"],
.oli3__grid:has(.oli3__item[data-p="raiz"]:is(:hover, :focus-visible)) .oli3__dot[data-p="raiz"] {
  opacity: 1; transform: scale(1.2); box-shadow: 0 0 0 .5rem rgba(217, 208, 199, .25);
}
.oli3__grid:has(.oli3__item[data-p="folha"]:is(:hover, :focus-visible)) .oli3__dot[data-p="folha"] i,
.oli3__grid:has(.oli3__item[data-p="tronco"]:is(:hover, :focus-visible)) .oli3__dot[data-p="tronco"] i,
.oli3__grid:has(.oli3__item[data-p="raiz"]:is(:hover, :focus-visible)) .oli3__dot[data-p="raiz"] i { background: var(--areia); color: var(--petroleo); }
@media (prefers-reduced-motion: reduce) { .oli3__dot, .oli3__dot i, .oli3__item { transition: none; } }

/* Oliveira (Sobre): tipografia mais compacta. */
.oli3 .oliveira__quote { font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.3; max-width: 28rem; }
.oli3__item h3 { font-size: 1.1rem; }
.oli3__fact { font-size: .88rem; line-height: 1.5; }
.oli3__meaning { font-size: .95rem; line-height: 1.4; }
.oli3__item { padding: .8rem 1.1rem; gap: .25rem; }
.oli3__list { gap: .6rem; }

/* ---------- Sobre: a história em coluna editorial ---------- */

.historia { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.historia__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.historia__rotulo { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--titulo); padding-top: .55rem; border-top: 1px solid var(--petroleo); width: fit-content; min-width: 6rem; }
.historia__texto { display: grid; gap: 1.5rem; max-width: 40rem; }
.historia__texto .sobre__lead { font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.5; text-wrap: pretty; }
.historia__texto p:not(.sobre__lead) { color: var(--texto-suave); font-size: 1.05rem; text-wrap: pretty; }
@media (max-width: 52rem) { .historia__grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
/* Carrossel na seção do ambiente: acompanha a altura do texto ao lado. */
section[aria-labelledby="titulo-ambiente"] .carousel { max-width: 36rem; }

/* ---------- Sobre: retrato e história juntos ---------- */

.advogado__id { display: grid; gap: .5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--linha); }
.advogado__id .advogado__cargo { padding: 0; border: 0; }
.advogado__historia { display: grid; gap: 1.25rem; }
.advogado__historia .sobre__lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; text-wrap: pretty; }
.advogado__historia p:not(.sobre__lead) { color: var(--texto-suave); text-wrap: pretty; }
.advogado__bio-pendente { font-size: .9rem; }
.advogado__texto .btn { justify-self: start; }
.advogado__texto { max-width: 38rem; }

/* Marca d'água: metade da oliveira, grande, cortada pela borda direita da seção. */
.section--marca { position: relative; overflow: hidden; isolation: isolate; }
.section--marca .container { position: relative; z-index: 1; }
.section__marca {
  position: absolute; z-index: 0; top: 50%; right: 0; width: clamp(26rem, 52vw, 52rem); height: auto;
  transform: translate(50%, -50%); pointer-events: none;
}
@media (max-width: 52rem) { .section__marca { width: 24rem; } }

/* Áreas (início): coluna dos rótulos mais larga, para "O risco de esperar" não encostar no texto. */
.ap__row { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: .25rem 2rem; }
@media (max-width: 40rem) { .ap__row { grid-template-columns: minmax(0, 1fr); } }

/* Carrossel com a mesma moldura fina deslocada das outras fotos. */
.carousel { gap: 2.25rem; padding-right: 1.25rem; }
.carousel__stage { position: relative; }
.carousel__stage::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1px solid var(--taupe); border-radius: var(--raio); z-index: 0;
}
.carousel__track { position: relative; z-index: 1; }

/* =====================================================================
   TEMA VERDE: a página é verde-petróleo, com blocos nos marrons claros.
   Escopo claro (texto verde) só onde o fundo é bege: faixas de respiro e blocos.
   ===================================================================== */

.section--linho, .svc__step, .ap__solve, .form-done, .destaque, .luz {
  --titulo: #143b40; --texto: #143b40; --texto-suave: #4b5f62; --linha: rgba(20, 59, 64, .18);
}
.section--linho, .svc__step, .ap__solve, .form-done, .destaque, .luz { color: var(--texto); }

/* Botões */
.btn--solid { background: var(--areia); color: var(--petroleo); }
.btn--solid:hover { background: #fff; }
.section--linho .btn--solid, .svc__step .btn--solid, .ap__solve .btn--solid, .form-done .btn--solid, .luz .btn--solid { background: var(--petroleo); color: var(--texto-claro); }
.section--linho .btn--solid:hover, .svc__step .btn--solid:hover, .ap__solve .btn--solid:hover, .form-done .btn--solid:hover, .luz .btn--solid:hover { background: var(--tinta); }
.section--linho .link, .luz .link { text-decoration-color: rgba(20, 59, 64, .5); }

/* Faixas e blocos nos marrons claros: um tom por bloco */
.destaque:nth-child(1), .svc__step:nth-child(1) { background: #e0dad5; }
.destaque:nth-child(2), .svc__step:nth-child(2) { background: #d9d0c7; }
.destaque:nth-child(3), .svc__step:nth-child(3) { background: #cfc4ba; }
.svc__step.is-solucao { background: #c4b7ab; }
.destaque, .destaque__icon, .destaque__title, .destaque p, .destaque__link { color: #143b40; }
.destaque p { color: #3d5256; }
.destaque__link:hover { color: #0d2a2e; }
.destaque__icon { color: #655750; }
.svc__n, .svc__step.is-solucao .svc__n { color: #655750; }
.svc__step.is-solucao h3, .svc__step.is-solucao p, .svc__step p, .svc__step h3 { color: #143b40; }
.svc__step p { color: #3d5256; }
.ap__solve { background: #d9d0c7; }
.ap__solve h3 { color: #143b40; }
.ap__solve p { color: #3d5256; }
.ap__solve .link { text-decoration-color: rgba(20, 59, 64, .5); }
.form-done { background: var(--linho); }

/* Navegação da página de serviços e etiquetas, agora sobre verde */
.svc-nav { background: rgba(13, 42, 46, .92); border-color: rgba(250, 250, 250, .16); }
.svc-nav a { color: var(--texto-suave); }
.svc-nav a:hover { color: #fff; background: rgba(250, 250, 250, .1); }
.svc-nav a[aria-current="true"] { background: var(--areia); color: var(--petroleo); }
.svc__chips li { background: transparent; color: var(--texto); }
#areas .areas__tab[aria-selected="true"] { background: var(--areia); border-color: var(--areia); color: var(--petroleo); }
#areas .areas__tab:hover { border-color: var(--areia); }
.carousel__btn { color: var(--titulo); }
.carousel__btn:hover:not(:disabled) { background: var(--areia); color: var(--petroleo); border-color: var(--areia); }
.hon__quote { border-left-color: var(--areia); }
.historia__rotulo { border-top-color: var(--areia); }

/* Rodapé e fim da página: nada de faixa branca */
.footer { border-top: 1px solid var(--linha); }

/* ---------- Abertura v2: "Resiliência." em destaque, oliveira inteira esmaecida à direita ---------- */

.hero--v2 {
  text-align: left; display: grid; align-items: center; min-height: min(100svh, 50rem);
  background: radial-gradient(ellipse at 78% 45%, #1d4a50 0%, var(--petroleo) 62%);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero__arvore {
  position: absolute; z-index: 0; right: clamp(-6rem, -2vw, 0rem); bottom: -4%; width: min(52vw, 46rem); height: auto;
  opacity: .38; pointer-events: none;
}
.hero--v2 .container { position: relative; z-index: 1; }
.hero__inner--esq { justify-items: start; max-width: 40rem; margin-inline: 0; gap: 1.5rem; }
.hero__resiliencia {
  font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 9vw, 7.5rem); line-height: 1; letter-spacing: -.02em; color: var(--texto-claro);
}
.hero--v2 .hero__frase { font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 2.4vw, 1.9rem); line-height: 1.25; color: var(--areia); }
.hero--v2 .hero__actions { justify-content: flex-start; }
.hero--v2 .t-lead { max-width: 30rem; }
@media (max-width: 52rem) { .hero__arvore { width: 90vw; right: -25vw; opacity: .22; } }

/* ---------- Botões laterais fixos (Fale conosco e redes) ---------- */

.lateral { position: fixed; z-index: 45; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: .5rem; }
.lateral__btn {
  display: flex; align-items: center; gap: .6rem; justify-content: flex-start; width: 3rem; height: 3rem; padding: 0 .85rem; overflow: hidden;
  background: var(--areia); color: var(--petroleo); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap;
  border-radius: 999px 0 0 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); transition: width .25s ease, background-color .2s;
}
.lateral__btn svg { flex: none; }
.lateral__btn:hover, .lateral__btn:focus-visible { width: 10rem; background: #fff; }
.lateral__btn--destaque { background: #fff; }
.lateral__btn[hidden] { display: none; }
@media (max-width: 52rem) {
  .lateral { top: auto; bottom: max(1rem, env(safe-area-inset-bottom)); transform: none; grid-auto-flow: column; right: 1rem; }
  .lateral__btn { border-radius: 999px; width: 3.25rem; height: 3.25rem; justify-content: center; padding: 0; }
  .lateral__btn span { display: none; }
  .lateral__btn:hover, .lateral__btn:focus-visible { width: 3.25rem; }
}
@media (prefers-reduced-motion: reduce) { .lateral__btn { transition: none; } }
.hero--v2 { position: relative; overflow: hidden; isolation: isolate; }
.lateral__btn { gap: .9rem; width: 3.1rem; }
.svc__step .btn--claro, .svc__step .btn--contorno { background: var(--petroleo); color: var(--texto-claro); border-color: var(--petroleo); }
.svc__step .btn--claro:hover, .svc__step .btn--contorno:hover { background: var(--tinta); }

/* ---------- Movimento ao rolar ---------- */

.rv { opacity: 0; transform: translate3d(0, 28px, 0); will-change: opacity, transform;
  transition: opacity .85s ease var(--d, 0ms), transform .95s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.rv--r { transform: translate3d(42px, 0, 0); }
.rv--cartao { transform: translate3d(0, 40px, 0) scale(.96); }
.rv.rv--on { opacity: 1; transform: none; will-change: auto; }

/* Fotos: o quadro aparece e a imagem se revela de cima para baixo, com um leve zoom saindo. */
.rv-img img, .rv-img .carousel__track { clip-path: inset(0 0 100% 0 round var(--raio));
  transition: clip-path 1.15s cubic-bezier(.65, 0, .2, 1) var(--d, 0ms); }
.rv-img img { transform: scale(1.1); transition: clip-path 1.15s cubic-bezier(.65, 0, .2, 1) var(--d, 0ms), transform 1.6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.rv-img.rv--on img, .rv-img.rv--on .carousel__track { clip-path: inset(0 0 0 0 round var(--raio)); }
.rv-img.rv--on img { transform: none; }

@media print, (prefers-reduced-motion: reduce) {
  .rv, .rv-img img, .rv-img .carousel__track { opacity: 1; transform: none; clip-path: none; transition: none; }
}

/* Abertura: entra em sequência ao carregar; a foto de fundo vive numa camada própria para a paralaxe. */
.hero--v2 { background: var(--petroleo); }
.hero--v2::before {
  content: ""; position: absolute; z-index: 0; inset: -10% 0 -4%; transform: translate3d(0, var(--py, 0px), 0) scale(1.04);
  background: url("../img/hero-oliveira.jpg") 30% 80% / 130% auto no-repeat; will-change: transform;
}
.hero--v2::after {
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 42, 46, .52) 0%, rgba(20, 59, 64, .18) 55%, rgba(20, 59, 64, 0) 100%), rgba(20, 59, 64, .6);
}
@media (max-width: 52rem) {
  .hero--v2::before { background: url("../img/hero-oliveira.jpg") 70% 50% / cover no-repeat; }
  .hero--v2::after { background: rgba(20, 59, 64, .78); }
}
@keyframes hero-entra { from { opacity: 0; transform: translate3d(0, 34px, 0); } to { opacity: 1; transform: none; } }
@keyframes hero-foto { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero--v2::before { animation: hero-foto 1.6s ease both; }
  .hero--v2 .hero__inner > * { animation: hero-entra 1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero--v2 .hero__inner > :nth-child(1) { animation-delay: .15s; }
  .hero--v2 .hero__inner > :nth-child(2) { animation-delay: .35s; }
  .hero--v2 .hero__inner > :nth-child(3) { animation-delay: .5s; }
  .hero--v2 .hero__inner > :nth-child(4) { animation-delay: .65s; }
  .header { animation: hero-entra .9s cubic-bezier(.2, .7, .2, 1) both; }
}

/* Abertura: foto da oliveira preenchendo toda a largura, com filtro verde-petróleo sobre a imagem inteira (esmaecida).
   Um pouco mais de filtro à esquerda, onde fica o texto. */
.hero--v2 {
  background:
    linear-gradient(90deg, rgba(13, 42, 46, .52) 0%, rgba(20, 59, 64, .18) 55%, rgba(20, 59, 64, 0) 100%),
    linear-gradient(rgba(20, 59, 64, .6), rgba(20, 59, 64, .6)),
    url("../img/hero-oliveira.jpg") 30% 80% / 130% auto no-repeat,
    var(--petroleo);
}
.hero--v2::before, .hero--v2::after { content: none; }
@media (max-width: 52rem) {
  .hero--v2 { background:
    linear-gradient(rgba(20, 59, 64, .78), rgba(20, 59, 64, .78)),
    url("../img/hero-oliveira.jpg") 70% 50% / cover no-repeat, var(--petroleo); }
}

/* ---------- Início: faixa de provas, uma barra só com três colunas separadas por filetes ---------- */

.provas { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -6vw, -3.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.provas__faixa {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #e0dad5; border-radius: var(--raio); box-shadow: 0 14px 34px rgba(13, 42, 46, .25); overflow: hidden;
}
.prova { display: grid; align-content: start; gap: .2rem; padding: 1.5rem clamp(1.25rem, 2.5vw, 2.25rem) 1.35rem; color: #143b40; }
.prova + .prova { border-left: 1px solid rgba(20, 59, 64, .16); }
.prova__num { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -.02em; color: #143b40; text-wrap: wrap; }
.prova__num span { color: #86756d; font-size: .6em; margin-left: .06em; }
.prova__rot { font-size: .98rem; font-weight: 600; line-height: 1.3; color: #143b40; margin-top: .35rem; text-wrap: balance; }
.prova__nota { font-size: .78rem; color: #655750; margin-top: .15rem; }
@media (max-width: 52rem) {
  .provas__faixa { grid-template-columns: minmax(0, 1fr); }
  .prova { grid-template-columns: minmax(0, 7.5rem) 1fr; column-gap: 1.25rem; align-items: center; padding: 1rem 1.25rem; }
  .prova + .prova { border-left: 0; border-top: 1px solid rgba(20, 59, 64, .16); }
  .prova__num { grid-row: span 2; }
  .prova__rot { margin-top: 0; }
  .prova__nota { grid-column: 2; }
}

/* Três blocos separados e compactos (substitui a barra única). */
.provas { margin-top: clamp(-3.75rem, -5vw, -3rem); }
.provas__faixa { background: transparent; box-shadow: none; overflow: visible; gap: .75rem; }
.prova {
  padding: .95rem 1.25rem .85rem; border-radius: var(--raio); box-shadow: 0 10px 24px rgba(13, 42, 46, .22); gap: .1rem;
}
.prova + .prova { border-left: 0; }
.prova:nth-child(1) { background: #e0dad5; }
.prova:nth-child(2) { background: #d9d0c7; }
.prova:nth-child(3) { background: #cfc4ba; }
.prova__num { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.prova__rot { font-size: .9rem; margin-top: .2rem; }
.prova__nota { font-size: .72rem; margin-top: 0; }
@media (max-width: 52rem) {
  .provas__faixa { gap: .6rem; }
  .prova { grid-template-columns: minmax(0, 6.25rem) 1fr; padding: .8rem 1rem; }
  .prova + .prova { border-top: 0; }
}

/* ---------- Início: sede em Porto Alegre, atendimento em todo o Brasil ---------- */

.mapa { padding-block: clamp(3.5rem, 7vw, 6rem); }
.mapa__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.mapa__texto { display: grid; gap: 1.25rem; justify-items: start; }
.mapa__texto .t-lead { max-width: 30rem; text-wrap: wrap; }
.mapa__end { font-size: .92rem; color: var(--texto-suave); padding-left: 1rem; border-left: 2px solid var(--areia); }
.mapa__fig { margin: 0; max-width: 34rem; justify-self: end; width: 100%; }
.mapa__svg { width: 100%; height: auto; display: block; overflow: visible; }
.mapa__estados path { fill: rgba(217, 208, 199, .16); stroke: rgba(217, 208, 199, .5); stroke-width: .8; stroke-linejoin: round; }
.mapa__linha { fill: none; stroke: #e6d3a6; stroke-width: 1.3; stroke-linecap: round; opacity: .85; stroke-dasharray: 1; stroke-dashoffset: 0; }
.mapa__ponto { fill: #e6d3a6; }
.mapa__nucleo { fill: #fff; }
.mapa__pulso { fill: rgba(230, 211, 166, .35); }
@media (prefers-reduced-motion: no-preference) {
  .mapa__pulso { transform-box: fill-box; transform-origin: center; animation: mapa-pulso 2.4s ease-out infinite; }
  .rv--on .mapa__linha, .mapa__fig.rv--on .mapa__linha { animation: mapa-linha 1.6s ease-out both; }
  .mapa__fig.rv--on .mapa__linha:nth-child(3n) { animation-delay: .15s; }
  .mapa__fig.rv--on .mapa__linha:nth-child(3n+1) { animation-delay: .3s; }
}
@keyframes mapa-pulso { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes mapa-linha { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (max-width: 52rem) { .mapa__grid { grid-template-columns: minmax(0, 1fr); } .mapa__fig { justify-self: center; max-width: 26rem; } }

/* Entradas laterais não podem criar rolagem horizontal: em tela estreita sobem em vez de vir do lado. */
html, body { overflow-x: clip; }
@media (max-width: 52rem) { .rv--r { transform: translate3d(0, 28px, 0); } }


/* =====================================================================
   INTERATIVIDADE: responde ao mouse e ao teclado (só onde há ponteiro fino)
   ===================================================================== */

/* Barra de progresso de leitura */
.progresso { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 3px; transform-origin: 0 50%; transform: scaleX(var(--prog, 0)); background: linear-gradient(90deg, var(--areia), #e6d3a6); pointer-events: none; }

/* Mapa: passar o mouse (ou focar com Tab) numa capital destaca a rota e o estado */
.mapa__fig { position: relative; }
.mapa__rota { cursor: pointer; outline: none; transition: opacity .25s; }
.mapa__hit { fill: transparent; }
.mapa__rota .mapa__linha, .mapa__rota .mapa__ponto { transition: stroke-width .25s, opacity .25s, r .25s; }
.mapa__svg.tem-foco .mapa__rota:not(.is-on) { opacity: .2; }
.mapa__rota.is-on .mapa__linha { stroke-width: 2.6; opacity: 1; stroke: #fff; }
.mapa__rota.is-on .mapa__ponto { r: 7; fill: #fff; }
.mapa__rota:focus-visible .mapa__ponto { r: 7; fill: #fff; }
.mapa__estados path { transition: fill .25s; }
.mapa__estados path.is-on { fill: rgba(230, 211, 166, .38); }
.mapa__tip {
  position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap;
  background: var(--areia); color: var(--petroleo); font-size: .85rem; font-weight: 600; padding: .3rem .8rem; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3); opacity: 0; transition: opacity .2s;
}
.mapa__tip.is-on { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  /* Cartões: levantam e ganham um brilho que segue o cursor */
  .rv.glow { transition: opacity .85s ease var(--d, 0ms), transform .95s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .3s ease, box-shadow .3s ease; }
  .glow { position: relative; }
  .glow:hover { translate: 0 -5px; box-shadow: 0 18px 38px rgba(0, 0, 0, .28); }
  .glow:hover { background-image: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0) 62%); }
  .oli3__item.glow:hover, .post.glow:hover { background-image: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgba(217, 208, 199, .16), rgba(217, 208, 199, 0) 62%); }
  .post.glow:hover { box-shadow: none; }
  .hero--v2::before { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.06); }
  /* Botões levemente atraídos pelo cursor */
  .btn { transition: background-color .2s, color .2s, border-color .2s, translate .25s ease; }
}
@media (prefers-reduced-motion: reduce) { .glow:hover { translate: none; } .progresso { display: none; } }

/* Capitais: pontos brilhantes que piscam devagar, cada um no seu ritmo. */
.mapa__ponto { fill: #f6e6b9; }
.mapa__halo { fill: url(#mapa-brilho); transform-box: fill-box; transform-origin: center; pointer-events: none; transform: scale(3); opacity: .4; }
@keyframes mapa-brilho { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes mapa-halo { 0%, 100% { transform: scale(2.2); opacity: .15; } 50% { transform: scale(5.2); opacity: .85; } }
@media (prefers-reduced-motion: no-preference) {
  .mapa__ponto { animation: mapa-brilho var(--bd, 4.4s) ease-in-out var(--bl, 0s) infinite; }
  .mapa__halo { animation: mapa-halo var(--bd, 4.4s) ease-in-out var(--bl, 0s) infinite; }
}
.mapa__rota.is-on .mapa__halo { opacity: 1; transform: scale(5.5); animation: none; }
.mapa__rota.is-on .mapa__ponto { animation: none; opacity: 1; }

/* ---------- Redes sociais no rodapé ---------- */
.footer__redes { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.footer__redes li + li { margin-top: 0; }
.footer__rede {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--petroleo-2); color: var(--areia); border: 1px solid var(--linha); text-decoration: none; transition: background-color .2s, color .2s;
}
.footer__rede:hover { background: var(--areia); color: var(--petroleo); }
.footer__rede span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.footer__rede[hidden] { display: none; }
.erro404 { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

/* Ícones das áreas (blog): círculo verde com o desenho no tom claro da paleta */
.post__area svg { width: 2.4rem; height: 2.4rem; padding: .5rem; border-radius: 50%; background: var(--petroleo-2); color: var(--areia); flex: none; }
.post__area { gap: .75rem; color: var(--texto-suave); }


/* ---------- Serviços: texto de apoio, vídeo e dúvidas frequentes ---------- */
.svc__seo { margin-top: .9rem; max-width: 42rem; color: var(--texto-suave); font-size: .98rem; text-wrap: pretty; }
.svc__extra { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(1.5rem, 3vw, 2.25rem); align-items: start; }
.video { display: grid; gap: .6rem; }
.video__moldura { position: relative; aspect-ratio: 16 / 9; border-radius: var(--raio); overflow: hidden; background: rgba(250, 250, 250, .06); border: 1px dashed var(--linha); display: grid; place-items: center; }
.video__moldura iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__breve { padding: 1rem; text-align: center; font-size: .92rem; color: var(--texto-suave); text-wrap: balance; }
.video__poster {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; cursor: pointer; border: 0;
  background: linear-gradient(rgba(20, 59, 64, .35), rgba(20, 59, 64, .6)), url("../img/hero-oliveira.jpg") center / cover; color: #fff; font-weight: 600;
}
.video__poster[hidden] { display: none; }
.video__poster svg { width: 3.4rem; height: 3.4rem; padding: .9rem .8rem .9rem 1rem; border-radius: 50%; background: var(--areia); color: var(--petroleo); transition: transform .25s; }
.video__poster:hover svg, .video__poster:focus-visible svg { transform: scale(1.12); }
.video--com-id .video__moldura { border-style: solid; }
.video__legenda { font-size: .85rem; color: var(--texto-suave); }
.faq { display: grid; gap: .5rem; }
.faq__titulo { font-family: var(--sans); font-weight: 700; font-size: 1rem; margin-bottom: .25rem; color: var(--titulo); }
.faq__item { border-top: 1px solid var(--linha); padding-block: .2rem; }
.faq__item:last-child { border-bottom: 1px solid var(--linha); }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.9rem; font-weight: 600; padding-block: .5rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-size: 1.4rem; font-weight: 300; line-height: 1; color: var(--areia); transition: transform .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 2rem .9rem 0; color: var(--texto-suave); text-wrap: pretty; }
@media (max-width: 60rem) { .svc__extra { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Blog: artigo e painel ---------- */
.post__link { color: inherit; text-decoration: none; }
.post__link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.post__area { display: inline-flex; align-items: center; }

.artigo__meta { font-size: .92rem; color: var(--areia); margin-bottom: .75rem; }
.artigo { display: grid; gap: clamp(2rem, 4vw, 3rem); max-width: 44rem; }
.artigo__corpo { display: grid; gap: 1.25rem; font-size: 1.08rem; line-height: 1.8; }
.artigo__corpo p { text-wrap: pretty; color: var(--texto); }
.artigo__h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; margin-top: 1rem; }
.artigo__fim { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--linha); border-radius: var(--raio); justify-items: start; }

.painel { max-width: 52rem; display: grid; gap: 1.5rem; }
.painel__vazio { display: grid; gap: .75rem; padding: 1.5rem; border: 1px dashed var(--linha); border-radius: var(--raio); max-width: 40rem; }
.painel__login, .painel__form { max-width: 44rem; }
.painel__topo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.painel__quem { color: var(--texto-suave); font-size: .92rem; }
.painel__acoes { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.painel__acoes--fim { justify-content: flex-end; }
.painel__conta { position: relative; margin-left: auto; }
.painel__conta-btn::after { content: ""; display: inline-block; width: .45rem; height: .45rem; margin-left: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.15rem) rotate(45deg); }
.painel__conta-btn[aria-expanded="true"]::after { transform: translateY(.05rem) rotate(-135deg); }
.painel__menu { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 30; min-width: 12rem; display: grid; padding: .35rem; background: #1d4a50; border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.painel__menu[hidden] { display: none; }
.painel__menu-item { display: flex; align-items: center; min-height: 2.75rem; padding: 0 .9rem; border: 0; border-radius: calc(var(--raio) - 2px); background: none; color: var(--texto); font: inherit; text-align: left; cursor: pointer; }
.painel__menu-item:hover, .painel__menu-item:focus-visible { background: rgba(255, 255, 255, .1); }
.painel__aviso { min-height: 1.4em; font-size: .95rem; color: var(--texto-suave); }
.painel__aviso.is-error { color: #f0b3a8; }
.painel__lista { display: grid; }
.painel__linha { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: .5rem 1rem; align-items: center; padding-block: 1rem; border-top: 1px solid var(--linha); }
.painel__linha:last-child { border-bottom: 1px solid var(--linha); }
.painel__info { display: grid; gap: .15rem; min-width: 0; }
.painel__sub { font-size: .85rem; color: var(--texto-suave); }
.painel__chip { font-size: .8rem; padding: .2rem .7rem; border: 1px solid var(--linha); border-radius: 999px; color: var(--texto-suave); white-space: nowrap; }
.painel__chip.is-pub { background: var(--areia); color: var(--petroleo); border-color: var(--areia); }
.painel__corpo { min-height: 18rem; font-size: 1rem; line-height: 1.6; }
.painel__excluir { background: transparent; color: #f0b3a8; border-color: rgba(240, 179, 168, .5); }
.painel__excluir:hover { background: rgba(240, 179, 168, .15); }
.painel .input, .painel .select, .painel .textarea { background-color: rgba(255, 255, 255, .92); color: #143b40; }
@media (max-width: 52rem) { .painel__linha { grid-template-columns: minmax(0, 1fr) auto; } .painel__linha .link { grid-column: 1 / -1; } }

.painel__demo { padding: 1rem 1.25rem; border: 1px solid var(--areia); border-radius: var(--raio); background: rgba(217, 208, 199, .1); color: var(--texto); font-size: .95rem; max-width: 52rem; }
.painel__demo strong { color: var(--areia); }

/* ---------- Faixa de prova v3: vidro fosco com ícone em círculo verde ---------- */
.provas { margin-top: clamp(-4rem, -5vw, -3.25rem); }
.provas__faixa { gap: .9rem; }
.provas__faixa .prova, .provas__faixa .prova:nth-child(n) {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; padding: 1.1rem 1.4rem;
  background: rgba(20, 59, 64, .52); color: #fff; border: 1px solid rgba(217, 208, 199, .28); border-radius: var(--raio);
  -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
}
.provas__faixa .prova + .prova { border-left: 1px solid rgba(217, 208, 199, .28); }
.prova__icone { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #143b40; color: var(--areia); border: 1px solid rgba(217, 208, 199, .35); flex: none; }
.prova__txt { display: grid; gap: .1rem; min-width: 0; }
.provas__faixa .prova__num { font-size: clamp(1.9rem, 3vw, 2.6rem); color: #fff; line-height: 1.05; }
.provas__faixa .prova__num span { color: var(--areia); }
.provas__faixa .prova__rot { color: #fff; margin-top: .2rem; font-size: .92rem; }
.provas__faixa .prova__nota { color: rgba(250, 250, 250, .68); font-size: .74rem; margin: 0; }
@media (hover: hover) and (pointer: fine) {
  .provas__faixa .prova.glow:hover { background-image: radial-gradient(18rem circle at var(--mx, 50%) var(--my, 50%), rgba(217, 208, 199, .2), rgba(217, 208, 199, 0) 65%); }
}
@media (max-width: 52rem) {
  .provas__faixa .prova, .provas__faixa .prova:nth-child(n) { grid-template-columns: auto minmax(0, 1fr); padding: .9rem 1.1rem; }
  .provas__faixa .prova__num { grid-row: auto; }
  .provas__faixa .prova__nota { grid-column: auto; }
  .provas__faixa .prova + .prova { border-top: 1px solid rgba(217, 208, 199, .28); border-left: 1px solid rgba(217, 208, 199, .28); }
}
.provas__faixa .prova, .provas__faixa .prova:nth-child(n) { align-content: center; }


/* =====================================================================
   PÁGINA INICIAL: abertura em tela cheia e provas distribuídas ao longo da rolagem
   ===================================================================== */

.hero--v2 { min-height: 100svh; padding-bottom: clamp(5.5rem, 10vw, 7.5rem); }
.hero__rolar {
  position: absolute; z-index: 2; left: 50%; bottom: clamp(1.25rem, 3vw, 2rem); transform: translateX(-50%);
  display: grid; justify-items: center; gap: .15rem; color: #fff; text-decoration: none; font-size: .85rem; letter-spacing: .06em; min-height: 2.75rem;
}
.hero__rolar svg { width: 2rem; height: 2rem; padding: .35rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; }
.hero__rolar:hover svg, .hero__rolar:focus-visible svg { background: #fff; color: #143b40; }
@keyframes hero-rolar { 0%, 100% { transform: translateY(0); opacity: .7; } 50% { transform: translateY(6px); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__rolar svg { animation: hero-rolar 2.2s ease-in-out infinite; }
}

/* Mapa como primeira parada: número de estados */
.alcance__stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .25rem; }
.alcance__v { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: #fff; }
.alcance__rot { font-weight: 600; font-size: 1rem; color: var(--areia); }
.alcance__nota { font-size: .75rem; color: rgba(250, 250, 250, .6); margin-top: -.5rem; }

/* Bio na página inicial */
.bio-home__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: .25rem; }
.bio-home .advogado__bio-pendente { margin-top: .25rem; }

/* Momentos de prova: um número grande por vez, entre os blocos de conteúdo */
.momento { background: var(--petroleo-2); padding-block: clamp(4.5rem, 11vw, 8.5rem); position: relative; overflow: hidden; isolation: isolate; }
.momento::before {
  content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 15% 50%, rgba(217, 208, 199, .09), rgba(217, 208, 199, 0) 55%);
}
.momento .container { position: relative; z-index: 1; }
.momento__bloco { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.momento__num { font-family: var(--serif); font-weight: 300; line-height: .95; letter-spacing: -.03em; color: #fff; font-size: clamp(4.2rem, 15vw, 11.5rem); white-space: nowrap; display: flex; align-items: baseline; gap: .05em; }
.momento__pre, .momento__suf { color: var(--areia); }
.momento__pre { font-size: .4em; margin-right: .12em; }
.momento__suf { font-size: .34em; letter-spacing: 0; white-space: pre; }
.momento__lado { display: grid; gap: .9rem; padding-bottom: .6rem; justify-items: start; }
.momento__rot { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; color: #fff; }
.momento__linha { display: block; width: 100%; height: 1px; background: var(--areia); opacity: .6; transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(.2, .7, .2, 1) .35s; }
.momento__bloco.rv--on .momento__linha { transform: scaleX(1); }
.momento__txt { color: var(--texto-suave); max-width: 26rem; text-wrap: pretty; }
.momento__nota { font-size: .75rem; color: rgba(250, 250, 250, .55); }
@media (max-width: 52rem) {
  .momento__bloco { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .momento__linha { transform: scaleX(1); }
}
@media print, (prefers-reduced-motion: reduce) { .momento__linha { transform: scaleX(1); transition: none; } }

/* Atendimento direto: selo de 100% e ligação com a página Sobre */
.atend__chip { margin-top: 1.5rem; padding: .9rem 1.1rem; border: 1px solid var(--linha); border-radius: var(--raio); font-size: .95rem; color: var(--texto-suave); display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: baseline; }
.atend__chip strong { font-family: var(--serif); font-weight: 300; font-size: 1.8rem; line-height: 1; color: var(--titulo); }
.areas__todas { margin-top: 2rem; }



/* ---------- Sobre: missão, visão e valores em três caixas ---------- */
.caixas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.caixa {
  --titulo: #143b40; --texto: #143b40; --texto-suave: #3d5256;
  display: grid; align-content: start; gap: .9rem; padding: clamp(1.5rem, 2.6vw, 2.25rem); color: #143b40;
  border-radius: var(--raio); box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}
.caixa:nth-child(1) { background: #e0dad5; }
.caixa:nth-child(2) { background: #d9d0c7; }
.caixa:nth-child(3) { background: #cfc4ba; }
.caixa__icone { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #143b40; color: var(--areia); }
.caixa__rotulo { font-family: var(--sans); font-weight: 700; font-size: 1rem; color: #143b40; margin-top: .25rem; }
.caixa__texto { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.25; color: #143b40; text-wrap: pretty; }
.caixa__valores { display: flex; flex-wrap: wrap; gap: .45rem; }
.caixa__valores li { padding: .3rem .8rem; border: 1px solid rgba(20, 59, 64, .35); border-radius: 999px; font-size: .9rem; color: #143b40; }
@media (max-width: 60rem) { .caixas { grid-template-columns: minmax(0, 1fr); } }
@media (hover: hover) and (pointer: fine) {
  .rv.caixa { transition: opacity .85s ease var(--d, 0ms), transform .95s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .3s ease, box-shadow .3s ease; }
  .caixa:hover { translate: 0 -5px; box-shadow: 0 18px 38px rgba(0, 0, 0, .28); }
}

/* ---------- Missão, visão e valores v2: caixas em contorno sobre o verde, composição vertical ---------- */
.caixas { gap: 1.1rem; }
.caixa, .caixa:nth-child(n) {
  --titulo: #fafafa; --texto: #fafafa; --texto-suave: rgba(250, 250, 250, .78);
  position: relative; display: grid; grid-template-rows: auto 1fr; align-content: stretch; gap: 1.75rem; min-height: 17rem;
  padding: clamp(1.5rem, 2.6vw, 2.25rem); color: #fafafa; overflow: hidden;
  background: linear-gradient(160deg, rgba(250, 250, 250, .08), rgba(250, 250, 250, .02) 60%);
  border: 1px solid rgba(217, 208, 199, .3); border-radius: 1.25rem; box-shadow: none;
}
.caixa::before { content: ""; position: absolute; left: clamp(1.5rem, 2.6vw, 2.25rem); top: 0; width: 3rem; height: 2px; background: var(--areia); }
.caixa__icone { background: transparent; color: var(--areia); border: 1px solid rgba(217, 208, 199, .45); width: 3.25rem; height: 3.25rem; }
.caixa__conteudo { display: grid; align-content: end; gap: .6rem; }
.caixa__rotulo { color: var(--areia); font-size: .9rem; letter-spacing: .08em; margin: 0; }
.caixa__texto { color: #fff; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.25; }
.caixa__valores { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: .5rem 1.75rem; }
.caixa__valores li { position: relative; padding: 0 0 0 1.1rem; border: 0; border-radius: 0; font-size: 1rem; color: #fff; }
.caixa__valores li::before { content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; border-radius: 0 100% 0 100%; background: var(--areia); transform: rotate(-12deg); }
@media (hover: hover) and (pointer: fine) {
  .caixa:hover { translate: 0 -5px; box-shadow: 0 18px 38px rgba(0, 0, 0, .3); border-color: rgba(217, 208, 199, .6); }
  .caixa.glow:hover { background-image: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgba(217, 208, 199, .16), rgba(217, 208, 199, 0) 62%), linear-gradient(160deg, rgba(250, 250, 250, .08), rgba(250, 250, 250, .02) 60%); }
}
@media (max-width: 60rem) { .caixa, .caixa:nth-child(n) { min-height: 0; gap: 1.25rem; } }

/* Oliveira (Sobre): texto à esquerda, árvore à direita. */
@media (min-width: 52.01rem) {
  .oli3__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .oli3__text { order: 1; }
  .oli3__figure { order: 2; justify-self: end; }
}


/* =====================================================================
   MOVIMENTO NOS DOIS SENTIDOS
   ===================================================================== */

/* Entrada vinda de cima (quando se rola para cima) */
.rv.rv--acima { transform: translate3d(0, -28px, 0); }
.rv--r.rv--acima { transform: translate3d(42px, 0, 0); }
.rv--cartao.rv--acima { transform: translate3d(0, -40px, 0) scale(.96); }
.rv.rv--on { transform: none; }
.rv-img.rv--acima img, .rv-img.rv--acima .carousel__track { clip-path: inset(100% 0 0 0 round var(--raio)); }
.rv-img.rv--on img, .rv-img.rv--on .carousel__track { clip-path: inset(0 0 0 0 round var(--raio)); }
@media (max-width: 52rem) { .rv--r.rv--acima { transform: translate3d(0, -28px, 0); } }

/* Paralaxe: cada peça anda numa velocidade (usa a propriedade translate, que não briga com a animação de entrada) */
.advogado__foto, .photo, .carousel, .mapa__fig, .oli3__figure, .momento__num, .momento__lado { translate: 0 var(--par, 0px); }
.hero--v2 .hero__inner { translate: 0 var(--hs, 0px); opacity: var(--ho, 1); }
@media (prefers-reduced-motion: reduce) {
  .advogado__foto, .photo, .carousel, .mapa__fig, .oli3__figure, .momento__num, .momento__lado, .hero--v2 .hero__inner { translate: none; opacity: 1; }
}

/* Faixa de palavras: duas linhas que andam em sentidos opostos conforme a rolagem */
.faixa { overflow: hidden; padding-block: clamp(1rem, 2.5vw, 1.75rem); border-block: 1px solid var(--linha); background: var(--petroleo); display: grid; gap: .25rem; }
.faixa__linha { display: flex; width: max-content; will-change: transform; }
.faixa__item {
  display: inline-flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); padding-right: clamp(1.25rem, 3vw, 2.5rem); white-space: nowrap;
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 6.5vw, 5rem); line-height: 1.15; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(217, 208, 199, .6);
}
.faixa__linha--cheia .faixa__item { color: rgba(217, 208, 199, .92); -webkit-text-stroke: 0; }
.faixa__item i { display: inline-block; width: .5em; height: .5em; border-radius: 0 100% 0 100%; background: var(--areia); transform: rotate(-12deg); flex: none; }

/* Faixa de palavras mais discreta: letra menor, traço fino e cor suave. */
.faixa { padding-block: clamp(.6rem, 1.4vw, .9rem); gap: 0; }
.faixa__item { font-size: clamp(1.15rem, 2.4vw, 1.75rem); gap: clamp(1rem, 2vw, 1.6rem); padding-right: clamp(1rem, 2vw, 1.6rem); letter-spacing: .01em; -webkit-text-stroke: .6px rgba(217, 208, 199, .4); }
.faixa__linha--cheia .faixa__item { color: rgba(217, 208, 199, .5); }
.faixa__item i { width: .32em; height: .32em; opacity: .7; }


/* =====================================================================
   EDITOR DO PAINEL (barra de formatação) e TEXTO DOS ARTIGOS
   ===================================================================== */

.painel__rotulo { font-weight: 500; font-size: .9rem; color: var(--titulo); }
.painel__editor { display: grid; }
.painel__barra.ql-toolbar.ql-snow {
  position: sticky; top: 5rem; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem;
  padding: .5rem .65rem; background: #ece6df; border: 1px solid rgba(20, 59, 64, .22); border-bottom-color: rgba(20, 59, 64, .12);
  border-radius: var(--raio) var(--raio) 0 0; box-shadow: 0 6px 16px rgba(13, 42, 46, .18);
}
.painel__barra .ql-formats { margin-right: 0; display: inline-flex; align-items: center; gap: .1rem; padding-right: .6rem; border-right: 1px solid rgba(20, 59, 64, .18); }
.painel__barra .ql-formats:last-child { border-right: 0; padding-right: 0; }
.painel__barra.ql-snow button { width: 2.25rem; height: 2.25rem; padding: .45rem; border-radius: .45rem; }
.painel__barra.ql-snow button:hover, .painel__barra.ql-snow button:focus-visible { background: rgba(20, 59, 64, .1); }
.painel__barra.ql-snow button.ql-active { background: #143b40; }
.painel__barra.ql-snow .ql-stroke { stroke: #143b40; }
.painel__barra.ql-snow .ql-fill { fill: #143b40; }
.painel__barra.ql-snow button.ql-active .ql-stroke { stroke: #fafafa; }
.painel__barra.ql-snow button.ql-active .ql-fill { fill: #fafafa; }
.painel__barra.ql-snow .ql-picker { color: #143b40; font-family: var(--sans); font-size: .92rem; height: 2.25rem; }
.painel__barra.ql-snow .ql-picker.ql-header { width: 9.5rem; }
.painel__barra.ql-snow .ql-picker-label { display: flex; align-items: center; height: 2.25rem; padding-inline: .6rem .4rem; border: 1px solid rgba(20, 59, 64, .22); border-radius: .45rem; background: #fff; }
.painel__barra.ql-snow .ql-picker-label svg { right: .35rem; }
.painel__barra.ql-snow .ql-picker-options { padding: .35rem; border-radius: .6rem; border: 1px solid rgba(20, 59, 64, .2); box-shadow: 0 12px 28px rgba(13, 42, 46, .25); min-width: 11rem; }
.painel__barra.ql-snow .ql-picker-item { padding: .45rem .6rem; border-radius: .35rem; }
.painel__barra.ql-snow .ql-picker-item:hover { background: #ece6df; color: #143b40; }
/* nomes em português no seletor de estilo */
.ql-snow .ql-picker.ql-header .ql-picker-label::before, .ql-snow .ql-picker.ql-header .ql-picker-item::before { content: "Texto normal"; }
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before { content: "Título"; font-size: 1.15rem; font-family: var(--serif); }
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before { content: "Subtítulo"; font-size: 1.02rem; font-family: var(--serif); }

.painel__texto.ql-container.ql-snow { background: #fff; border: 1px solid rgba(20, 59, 64, .22); border-top: 0; border-radius: 0 0 var(--raio) var(--raio); font-family: var(--sans); }
.painel__texto .ql-editor { min-height: 26rem; padding: 1.5rem clamp(1rem, 3vw, 2rem); font-size: 1.05rem; line-height: 1.75; color: #143b40; }
.painel__texto .ql-editor.ql-blank::before { color: rgba(20, 59, 64, .5); font-style: normal; left: clamp(1rem, 3vw, 2rem); }
.painel__texto .ql-editor h2 { font-family: var(--serif); font-weight: 300; font-size: 1.75rem; line-height: 1.25; margin: 1.6rem 0 .6rem; }
.painel__texto .ql-editor h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.3; margin: 1.3rem 0 .5rem; }
.painel__texto .ql-editor blockquote { border-left: 3px solid #86756d; margin: 1.2rem 0; padding: .2rem 0 .2rem 1.1rem; color: #3d5256; font-style: italic; }
.painel__texto .ql-editor img { max-width: 100%; height: auto; border-radius: .65rem; display: block; margin-block: 1rem; }
.painel__texto .ql-editor a { color: #143b40; text-decoration-color: #86756d; }
.painel__texto .ql-editor p, .painel__texto .ql-editor li { margin-bottom: .75rem; }
/* tooltip do link em português */
.ql-snow .ql-tooltip { font-family: var(--sans); border-radius: .6rem; border: 1px solid rgba(20, 59, 64, .2); box-shadow: 0 12px 28px rgba(13, 42, 46, .25); color: #143b40; }
.ql-snow .ql-tooltip::before { content: "Endereço do link:"; }
.ql-snow .ql-tooltip.ql-editing a.ql-action::after { content: "Salvar"; }
.ql-snow .ql-tooltip a.ql-action::after { content: "Editar"; }
.ql-snow .ql-tooltip a.ql-remove::before { content: "Remover"; }
.ql-snow .ql-tooltip input[type=text] { border-radius: .35rem; }
.ql-snow .ql-tooltip[data-mode=link]::before { content: "Endereço do link:"; }

.painel__previa { padding: clamp(1.25rem, 3vw, 2rem); border: 1px dashed var(--linha); border-radius: var(--raio); }
.painel__previa-aviso { font-size: .85rem; color: var(--areia); margin-bottom: 1rem; }
.painel__dialogo { border: 1px solid rgba(217, 208, 199, .35); border-radius: 1.1rem; background: #1d4a50; color: #fafafa; padding: clamp(1.25rem, 3vw, 2rem); width: min(32rem, calc(100vw - 2rem)); }
.painel__dialogo::backdrop { background: rgba(8, 24, 27, .7); }
.painel__previa-img { width: 100%; max-height: 15rem; object-fit: contain; background: rgba(0, 0, 0, .25); border-radius: .65rem; }
@media (max-width: 40rem) {
  /* no celular a barra do editor não fica fixa sobre o texto: rola de lado em uma linha só */
  .painel__barra.ql-toolbar.ql-snow { position: static; display: flex; flex-wrap: nowrap; overflow-x: auto; }
  .painel__barra .ql-formats { padding-right: .35rem; flex: none; }
}

/* Texto dos artigos (no site e na pré-visualização) */
.artigo__corpo h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; margin-top: 1.25rem; }
.artigo__corpo h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; margin-top: 1rem; }
.artigo__corpo strong, .artigo__corpo b { font-weight: 700; color: var(--titulo); }
.artigo__corpo a { color: var(--areia); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.artigo__corpo ul, .artigo__corpo ol { padding-left: 1.4rem; display: grid; gap: .5rem; }
.artigo__corpo ul { list-style: disc; }
.artigo__corpo ol { list-style: decimal; }
.artigo__corpo li::marker { color: var(--areia); }
.artigo__corpo blockquote { border-left: 2px solid var(--areia); margin: .5rem 0; padding: .1rem 0 .1rem 1.25rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.2em; line-height: 1.5; color: var(--areia); }
.artigo__corpo img { display: block; max-width: 100%; height: auto; border-radius: var(--raio); margin-block: .75rem; }
.artigo__corpo hr { border: 0; border-top: 1px solid var(--linha); margin-block: 1.5rem; }
.artigo__corpo .ql-align-center { text-align: center; }
.artigo__corpo .ql-align-center img { margin-inline: auto; }
.artigo__corpo .ql-align-right { text-align: right; }
.artigo__corpo .ql-align-right img { margin-left: auto; }
.artigo__corpo .ql-align-justify { text-align: justify; }
.artigo__corpo .ql-indent-1 { padding-left: 2rem; }
.artigo__corpo .ql-indent-2 { padding-left: 4rem; }

/* Editor mais largo (a barra cabe numa linha) e fotos altas com limite de altura */
.painel__form { max-width: 58rem; }
.painel__texto .ql-editor img, .artigo__corpo img { max-height: 34rem; width: auto; max-width: 100%; }
.artigo__corpo .ql-align-center img { margin-inline: auto; }

/* ---------- Imagem com texto: tamanho e contorno (editor e site) ---------- */
.artigo__corpo { display: block; }
.artigo__corpo > * + * { margin-top: 1.25rem; }
.artigo__corpo > h2, .artigo__corpo > h3, .artigo__corpo > blockquote, .artigo__corpo > ul, .artigo__corpo > ol, .artigo__corpo > hr { clear: both; }
.artigo__corpo > h2 { margin-top: 2.25rem; }
.artigo__corpo::after { content: ""; display: block; clear: both; }
.artigo__corpo ul, .artigo__corpo ol { display: block; }
.artigo__corpo li + li { margin-top: .5rem; }

.artigo__corpo img[width="35%"], .painel__texto .ql-editor img[width="35%"] { width: 35%; max-height: none; }
.artigo__corpo img[width="55%"], .painel__texto .ql-editor img[width="55%"] { width: 55%; max-height: none; }
.artigo__corpo img[width="80%"], .painel__texto .ql-editor img[width="80%"] { width: 80%; max-height: none; }
.artigo__corpo img[width="100%"], .painel__texto .ql-editor img[width="100%"] { width: 100%; max-height: none; }

/* Pequena e média: o texto contorna. À esquerda é o padrão; o botão de alinhar à direita passa a imagem para a direita. */
.artigo__corpo p > img[width="35%"], .artigo__corpo p > img[width="55%"],
.painel__texto .ql-editor p > img[width="35%"], .painel__texto .ql-editor p > img[width="55%"] { float: left; margin: .35rem 1.6rem 1rem 0; }
.artigo__corpo p.ql-align-right > img[width="35%"], .artigo__corpo p.ql-align-right > img[width="55%"],
.painel__texto .ql-editor p.ql-align-right > img[width="35%"], .painel__texto .ql-editor p.ql-align-right > img[width="55%"] { float: right; margin: .35rem 0 1rem 1.6rem; }
/* Centralizada, grande e largura total: sozinhas na linha */
.artigo__corpo p.ql-align-center > img, .painel__texto .ql-editor p.ql-align-center > img { float: none; margin-inline: auto; }
.artigo__corpo p > img[width="80%"], .artigo__corpo p > img[width="100%"],
.painel__texto .ql-editor p > img[width="80%"], .painel__texto .ql-editor p > img[width="100%"] { float: none; margin-inline: auto; }
@media (max-width: 40rem) {
  .artigo__corpo p > img[width], .painel__texto .ql-editor p > img[width] { float: none !important; width: 100% !important; margin: .75rem 0 !important; }
}

/* ---------- Texto explicativo de cada área (no lugar do vídeo) ---------- */
.explica { padding: 1.4rem 1.5rem; border-left: 3px solid var(--areia); background: rgba(250, 250, 250, .05); border-radius: 0 var(--raio) var(--raio) 0; align-self: start; }
.explica__titulo { font-size: 1.05rem; margin-bottom: .6rem; }
.explica p { color: var(--texto-suave); line-height: 1.75; }

/* ---------- Bio profissional e diferenciais ---------- */
.advogado__bio { display: grid; gap: .9rem; margin-top: 1rem; color: var(--texto-suave); }
.advogado__bio p { line-height: 1.75; }
.difs__lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.difs__item { border-top: 1px solid var(--linha); padding-top: 1.4rem; display: grid; gap: .6rem; align-content: start; }
.difs__n { font-family: var(--serif); font-weight: 300; font-size: 1.1rem; color: var(--areia); letter-spacing: .08em; }
.difs__item h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.25; }
.difs__item p { color: var(--texto-suave); }
@media (max-width: 52rem) { .difs__lista { grid-template-columns: 1fr; gap: 1.6rem; } }

/* Redes no rodapé: ícone com o nome do perfil ao lado, como no cartão do escritório */
.footer__redes { flex-direction: column; gap: .7rem; }
.footer__rede { display: inline-flex; align-items: center; width: auto; height: auto; border: 0; background: none; border-radius: 0; gap: .7rem; padding: 0; justify-content: flex-start; }
.footer__rede:hover { background: none; color: var(--areia); }
.footer__rede span { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: .95rem; }

/* ---------- Painel: entrada, lista com busca e filtros, editor completo ---------- */
.painel__entrada { display: grid; justify-items: start; }
.painel__login { width: min(28rem, 100%); padding: clamp(1.4rem, 4vw, 2.2rem); border: 1px solid var(--linha); border-radius: calc(var(--raio) * 1.4); background: rgba(250, 250, 250, .05); }
.painel__dica { color: var(--texto-suave); font-size: .95rem; margin-top: -.5rem; }
.field--senha { position: relative; }
.field--senha .input { padding-right: 5.2rem; }
.painel__olho { position: absolute; right: .35rem; bottom: .3rem; min-height: 2.25rem; padding: 0 .8rem; border: 0; border-radius: .45rem; background: transparent; color: #143b40; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.painel__olho:hover, .painel__olho:focus-visible { background: rgba(20, 59, 64, .1); }
.painel__entrar { justify-self: stretch; }

.painel__ferramentas { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "busca baixar" "filtros filtros"; gap: .75rem 1rem; align-items: center; }
.painel__ferramentas > .input { grid-area: busca; }
.painel__ferramentas > .painel__mini { grid-area: baixar; justify-self: end; white-space: nowrap; }
.painel__ferramentas > .painel__filtros { grid-area: filtros; }
.painel__aviso:empty { min-height: 0; margin-block: -.75rem 0; }
.painel__ferramentas[hidden] { display: none; }
.painel__filtros { display: flex; flex-wrap: wrap; gap: .4rem; }
.painel__filtro { min-height: 2.5rem; padding: 0 .95rem; border: 1px solid var(--linha); border-radius: 999px; background: transparent; color: var(--texto); font: inherit; font-size: .88rem; cursor: pointer; transition: background-color .2s, color .2s; }
.painel__filtro:hover { background: rgba(217, 208, 199, .14); }
.painel__filtro.is-on { background: var(--areia); color: var(--petroleo); border-color: var(--areia); font-weight: 600; }
.painel__linha { grid-template-columns: minmax(0, 1fr) auto auto; }
.painel__linha-acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .35rem .9rem; }
.btn--peq { min-height: 2.5rem; padding: .5rem 1rem; font-size: .9rem; }
.painel__mini { min-height: 2.5rem; padding: 0 .5rem; border: 0; background: none; color: var(--areia); font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; cursor: pointer; }
.painel__mini:hover { color: #fff; }
.painel__mini:disabled { opacity: .5; cursor: progress; }
.painel__vazio { justify-items: start; }
@media (max-width: 40rem) {
  .painel__ferramentas { grid-template-columns: minmax(0, 1fr); grid-template-areas: "busca" "filtros" "baixar"; }
  .painel__ferramentas > .painel__mini { justify-self: start; }
  .painel__linha { grid-template-columns: minmax(0, 1fr) auto; }
  .painel__linha-acoes { grid-column: 1 / -1; justify-content: flex-start; }
}

.painel__cab { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.painel__recupera { display: grid; gap: .75rem; padding: 1rem 1.25rem; border: 1px solid var(--areia); border-radius: var(--raio); background: rgba(217, 208, 199, .1); }
.painel__recupera[hidden] { display: none; }
.painel__cont { justify-self: end; font-size: .8rem; color: var(--texto-suave); font-variant-numeric: tabular-nums; }
.painel__cont.is-aviso { color: #f0d9a8; }
.painel__stats { font-size: .85rem; color: var(--texto-suave); min-height: 1.3em; }
.painel__mais { border: 1px solid var(--linha); border-radius: var(--raio); padding: .25rem 1.25rem; }
.painel__mais > summary { cursor: pointer; padding-block: .85rem; font-weight: 600; min-height: 2.75rem; }
.painel__mais-corpo { display: grid; gap: 1.4rem; padding-bottom: 1.25rem; }
.painel__capa { display: grid; gap: .6rem; justify-items: start; }
.painel__capa-img { width: min(100%, 22rem); aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--raio); }
.painel__capa-img[hidden] { display: none; }
.painel__google { display: grid; gap: .15rem; max-width: 40rem; padding: 1rem 1.25rem; border-radius: var(--raio); background: #fff; color: #4d5156; font-family: Arial, sans-serif; }
.painel__g-url { font-size: .8rem; color: #202124; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.painel__g-titulo { font-size: 1.2rem; line-height: 1.3; color: #1a0dab; }
.painel__g-desc { font-size: .88rem; line-height: 1.5; }
.painel__acoes--fixa { position: sticky; bottom: 0; z-index: 20; padding: .8rem 1rem; margin-inline: -1rem; background: rgba(20, 59, 64, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--linha); }
.painel__dialogo--curto { width: min(28rem, calc(100vw - 2rem)); }
.painel__dialogo--curto p { color: var(--texto); line-height: 1.6; }

.post__capa { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--raio); }
.post:has(.post__capa) { grid-template-rows: auto auto auto 1fr auto; }
.artigo__capa { width: 100%; max-height: 26rem; object-fit: cover; border-radius: var(--raio); }
.painel .input::placeholder, .painel .textarea::placeholder { color: rgba(20, 59, 64, .6); opacity: 1; }
@media (max-width: 40rem) { .painel__acoes--fixa { position: static; margin-inline: 0; padding: 0; background: none; border: 0; backdrop-filter: none; } }

/* Tela de entrada do painel: a oliveira ao fundo, esmaecida pelo filtro da marca, e o acesso na frente */
body.painel-entrada main {
  min-height: calc(100svh - 5rem); display: grid; align-content: center;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(20, 59, 64, .35) 0%, rgba(13, 42, 46, .78) 100%),
    linear-gradient(rgba(20, 59, 64, .62), rgba(20, 59, 64, .62)),
    url("../img/hero-oliveira.jpg") 30% 80% / cover no-repeat, var(--petroleo);
}
body.painel-entrada .page-head { display: none; }
body.painel-entrada .painel__entrada { justify-items: start; }
body.painel-entrada .painel__login { background: rgba(20, 59, 64, .82); backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(8, 24, 27, .45); }
body.painel-entrada main { min-height: calc(100svh - 12rem); }
body.painel-entrada main > .section { padding-block: clamp(2rem, 6vw, 4rem) !important; }
body.painel-entrada main { padding-top: 5rem; box-sizing: border-box; min-height: calc(100svh - 6rem); }

/* ---------- Página do artigo: cabeçalho, leitura em fundo claro, autor ao lado e sugestões ---------- */
.art-topo { padding-bottom: clamp(4.5rem, 9vw, 7rem); }
.art-trilha { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.1rem; font-size: .9rem; color: var(--areia); }
.art-trilha a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(217, 208, 199, .5); }
.art-trilha a:hover { color: #fff; }
.art-topo .t-display { max-width: 22ch; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
.art-topo .t-lead { margin-top: 1rem; max-width: 40rem; }
.art-meta { display: flex; flex-wrap: wrap; gap: .25rem 0; margin-top: 1.4rem; font-size: .9rem; color: var(--areia); }
.art-meta span:empty { display: none; }
.art-meta span + span:not(:empty)::before { content: "·"; margin-inline: .7rem; opacity: .7; }

.leitura { padding-block: 0 clamp(3rem, 7vw, 5.5rem); }
.art-capa { margin: calc(-1 * clamp(2.5rem, 6vw, 4rem)) 0 clamp(2rem, 4vw, 3rem); position: relative; z-index: 2; }
.art-capa[hidden] { display: none; }
.art-capa img { width: 100%; max-height: 30rem; aspect-ratio: 16 / 7; object-fit: cover; border-radius: calc(var(--raio) * 1.4); box-shadow: 0 24px 60px rgba(13, 42, 46, .28); display: block; }
.leitura__grade { display: grid; grid-template-columns: minmax(0, 44rem) minmax(15rem, 19rem); gap: clamp(2rem, 6vw, 5rem); align-items: start; padding-top: clamp(2.5rem, 5vw, 4rem); justify-content: start; }
.art-capa:not([hidden]) + .leitura__grade { padding-top: 0; }
.leitura__col { min-width: 0; }
.leitura .artigo__corpo { font-size: clamp(1.05rem, 1.2vw, 1.15rem); line-height: 1.85; color: #1f464b; }
.leitura .artigo__corpo p { color: #1f464b; text-wrap: pretty; }
.leitura .artigo__corpo > * + * { margin-top: 1.35rem; }
.leitura .artigo__corpo h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); color: #143b40; margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(20, 59, 64, .16); }
.leitura .artigo__corpo > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.leitura .artigo__corpo h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); color: #143b40; margin-top: 2rem; }
.leitura .artigo__corpo a { color: #143b40; text-decoration-color: var(--taupe); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.leitura .artigo__corpo a:hover { text-decoration-color: #143b40; }
.leitura .artigo__corpo li::marker { color: var(--taupe); }
.leitura .artigo__corpo blockquote { border-left: 3px solid var(--taupe); background: rgba(134, 117, 109, .12); padding: 1.1rem 1.4rem; margin-block: 2rem; border-radius: 0 var(--raio) var(--raio) 0; font-size: 1.15em; color: #143b40; }
.leitura .artigo__corpo img { box-shadow: 0 10px 30px rgba(13, 42, 46, .14); }
.art-aviso { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(20, 59, 64, .16); font-size: .88rem; line-height: 1.6; color: #4b5f62; }
.art-voltar { margin-top: 1.5rem; }

.leitura__lado { position: sticky; top: 6.5rem; }
.art-autor { display: grid; gap: .5rem; padding: 1.5rem; background: #fff; border: 1px solid rgba(20, 59, 64, .12); border-radius: calc(var(--raio) * 1.4); box-shadow: 0 14px 40px rgba(13, 42, 46, .1); }
.art-autor__foto { width: 4.75rem; height: 4.75rem; border-radius: 50%; object-fit: cover; object-position: 50% 18%; margin-bottom: .35rem; filter: grayscale(1); }
.art-autor__nome { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: #143b40; line-height: 1.25; }
.art-autor__cargo { font-size: .85rem; color: #655750; }
.art-autor__txt { font-size: .93rem; line-height: 1.6; color: #3d5256; margin-bottom: .6rem; }
.art-autor .btn { justify-self: stretch; }

.art-mais .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 64rem) {
  .leitura__grade { grid-template-columns: minmax(0, 44rem); }
  .leitura__lado { position: static; }
  .art-autor { grid-template-columns: auto 1fr; align-items: center; column-gap: 1.1rem; }
  .art-autor__foto { grid-row: span 3; margin: 0; }
  .art-autor__txt, .art-autor .btn { grid-column: 1 / -1; }
}
@media (max-width: 52rem) { .art-mais .posts { grid-template-columns: minmax(0, 1fr); } .art-capa img { aspect-ratio: 16 / 10; } }
.leitura { display: flow-root; position: relative; }

/* Botões laterais: cada um abre sozinho e todos ficam encostados na borda direita da tela */
.lateral { justify-items: end; }
.lateral__btn { max-width: 10rem; }

/* Listas suspensas do painel (assunto, tamanho e posição da imagem): letra escura sobre fundo branco */
.painel option, .painel__dialogo option, .painel select option { color: #143b40; background: #fff; }
.painel__dialogo select, .painel__dialogo .select { color: #143b40; }
.painel select, .painel__dialogo select { color-scheme: light; }
.painel select option, .painel__dialogo select option, .painel option { color: #143b40 !important; background-color: #fff !important; }

/* Painel: nada de a caixa crescer com palavras longas; links com cara de link */
.painel, .painel__form { grid-template-columns: minmax(0, 1fr); }
.painel__form .field, .painel__editor, .painel__texto, .painel__texto .ql-editor { min-width: 0; max-width: 100%; }
.painel__texto .ql-editor, .artigo__corpo { overflow-wrap: anywhere; word-break: break-word; }
.painel__texto .ql-editor img { max-width: 100%; }
.painel__texto .ql-editor a { color: #0f6a73; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; text-decoration-color: currentColor; cursor: pointer; }
.painel__texto .ql-tooltip { display: none !important; }
.leitura .artigo__corpo a { color: #0f6a73; text-decoration-color: currentColor; }
.painel__acoes--fixa { margin-inline: 0; padding-inline: 0; }

/* ---------- Artigo, versão editorial: coluna estreita, tipografia de revista, figuras com legenda e galeria ---------- */
.leitura__grade { grid-template-columns: minmax(0, 40rem) minmax(15rem, 18rem); gap: clamp(2rem, 7vw, 6rem); }
.leitura .artigo__corpo { font-size: clamp(1.06rem, 1.2vw, 1.14rem); line-height: 1.95; color: #28494d; letter-spacing: .005em; }
.leitura .artigo__corpo > p:first-child { font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.55rem); line-height: 1.6; color: #143b40; }
.leitura .artigo__corpo > * + * { margin-top: 1.5rem; }
.leitura .artigo__corpo h2 { position: relative; border-top: 0; padding-top: 0; margin-top: 3.4rem; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 300; letter-spacing: -.01em; scroll-margin-top: 6.5rem; }
.leitura .artigo__corpo h2::before { content: ""; display: block; width: 2.75rem; height: 2px; background: var(--taupe); margin-bottom: 1.1rem; }
.leitura .artigo__corpo > h2:first-child { margin-top: 0; }
.leitura .artigo__corpo h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-top: 2.4rem; }
.leitura .artigo__corpo blockquote { position: relative; margin: 2.6rem 0; padding: .2rem 0 .2rem 2.2rem; border: 0; background: none; border-radius: 0; font-family: var(--serif); font-weight: 300; font-style: normal; font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.5; color: #143b40; }
.leitura .artigo__corpo blockquote::before { content: "\201C"; position: absolute; left: 0; top: -.5rem; font-size: 4rem; line-height: 1; color: var(--taupe); font-family: Georgia, serif; }
.leitura .artigo__corpo ul, .leitura .artigo__corpo ol { padding-left: 1.5rem; }
.leitura .artigo__corpo li { padding-left: .3rem; }
.leitura .artigo__corpo hr { margin-block: 3rem; border-top: 1px solid rgba(20, 59, 64, .2); width: 4rem; }

.art-fig { margin-block: 2.2rem; }
.art-fig__item { margin: 0; }
.art-fig img { display: block; width: 100%; height: auto; max-height: none; margin: 0; border-radius: var(--raio); box-shadow: 0 12px 34px rgba(13, 42, 46, .16); }
.art-fig figcaption { margin-top: .7rem; font-size: .88rem; line-height: 1.55; font-style: italic; color: inherit; opacity: .72; text-wrap: balance; }
.art-fig--centro { margin-inline: auto; clear: both; }
.art-fig--l35 { width: 35%; } .art-fig--l55 { width: 55%; } .art-fig--l80 { width: 80%; } .art-fig--l100 { width: 100%; }
.art-fig--centro.art-fig--l100, .art-fig--centro.art-fig--l80 { clear: both; }
.art-fig--esq { float: left; margin: .5rem 2rem 1rem 0; }
.art-fig--dir { float: right; margin: .5rem 0 1rem 2rem; }
.art-fig--galeria { display: grid; gap: 1rem; clear: both; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.art-fig--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.art-fig--galeria img { aspect-ratio: 4 / 3; object-fit: cover; }
.art-fig--galeria figcaption { font-size: .8rem; }
@media (max-width: 40rem) {
  .art-fig, .art-fig--esq, .art-fig--dir { float: none; width: 100% !important; margin-inline: 0; }
  .art-fig--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.art-indice { margin-bottom: 1.5rem; padding-left: 1.1rem; border-left: 2px solid var(--taupe); }
.art-indice[hidden] { display: none; }
.art-indice__titulo { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #655750; margin-bottom: .7rem; }
.art-indice ol { display: grid; gap: .55rem; counter-reset: ind; }
.art-indice li { counter-increment: ind; font-size: .93rem; line-height: 1.4; }
.art-indice li::before { content: counter(ind, decimal-leading-zero) " "; color: var(--taupe); font-size: .8rem; margin-right: .35rem; }
.art-indice a { color: #143b40; text-decoration: none; }
.art-indice a:hover, .art-indice a:focus-visible { text-decoration: underline; text-underline-offset: .22em; }
.art-autor { background: rgba(255, 255, 255, .6); box-shadow: none; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Editor: várias imagens na mesma linha aparecem lado a lado, como vão ficar no site */
.painel__texto .ql-editor p:has(> img ~ img) { display: flex; flex-wrap: wrap; gap: .6rem; float: none; }
.painel__texto .ql-editor p:has(> img ~ img) > img { flex: 1 1 10rem; width: auto !important; max-width: 100%; height: 11rem; object-fit: cover; margin: 0; float: none; }
.painel__texto .ql-editor img { cursor: pointer; }
.painel__texto .ql-editor img:hover { outline: 3px solid #86756d; outline-offset: 2px; }
.art-fig--centro img { width: auto; max-width: 100%; max-height: 34rem; margin-inline: auto; }
.art-fig--centro.art-fig--l100 img { width: 100%; max-height: 30rem; object-fit: cover; }
.art-fig--centro figcaption { text-align: center; }

.painel__marca { display: flex; align-items: center; gap: .6rem; font-size: .92rem; cursor: pointer; line-height: 1.4; }
.painel__marca input { width: 1.2rem; height: 1.2rem; accent-color: #86756d; flex: none; }

/* Abas das áreas: nome em destaque e o complemento do nome em tamanho menor, sem repetir o texto em outros lugares */
.areas__nome { display: block; font-weight: 600; }
.areas__sub { display: block; font-size: .78em; font-weight: 400; opacity: .82; line-height: 1.3; }
#areas .areas__tab { flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; line-height: 1.25; }
#areas .areas__tab { border-radius: 1.1rem; padding-block: .6rem; }

/* Capa do artigo: a imagem aparece inteira, no formato dela, sobre um fundo desfocado da própria foto (sem cortar nem esticar) */
.art-capa { position: relative; overflow: hidden; background: var(--petroleo-2); border-radius: calc(var(--raio) * 1.4); box-shadow: 0 24px 60px rgba(13, 42, 46, .28); }
.art-capa .art-capa__fundo { position: absolute; inset: -12%; width: 124%; height: 124%; max-height: none; aspect-ratio: auto; object-fit: cover; border-radius: 0; box-shadow: none; filter: blur(30px) saturate(1.15); opacity: .6; }
.art-capa .art-capa__img { position: relative; display: block; width: auto; max-width: 100%; height: auto; max-height: min(30rem, 66vh); aspect-ratio: auto; object-fit: contain; margin-inline: auto; border-radius: 0; box-shadow: none; }
@media (max-width: 52rem) { .art-capa .art-capa__img { aspect-ratio: auto; max-height: 24rem; } }
.art-capa .art-capa__fundo { max-width: none; }
@media (max-width: 64rem) {
  .leitura__grade { grid-template-columns: minmax(0, 1fr); }
  .leitura__lado { position: static; }
}
.art-meta span + span:not(:empty)::before { content: none; }
.art-meta span:not(:last-child):not(:empty)::after { content: "·"; margin-inline: .7rem; opacity: .7; }

/* Artigo com capa: a foto vira o fundo do topo, atrás do título (sem imagem repetida embaixo) */
.art-topo--foto { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); min-height: max(24rem, 38vw);
  --ph-veil: linear-gradient(90deg, rgba(13, 42, 46, .9) 0%, rgba(20, 59, 64, .66) 50%, rgba(20, 59, 64, .42) 100%); }
.leitura { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Abas das áreas: três colunas iguais, mesma altura e mesmo alinhamento */
#areas .areas__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; max-width: 60rem; }
#areas .areas__tab { width: 100%; min-height: 4.5rem; align-items: flex-start; justify-content: center; }
@media (max-width: 52rem) { #areas .areas__list { grid-template-columns: minmax(0, 1fr); } #areas .areas__tab { min-height: 3.75rem; } }
#areas .areas__list { max-width: none; }

/* Destaque do alcance: o título e a frase empilhados, sem quebrar palavra no meio */
.alcance__stat { display: grid; gap: .35rem; align-items: start; justify-items: start; margin-top: 1.5rem; }
.alcance__v { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; text-wrap: balance; }
.alcance__rot { font-size: 1rem; line-height: 1.5; color: var(--areia); max-width: 28rem; text-wrap: pretty; }

/* ---------- Responsivo: nada de palavra cortada, caixa estourada ou menu escondido ---------- */
h1, h2, h3, h4, p, li, dd, dt, figcaption, blockquote, label, summary { overflow-wrap: break-word; }
main a, .footer a { overflow-wrap: anywhere; }
img, video, svg, iframe { max-width: 100%; }
img { height: auto; }

/* Valores (Sobre): as palavras ficam inteiras e quebram de linha entre elas */
.caixa__valores { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.caixa__valores li { white-space: nowrap; font-size: clamp(.9rem, 1vw + .5rem, 1rem); }

/* Atalhos das áreas (Serviços): em telas pequenas os três ficam todos visíveis, sem rolar de lado */
@media (max-width: 48rem) {
  .svc-nav { overflow: visible; flex-wrap: wrap; width: 100%; border-radius: 1.25rem; justify-content: center; }
  .svc-nav a { flex: 1 1 auto; justify-content: center; text-align: center; min-height: 2.75rem; }
}
.caixa__valores { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.75rem, 1fr)); gap: .5rem 1.25rem; }
@media (max-width: 48rem) {
  .svc-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; padding: .35rem; }
  .svc-nav a { padding: .4rem .35rem; font-size: .88rem; line-height: 1.25; text-wrap: balance; border-radius: 1rem; }
}

/* Título do alcance: duas linhas, cada frase inteira; "Porto Alegre" nunca se separa */
.mapa__titulo { font-size: clamp(1.55rem, 2.45vw, 2.2rem); line-height: 1.2; }
.mapa__linha { display: block; white-space: nowrap; }
@media (max-width: 30rem) { .mapa__titulo { font-size: 1.5rem; } .mapa__linha { white-space: normal; } }
/* Cartão do texto inteiro clicável (foto, título e resumo levam ao mesmo texto) */
.post:has(.post__link) { position: relative; }
.post__link::after { content: ""; position: absolute; inset: 0; }
.post:has(.post__link):hover .post__capa { filter: brightness(1.06); }
.post__capa { transition: filter .25s; }

/* Banner de Serviços: a foto da sala de atendimento */
.page-head--servicos { --ph-img: url("../img/servicos.jpg"); --ph-pos: 50% 50%;
  --ph-veil: linear-gradient(90deg, rgba(13, 42, 46, .9) 0%, rgba(20, 59, 64, .6) 48%, rgba(20, 59, 64, .28) 100%); }
@media (max-width: 52rem) { .page-head--servicos { --ph-pos: 38% 50%; --ph-veil: linear-gradient(rgba(13, 42, 46, .72), rgba(20, 59, 64, .62)); } }

/* ---------- Formulário em quadro (modal) ---------- */
.modal-contato {
  --titulo: #143b40; --texto: #143b40; --texto-suave: #4b5f62; --linha: rgba(20, 59, 64, .18);
  width: min(42rem, calc(100vw - 1.5rem)); max-height: calc(100svh - 1.5rem); padding: 0; border: 0; border-radius: calc(var(--raio) * 1.6);
  background: var(--linho); color: var(--texto); box-shadow: 0 30px 80px rgba(8, 24, 27, .5); overflow: auto; overscroll-behavior: contain;
}
.modal-contato::backdrop { background: rgba(8, 24, 27, .72); backdrop-filter: blur(3px); }
.modal-contato[open] { animation: modal-entra .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes modal-entra { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal-contato[open] { animation: none; } }
.modal-contato__corpo { position: relative; padding: clamp(1.4rem, 4vw, 2.4rem); display: grid; gap: 1rem; }
.modal-contato__titulo { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1.2; color: #143b40; padding-right: 3rem; }
.modal-contato__lead { color: #4b5f62; margin-top: -.4rem; }
.modal-contato__fechar { position: absolute; top: .9rem; right: .9rem; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(20, 59, 64, .08); color: #143b40; cursor: pointer; transition: background-color .2s; }
.modal-contato__fechar:hover, .modal-contato__fechar:focus-visible { background: rgba(20, 59, 64, .18); }
.modal-contato .btn--solid { background: #143b40; color: #fafafa; }
.modal-contato .btn--solid:hover { background: #0d2a2e; }
.modal-contato .form-done { padding: 0; background: none; }
.modal-contato .link { text-decoration-color: rgba(20, 59, 64, .5); }
body.modal-aberto { overflow: hidden; }
.modal-contato .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 40rem) { .modal-contato .form__row { grid-template-columns: minmax(0, 1fr); } .modal-contato { width: calc(100vw - 1rem); max-height: calc(100svh - 1rem); } }

/* Convite para abrir o formulário (início e página de contato) */
.contact--cta { align-items: center; }
.contact__cartao { display: grid; gap: 1rem; justify-items: start; padding: clamp(1.4rem, 3vw, 2.2rem); background: rgba(255, 255, 255, .55); border: 1px solid rgba(20, 59, 64, .12); border-radius: calc(var(--raio) * 1.4); }
.contact__cartao-titulo { font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: #143b40; }
.contact__cartao p { color: #3d5256; }
.contact__cartao .btn--solid { background: #143b40; color: #fafafa; }

/* ---------- Quadro de contato: escolha do assunto, perguntas rápidas e formulário padrão ---------- */
.modal-contato__etapa { display: grid; gap: 1rem; }
.modal-contato__etapa[hidden] { display: none; }
.modal-contato__voltar { justify-self: start; min-height: 2.5rem; padding: 0 .25rem; border: 0; background: none; color: #4b5f62; font: inherit; font-size: .92rem; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(20, 59, 64, .35); text-underline-offset: .25em; }
.modal-contato__voltar:hover { color: #143b40; }
.modal-contato__corpo:has(#form-done:not([hidden])) .modal-contato__titulo,
.modal-contato__corpo:has(#form-done:not([hidden])) .modal-contato__lead,
.modal-contato__corpo:has(#form-done:not([hidden])) .modal-contato__voltar { display: none; }

.escolha { display: grid; gap: .65rem; margin-top: .4rem; }
.escolha__item { display: grid; gap: .15rem; text-align: left; padding: 1rem 1.2rem; min-height: 4.25rem; border: 1.5px solid rgba(20, 59, 64, .2); border-radius: calc(var(--raio) * 1.2); background: rgba(255, 255, 255, .6); color: #143b40; font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s; }
.escolha__item strong { font-weight: 600; font-size: 1.02rem; }
.escolha__item span { font-size: .9rem; color: #4b5f62; }
.escolha__item:hover, .escolha__item:focus-visible { border-color: #143b40; background: #fff; transform: translateY(-1px); }

.av__cab { display: grid; gap: .6rem; margin-bottom: .4rem; padding-right: 3rem; }
.av__topo { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.av__passo { font-size: .85rem; color: #4b5f62; margin: 0; }
.av__barra { height: .4rem; border-radius: 999px; background: rgba(20, 59, 64, .12); overflow: hidden; }
.av__preenchimento { display: block; height: 100%; border-radius: inherit; background: #143b40; transition: width .3s ease; }
.av__corpo { display: grid; gap: 1rem; }
.av__intro { font-size: .92rem; color: #4b5f62; margin: 0; }
.av__pergunta { padding-right: 0; }
.av__opcoes { display: grid; gap: .65rem; margin-top: .3rem; }
.av__opcao { text-align: left; min-height: 3.5rem; padding: .9rem 1.2rem; border: 1.5px solid rgba(20, 59, 64, .22); border-radius: calc(var(--raio) * 1.2); background: rgba(255, 255, 255, .65); color: #143b40; font: inherit; font-size: 1rem; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.av__opcao:hover, .av__opcao:focus-visible { border-color: #143b40; background: #fff; }
.av__opcao.is-on { background: #143b40; border-color: #143b40; color: #fafafa; }
@media (prefers-reduced-motion: reduce) { .av__preenchimento, .escolha__item, .av__opcao { transition: none; } }

.form__contador { color: #4b5f62; }
.form__contador.is-ok { color: #1d6a4a; }
.av__texto { width: 100%; }
.av__ajuda { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; color: #4b5f62; }
.av__ajuda.is-ok { color: #1d6a4a; }
.av__pular { justify-self: start; }
.av__fim { display: grid; gap: 1rem; justify-items: start; padding-top: .5rem; }
.av__fim-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
button.link { background: none; border: 0; padding: .4rem .2rem; font: inherit; color: inherit; cursor: pointer; }

/* Sobre, bloco do advogado: foto fixa no topo da coluna, texto em uma só medida e hierarquia clara */
.advogado-sec .advogado { align-items: start; }
.advogado-sec .advogado__foto { position: sticky; top: 6.5rem; translate: none !important; max-width: 26rem; }
.advogado-sec .advogado__texto { max-width: 40rem; gap: 1.4rem; }
.advogado__historia { gap: 1.1rem; }
.advogado__historia p:not(.sobre__lead), .advogado__bio p { font-size: 1.02rem; line-height: 1.78; color: var(--texto-suave); text-wrap: pretty; max-width: none; }
.advogado__sub { margin-top: .6rem; padding-top: 1.6rem; border-top: 1px solid var(--linha); font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-escuro); }
.advogado__bio { gap: 1.1rem; margin-top: -.4rem; }
@media (max-width: 52rem) {
  .advogado-sec .advogado { grid-template-columns: minmax(0, 1fr); }
  .advogado-sec .advogado__foto { position: static; max-width: 22rem; margin-right: 0; }
}

.advogado__sub--primeiro { margin-top: 0; padding-top: 0; border-top: 0; }
.advogado__sub--primeiro + .advogado__bio { margin-top: 0; }

.form__porque { font-size: .93rem; line-height: 1.55; color: #3d5256; padding: .8rem 1rem; border-left: 3px solid var(--taupe); background: rgba(134, 117, 109, .1); border-radius: 0 var(--raio) var(--raio) 0; margin: 0; }
.form__porque strong { color: #143b40; }

/* Painel: abas e contatos recebidos */
.painel__abas { display: flex; gap: .4rem; border-bottom: 1px solid var(--linha); }
.painel__aba { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: 0 1.1rem; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--texto-suave); font: inherit; font-weight: 500; cursor: pointer; margin-bottom: -1px; }
.painel__aba:hover { color: var(--texto); }
.painel__aba.is-on { color: var(--texto); border-bottom-color: var(--areia); font-weight: 700; }
.painel__novos { min-width: 1.4rem; height: 1.4rem; padding: 0 .4rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--areia); color: var(--petroleo); font-size: .78rem; font-weight: 700; }
.painel__novos[hidden] { display: none; }
.painel__leads { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.painel__lead { border: 1px solid var(--linha); border-radius: var(--raio); background: rgba(250, 250, 250, .04); }
.painel__lead.is-novo { border-color: var(--areia); }
.painel__lead-res { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; cursor: pointer; list-style: none; min-height: 3.5rem; }
.painel__lead-res::-webkit-details-marker { display: none; }
.painel__lead-quem { display: grid; gap: .15rem; min-width: 0; overflow-wrap: anywhere; }
.painel__lead-corpo { display: grid; gap: 1rem; padding: 0 1.1rem 1.2rem; border-top: 1px solid var(--linha); padding-top: 1rem; }
.painel__dados { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .7rem 1.5rem; }
.painel__dado dt { font-size: .8rem; color: var(--texto-suave); }
.painel__dado dd { margin: 0; overflow-wrap: anywhere; }
.painel__bloco { display: grid; gap: .3rem; }
.painel__bloco p { margin: 0; overflow-wrap: anywhere; }
.painel__respostas { display: grid; gap: .35rem; }
.painel__respostas li { display: grid; gap: .1rem; }
.painel__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: .2rem 0 0; }

/* Celular: a moldura fina atrás da foto do advogado fica toda dentro da tela, sem cortar na borda */
@media (max-width: 52rem) {
  .advogado__foto, .advogado-sec .advogado__foto { max-width: none; width: calc(100% - 1.25rem); margin-right: 1.25rem; margin-bottom: 1.5rem; }
  .advogado__foto::before { inset: 1rem -1rem -1rem 1rem; }
}
@media (max-width: 52rem) { .advogado-sec .advogado__foto, .advogado__foto { position: relative; top: auto; } }

/* Painel: alvos de toque confortáveis (barra do editor, "Mostrar" da senha e links da lista) */
.painel__barra.ql-toolbar.ql-snow .ql-formats button { width: 2.25rem; height: 2.25rem; padding: .45rem; }
.painel__barra.ql-toolbar.ql-snow .ql-formats { margin-block: .15rem; }
@media (max-width: 52rem) {
  .painel__barra.ql-toolbar.ql-snow .ql-formats button { width: 2.75rem; height: 2.75rem; padding: .6rem; }
  .painel__barra.ql-toolbar.ql-snow .ql-picker-label { height: 2.75rem; }
  .painel__barra.ql-snow .ql-picker.ql-header { width: 10rem; }
}
.painel__olho { min-height: 2.75rem; padding-inline: 1rem; bottom: .05rem; }
.painel__linha-acoes .link, .painel__lead-corpo .link { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .25rem; }
@media (max-width: 52rem) {
  .painel__filtro, .btn--peq, .painel__mini { min-height: 2.75rem; }
  .painel__filtro { padding-inline: 1rem; }
}

/* Painel, depois do login: o cabeçalho da página encolhe para o conteúdo aparecer logo */
body.painel-dentro .page-head { padding-block: clamp(1rem, 3vw, 1.75rem) .25rem; min-height: 0; }
body.painel-dentro .page-head .t-lead { display: none; }
body.painel-dentro .page-head .t-display { font-size: clamp(1.5rem, 3vw, 2rem); }
body.painel-dentro main > .section { padding-top: .75rem !important; }
@media (max-width: 52rem) {
  .painel__demo { padding: .7rem .9rem; font-size: .85rem; line-height: 1.45; }
}

/* Quadros do painel (imagem, link, confirmação): rolam por dentro e os botões ficam sempre à vista */
.painel__dialogo { max-height: calc(100svh - 1.5rem); overflow-y: auto; overscroll-behavior: contain; }
.painel__dialogo .painel__acoes { position: sticky; bottom: -1px; padding-block: .75rem; margin-top: .25rem; background: #1d4a50; }
.painel__dialogo .painel__previa-img { max-height: min(15rem, 28svh); }
@media (max-width: 52rem) { .painel__dialogo { width: calc(100vw - 1rem); padding: 1.1rem; } }

.painel__esqueci { justify-self: start; }
.painel__login .painel__mini + .painel__aviso, .painel__login .btn + .btn { margin-top: .25rem; }

/* Sobre: a foto horizontal do escritório ocupa o banner todo */
.page-head--sobre { --ph-img: url("../img/escritorio.jpg"); --ph-pos: 50% 30%; min-height: clamp(24rem, 40vw, 34rem);
  --ph-veil: linear-gradient(90deg, rgba(13, 42, 46, .88) 0%, rgba(20, 59, 64, .55) 50%, rgba(20, 59, 64, .2) 100%); }
@media (max-width: 52rem) { .page-head--sobre { min-height: 30rem; --ph-pos: 50% 55%; --ph-veil: linear-gradient(rgba(13, 42, 46, .75), rgba(20, 59, 64, .6)); } }

/* Contatos: andamento com aparência própria, "mostrar mais" e filtros/paginação do blog público */
.painel__chip--contatado { border-color: var(--areia); color: var(--texto); }
.painel__chip--qualificado { background: rgba(217, 208, 199, .18); border-color: var(--areia); color: var(--texto); }
.painel__chip--cliente { background: #2f6b57; border-color: #2f6b57; color: #fff; }
.painel__chip--descartado { opacity: .7; text-decoration: line-through; }
.painel__mais-contatos { display: grid; justify-items: center; gap: .6rem; padding-top: .6rem; }
.painel__lead-quem .painel__tags { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: .2rem 0 0; }
.blog__filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.blog__filtros:empty, .blog__rodape:empty { display: none; }
.blog__filtro { min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--linha); border-radius: 999px; background: transparent; color: var(--texto); font: inherit; font-size: .92rem; cursor: pointer; transition: background-color .2s, color .2s; }
.blog__filtro:hover { background: rgba(217, 208, 199, .14); }
.blog__filtro.is-on { background: var(--areia); color: var(--petroleo); border-color: var(--areia); font-weight: 600; }
.blog__rodape { display: grid; justify-items: center; gap: .75rem; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.blog__contagem { margin: 0; font-size: .9rem; color: var(--texto-suave); }

/* ---------- Ajustes da reunião de alinhamento ---------- */

/* Topo: o conteúdo cabe em telas de notebook e o "Role para conhecer" fica visível. */
.hero--v2 { min-height: 100svh; padding-top: clamp(6rem, 12vh, 8.5rem); padding-bottom: clamp(4.5rem, 10vh, 6.5rem); }
.hero__inner--esq { gap: clamp(.8rem, 2.2vh, 1.4rem); }
.hero__resiliencia { font-size: clamp(2.4rem, min(6.2vw, 9vh), 4.6rem); }
.hero--v2 .hero__frase { font-size: clamp(1.1rem, min(2.1vw, 3.4vh), 1.6rem); }

/* Oliveira: a foto inteira, sem zoom (ocupa a largura do topo), com o filtro verde-petróleo e um pouco mais de sombra onde fica o texto. */
.hero--v2 {
  background:
    linear-gradient(90deg, rgba(13, 42, 46, .6) 0%, rgba(20, 59, 64, .22) 55%, rgba(20, 59, 64, 0) 100%),
    linear-gradient(rgba(20, 59, 64, .55), rgba(20, 59, 64, .55)),
    url("../img/hero-oliveira.jpg") center 25% / cover no-repeat,
    var(--petroleo);
}
.hero--v2::before, .hero--v2::after { content: none; }
@media (max-width: 52rem) {
  .hero--v2 {
    background:
      linear-gradient(180deg, rgba(20, 59, 64, .4) 0, rgba(20, 59, 64, .4) 38vw, var(--petroleo) 56vw),
      url("../img/hero-oliveira.jpg") center top / 100% auto no-repeat,
      var(--petroleo);
    background-size: 100% 100%, 100% auto, auto;
  }
}

/* Botões laterais: mais estreitos, discretos e mais abaixo. No celular ficam no mesmo formato da lateral do computador. */
.lateral { top: 66%; gap: .4rem; }
.lateral__btn { width: 2.4rem; height: 2.4rem; padding: 0 .6rem; gap: .75rem; font-size: .85rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .22); opacity: .92; }
.lateral__btn svg { width: 1.1rem; height: 1.1rem; }
.lateral__btn:hover, .lateral__btn:focus-visible { width: 9.5rem; opacity: 1; }
.lateral { transition: opacity .25s ease; }
.lateral--fora { opacity: 0; pointer-events: none; }
@media (max-width: 52rem) {
  .lateral { top: auto; bottom: max(5.5rem, env(safe-area-inset-bottom)); right: 0; transform: none; grid-auto-flow: row; }
  .lateral__btn { border-radius: 999px 0 0 999px; width: 2.2rem; height: 2.2rem; padding: 0 .55rem; justify-content: flex-start; }
  .lateral__btn:hover, .lateral__btn:focus-visible { width: 2.2rem; }
}

/* Áreas de atuação: o complemento do nome com o mesmo tamanho da fonte do nome. */
.areas__sub { font-size: 1em; font-weight: 500; opacity: .92; }

/* Mapa: os dois parágrafos de atendimento com espaço entre eles. */
.mapa__lead2 { margin-top: .35rem; }

/* Quadro "Fale com o escritório" centralizado. */
.contact__cartao--centro { max-width: 40rem; margin-inline: auto; justify-items: center; text-align: center; }

/* Textos mais largos: o artigo no site e o editor do painel (artigos longos pedem mais espaço). */
.leitura__grade { grid-template-columns: minmax(0, 48rem) minmax(15rem, 18rem); }
.painel:has(.painel__form) { max-width: 64rem; }
.painel__form { max-width: 62rem; }
@media (max-width: 52rem) { .leitura__grade { grid-template-columns: minmax(0, 1fr); } }

/* Celular: enquanto o aviso de cookies está aberto, as abas das redes saem da frente (voltam quando a pessoa decide). */
@media (max-width: 820px) {
  body:has(#aviso-cookies:not([hidden])) .lateral { opacity: 0; pointer-events: none; }
}

/* Missão, visão e valores: o texto sobe e fica logo abaixo do ícone, sem o vazio no meio da caixa. */
.caixa, .caixa:nth-child(n) { grid-template-rows: auto auto; align-content: start; gap: 1.25rem; min-height: 0; }
.caixa__conteudo { align-content: start; }

/* Sobre: textos corridos justificados. */
.advogado__bio p { text-align: justify; }

/* Textos corridos justificados em todo o site (centralizados e legendas ficam como estão). */
.advogado__historia,
.momento__txt,
.mapa__lead2,
.difs__item p,
.ap__row dd,
.ap__solve,
.atend__chip,
.svc__seo,
.svc__step p,
.explica,
.faq__item p,
.post__text,
.oli3__fact,
.oli3__meaning,
.caixa__texto,
.art-aviso,
.art-autor__txt,
.artigo__corpo p,
.artigo__corpo li,
main p.measure:not(:has(.btn)),
main div.measure > p:not(:has(.btn))
{ text-align: justify; }
.svc__seo, .explica, .post__text, .caixa__texto, .oli3__fact, .oli3__meaning, .momento__txt, .advogado__historia { text-wrap: wrap; }

/* Artigo: texto mais aberto na horizontal (ocupa a largura toda ao lado do quadro do escritório) e palavras gigantes não estouram a coluna. */
.leitura__grade { grid-template-columns: minmax(0, 1fr) 16rem; gap: clamp(2rem, 4vw, 3.5rem); }
.leitura .artigo__corpo { overflow-wrap: anywhere; }
.leitura .artigo__corpo > p:first-child { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.7; }
@media (max-width: 52rem) { .leitura__grade { grid-template-columns: minmax(0, 1fr); } }
.art-autor__txt { text-align: left; }
/* Subtítulos (frases logo abaixo dos títulos) ficam alinhados à esquerda, sem justificar. */
.t-lead, .sobre__lead, .mapa__lead2 { text-align: left; }
/* Textos de cartões e colunas estreitas ficam à esquerda (justificar em espaço curto abre buracos entre as palavras). */
.momento__txt, .difs__item p, .ap__row dd, .ap__solve, .atend__chip, .svc__step p, .oli3__fact, .oli3__meaning, .caixa__texto, .post__text, .art-aviso, .atend li p, .atend__lista p { text-align: left; }
/* Rodapé: colunas mais próximas e endereço/horário usando a largura da coluna (antes quebravam cedo e deixavam um vazio ao lado). */
.footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 2.5fr) minmax(0, 4.5fr); gap: clamp(2rem, 4vw, 3rem); }
.footer__contact span, .footer .measure { text-wrap: wrap; }
@media (max-width: 52rem) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
/* Rodapé redesenhado: redes sociais em linha sob o texto do escritório (antes empilhavam na coluna de contato e empurravam o mapa). */
.footer__grid { grid-template-columns: minmax(0, 4.5fr) minmax(0, 2.5fr) minmax(0, 4fr); align-items: start; }
.footer__redes { flex-direction: row; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.5rem; }
.footer nav li + li { margin-top: .35rem; }
.footer__map { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.footer__legal { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.footer__redes { gap: .6rem; }
.footer__rede { width: 2.5rem; height: 2.5rem; justify-content: center; border: 1px solid rgba(217, 208, 199, .4); border-radius: 50%; }
.footer__rede:hover { background: var(--areia); color: var(--petroleo); }
.footer__rede span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 52rem) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }
/* Abas dos assuntos: a segunda linha ("e Planejamento Sucessório") usa a mesma tipografia do nome. */
.areas__sub { font: inherit; font-weight: 600; opacity: 1; letter-spacing: inherit; line-height: inherit; }
