/* =================================================================
   Louzada & Milanezi Advogados — folha de estilo única
   Identidade: grafite #3a3a3a + dourado #e1bd85 · Cinzel + Gotham
   (Gotham é paga; Montserrat é a substituta web mais próxima.
    Se o escritório licenciar a Gotham, troque só --sans.)
   Motivo visual: os fios finos do logotipo — linhas de 1px,
   cantos retos, nada de sombras pesadas ou cartões arredondados.
   ================================================================= */

:root {
  --ink: #3a3a3a;          /* grafite da marca */
  --ink-2: #2f2f2f;        /* grafite mais fundo (rodapé, contrastes) */
  --ink-3: #454545;        /* superfícies sobre o grafite */
  --gold: #e1bd85;         /* dourado da marca — usar sobre escuro */
  --gold-ink: #7d5f33;     /* dourado para texto sobre claro (contraste AA) */
  --paper: #f6f5f2;        /* fundo claro alternativo */
  --white: #ffffff;
  --text: #3a3a3a;
  --muted: #666561;        /* texto secundário sobre claro (≥4.5:1) */
  --muted-dark: #c9c6c0;   /* texto secundário sobre grafite (≥6:1) */
  --line: #dedad3;         /* fios sobre claro */
  --line-dark: rgba(225, 189, 133, .28); /* fios sobre grafite */
  --danger: #a3372b;

  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Montserrat", "Gotham", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(64px, 9vw, 120px);
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--sans); font-size: 1rem; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

body { overflow-x: clip; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--gold-ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { margin: 0 0 .5em; color: inherit; font-weight: 400; line-height: 1.15; }
.serif, h1, h2 { font-family: var(--serif); letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.65; max-width: 38em; }

/* rótulo em versal espaçada, eco do "ADVOGADOS" do logo */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-ink);
}

.dark .label { color: var(--gold); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--band) 0; }
.band:not(.dark):not(.paper) + .band:not(.dark):not(.paper) { padding-top: 0; }
.dark { background: var(--ink); color: var(--white); }
.dark a:hover { color: var(--gold); }
.paper { background: var(--paper); }

/* Seção com nota lateral: rótulo à esquerda, conteúdo à direita */
.sec {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  column-gap: clamp(24px, 4vw, 64px); row-gap: 28px;
}
.sec__side { padding-top: .6em; }
.sec__side .label { position: sticky; top: calc(var(--header-h) + 24px); }
.sec__head { max-width: 44em; margin-bottom: clamp(32px, 4vw, 56px); }
.sec__head p { color: var(--muted); }
.dark .sec__head p { color: var(--muted-dark); }
@media (max-width: 860px) {
  .sec { grid-template-columns: 1fr; }
  .sec__side { padding-top: 0; }
}

/* ---------- Botões ---------- */
.btn {
  --b-bg: var(--gold); --b-fg: var(--ink); --b-bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px; border: 1px solid var(--b-bd); border-radius: var(--radius);
  background: var(--b-bg); color: var(--b-fg); cursor: pointer;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { --b-bg: #ead0a6; --b-bd: #ead0a6; color: var(--ink); }
.btn .bi { font-size: 1.05rem; }
.btn--line { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--ink); }
.btn--line:hover { --b-bg: var(--ink); --b-bd: var(--ink); color: var(--white); }
.dark .btn--line, .btn--line-light { --b-bg: transparent; --b-fg: var(--white); --b-bd: rgba(255, 255, 255, .55); }
.dark .btn--line:hover, .btn--line-light:hover { --b-bg: var(--white); --b-bd: var(--white); color: var(--ink); }
.btn--ink { --b-bg: var(--ink); --b-fg: var(--white); --b-bd: var(--ink); }
.btn--ink:hover { --b-bg: var(--ink-2); --b-bd: var(--ink-2); color: var(--white); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .875rem;
  letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow .bi { transition: transform .2s var(--ease); }
.link-arrow:hover .bi { transform: translateX(4px); }

/* ---------- Header ---------- */
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 100000; background: var(--ink); color: var(--white); padding: 10px 18px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 0; color: var(--white); }

.header {
  position: sticky; top: 0; z-index: 900; height: var(--header-h);
  background: var(--ink); color: var(--white); border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.is-scrolled .header { border-bottom-color: var(--line-dark); background: rgba(58, 58, 58, .97); }
.header__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand__mono { height: 40px; width: auto; }
.brand__word { height: 30px; width: auto; }
@media (max-width: 420px) { .brand__word { height: 24px; } .brand__mono { height: 32px; } }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  position: relative; text-decoration: none; font-size: .875rem; font-weight: 500; letter-spacing: .02em;
  color: rgba(255, 255, 255, .86); padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .25s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .nav__sim { color: var(--gold); }
.header__cta { min-height: 42px; padding: 8px 18px; }
.nav-toggle { display: none; }

@media (max-width: 1200px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
    border: 1px solid var(--line-dark); background: transparent; color: var(--white); font-size: 1.5rem; cursor: pointer;
  }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 899; background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0; padding: 24px var(--gutter) 40px;
    border-top: 1px solid var(--line-dark); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav a { font-family: var(--serif); font-size: 1.5rem; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
  .nav .nav__mobile-cta { margin-top: 28px; font-family: var(--sans); font-size: .8125rem; border: 1px solid var(--gold); padding: 14px; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 1201px) { .nav .nav__mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 112px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hero h1 { margin: 22px 0 28px; max-width: 11.5em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: var(--muted-dark); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts {
  margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero__facts > div { padding: 22px 24px 26px 0; }
.hero__facts > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero__facts dt { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.hero__facts dd { margin: 0; font-size: .9375rem; }
.hero__facts a { text-decoration: none; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts > div, .hero__facts > div + div { padding: 16px 0; border-left: 0; }
  .hero__facts > div + div { border-top: 1px solid var(--line-dark); }
}

/* ---------- Hero: slider de imagens no fundo ---------- */
.hero { position: relative; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.06); transition: transform 8s linear;
}
.hero__slide.is-active img { transform: scale(1); }
/* véu grafite para o texto continuar legível */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(58, 58, 58, .94) 0%, rgba(58, 58, 58, .82) 45%, rgba(58, 58, 58, .6) 100%),
    linear-gradient(0deg, rgba(58, 58, 58, 1) 0%, rgba(58, 58, 58, 0) 35%);
}
@media (max-width: 960px) {
  .hero__bg { bottom: auto; height: min(100%, 100svh); }
  .hero__slide img, .hero__slide.is-active img { object-position: var(--pos, center); transform: none; }
  .hero__bg::after {
    background: linear-gradient(180deg, rgba(58, 58, 58, .72) 0%, rgba(58, 58, 58, .86) 55%, rgba(58, 58, 58, 1) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__slide img { transition: none; transform: none; }
}
/* ---------- Painel do simulador (hero e página) ---------- */
.panel { background: var(--white); color: var(--text); padding: clamp(24px, 3vw, 36px); border-top: 3px solid var(--gold); }
.panel__title { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 6px; }
.panel__sub { color: var(--muted); font-size: .9375rem; margin-bottom: 24px; }
.panel__note { font-size: .8125rem; color: var(--muted); margin: 16px 0 0; display: flex; gap: 8px; }
.panel__note .bi { color: var(--gold-ink); }

/* ---------- Formulários ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.field label, .field .field__label { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--text); }
.field small { font-size: .75rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; background: var(--white);
  border: 1px solid #cbc6bd; border-radius: var(--radius); font-size: 1rem; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233a3a3a' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9d978c; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(225, 189, 133, .45); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { font-size: .8125rem; color: var(--danger); }
.field__err:empty { display: none; }
.prefix { position: relative; }
.prefix > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9375rem; pointer-events: none; }
.prefix input { padding-left: 42px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; line-height: 1.5; margin: 6px 0 20px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check a { color: var(--gold-ink); }

.dark .field label { color: var(--white); }
.dark .field input, .dark .field select, .dark .field textarea { background-color: var(--ink-3); border-color: rgba(255, 255, 255, .22); color: var(--white); }
.dark .field input::placeholder, .dark .field textarea::placeholder { color: #a9a6a0; }
.dark .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e1bd85' stroke-width='1.5'/%3E%3C/svg%3E"); }
.dark .field input:focus, .dark .field select:focus, .dark .field textarea:focus { border-color: var(--gold); }
.dark .check a { color: var(--gold); }
.dark .check input { accent-color: var(--gold); }
/* painel branco dentro de seção escura volta ao estilo claro */
.dark .panel .field label { color: var(--text); }
.dark .panel .field input, .dark .panel .field select { background-color: var(--white); border-color: #cbc6bd; color: var(--text); }
.dark .panel .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233a3a3a' stroke-width='1.5'/%3E%3C/svg%3E"); }
.dark .panel .field input:focus, .dark .panel .field select:focus { border-color: var(--ink); }
.dark .panel a:hover { color: var(--gold-ink); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .9375rem; margin: 14px 0 0; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--gold); }
.form-status.is-err { color: #f0a597; }
.paper .form-status.is-ok, body:not(.dark) .panel .form-status.is-ok { color: #2f6b3a; }
.panel .form-status.is-err { color: var(--danger); }

/* ---------- Áreas (home) ---------- */
.areas { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.area { padding: 36px clamp(0px, 3vw, 40px) 8px 0; display: flex; flex-direction: column; }
.area + .area { padding-left: clamp(24px, 3vw, 40px); padding-right: 0; border-left: 1px solid var(--line); }
.area h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.area > p { color: var(--muted); max-width: 30em; }
.area ul { margin: 18px 0 30px; columns: 2; column-gap: 28px; }
.area li { break-inside: avoid; padding: 11px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.area .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) {
  .areas { grid-template-columns: 1fr; }
  .area + .area { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink); }
  .area ul { columns: 1; }
}

/* ---------- Verbas (explicação do simulador) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.feature h2 { margin: 18px 0 20px; }
.feature p { color: var(--muted-dark); }
.feature .btn { margin-top: 12px; }
.terms { border-top: 1px solid var(--line-dark); }
.terms > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.terms dt { font-family: var(--serif); font-size: 1.125rem; color: var(--gold); }
.terms dd { margin: 0; color: var(--muted-dark); font-size: .9375rem; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .terms > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Etapas ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; padding: 26px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 1.75rem; color: var(--gold-ink); line-height: 1; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .9375rem; margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3) { margin-top: 28px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; margin: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
}

/* ---------- Escritório / sócios ---------- */
.office { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.office__text p { color: var(--muted); }
.office__text .link-arrow { margin-top: 12px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); }
.person figure { margin: 0; }
.person__photo {
  aspect-ratio: 4 / 5; background: var(--ink); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.person__photo img.is-photo { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.person__photo .mono { width: 34%; opacity: .5; }
.person__photo small { position: absolute; bottom: 12px; left: 14px; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.person figcaption { padding-top: 16px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.person h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 0 0 2px; }
.person p { margin: 0; font-size: .8125rem; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 860px) { .office { grid-template-columns: 1fr; } }
@media (max-width: 340px) { .people { grid-template-columns: 1fr; } }

/* ---------- Perguntas (details) ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: flex-start;
  padding: 22px 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-ink); }
.faq details > div { padding: 0 48px 24px 0; color: var(--muted); max-width: 46em; }
.faq details > div p:last-child { margin: 0; }

/* ---------- Notícias ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.post-card { text-decoration: none; display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 20px; }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); margin-bottom: 18px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card time { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.post-card h3 { font-size: 1.125rem; margin: 8px 0 8px; }
.post-card p { font-size: .9375rem; color: var(--muted); margin: 0; }
.post-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .875rem; }
.pager [aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.contact h2 { margin: 18px 0 20px; }
.contact__intro { color: var(--muted-dark); }
.contact__list { margin-top: 36px; border-top: 1px solid var(--line-dark); }
.contact__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.contact__list dt { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.contact__list dd { margin: 0; }
.contact__list a { text-decoration: none; }
.contact--light .contact__list { margin-top: 28px; }
.contact--light .contact__list, .contact--light .contact__list > div { border-color: var(--line); }
.contact--light .contact__list dt { color: var(--gold-ink); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact__list > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Cabeçalho de página interna ---------- */
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { margin: 20px 0 18px; max-width: 16em; }
.page-head .lead { color: var(--muted-dark); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .75rem; letter-spacing: .08em; color: var(--muted-dark); margin-bottom: 8px; }
.crumbs a { text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }

/* ---------- Página de área ---------- */
.matters { border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 56px); }
.matters > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.matters dt { font-weight: 600; margin-bottom: 6px; }
.matters dd { margin: 0; color: var(--muted); font-size: .9375rem; }
@media (max-width: 760px) { .matters { grid-template-columns: 1fr; } }
.docs { counter-reset: d; border-top: 1px solid var(--ink); }
.docs li { counter-increment: d; display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.docs li::before { content: counter(d, decimal-leading-zero); font-family: var(--serif); color: var(--gold-ink); }
.aside-box { border: 1px solid var(--line); padding: 28px; }
.aside-box h3 { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; }
.aside-box p { color: var(--muted); font-size: .9375rem; }
.aside-box .btn { margin-top: 8px; }
.two-col { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.two-col > aside { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .two-col > aside { position: static; } }

/* blocos empilhados e títulos logo após o rótulo */
.block { margin-top: clamp(56px, 7vw, 96px); }
.label + h2 { margin-top: 18px; }
.intro-muted { color: var(--muted); max-width: 40em; margin-bottom: 28px; }

/* CTA final de página */
.closing { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.closing h2 { margin: 16px 0 0; max-width: 18em; }
.closing__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Texto corrido (blog, política) ---------- */
.prose { max-width: 44em; font-size: 1.0625rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.1875rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-ink); }
.prose a { color: var(--gold-ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; }
.prose img { margin: 1.6em 0; }
.post-meta { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.post-cover { margin: 0 0 48px; }
.post-foot { max-width: 44em; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink-2); color: var(--muted-dark); font-size: .9375rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 2.2fr) minmax(0, 3.4fr) minmax(0, 2.2fr); gap: 40px; padding: clamp(56px, 7vw, 88px) 0 48px; }
.footer__logo { width: 210px; }
@media (max-width: 960px) { .footer__about > a {display: block; } .footer__logo { margin: 0 auto;} }
.footer__about p { margin-top: 22px; max-width: 24em; }
.footer h2 { font-family: var(--sans); font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer li { margin-bottom: 10px; overflow-wrap: anywhere; }
.footer a { text-decoration: none; color: var(--white); }
.footer a:hover { color: var(--gold); }
.footer__oab { font-size: .8125rem; }
.footer__oab li { margin-bottom: 4px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: .8125rem; }
.footer__bottom a { color: var(--muted-dark); }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 80px; z-index: 800;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px;
  background: var(--ink); color: var(--white); border: 1px solid var(--gold); border-radius: 26px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.wa-float .bi { font-size: 1.35rem; color: #5fcf7e; }
.is-scrolled .wa-float { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { color: var(--white); background: var(--ink-2); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { width: 52px; padding: 0; justify-content: center; } }

/* ---------- Simulador (página) ---------- */
.sim { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .sim { grid-template-columns: 1fr; } }
.sim .panel { border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 32px; border-bottom: 1px solid var(--line); }
.stepper li { padding: 0 0 14px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #8a877f; position: relative; }
.stepper li b { font-family: var(--serif); font-weight: 400; font-size: 1rem; margin-right: 8px; letter-spacing: 0; }
.stepper li[aria-current="step"] { color: var(--ink); }
.stepper li[aria-current="step"]::after, .stepper li.is-done::after { content: ""; position: absolute; left: 0; right: 12px; bottom: -1px; height: 2px; background: var(--gold); }
.stepper li.is-done { color: var(--gold-ink); }
@media (max-width: 520px) { .stepper li span { display: none; } }
.sim-step[hidden] { display: none; }
.sim-step h2 { font-size: 1.5rem; margin-bottom: 6px; }
.sim-step > p { color: var(--muted); margin-bottom: 26px; }
.sim-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 8px; }
.btn-text { background: none; border: 0; padding: 8px 0; cursor: pointer; font-weight: 600; font-size: .875rem; text-decoration: underline; text-underline-offset: .25em; color: var(--muted); }
.btn-text:hover { color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

.result__total { background: var(--ink); color: var(--white); padding: 28px; margin-bottom: 28px; }
.result__total span { display: block; font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.result__total strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; margin: 8px 0 6px; }
.result__total small { color: var(--muted-dark); font-size: .8125rem; }
.rtable { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-bottom: 24px; }
.rtable caption { text-align: left; font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); padding-bottom: 10px; }
.rtable th, .rtable td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rtable td:last-child, .rtable th:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.rtable td small { display: block; color: var(--muted); font-size: .8125rem; }
.rtable tfoot td { font-weight: 700; border-bottom: 1px solid var(--ink); border-top: 1px solid var(--ink); }
.rtable .neg { color: var(--danger); }
.result__notes { font-size: .875rem; color: var(--muted); border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; margin: 8px 0 28px; }
.result__notes li { margin-bottom: 6px; }

.side-notes h2 { font-family: var(--sans); font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.side-notes ul { border-top: 1px solid var(--ink); margin-bottom: 36px; }
.side-notes li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.side-notes li strong { display: block; font-weight: 600; }
.side-notes li span { color: var(--muted); font-size: .875rem; }
.side-notes p { font-size: .875rem; color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 56vh; display: grid; align-content: center; }
.notfound .big { font-family: var(--serif); font-size: clamp(5rem, 14vw, 10rem); line-height: 1; color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .header, .footer, .wa-float, #a11y, [vw] { display: none !important; }
  .dark { background: none; color: #000; }
}

/*  Simulador: seção opcional (adicionais, médias, faltas, descontos)  */
.field[hidden] { display: none; }
.sim-more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 8px 0 24px; }
.sim-more summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; font-weight: 600; font-size: .9375rem;
}
.sim-more summary::-webkit-details-marker { display: none; }
.sim-more summary small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; margin-top: 2px; }
.sim-more summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .25s var(--ease);
}
.sim-more[open] summary::after { transform: rotate(45deg); }
.sim-more summary:hover { color: var(--gold-ink); }
.sim-more__body { padding: 4px 0 8px; }
.sim-more__hint { font-size: .8125rem; color: var(--muted); margin: 4px 0 12px; }
.field input[type="number"] { -moz-appearance: textfield; }

/* AVISO: golpe do falso advogado */
.alerta-golpe { background: var(--gold); color: var(--ink); font-size: .875rem; }
.alerta-golpe summary { list-style: none; cursor: pointer; }
.alerta-golpe summary::-webkit-details-marker { display: none; }
.alerta-golpe__in {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 10px;
  max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 9px var(--gutter); text-align: center;
}
.alerta-golpe .bi { font-size: 1rem; margin-right: 4px; vertical-align: -1px; }
.alerta-golpe strong { font-weight: 700; letter-spacing: .02em; }
.alerta-golpe__mais { text-decoration: underline; text-underline-offset: .2em; white-space: nowrap; }
.alerta-golpe__mais::after { content: " ▾"; text-decoration: none; display: inline-block; transition: transform .2s; }
.alerta-golpe[open] .alerta-golpe__mais::after { transform: rotate(180deg); }
.alerta-golpe summary:hover .alerta-golpe__mais { color: var(--ink-2); }
.alerta-golpe__texto { max-width: 52em; margin: 0 auto; padding: 0 var(--gutter) 14px; text-align: center; line-height: 1.6; }
.alerta-golpe__texto p { margin: 0 0 .5em; }
.alerta-golpe__texto a { font-weight: 700; color: var(--ink); }

.person__info { margin-top: 14px; }
.person__info p { font-size: .9375rem; letter-spacing: 0; line-height: 1.55; }
.person .person__cargo { color: var(--gold-ink); font-weight: 600; margin-bottom: 4px; }

/* Simulador: tela de "resultado enviado por e-mail" */
.sim-sent { background: var(--paper); border-left: 3px solid var(--gold); padding: 28px; margin-bottom: 28px; }
.sim-sent__icon { display: block; font-size: 2rem; color: var(--gold-ink); margin-bottom: 10px; }
.sim-sent h2 { font-size: 1.375rem; margin-bottom: 10px; }
.sim-sent p { margin: 0 0 8px; }
.sim-sent strong { word-break: break-word; }
.sim-sent__dica { font-size: .875rem; color: var(--muted); }
.sim-sent--erro { border-left-color: var(--danger); }
.sim-sent--erro .sim-sent__icon { color: var(--danger); }
.sim-sent__lista { margin-bottom: 28px; }
.sim-sent__lista h3 { font-family: var(--sans); font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.sim-sent__lista ul { border-top: 1px solid var(--ink); }
.sim-sent__lista li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.sim-sent__lista .bi { color: var(--gold-ink); margin-right: 6px; }

.nobr { white-space: nowrap; }

/* Rodapé: contatos com ícone */

.footer__contato li { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: normal; }
.footer__contato .bi { color: var(--gold); font-size: 1rem; line-height: 1.6; flex-shrink: 0; }
.footer__contato a[href^="mailto"] { white-space: nowrap; }

/* Coluna Atendimento nunca fica mais estreita que o e-mail */
.footer__top { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(min-content, 4fr) minmax(0, 2fr); }
@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__atend { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .footer__contato a[href^="mailto"] { font-size: .8125rem; } }

.closing__sub { margin: 10px 0 0; color: var(--muted-dark); max-width: 32em; }

/* Simulador: aviso final em destaque */
.side-notes .sim-aviso {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  border-left: 3px solid var(--gold);
  padding: 18px 20px;
}
.side-notes .sim-aviso .bi { color: var(--gold-ink); margin-right: 4px; }

