/* ==========================================================================
   Vital Advocacia Geral — style.css  (v2)
   Base: design system "Advocacia Editorial — Decision" (07-design-system.json) + referência Decision.
   v3: Poppins em todo o site; contraste reforçado; hovers discretos (nada some nem inverte de cor).
   REGRA DE SIMETRIA (todas as páginas): colunas sempre com a mesma largura (grid-2/3/4 = frações iguais),
   itens da mesma linha sempre com a mesma altura (stretch), imagem ao lado de texto ocupa a altura do texto.
   ========================================================================== */

/* 1. FONTES — Poppins auto-hospedada (400, 500, 600, 700), font-display: swap */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }

/* 2. TOKENS (contrastes conferidos: texto ≥ 4,5:1) */
:root {
  --law-primary: #D6A85E;        /* dourado — fundos e detalhes; sobre o azul 7,3:1 */
  --law-primary-hover: #C8964A;
  --law-primary-soft: #F8EEDD;
  --law-accent: #13213F;
  --law-text: #121A30;           /* 17,3:1 no branco */
  --law-muted: #3B4660;          /* 9,4:1 no branco */
  --law-gold-strong: #8A5F1A;    /* números em fundo claro: 5,6:1 no branco, 5,2:1 no marfim */
  --law-surface: #FFFFFF;
  --law-surface-alt: #F8F5EF;    /* marfim quente */
  --law-surface-cool: #F0F4FA;   /* azul muito claro: dá ritmo entre as seções claras */
  --law-dark: #13213F;           /* azul-marinho profundo */
  --law-dark-alt: #0C1730;
  --law-footer: #13213F;
  --law-border: #777E86;
  --law-border-subtle: #E6E0D6;
  --law-success: #17704A;
  --law-error: #B42318;
  --law-focus: #7A5518;
  --law-focus-inverse: #F0C58B;
  --law-on-primary: #0C1730;
  --law-on-dark: #FFFFFF;
  --law-muted-inverse: #D7DCE6;
  --law-link: #7F5B1C;           /* 6,2:1 no branco */
  --law-disabled-surface: #ECECF0;
  --law-disabled-text: #626874;

  --law-font-display: "Poppins", Arial, Helvetica, sans-serif;
  --law-font-body: "Poppins", Arial, Helvetica, sans-serif;
  --law-fs-h1: clamp(2.125rem, 1.6845rem + 1.8779vw, 3.375rem);
  --law-fs-h2: clamp(1.75rem, 1.4859rem + 1.1268vw, 2.5rem);
  --law-fs-h3: clamp(1.25rem, 1.1620rem + 0.3756vw, 1.5rem);
  --law-fs-h4: clamp(1.125rem, 1.0810rem + 0.1878vw, 1.25rem);
  --law-fs-h5: clamp(1.125rem, 1.0810rem + 0.1878vw, 1.25rem);
  --law-fs-body: 1rem;
  --law-fs-small: 0.9375rem;
  --law-fs-lead: clamp(1.0625rem, 1.0405rem + 0.0939vw, 1.125rem);
  --law-fs-eyebrow: 0.75rem;

  --law-s1: 4px; --law-s2: 8px; --law-s3: 12px; --law-s4: 16px; --law-s5: 24px;
  --law-s6: 32px; --law-s7: 48px; --law-s8: 64px; --law-s9: 96px; --law-s10: 128px;
  --law-section-pad: 64px;
  --law-grid-gap: 16px;
  --law-page-gutter: 16px;
  --page-gutter: var(--law-page-gutter);

  --law-radius-xs: 6px; --law-radius-sm: 6px; --law-radius-md: 10px; --law-radius-lg: 14px;
  --law-grad-dark: linear-gradient(135deg, #1A2D55 0%, #13213F 55%, #0E1A34 100%);
  --law-grad-gold: linear-gradient(135deg, #E0B56E 0%, #D3A257 100%);
  --law-shadow-subtle: 0 2px 8px rgba(12,23,48,0.06);
  --law-shadow-card: 0 14px 40px rgba(12,23,48,0.10);
  --law-shadow-floating: 0 24px 64px rgba(12,23,48,0.18);
  --law-shadow-menu: 0 18px 48px rgba(12,23,48,0.18);
  --law-line: 1px solid var(--law-border-subtle);
  --law-line-inverse: 1px solid rgba(255,255,255,0.14);

  --law-ease: cubic-bezier(0.2,0.7,0.2,1);
  --law-t-interactive: background-color 150ms ease, color 150ms ease, border-color 150ms ease;

  --law-overlay-hero: linear-gradient(90deg, rgba(12,23,48,0.94) 0%, rgba(12,23,48,0.78) 38%, rgba(12,23,48,0.12) 62%, rgba(12,23,48,0) 100%);
  --law-overlay-hero-mobile: linear-gradient(180deg, rgba(12,23,48,0.25) 0%, rgba(12,23,48,0.2) 30%, rgba(12,23,48,0.92) 58%, rgba(12,23,48,0.97) 100%);
  --law-overlay-photo: rgba(12,23,48,0.92);

  --law-z-content: 2; --law-z-overlap: 10; --law-z-header: 30;
  --law-z-dropdown: 40; --law-z-mobile-menu: 50; --law-z-float: 60;
  --law-utility-h: 40px;
  --law-header-h: 72px;
}

/* 3. BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 112px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--law-font-body); font-size: var(--law-fs-body); line-height: 1.7; color: var(--law-muted); background: var(--law-surface); font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.is-locked { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 var(--law-s4); overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }
strong { font-weight: 700; color: var(--law-text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

h1, h2, h3, h4 { margin: 0; color: var(--law-text); font-family: var(--law-font-display); font-weight: 600; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; } /* palavras longas (ex.: "superendividamento") não passam da tela no celular */
h1 { font-size: var(--law-fs-h1); line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: var(--law-fs-h2); line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: var(--law-fs-h3); line-height: 1.3; letter-spacing: -0.005em; }
h4 { font-size: var(--law-fs-h4); line-height: 1.35; }

[data-surface="dark"] { color: var(--law-muted-inverse); }
[data-surface="dark"] :is(h1, h2, h3, h4, strong) { color: var(--law-on-dark); }

:focus-visible { outline: 3px solid var(--law-focus); outline-offset: 3px; }
[data-surface="dark"] :focus-visible { outline-color: var(--law-focus-inverse); }
[data-surface="gold"] :focus-visible { outline-color: var(--law-accent); }

/* 4. UTILITÁRIOS */
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - 2 * var(--law-page-gutter)), 1200px); margin-inline: auto; }
.skip-link { position: absolute; left: var(--law-s4); top: -100px; z-index: 100; padding: 12px 20px; background: var(--law-primary); color: var(--law-on-primary); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: var(--law-s4); outline-color: var(--law-accent); }

/* Grades simétricas — frações sempre iguais, itens sempre esticados à mesma altura */
.grid-2, .grid-3, .grid-4 { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-grid-gap); align-items: stretch; list-style: none; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--inline { width: 16px; height: 16px; }
.icon--control { width: 20px; height: 20px; }
.icon--feature { width: 32px; height: 32px; }

/* Eyebrow editorial: filete dourado + rótulo */
.eyebrow { display: flex; align-items: center; gap: var(--law-s3); margin: 0 0 var(--law-s4); font-family: var(--law-font-body); font-size: var(--law-fs-eyebrow); font-weight: 600; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; color: var(--law-link); }
.eyebrow::before { content: ""; width: 36px; height: 2px; flex: none; background: var(--law-primary); }
[data-surface="dark"] .eyebrow, .sh--dark .eyebrow { color: var(--law-primary); }
.lead { font-size: var(--law-fs-lead); line-height: 1.7; }

/* Fechamento de seção: frase curta + link, numa faixa da largura do conteúdo (nunca termina em lista) */
.section-end { display: flex; flex-direction: column; align-items: flex-start; gap: var(--law-s2); margin-top: var(--law-s6); padding: var(--law-s4) var(--law-s5); background: var(--law-surface-alt); }
.section-end p { margin: 0; color: var(--law-text); font-size: 1rem; font-weight: 500; line-height: 1.5; }
.section-end .arrow-link { flex: none; }
.section--alt .section-end { background: var(--law-surface); }
[data-surface="dark"] .section-end, .steps .section-end { background: rgba(255,255,255,0.06); }
[data-surface="dark"] .section-end p, .steps .section-end p { color: var(--law-on-dark); }
.steps .section-end .arrow-link { color: var(--law-on-dark); }
.trust .section-end { margin-top: var(--law-s6); }
.split__close { margin: 0 0 var(--law-s5); color: var(--law-text); font-weight: 600; }
[data-surface="dark"] .split__close { color: var(--law-on-dark); }

/* 5. COMPONENTES */

/* Botões — com o brilho diagonal da referência Decision */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: var(--law-s2); min-height: 52px; padding: 14px 28px; border: 1px solid transparent; border-radius: var(--law-radius-xs); font-family: var(--law-font-body); font-size: 0.9375rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; text-align: center; text-decoration: none; cursor: pointer; transition: var(--law-t-interactive); }
.btn::after { content: ""; position: absolute; z-index: -1; top: -50%; left: -75px; width: 50px; height: 200%; background: rgba(255,255,255,0.18); transform: rotate(35deg); transition: left 1s cubic-bezier(.19,1,.22,1); }
.btn:hover::after { left: 120%; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 58px; padding-inline: 32px; font-size: 1rem; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.875rem; }
.btn--primary { background: var(--law-primary); border-color: var(--law-primary); color: var(--law-on-primary); }
.btn--primary:hover { background: var(--law-primary-hover); border-color: var(--law-primary-hover); }
.btn--secondary { background: var(--law-dark); border-color: var(--law-dark); color: var(--law-on-dark); }
.btn--secondary:hover { background: var(--law-dark-alt); }
.btn--outline { background: transparent; border-color: var(--law-accent); color: var(--law-accent); }
.btn--outline:hover { background: var(--law-accent); color: var(--law-on-dark); }
.btn--ghost { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.55); color: var(--law-on-dark); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--law-primary); color: var(--law-on-dark); }
.btn--whatsapp { background: var(--law-success); border-color: var(--law-success); color: #fff; }
.btn--whatsapp:hover { background: #125C3A; border-color: #125C3A; }
.btn[disabled] { background: var(--law-disabled-surface); border-color: var(--law-border); color: var(--law-disabled-text); cursor: not-allowed; transform: none; }

/* Link de texto (no meio do parágrafo) */
.text-link { color: var(--law-link); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; overflow-wrap: anywhere; transition: var(--law-t-interactive); }
.text-link:hover { color: var(--law-accent); text-decoration-thickness: 2px; }
[data-surface="dark"] .text-link { color: var(--law-primary); }
[data-surface="dark"] .text-link:hover { color: var(--law-on-dark); }
[data-surface="gold"] .text-link { color: var(--law-on-primary); }

/* Link com seta: filete dourado que cresce no hover (referência Decision) */
.arrow-link { display: inline-flex; align-items: center; gap: var(--law-s3); min-height: 44px; color: var(--law-text); font-size: 0.875rem; font-weight: 600; letter-spacing: 0; text-decoration: none; background: linear-gradient(var(--law-primary), var(--law-primary)) 0 calc(100% - 8px) / 0 2px no-repeat; transition: background-size 300ms var(--law-ease), color 150ms ease; }
.arrow-link::after { content: ""; width: 28px; height: 10px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 10'%3E%3Cpath d='M0 5h26M22 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 10'%3E%3Cpath d='M0 5h26M22 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 300ms var(--law-ease); }
.arrow-link:hover { background-size: calc(100% - 40px) 2px; }
.arrow-link:hover::after { transform: translateX(4px); }
.arrow-link--dark, [data-surface="dark"] .arrow-link { color: var(--law-on-dark); }
[data-surface="gold"] .arrow-link { color: var(--law-on-primary); background-image: linear-gradient(var(--law-on-primary), var(--law-on-primary)); }

/* Marca (substituir pelo logo oficial) */
.brand { display: inline-flex; align-items: center; gap: var(--law-s3); max-width: 190px; text-decoration: none; color: var(--law-on-dark); }
.brand__logo { display: block; width: auto; height: 46px; }
.brand__mark { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 1px solid var(--law-primary); outline: 1px solid rgba(214,168,94,0.35); outline-offset: 3px; color: var(--law-primary); font-family: var(--law-font-display); font-size: 1.375rem; font-weight: 600; line-height: 1; }
.brand__name { display: flex; flex-direction: column; font-family: var(--law-font-display); font-size: 1.25rem; font-weight: 600; line-height: 1; letter-spacing: 0.01em; }
.brand__sub { margin-top: 4px; white-space: nowrap; font-family: var(--law-font-body); font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--law-primary); }

/* Barra utilitária */
.utility-bar { display: none; height: var(--law-utility-h); background: var(--law-dark-alt); color: var(--law-muted-inverse); font-size: 0.75rem; border-bottom: var(--law-line-inverse); }
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: var(--law-s5); }
.utility-bar__list { display: flex; align-items: center; gap: var(--law-s5); list-style: none; }
.utility-bar__list li { display: inline-flex; align-items: center; gap: var(--law-s2); white-space: nowrap; }
.utility-bar__list li + li { padding-left: var(--law-s5); border-left: var(--law-line-inverse); }
.utility-bar .icon { color: var(--law-primary); }
.utility-bar a { color: var(--law-on-dark); text-decoration: none; }
.utility-bar a:hover { color: var(--law-primary); }

/* Cabeçalho */
.site-top { position: absolute; inset: 0 0 auto 0; z-index: var(--law-z-header); }
.site-header { position: relative; height: var(--law-header-h); border-bottom: var(--law-line-inverse); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--law-s5); height: 100%; }
.site-header.is-stuck { position: fixed; inset: 0 0 auto 0; background: var(--law-dark); border-bottom-color: transparent; box-shadow: var(--law-shadow-menu); animation: law-slide-down 350ms var(--law-ease); }
@keyframes law-slide-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.main-nav { display: none; height: 100%; }
.main-nav__list { display: flex; align-items: stretch; height: 100%; gap: var(--law-s5); list-style: none; }
.main-nav__item { position: static; display: flex; align-items: center; }
.main-nav__link, .main-nav__trigger { position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--law-on-dark); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; text-decoration: none; transition: var(--law-t-interactive); }
.main-nav__link::after, .main-nav__trigger::after { content: ""; position: absolute; left: 0; bottom: 6px; width: 0; height: 2px; background: var(--law-primary); transition: width 300ms var(--law-ease); }
.main-nav__link:hover::after, .main-nav__trigger:hover::after, .main-nav__item.is-open > .main-nav__trigger::after { width: 100%; }
.main-nav__link:hover, .main-nav__trigger:hover, .main-nav__item.is-open > .main-nav__trigger, .main-nav__item--mega:hover > .main-nav__trigger { color: var(--law-primary); }
.main-nav__item--mega:hover > .main-nav__trigger::after, .main-nav__item--mega:focus-within > .main-nav__trigger::after { width: 100%; }
.site-header__cta { display: none; }

/* Mega menu */
.mega { position: absolute; top: 100%; left: 0; right: 0; z-index: var(--law-z-dropdown); background: var(--law-surface); color: var(--law-muted); box-shadow: var(--law-shadow-menu); border-top: 3px solid var(--law-primary); visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 220ms ease, transform 220ms var(--law-ease), visibility 0s linear 220ms; }
.main-nav__item--mega:hover:not(.is-suppressed) > .mega, .main-nav__item--mega:focus-within:not(.is-suppressed) > .mega, .main-nav__item--mega.is-open > .mega { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }
.main-nav__item--mega:hover:not(.is-suppressed) .main-nav__trigger .icon, .main-nav__item--mega:focus-within:not(.is-suppressed) .main-nav__trigger .icon, .main-nav__item--mega.is-open .main-nav__trigger .icon { transform: rotate(180deg); }
/* Mega menu em colunas por assunto: título com ícone, linha fina, itens (ícone + nome + descrição) e "Ver…" no pé */
.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--law-s7); align-items: stretch; padding-block: var(--law-s6) var(--law-s5); }
.mega__col { display: flex; flex-direction: column; min-width: 0; }
.mega__col-title { display: flex; align-items: center; gap: var(--law-s3); margin: 0 0 var(--law-s3); padding-bottom: var(--law-s4); border-bottom: var(--law-line); color: var(--law-text); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.mega__col-icon { display: inline-grid; flex: none; place-items: center; width: 40px; height: 40px; background: var(--law-surface-alt); border-radius: var(--law-radius-sm); color: var(--law-link); }
.mega__col-icon .icon { width: 20px; height: 20px; }
.mega__list { display: grid; gap: 2px; margin: 0 0 var(--law-s4); padding: 0; list-style: none; }
.mega__link { display: flex; align-items: flex-start; gap: var(--law-s3); min-height: 44px; padding: 10px var(--law-s2); border-radius: var(--law-radius-sm); text-decoration: none; transition: background-color 150ms ease; }
.mega__link .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--law-text); transition: color 150ms ease; }
.mega__link:hover { background: var(--law-surface-alt); }
.mega__link:hover .mega__label, .mega__link:hover .icon { color: var(--law-link); }
.mega__label { display: block; color: var(--law-text); font-size: 0.9375rem; font-weight: 600; line-height: 1.35; transition: color 150ms ease; }
.mega__desc { display: block; margin-top: 2px; color: var(--law-muted); font-size: 0.8125rem; line-height: 1.5; }
.mega__all { display: flex; align-items: center; justify-content: space-between; gap: var(--law-s3); min-height: 44px; margin-top: auto; padding: var(--law-s2); color: var(--law-link); font-size: 0.875rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
.mega__all .icon { flex: none; width: 18px; height: 18px; transition: transform 200ms var(--law-ease); }
.mega__all:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.mega__all:hover .icon { transform: translateX(4px); }
@media (max-width: 1279px) { .mega__inner { gap: var(--law-s5); } .mega__desc { font-size: 0.75rem; } }
.mega__bar { background: var(--law-surface-alt); border-top: var(--law-line); font-size: 0.8125rem; }
.mega__bar-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--law-s5); padding-block: var(--law-s2); }
.mega__bar a, .mega__bar p { display: inline-flex; align-items: center; gap: var(--law-s2); min-height: 44px; margin: 0; color: var(--law-text); font-weight: 500; text-decoration: none; }
.mega__bar a:hover { color: var(--law-link); text-decoration: underline; text-underline-offset: 0.2em; }
.mega__bar p { color: var(--law-muted); }
.mega__bar-inner > :nth-child(2) { justify-content: center; }
.mega__bar-inner > :nth-child(3) { justify-content: flex-end; }
.mega__bar .icon { color: var(--law-link); }

/* Menu mobile */
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--law-on-dark); border: 1px solid rgba(255,255,255,0.3); text-decoration: none; }
.burger:hover { color: var(--law-primary); border-color: var(--law-primary); }
.mobile-menu { position: fixed; inset: 0; z-index: var(--law-z-mobile-menu); display: none; flex-direction: column; background: var(--law-dark); overflow: auto; overscroll-behavior: contain; }
.mobile-menu:target, .mobile-menu.is-open { display: flex; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; gap: var(--law-s4); min-height: var(--law-header-h); padding: var(--law-s3) var(--law-page-gutter); border-bottom: var(--law-line-inverse); }
.mobile-menu__close { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--law-on-dark); border: 1px solid rgba(255,255,255,0.3); }
.mobile-menu__nav { flex: 1; padding: var(--law-s5) var(--law-page-gutter); }
.mobile-menu__group-label { margin: var(--law-s5) 0 var(--law-s2); color: var(--law-primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.mobile-menu__group-label:first-child { margin-top: 0; }
.mm-acc { border-bottom: var(--law-line-inverse); }
.mm-acc summary { display: flex; align-items: center; gap: var(--law-s3); min-height: 56px; color: var(--law-on-dark); font-weight: 600; list-style: none; cursor: pointer; }
.mm-acc summary::-webkit-details-marker { display: none; }
.mm-acc summary > .icon:first-child { color: var(--law-primary); }
.mm-acc__label { display: flex; flex-direction: column; line-height: 1.3; }
.mm-acc__sub { color: var(--law-muted-inverse); font-size: 0.8125rem; font-weight: 400; }
.mm-acc__chev { margin-left: auto; transition: transform 220ms var(--law-ease); }
.mm-acc[open] .mm-acc__chev { transform: rotate(180deg); }
.mm-acc ul { list-style: none; padding: 0 0 var(--law-s3) 36px; }
.mm-acc a, .mobile-menu__links a { display: flex; align-items: center; min-height: 44px; color: var(--law-muted-inverse); text-decoration: none; }
.mm-acc a:hover, .mobile-menu__links a:hover { color: var(--law-primary); }
.mm-acc__all { color: var(--law-primary) !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 0.2em; }
.mobile-menu__links { list-style: none; margin-top: var(--law-s3); }
.mobile-menu__links a { min-height: 52px; color: var(--law-on-dark); font-weight: 600; border-bottom: var(--law-line-inverse); }
.mobile-menu__foot { position: sticky; bottom: 0; padding: var(--law-s4) var(--law-page-gutter) max(var(--law-s4), env(safe-area-inset-bottom)); background: var(--law-dark-alt); border-top: var(--law-line-inverse); }
.mobile-menu__foot .btn { width: 100%; }

/* Cabeçalho de seção em duas colunas iguais (título | resposta direta) */
.sh { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s5); margin-bottom: var(--law-s7); }
.sh__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--law-s3); }
.sh__text p { font-size: var(--law-fs-lead); line-height: 1.7; color: var(--law-muted); }
.sh--dark .sh__text p { color: var(--law-muted-inverse); }

/* Listas com ícone */
.icon-list { display: grid; gap: var(--law-s3); list-style: none; }
.icon-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--law-s3); align-items: start; font-size: var(--law-fs-small); line-height: 1.65; }
.icon-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--law-link); }
.icon-list--muted .icon { color: var(--law-muted); }
.icon-list--dark li { color: var(--law-muted-inverse); }
.icon-list--dark .icon { color: var(--law-primary); }

/* 6. SEÇÕES */
.section { position: relative; padding-block: var(--law-section-pad); }
.section--alt { background: var(--law-surface-alt); }
.section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 640px; padding: 120px 0 var(--law-s7); background: var(--law-dark); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 25%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--law-overlay-hero-mobile); }
.hero__content { max-width: 680px; }
.hero__title { color: var(--law-on-dark); margin-bottom: var(--law-s5); }
.hero__title-accent { display: block; color: var(--law-primary); }
.hero__lead { max-width: 56ch; margin-bottom: var(--law-s6); color: var(--law-on-dark); }
.hero__lead strong { color: var(--law-primary); }
.hero__actions { display: flex; flex-direction: column; gap: var(--law-s3); }

/* 3 provas rápidas */
.benefits { position: relative; z-index: var(--law-z-overlap); }
.benefits__grid { display: grid; grid-template-columns: minmax(0, 1fr); list-style: none; box-shadow: var(--law-shadow-floating); }
.benefit { display: grid; grid-template-rows: auto auto 1fr; gap: var(--law-s3); padding: var(--law-s6); background: var(--law-dark); }
.benefit + .benefit { border-top: var(--law-line-inverse); }
.benefit__icon { color: var(--law-primary); }
.benefit__title { margin: var(--law-s2) 0 0; color: var(--law-on-dark); font-family: var(--law-font-display); font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.benefit__text { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--law-muted-inverse); }
.benefit--gold .benefit__text { color: var(--law-on-primary); }
.benefit--gold { background: var(--law-primary); color: var(--law-on-primary); }
.benefit--gold .benefit__title, .benefit--gold .benefit__icon { color: var(--law-on-primary); }

/* Faixa de confiança */
.trust { padding-block: var(--law-s7); background: var(--law-surface); }
.trust__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; }
.trust__item { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: var(--law-s5) var(--law-s3); text-align: center; }
.trust__item:nth-child(odd) { border-right: var(--law-line); }
.trust__item:nth-child(-n+2) { border-bottom: var(--law-line); }
.trust__value { margin: 0 0 var(--law-s2); color: var(--law-text); font-family: var(--law-font-display); font-size: clamp(1.75rem, 1.4859rem + 1.1268vw, 2.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.trust__value::after { content: ""; display: block; width: 28px; height: 2px; margin: var(--law-s3) auto 0; background: var(--law-primary); }
.trust__label { margin: 0; max-width: 26ch; font-size: 0.875rem; line-height: 1.55; color: var(--law-muted); }
.trust__label a { color: var(--law-link); font-weight: 600; text-underline-offset: 0.2em; }

/* Serviços */
.service-card { display: flex; flex-direction: column; height: 100%; background: var(--law-surface); border: var(--law-line); transition: box-shadow 300ms ease, transform 300ms var(--law-ease); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--law-primary-soft); }
.service-card__media img, .article-card__media img, .place-card img { will-change: transform; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--law-ease); }
.service-card__num { position: absolute; left: 0; bottom: 0; padding: 6px 14px 4px; background: var(--law-dark); color: var(--law-primary); font-family: var(--law-font-display); font-size: 1rem; font-weight: 600; line-height: 1.6; }
.service-card__body { display: flex; flex: 1; flex-direction: column; padding: var(--law-s6) var(--law-s5); }
.service-card__cat { display: flex; align-items: center; gap: var(--law-s2); margin-bottom: var(--law-s3); color: var(--law-link); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.service-card__title { margin-bottom: var(--law-s3); font-size: var(--law-fs-h5); }
.service-card__text { margin-bottom: var(--law-s5); font-size: 0.9375rem; line-height: 1.7; }
.service-card .arrow-link { margin-top: auto; }
.service-card--featured .service-card__body { background: var(--law-primary); }
.service-card--featured :is(.service-card__cat, .service-card__title, .service-card__text) { color: var(--law-on-primary); }
.service-card--featured .service-card__num { background: var(--law-primary); color: var(--law-on-primary); }

/* Problema e solução — duas colunas iguais; imagem estica até a altura do texto */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s7); align-items: stretch; }
.split__media { position: relative; min-height: 360px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-media { box-shadow: var(--law-shadow-card); }
.about-media__badge { position: absolute; right: var(--law-s4); bottom: var(--law-s4); z-index: 1; max-width: 240px; padding: var(--law-s5); background: var(--law-primary); color: var(--law-on-primary); border: 8px solid var(--law-surface); }
.about-media__badge-value { display: block; font-family: var(--law-font-display); font-size: 2.25rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.about-media__badge-label { display: block; margin-top: var(--law-s2); font-size: 0.8125rem; font-weight: 600; line-height: 1.45; }
.split__text { display: flex; flex-direction: column; justify-content: center; }
.split__text h2 { margin-bottom: var(--law-s5); }
.ps-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s5); margin: var(--law-s5) 0 var(--law-s5); }
.ps-col__title { margin-bottom: var(--law-s4); font-size: 1.0625rem; line-height: 1.35; }
.split__text > .btn { align-self: flex-start; }

/* Como funciona */
.steps { overflow: hidden; }
.steps::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--law-overlay-photo); }
.steps__inner { position: relative; z-index: var(--law-z-content); }
.step { display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); border-top: 2px solid var(--law-primary); background: rgba(255,255,255,0.06); }
.step__head { display: flex; align-items: center; justify-content: space-between; gap: var(--law-s4); margin-bottom: var(--law-s5); }
.step__head .step__icon { margin: 0; color: var(--law-primary); }
.step__num { margin: 0; color: var(--law-primary); font-family: var(--law-font-display); font-size: 2.25rem; font-weight: 600; line-height: 1; }
.step__icon { margin-bottom: var(--law-s4); color: var(--law-on-dark); }
.step__title { margin-bottom: var(--law-s3); font-size: 1.125rem; line-height: 1.35; }
.step p { font-size: 0.9375rem; line-height: 1.7; color: var(--law-muted-inverse); }

/* Diferenciais — grade editorial de linhas finas */
.features__grid { gap: 0; border-top: var(--law-line); border-left: var(--law-line); }
.feature { display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); border-right: var(--law-line); border-bottom: var(--law-line); background: var(--law-surface); }
.feature__icon { margin-bottom: var(--law-s5); color: var(--law-link); }
.feature__title { margin-bottom: var(--law-s3); font-size: var(--law-fs-h5); }
.feature { position: relative; }
.feature::before { content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 2px; background: var(--law-primary); transition: width 300ms var(--law-ease); }
.feature p { font-size: 0.9375rem; line-height: 1.7; }

/* Quem atende você — duas metades iguais; foto com a altura do texto */
.profile__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.profile__text { background: var(--law-dark); }
.profile__inner { padding: var(--law-s7) var(--law-page-gutter); }
.profile__inner h2 { margin-bottom: var(--law-s5); }
.profile__inner > p:not(.eyebrow) { margin-bottom: var(--law-s5); }
.profile__inner .icon-list { margin-bottom: var(--law-s6); }
.profile__media { position: relative; min-height: 380px; }
.profile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Guia de decisão */
.guide__subtitle { margin: 0 0 var(--law-s5); font-size: var(--law-fs-h3); }
.guide__subtitle ~ .guide__subtitle { margin-top: var(--law-s8); }
.guide__intro { max-width: 70ch; margin-bottom: var(--law-s6); }
.guide__note { margin-top: var(--law-s4); font-size: 0.875rem; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.6; }
.guide-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.guide-table tr { display: block; margin-bottom: var(--law-s4); padding: var(--law-s5); background: var(--law-surface); border: var(--law-line); border-top: 3px solid var(--law-primary); }
.guide-table th[scope="row"] { display: block; margin-bottom: var(--law-s3); color: var(--law-text); font-family: var(--law-font-display); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; text-align: left; }
.guide-table td { display: grid; gap: 2px; padding: var(--law-s2) 0; border-top: var(--law-line); }
.guide-table td::before { content: attr(data-label); color: var(--law-link); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.check-card { display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); background: var(--law-surface); border: var(--law-line); }
.check-card__num { margin-bottom: var(--law-s4); color: var(--law-gold-strong); font-family: var(--law-font-display); font-size: 1.75rem; font-weight: 600; line-height: 1; }
.check-card__title { margin-bottom: var(--law-s3); font-size: 1.0625rem; line-height: 1.35; }
.check-card p { font-size: 0.9375rem; line-height: 1.7; }

/* Áreas atendidas */
.place-card { height: 100%; }
.place-card__box { position: relative; display: block; height: 100%; overflow: hidden; background: var(--law-dark); text-decoration: none; }
.place-card img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 500ms var(--law-ease); }
.place-card__caption { position: absolute; inset: auto 0 0 0; z-index: 1; display: flex; flex-direction: column; padding: var(--law-s8) var(--law-s5) var(--law-s5); background: linear-gradient(180deg, rgba(12,23,48,0) 0%, rgba(12,23,48,0.96) 38%); }
.place-card__cat { margin-bottom: var(--law-s2); color: var(--law-primary); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.place-card__title { margin-bottom: var(--law-s2); color: var(--law-on-dark); font-size: 1.25rem; line-height: 1.3; }
.place-card__text { margin-bottom: var(--law-s4); color: var(--law-on-dark); font-size: 0.875rem; line-height: 1.55; }
.place-card__text:last-child { margin-bottom: 0; }
.place-card__link { align-self: flex-start; padding-bottom: 4px; border-bottom: 2px solid var(--law-primary); color: var(--law-on-dark); font-size: 0.875rem; font-weight: 600; transition: border-color 200ms ease; }

/* Depoimentos — duas colunas iguais */
.quote-card, .reviews-card { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: var(--law-s7) var(--law-s6); }
.quote-card { background: var(--law-surface); border: var(--law-line); border-left: 3px solid var(--law-primary); }
.quote-card__mark { width: 44px; height: 44px; margin-bottom: var(--law-s5); color: var(--law-primary); }
.quote-card blockquote { margin: 0 0 var(--law-s5); }
.quote-card blockquote p { color: var(--law-text); font-family: var(--law-font-display); font-size: clamp(1.375rem, 1.2430rem + 0.5634vw, 1.75rem); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.quote-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote-card__author { color: var(--law-text); font-weight: 700; }
.quote-card__role { font-size: 0.875rem; }
.reviews-card { background: var(--law-dark); }
.reviews-card__icon { margin-bottom: var(--law-s5); color: var(--law-primary); }
.reviews-card__title { margin-bottom: var(--law-s3); font-size: var(--law-fs-h3); }
.reviews-card p { margin-bottom: var(--law-s6); color: var(--law-muted-inverse); }
.reviews-card .btn { align-self: flex-start; }

/* FAQ — duas colunas de 5 perguntas */
.faq { align-items: start; }
.faq__col { border-top: var(--law-line); }
.faq__item { border-bottom: var(--law-line); }
.faq__item summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; align-items: center; gap: var(--law-s3); min-height: 44px; padding: var(--law-s5) 0; color: var(--law-text); font-size: 1rem; font-weight: 500; line-height: 1.45; list-style: none; cursor: pointer; transition: var(--law-t-interactive); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--law-link); }
.faq__n { color: var(--law-gold-strong); font-family: var(--law-font-display); font-size: 1rem; font-weight: 600; line-height: 1; }
.faq__chev { color: var(--law-link); transition: transform 220ms var(--law-ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item[open] summary { color: var(--law-link); }
.faq__answer { padding: 0 0 var(--law-s5) 48px; font-size: 0.9375rem; }

/* Artigos */
.article-card { display: flex; flex-direction: column; height: 100%; background: var(--law-surface); border: var(--law-line); transition: box-shadow 300ms ease; }
.article-card__media { position: relative; overflow: hidden; }
.article-card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 500ms var(--law-ease); }
.article-card__tag { position: absolute; left: 0; bottom: 0; padding: 4px 14px; background: var(--law-primary); color: var(--law-on-primary); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.article-card__body { display: flex; flex: 1; flex-direction: column; padding: var(--law-s6) var(--law-s5); }
.article-card__meta { display: flex; align-items: center; gap: var(--law-s2); margin-bottom: var(--law-s3); font-size: 0.8125rem; }
.article-card__meta .icon { color: var(--law-link); }
.article-card__title { margin-bottom: var(--law-s3); font-size: 1.125rem; line-height: 1.4; }
.article-card__body > p:not(.article-card__meta) { margin-bottom: var(--law-s5); font-size: 0.9375rem; line-height: 1.7; }
.article-card .arrow-link { margin-top: auto; }

/* CTA final — duas colunas iguais: informações (esquerda) e formulário (direita) */
.contact { gap: 0; box-shadow: var(--law-shadow-floating); }
.contact__info { display: flex; flex-direction: column; justify-content: space-between; gap: var(--law-s6); padding: var(--law-s6) var(--law-s5); background: var(--law-dark); }
.contact__info h2 { margin-bottom: var(--law-s4); }
.contact__lead { margin: 0; color: var(--law-muted-inverse); }
.contact__subtitle { margin: 0 0 var(--law-s4); color: var(--law-on-dark); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.contact__steps { display: grid; gap: var(--law-s4); list-style: none; }
.contact__steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--law-s3); align-items: start; color: var(--law-muted-inverse); font-size: 0.9375rem; line-height: 1.6; }
.contact__num { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(214,168,94,0.6); color: var(--law-primary); font-size: 0.875rem; font-weight: 600; }
.contact__channels { display: grid; gap: var(--law-s2); list-style: none; }
.contact__channels li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--law-s3); align-items: center; min-height: 44px; color: var(--law-muted-inverse); font-size: 0.9375rem; }
.contact__channels li > :last-child { min-width: 0; overflow-wrap: anywhere; }
.contact__channels .icon { color: var(--law-primary); }
.contact__channels a { color: var(--law-on-dark); font-weight: 500; text-decoration: none; }
.contact__channels a:hover { color: var(--law-primary); text-decoration: underline; text-underline-offset: 0.2em; }
.contact__close { display: flex; align-items: center; gap: var(--law-s3); margin: 0; padding: var(--law-s4); background: rgba(255,255,255,0.06); color: var(--law-on-dark); font-size: 0.9375rem; font-weight: 500; }
.contact__close .icon { color: var(--law-primary); }
.contact__form { display: flex; flex-direction: column; padding: var(--law-s6) var(--law-s5); background: var(--law-surface); }
.contact__form-title { margin-bottom: var(--law-s2); font-size: var(--law-fs-h3); }
.contact__form-intro { margin-bottom: var(--law-s5); font-size: 0.9375rem; }
.contact__form .form { flex: 1; }
.form { display: grid; gap: var(--law-s5); }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s5); }
.field { display: flex; flex-direction: column; gap: var(--law-s2); min-width: 0; }
.field label, .choice legend { color: var(--law-text); font-size: 0.875rem; font-weight: 600; line-height: 1.4; letter-spacing: 0.01em; }
.field input:not([type="checkbox"]), .field textarea { width: 100%; min-height: 56px; padding: 14px 18px; background: var(--law-surface-alt); color: var(--law-text); border: var(--law-line); border-bottom: 2px solid var(--law-border); border-radius: var(--law-radius-xs); font-size: 1rem; line-height: 1.5; transition: var(--law-t-interactive); }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5F6675; }
.field :is(input, textarea):hover { border-bottom-color: var(--law-accent); }
.field :is(input, textarea):focus-visible { background: var(--law-surface); border-color: var(--law-focus); outline: 3px solid var(--law-focus); outline-offset: 2px; }
.field :is(input, textarea)[aria-invalid="true"] { border: 2px solid var(--law-error); }
.field__help { margin: 0; font-size: 0.8125rem; line-height: 1.5; }
.field__error { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--law-error); font-size: 0.8125rem; font-weight: 600; line-height: 1.5; }
.field__error::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat; }
.choice legend { margin-bottom: var(--law-s2); padding: 0; }
.choice__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s3); }
.choice__opt { position: relative; display: block; height: 100%; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box { display: flex; align-items: center; gap: var(--law-s3); height: 100%; min-height: 60px; padding: var(--law-s3) var(--law-s4); background: var(--law-surface); border: 1px solid var(--law-border); border-radius: var(--law-radius-xs); color: var(--law-text); font-size: 0.875rem; font-weight: 600; line-height: 1.35; transition: var(--law-t-interactive); }
.choice__box .icon { color: var(--law-link); }
.choice__opt:hover .choice__box { border-color: var(--law-accent); }
.choice__opt input:checked + .choice__box { background: var(--law-dark); border-color: var(--law-dark); color: var(--law-on-dark); box-shadow: inset 0 -3px 0 var(--law-primary); }
.choice__opt input:checked + .choice__box .icon { color: var(--law-primary); }
.choice__opt input:focus-visible + .choice__box { outline: 3px solid var(--law-focus); outline-offset: 2px; }
.choice[aria-invalid="true"] .choice__box { border-color: var(--law-error); }
.choice .field__error { margin-top: var(--law-s2); }
.form__foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s5); align-items: center; margin-top: auto; }
.field--check { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: var(--law-s3); align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--law-accent); }
.field--check label { font-size: 0.875rem; font-weight: 400; line-height: 1.6; color: var(--law-muted); letter-spacing: 0; }
.field--check .field__error { grid-column: 2; }
.form__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s3); }
.form__actions .btn { width: 100%; }
.form__errors { padding: var(--law-s4); border: 2px solid var(--law-error); color: var(--law-error); font-size: 0.9375rem; }
.form__errors ul { margin-top: var(--law-s2); padding-left: var(--law-s5); }
.form__errors a { color: var(--law-error); font-weight: 600; }
.form__status { margin: 0; font-weight: 600; }
.form__status:empty { display: none; }

/* Rodapé — colunas por segmento de atuação */
.site-footer { background: var(--law-dark); color: var(--law-muted-inverse); }
.site-footer > .container { padding-block: var(--law-s8) var(--law-s5); }
.site-footer__top { align-items: center; gap: var(--law-s5); padding-bottom: var(--law-s6); margin-bottom: var(--law-s6); border-bottom: var(--law-line-inverse); }
.site-footer__about { margin: 0; font-size: 0.9375rem; line-height: 1.7; }
.site-footer__cols { gap: var(--law-s6); }
.footer-col__title { display: flex; align-items: center; gap: var(--law-s2); margin: 0 0 var(--law-s4); padding-bottom: var(--law-s3); border-bottom: 2px solid var(--law-primary); color: var(--law-on-dark); font-family: var(--law-font-display); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.footer-col__title .icon { color: var(--law-primary); }
.footer-col ul { list-style: none; display: grid; gap: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: var(--law-muted-inverse); font-size: 0.875rem; text-decoration: none; transition: var(--law-t-interactive); }
.footer-col a::before { content: ""; width: 0; height: 1px; margin-right: 0; background: var(--law-primary); transition: width 300ms var(--law-ease), margin 300ms var(--law-ease); }
.footer-col a:hover { color: var(--law-primary); }
.footer-col a:hover::before { width: 14px; margin-right: 8px; }
.footer-contact li { display: flex; align-items: center; min-height: 40px; font-size: 0.875rem; line-height: 1.5; }
.footer-contact li > :last-child { min-width: 0; overflow-wrap: anywhere; }
.footer-contact a::before { display: none; }
.site-footer__nav { margin-top: var(--law-s6); padding-top: var(--law-s5); border-top: var(--law-line-inverse); }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 0 var(--law-s6); list-style: none; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--law-on-dark); font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.site-footer__nav a:hover { color: var(--law-primary); }
.site-footer__legal { background: var(--law-dark-alt); font-size: 0.75rem; }
.site-footer__legal-inner { display: flex; flex-direction: column; gap: var(--law-s2); padding-block: var(--law-s4); }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 0 var(--law-s5); list-style: none; }
.site-footer__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--law-on-dark); text-underline-offset: 0.2em; }
.site-footer__legal a:hover { color: var(--law-primary); }
.site-footer__legal p { margin: 0; }

body.is-locked 
/* Hover só com ponteiro fino — discreto: nenhum conteúdo some, escurece ou inverte de cor */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover, .article-card:hover, .check-card:hover { box-shadow: var(--law-shadow-card); transform: translateY(-4px); }
  .check-card { transition: box-shadow 300ms ease, transform 300ms var(--law-ease); }
  .service-card:hover .service-card__media img, .article-card:hover .article-card__media img { transform: scale(1.04); }
  .feature:hover::before { width: calc(100% + 1px); }
  .article-card:hover .article-card__title, .service-card:not(.service-card--featured):hover .service-card__title { color: var(--law-link); }
}
.service-card:focus-within, .article-card:focus-within { border-color: var(--law-accent); }

/* 7. RESPONSIVO */
@media (min-width: 768px) {
  :root { --law-page-gutter: 24px; --law-grid-gap: 24px; --law-section-pad: 80px; }
  .utility-bar { display: block; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* grades de 3, 6 e 9 itens: 3 colunas já no tablet para não sobrar card sozinho */
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 700px; padding-top: 170px; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .trust__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust__item, .trust__item:nth-child(odd), .trust__item:nth-child(-n+2) { border: 0; border-right: var(--law-line); }
  .trust__item:last-child { border-right: 0; }
  .sh { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--law-s7); align-items: end; }
  .ps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-end { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--law-s5); padding: var(--law-s4) var(--law-s6); }
  .contact__info, .contact__form { padding: var(--law-s7) var(--law-s6); }
        .site-footer__legal-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--law-s5); }
  .site-footer__legal p { max-width: 70ch; text-align: right; }
}

@media (min-width: 1024px) {
  :root { --law-page-gutter: 32px; --law-section-pad: 112px; --law-header-h: 88px; }
  .main-nav { display: block; }
  .burger { display: none; }
  .mobile-menu, .mobile-menu:target { display: none !important; }
  .main-nav__list { gap: 18px; }
  .site-header__cta { display: inline-flex; min-height: 46px; padding: 10px 16px; font-size: 0.8125rem; }
  .brand { max-width: 170px; }

  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--law-s7); }
  @supports (grid-template-rows: subgrid) {
    /* As duas colunas do FAQ compartilham as linhas: cada pergunta fica alinhada à vizinha */
    .faq { grid-template-rows: repeat(5, auto); row-gap: 0; align-items: stretch; }
    .faq__col { display: grid; grid-row: span 5; grid-template-rows: subgrid; }
    .faq__item summary { height: auto; }
  }

  .hero { align-items: center; min-height: clamp(44rem, 52vw, 62rem); padding: 180px 0 180px; }
  .hero::before { background: var(--law-overlay-hero); }
  .hero__media img { object-position: 70% 40%; }
  .hero__actions { flex-wrap: nowrap; }
  .hero__actions .btn { white-space: nowrap; }
  .benefits { margin-top: -120px; }
  .benefits__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefit + .benefit { border-top: 0; border-left: var(--law-line-inverse); }
  .benefit--gold, .benefit--gold + .benefit { border-left: 0; }
  .trust { padding-block: var(--law-s8); }

  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--law-s8); }
  .split__media { min-height: 0; }
  .about-media__badge { right: -24px; bottom: var(--law-s6); }

  .profile__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile__inner { max-width: 600px; margin-left: auto; padding: var(--law-s9) var(--law-s8) var(--law-s9) var(--law-page-gutter); }
  .profile__media { min-height: 0; }

  .guide-table thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .guide-table th, .guide-table td { padding: var(--law-s5); text-align: left; vertical-align: top; width: 25%; }
  .guide-table thead th { background: var(--law-dark); color: var(--law-on-dark); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
  .guide-table thead th:first-child { box-shadow: inset 3px 0 0 var(--law-primary); }
  .guide-table tr { display: table-row; margin: 0; padding: 0; border: 0; }
  .guide-table tbody tr { border-bottom: var(--law-line); background: var(--law-surface); }
  .guide-table tbody tr:nth-child(even) { background: #FDFBF7; }
  .guide-table th[scope="row"] { display: table-cell; margin: 0; font-size: 1.0625rem; box-shadow: inset 3px 0 0 var(--law-primary); }
  .guide-table td { display: table-cell; border-top: 0; }
  .guide-table td::before { content: none; }
  .table-wrap { border: var(--law-line); box-shadow: var(--law-shadow-subtle); }

    
  .site-footer > .container { padding-block: var(--law-s9) var(--law-s5); }
    }

@media (min-width: 1024px) and (max-width: 1279px) {
  .mega__bar-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega__bar-inner > :nth-child(2) { display: none; }
}

@media (min-width: 1280px) {
  :root { --law-grid-gap: 32px; }
  .main-nav__list { gap: var(--law-s5); }
  .site-header__cta { padding: 12px 22px; font-size: 0.875rem; }
  .brand { max-width: 190px; }
}

@media (min-width: 1440px) { :root { --law-page-gutter: 48px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Formulário: as duas colunas só lado a lado a partir de 1024px */
@media (min-width: 768px) and (max-width: 1023px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   8. PÁGINAS INTERNAS — modelo HUB DE CATEGORIA (M-HUB)
   ========================================================================== */
/* Item do menu do segmento atual */
.main-nav__item--current > .main-nav__trigger { color: var(--law-primary); }
.main-nav__item--current > .main-nav__trigger::after { width: 100%; }

/* Hero interno: duas colunas iguais, foto com a altura do texto */
.page-hero { position: relative; padding: calc(var(--law-header-h) + var(--law-s7)) 0 var(--law-s7); background: var(--law-dark); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s6); align-items: stretch; }
.page-hero__text { display: flex; flex-direction: column; justify-content: center; }
.page-hero__text h1 { margin-bottom: var(--law-s5); color: var(--law-on-dark); }
.page-hero__lead { margin-bottom: var(--law-s6); color: var(--law-on-dark); }
.page-hero__lead strong { color: var(--law-primary); }
.page-hero__media { position: relative; min-height: 280px; overflow: hidden; }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Breadcrumb */
.breadcrumb { margin-bottom: var(--law-s5); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--law-s2); list-style: none; font-size: 0.8125rem; }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--law-s2); }
.breadcrumb li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid var(--law-primary); border-right: 1.5px solid var(--law-primary); transform: rotate(45deg); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 24px; color: var(--law-muted-inverse); text-decoration: none; }
.breadcrumb a:hover { color: var(--law-primary); text-decoration: underline; text-underline-offset: 0.2em; }
.breadcrumb a[aria-current="page"] { color: var(--law-on-dark); font-weight: 600; }

/* Resposta direta: dois blocos iguais */
.answer { padding-block: var(--law-s7); background: var(--law-surface); }
.answer__grid { gap: var(--law-grid-gap); }
.answer__block { display: flex; flex-direction: column; height: 100%; padding: var(--law-s5); background: var(--law-surface-alt); }
.answer__label { display: flex; align-items: center; gap: var(--law-s2); margin-bottom: var(--law-s3); color: var(--law-link); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.answer__block p:not(.answer__label) { color: var(--law-text); font-size: var(--law-fs-lead); line-height: 1.7; }

/* Tabela comparativa de 5 colunas */
@media (min-width: 1024px) {
  .guide-table--5 th, .guide-table--5 td { width: 20%; font-size: 0.875rem; }
}

/* Information gain: 2 × 2 cartões com H3 + três H4 */
.ig-grid { gap: var(--law-grid-gap); }
.ig-card { display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); background: var(--law-surface); border: var(--law-line); }
.ig-card__icon { margin-bottom: var(--law-s4); color: var(--law-link); }
.ig-card__title { margin-bottom: var(--law-s3); font-size: var(--law-fs-h4); }
.ig-card__intro { margin-bottom: var(--law-s5); color: var(--law-text); font-weight: 500; }
.ig-item { padding: var(--law-s4) 0 0; }
.ig-item + .ig-item { margin-top: var(--law-s4); border-top: var(--law-line); }
.ig-item h4 { margin-bottom: var(--law-s2); font-size: 1rem; line-height: 1.4; }
.ig-item p { font-size: 0.9375rem; line-height: 1.7; }

@media (min-width: 768px) {
  .answer__block { padding: var(--law-s6); }
  .ig-card { padding: var(--law-s7) var(--law-s6); }
}
@media (min-width: 1024px) {
  .page-hero { padding: calc(var(--law-utility-h) + var(--law-header-h) + var(--law-s8)) 0 var(--law-s9); }
  .page-hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--law-s8); }
  .page-hero__media { min-height: 0; }
  .answer { padding-block: var(--law-s8); }
}
/* Botões do hero interno: empilhados com a mesma largura, sem cortar o texto */
.page-hero .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s3); }
.page-hero .hero__actions .btn { white-space: normal; }

/* ==========================================================================
   9. PÁGINAS INTERNAS — modelo PÁGINA DE SERVIÇO
   ========================================================================== */
/* Abertura com formulário rápido à direita */
.page-hero--form .page-hero__grid { align-items: stretch; }
.hero-proofs { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s3); list-style: none; }
.hero-proofs li { display: flex; align-items: center; gap: var(--law-s3); min-height: 56px; padding: var(--law-s3) var(--law-s4); background: rgba(255,255,255,0.06); border-top: 2px solid var(--law-primary); color: var(--law-muted-inverse); font-size: 0.875rem; line-height: 1.4; }
.hero-proofs .icon { color: var(--law-primary); }
.hero-proofs strong { display: block; color: var(--law-on-dark); font-weight: 600; }
.quick-form { display: flex; flex-direction: column; padding: var(--law-s5); background: var(--law-surface); color: var(--law-muted); border-top: 4px solid var(--law-primary); box-shadow: var(--law-shadow-floating); }
.quick-form__title { margin: 0 0 var(--law-s2); color: var(--law-text); font-size: var(--law-fs-h3); font-weight: 600; line-height: 1.3; }
.quick-form__intro { margin: 0 0 var(--law-s5); font-size: 0.9375rem; }
.quick-form :focus-visible { outline-color: var(--law-focus); }
.form--quick { gap: var(--law-s4); }
.form--quick .btn { width: 100%; margin-top: var(--law-s2); }
.field select { width: 100%; min-height: 56px; padding: 14px 44px 14px 18px; background: var(--law-surface-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2385601F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 18px no-repeat; color: var(--law-text); border: var(--law-line); border-bottom: 2px solid var(--law-border); border-radius: var(--law-radius-xs); font-size: 1rem; line-height: 1.5; appearance: none; cursor: pointer; }
.field select:hover { border-bottom-color: var(--law-accent); }
.field select:focus-visible { background-color: var(--law-surface); outline: 3px solid var(--law-focus); outline-offset: 2px; }
.field select[aria-invalid="true"] { border: 2px solid var(--law-error); }

/* Resposta direta em bloco único */
.answer__block--single { max-width: 960px; margin-inline: auto; }

/* Tipos de bloqueio (H3) dentro da coluna de texto */
.type-list { display: grid; gap: var(--law-s4); margin: var(--law-s2) 0 var(--law-s5); }
.type-item { padding: var(--law-s4) var(--law-s5); background: var(--law-surface); border: var(--law-line); }
.type-item h3 { margin-bottom: var(--law-s2); font-size: 1.0625rem; line-height: 1.4; }
.type-item p { font-size: 0.9375rem; line-height: 1.65; }

/* Prazo de cada etapa */
.step__time { display: flex; align-items: flex-start; gap: var(--law-s2); margin-top: auto; padding-top: var(--law-s4); color: var(--law-primary); font-size: 0.8125rem; font-weight: 600; line-height: 1.5; }
.step__time .icon { margin-top: 2px; }
.step p:not(.step__time) { margin-bottom: var(--law-s3); }

/* Incluído × não incluído */
.scope__panel { display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); border: var(--law-line); }
.scope__panel--in { background: var(--law-surface); border-top: 3px solid var(--law-primary); }
.scope__panel--out { background: var(--law-surface-alt); border-top: 3px solid var(--law-border); }
.scope__title { display: flex; align-items: center; gap: var(--law-s2); margin-bottom: var(--law-s5); font-size: var(--law-fs-h4); }
.scope__panel--in .scope__title .icon { color: var(--law-success); }
.scope__panel--out .scope__title .icon { color: var(--law-muted); }
.scope__list { display: grid; gap: var(--law-s3); list-style: none; }
.scope__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--law-s3); align-items: start; color: var(--law-text); font-size: 0.9375rem; line-height: 1.6; }
.scope__list .icon { width: 20px; height: 20px; margin-top: 2px; }
.scope__panel--in .scope__list .icon { color: var(--law-success); }
.scope__panel--out .scope__list .icon { color: var(--law-muted); }

/* Tabelas de 3 colunas */
@media (min-width: 1024px) { .guide-table--3 th, .guide-table--3 td { width: 33.33%; } }

/* Erros comuns */
.mistakes { gap: var(--law-grid-gap); margin-bottom: var(--law-s8); }
.mistake { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--law-s4); align-items: start; height: 100%; padding: var(--law-s5); background: var(--law-surface); border: var(--law-line); border-left: 3px solid var(--law-error); }
.mistake__icon { display: grid; place-items: center; width: 44px; height: 44px; background: #FBEDEC; color: var(--law-error); }
.mistake h4 { margin-bottom: var(--law-s2); font-size: 1.0625rem; line-height: 1.4; }
.mistake p { font-size: 0.9375rem; line-height: 1.65; }
#antes-de-contratar .checks { margin-bottom: var(--law-s8); }
#antes-de-contratar .table-wrap { margin-bottom: var(--law-s8); }
.ig-item h5 { margin: 0 0 var(--law-s2); color: var(--law-text); font-size: 1rem; font-weight: 600; line-height: 1.4; }

/* Caixa de artigos de apoio */
.reading { padding-block: var(--law-s7); background: var(--law-surface); }
.reading__box { padding: var(--law-s6) var(--law-s5); background: var(--law-surface-alt); border-top: 3px solid var(--law-primary); }
.reading__head { margin-bottom: var(--law-s5); }
.reading__title { font-size: var(--law-fs-h3); }
.reading__list { gap: var(--law-s3); }
.reading__link { display: flex; align-items: center; gap: var(--law-s3); height: 100%; min-height: 72px; padding: var(--law-s4); background: var(--law-surface); border: var(--law-line); color: var(--law-text); font-size: 0.9375rem; font-weight: 600; line-height: 1.45; text-decoration: none; transition: border-color 200ms ease, box-shadow 200ms ease; }
.reading__link .icon { color: var(--law-link); }
.reading__link:hover { border-color: var(--law-primary); box-shadow: var(--law-shadow-subtle); color: var(--law-link); }
.reading__close { margin: var(--law-s5) 0 0; color: var(--law-text); font-size: 0.9375rem; }

@media (min-width: 768px) {
  .hero-proofs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-proofs li { flex-direction: column; align-items: flex-start; }
  .quick-form { padding: var(--law-s6); }
  .scope__panel { padding: var(--law-s7) var(--law-s6); }
  .reading__box { padding: var(--law-s7) var(--law-s6); }
}
.quick-form .text-link { color: var(--law-link); }
.quick-form .text-link:hover { color: var(--law-accent); }


/* ==========================================================================
   10. ACABAMENTO v6 — cantos levemente arredondados, profundidade nas cores
   ========================================================================== */
/* Botões, campos e opções: 6px */
.btn, .field input:not([type="checkbox"]), .field textarea, .field select, .choice__box, .burger, .mobile-menu__close { border-radius: var(--law-radius-sm); }
.btn--primary { background: var(--law-grad-gold); border-color: #D3A257; }
.btn--primary:hover { background: var(--law-primary-hover); border-color: var(--law-primary-hover); }

/* Cards e painéis: 10px; painéis grandes: 14px */
.service-card, .article-card, .step, .check-card, .ig-card, .mistake, .scope__panel, .type-item,
.section-end, .quote-card, .reviews-card, .hero-proofs li, .dropdown,
.reading__link, .place-card__box, .table-wrap, .guide-table tr, .feature, .about-media__badge { border-radius: var(--law-radius-md); }
.service-card, .article-card, .place-card__box, .table-wrap { overflow: hidden; }
.contact, .quick-form, .reading__box, .benefits__grid, .answer__card, .mega { border-radius: var(--law-radius-lg); }
.contact, .benefits__grid, .answer__card { overflow: hidden; }
.mega { border-top-left-radius: 0; border-top-right-radius: 0; overflow: hidden; }
.split__media, .split__media img { border-radius: var(--law-radius-lg); }
.service-card__num { border-top-right-radius: var(--law-radius-sm); }
.article-card__tag { border-top-right-radius: var(--law-radius-sm); }
.mistake__icon, .contact__num { border-radius: var(--law-radius-sm); }
.contact__close { border-radius: var(--law-radius-md); }
.guide-table thead th:first-child { border-top-left-radius: 0; }
@media (min-width: 1024px) { .guide-table tr { border-radius: 0; } }

/* Diferenciais e sinais: cards separados, em vez de grade de linhas */
.features__grid { gap: var(--law-grid-gap); border: 0; }
.feature { border: var(--law-line); transition: box-shadow 300ms ease, transform 300ms var(--law-ease), border-color 300ms ease; }
.feature::before { left: 0; top: 0; }
.section--alt .feature, .section--alt .check-card { border-color: transparent; box-shadow: var(--law-shadow-subtle); }
@media (hover: hover) and (pointer: fine) {
  .feature:hover { transform: translateY(-4px); box-shadow: var(--law-shadow-card); border-color: transparent; }
}

/* Profundidade nos fundos azuis */
.page-hero, .hero, .profile__text, .contact__info, .site-footer, .reviews-card, .benefit:not(.benefit--gold) { background: var(--law-grad-dark); }
.benefit--gold, .service-card--featured .service-card__body { background: var(--law-grad-gold); }
.page-hero { background-image: radial-gradient(60% 80% at 100% 0%, rgba(214,168,94,0.16) 0%, rgba(214,168,94,0) 60%), var(--law-grad-dark); }
.site-footer__legal { background: var(--law-dark-alt); }

/* Ritmo entre seções claras: o azul muito claro marca perguntas frequentes */
#perguntas-frequentes { background: var(--law-surface-cool); }
#perguntas-frequentes .section-end { background: var(--law-surface); }

/* ---------- Bloco "Em resumo" (resposta direta) ---------- */
.answer { padding-block: var(--law-s7); background: linear-gradient(180deg, var(--law-surface) 0%, var(--law-surface-cool) 100%); }
.answer__card { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--law-surface); box-shadow: var(--law-shadow-card); }
.answer__intro { position: relative; display: flex; flex-direction: column; justify-content: center; gap: var(--law-s3); padding: var(--law-s6) var(--law-s5); background: var(--law-grad-dark); color: var(--law-muted-inverse); overflow: hidden; }
.answer__intro::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 24px solid rgba(214,168,94,0.14); }
.answer__badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--law-radius-sm); background: var(--law-grad-gold); color: var(--law-on-primary); }
.answer__badge .icon { width: 24px; height: 24px; }
.answer__kicker { margin: var(--law-s2) 0 0; color: var(--law-primary); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.answer__headline { margin: 0; color: var(--law-on-dark); font-size: 1.25rem; font-weight: 600; line-height: 1.35; }
.answer__items { display: grid; grid-template-columns: minmax(0, 1fr); }
.answer__item { position: relative; display: flex; flex-direction: column; gap: var(--law-s2); padding: var(--law-s6) var(--law-s5); border-top: var(--law-line); transition: background-color 300ms ease; }
.answer__item::before { content: ""; position: absolute; left: 0; top: 0; width: 0; height: 3px; background: var(--law-grad-gold); transition: width 400ms var(--law-ease); }
.answer__num { color: var(--law-gold-strong); font-size: 1.75rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.answer__q { margin: var(--law-s2) 0 0; color: var(--law-text); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.answer__item p:last-child { color: var(--law-muted); font-size: 0.9375rem; line-height: 1.7; }
@media (hover: hover) and (pointer: fine) {
  .answer__item:hover { background: var(--law-surface-alt); }
  .answer__item:hover::before { width: 100%; }
}
@media (min-width: 768px) {
  .answer__items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .answer__item { border-top: 0; }
  .answer__item + .answer__item { border-left: var(--law-line); }
}
@media (min-width: 1024px) {
  .answer { padding-block: var(--law-s8); }
  .answer__card { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .answer__items { grid-column: span 3; }
  .answer__intro { padding: var(--law-s7) var(--law-s6); }
  .answer__item { padding: var(--law-s7) var(--law-s6); }
}
.answer__intro > * { position: relative; z-index: 1; }

/* ==========================================================================
   11. PÁGINA SOBRE (página oficial da entidade)
   ========================================================================== */
/* Definição + ficha do escritório */
.entity { align-items: stretch; gap: var(--law-s7); }
.entity__text h2 { margin-bottom: var(--law-s5); }
.entity__text p { color: var(--law-muted); }
.entity__card { display: flex; flex-direction: column; padding: var(--law-s6) var(--law-s5); background: var(--law-grad-dark); color: var(--law-muted-inverse); border-radius: var(--law-radius-lg); box-shadow: var(--law-shadow-card); }
.entity__card-title { display: flex; align-items: center; gap: var(--law-s2); margin: 0 0 var(--law-s5); color: var(--law-primary); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.entity__facts { display: grid; gap: 0; margin: 0 0 var(--law-s5); }
.entity__facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--law-s4); padding: var(--law-s3) 0; border-bottom: var(--law-line-inverse); }
.entity__facts dt { color: var(--law-muted-inverse); font-size: 0.8125rem; }
.entity__facts dd { margin: 0; color: var(--law-on-dark); font-size: 0.9375rem; font-weight: 500; }
.entity__card .text-link { color: var(--law-primary); }
.entity__card-note { margin: auto 0 0; font-size: 0.8125rem; }

/* Linha do tempo */
.timeline { list-style: none; counter-reset: none; }
.tl-item { position: relative; display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); background: var(--law-surface); border-radius: var(--law-radius-md); box-shadow: var(--law-shadow-subtle); }
.tl-item::before { content: ""; position: absolute; left: var(--law-s5); right: var(--law-s5); top: 0; height: 3px; background: var(--law-grad-gold); border-radius: 0 0 3px 3px; }
.tl-item__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--law-s4); }
.tl-item__year { color: var(--law-gold-strong); font-size: 1.5rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.tl-item__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--law-radius-sm); background: var(--law-primary-soft); color: var(--law-link); }
.tl-item__title { margin-bottom: var(--law-s2); font-size: 1.0625rem; line-height: 1.4; }
.tl-item p { font-size: 0.9375rem; line-height: 1.65; }

/* Fundador: foto | dados, mesma altura */
.founder { gap: 0; background: var(--law-surface); border: var(--law-line); border-radius: var(--law-radius-lg); overflow: hidden; box-shadow: var(--law-shadow-card); }
.founder__media { position: relative; min-height: 360px; }
.founder__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__body { display: flex; flex-direction: column; padding: var(--law-s6) var(--law-s5); }
.founder__name { font-size: var(--law-fs-h3); }
.founder__role { margin: var(--law-s2) 0 var(--law-s5); color: var(--law-link); font-size: 0.875rem; font-weight: 600; }
.founder__quote { margin: 0 0 var(--law-s5); padding: var(--law-s4) var(--law-s5); background: var(--law-surface-alt); border-left: 3px solid var(--law-primary); border-radius: 0 var(--law-radius-sm) var(--law-radius-sm) 0; }
.founder__quote p { color: var(--law-text); font-size: 1.0625rem; font-weight: 500; line-height: 1.5; }
.founder__facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s4); margin-bottom: var(--law-s5); }
.founder__fact h4 { display: flex; align-items: center; gap: var(--law-s2); margin-bottom: var(--law-s1); font-size: 0.9375rem; line-height: 1.4; }
.founder__fact h4 .icon { color: var(--law-link); }
.founder__fact p { font-size: 0.9375rem; line-height: 1.6; }
.founder__links { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s3); margin-top: auto; }

/* Missão, visão e valores */
.mvv { margin-bottom: var(--law-grid-gap); }
.mvv-card { display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); background: var(--law-grad-dark); color: var(--law-muted-inverse); border-radius: var(--law-radius-md); }
.mvv-card__icon { margin-bottom: var(--law-s4); color: var(--law-primary); }
.mvv-card__title { margin-bottom: var(--law-s3); color: var(--law-on-dark); font-size: var(--law-fs-h4); }
.mvv-card p { font-size: 0.9375rem; line-height: 1.7; }
.values { list-style: none; }
.value-card { display: flex; flex-direction: column; height: 100%; padding: var(--law-s5); background: var(--law-surface); border-radius: var(--law-radius-md); box-shadow: var(--law-shadow-subtle); }
.value-card__num { margin-bottom: var(--law-s3); color: var(--law-gold-strong); font-size: 1.25rem; font-weight: 600; line-height: 1; }
.value-card__title { margin-bottom: var(--law-s2); font-size: 1rem; line-height: 1.4; }
.value-card p { font-size: 0.875rem; line-height: 1.65; }

/* Áreas, credenciais e alcance */
.area-card, .reach-card { display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); background: var(--law-surface); border: var(--law-line); border-radius: var(--law-radius-md); transition: box-shadow 300ms ease, transform 300ms var(--law-ease); }
.area-card__icon { margin-bottom: var(--law-s4); color: var(--law-link); }
.area-card__title, .reach-card__title { margin-bottom: var(--law-s3); font-size: var(--law-fs-h5); }
.area-card p, .reach-card p { margin-bottom: var(--law-s5); font-size: 0.9375rem; line-height: 1.7; }
.area-card .arrow-link, .reach-card .arrow-link { margin-top: auto; }
.reach-card__tag { align-self: flex-start; margin-bottom: var(--law-s4); padding: 4px 12px; background: var(--law-primary-soft); color: var(--law-link); border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.reg-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--law-s4); align-items: start; height: 100%; padding: var(--law-s5); background: var(--law-surface); border-radius: var(--law-radius-md); box-shadow: var(--law-shadow-subtle); }
.reg-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--law-radius-sm); background: var(--law-grad-dark); color: var(--law-primary); }
.reg-card__title { margin-bottom: var(--law-s1); font-size: 1rem; line-height: 1.4; }
.reg-card p { font-size: 0.875rem; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) {
  .area-card:hover, .reach-card:hover { transform: translateY(-4px); box-shadow: var(--law-shadow-card); }
}

/* Faixa de números */
.stats-band { padding-block: var(--law-s8); background: var(--law-grad-dark); color: var(--law-muted-inverse); }
.stats-band__title { margin-bottom: var(--law-s6); color: var(--law-on-dark); font-size: var(--law-fs-h3); text-align: center; }
.stats { list-style: none; }
.stat { display: flex; flex-direction: column; align-items: center; height: 100%; padding: var(--law-s5); background: rgba(255,255,255,0.05); border: 1px solid rgba(214,168,94,0.28); border-radius: var(--law-radius-md); text-align: center; }
.stat__value { color: var(--law-primary); font-size: clamp(1.75rem, 1.4859rem + 1.1268vw, 2.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.stat__label { margin-top: var(--law-s2); max-width: 26ch; font-size: 0.875rem; line-height: 1.55; }
.stats-band__note { margin: var(--law-s6) 0 0; color: var(--law-on-dark); font-size: 0.9375rem; text-align: center; }

/* Onde encontrar */
.find { gap: var(--law-grid-gap); }
.nap, .profiles { display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); background: var(--law-surface); border-radius: var(--law-radius-lg); box-shadow: var(--law-shadow-subtle); }
.nap__title { display: flex; align-items: center; gap: var(--law-s2); margin-bottom: var(--law-s5); font-size: var(--law-fs-h4); }
.nap__title .icon { color: var(--law-link); }
.nap__list { margin: 0; }
.nap__list div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--law-s4); padding: var(--law-s3) 0; border-bottom: var(--law-line); }
.nap__list dt { color: var(--law-muted); font-size: 0.8125rem; }
.nap__list dd { margin: 0; color: var(--law-text); font-size: 0.9375rem; font-weight: 500; overflow-wrap: anywhere; }
.nap__note { margin: auto 0 0; padding-top: var(--law-s4); font-size: 0.875rem; }
.profiles__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s3); list-style: none; }
.profile-link { display: flex; align-items: center; gap: var(--law-s3); height: 100%; min-height: 64px; padding: var(--law-s3) var(--law-s4); background: var(--law-surface-alt); border: 1px solid transparent; border-radius: var(--law-radius-sm); color: var(--law-text); text-decoration: none; transition: border-color 200ms ease, background-color 200ms ease; }
.profile-link .icon { color: var(--law-link); }
.profile-link__name { display: block; font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.profile-link__desc { display: block; color: var(--law-muted); font-size: 0.8125rem; line-height: 1.45; }
.profile-link:hover { background: var(--law-surface); border-color: var(--law-primary); }

@media (min-width: 768px) {
  .founder__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profiles__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entity__card, .founder__body, .nap, .profiles { padding: var(--law-s7) var(--law-s6); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .founder, .entity, .find { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .founder__media { min-height: 0; }
}

/* ==========================================================================
   12. PÁGINA DE CONTATO
   ========================================================================== */
/* Topo: a coluna de texto ocupa a mesma altura do formulário */
.page-hero__text--fill { justify-content: space-between; gap: var(--law-s6); }
.page-hero__head .breadcrumb { margin-bottom: var(--law-s4); }
.after-send { padding: var(--law-s5); background: rgba(255,255,255,0.05); border: 1px solid rgba(214,168,94,0.28); border-radius: var(--law-radius-lg); }
.after-send__title { margin-bottom: var(--law-s4); color: var(--law-on-dark); font-size: 1rem; font-weight: 600; }
.after-send__list { display: grid; gap: var(--law-s3); margin: 0; padding: 0; list-style: none; }
.after-send__list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--law-s3); align-items: center; color: var(--law-muted-inverse); font-size: 0.9375rem; line-height: 1.5; }
.after-send__list strong { color: var(--law-on-dark); font-weight: 600; }
.after-send__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--law-radius-sm); background: var(--law-grad-gold); color: var(--law-dark); font-size: 0.875rem; font-weight: 700; }

/* Formas de atendimento: 2 x 2, ícone ao lado do texto */
.channels { align-items: stretch; }
.channel { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--law-s5); height: 100%; padding: var(--law-s6); background: var(--law-surface); border: var(--law-line); border-radius: var(--law-radius-md); transition: box-shadow 300ms ease, transform 300ms var(--law-ease); }
.channel__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--law-radius-md); background: var(--law-grad-dark); color: var(--law-primary); }
.channel__body { display: flex; flex-direction: column; min-width: 0; }
.channel__title { margin-bottom: var(--law-s2); font-size: var(--law-fs-h5); }
.channel__value { margin-bottom: var(--law-s2); color: var(--law-text); font-size: 1rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.channel__text { margin-bottom: var(--law-s4); font-size: 0.9375rem; line-height: 1.6; }
.channel .arrow-link { margin-top: auto; align-self: flex-start; }
@media (hover: hover) and (pointer: fine) { .channel:hover { transform: translateY(-4px); box-shadow: var(--law-shadow-card); } }
@media (max-width: 479px) { .channel { grid-template-columns: minmax(0, 1fr); } }

/* Horários e prazo */
.info-pair { gap: var(--law-grid-gap); }
.info-card { display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); background: var(--law-surface); border-radius: var(--law-radius-lg); box-shadow: var(--law-shadow-subtle); }
.info-card__icon { margin-bottom: var(--law-s4); color: var(--law-link); }
.info-card__title { margin-bottom: var(--law-s4); font-size: var(--law-fs-h4); }
.info-card__list { margin: 0; }
.info-card__list div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--law-s4); padding: var(--law-s3) 0; border-bottom: var(--law-line); }
.info-card__list div:last-child { border-bottom: 0; }
.info-card__list dt { color: var(--law-muted); font-size: 0.875rem; }
.info-card__list dd { margin: 0; color: var(--law-text); font-size: 0.9375rem; font-weight: 500; }

/* Mapa: carrega só depois do clique */
.map-box { position: relative; min-height: 320px; overflow: hidden; border-radius: var(--law-radius-lg); background: var(--law-surface-cool); box-shadow: var(--law-shadow-card); }
.map-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-box__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: var(--law-shadow-card); }
.map-box__btn:active { transform: translate(-50%, calc(-50% + 1px)); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-address { display: grid; gap: var(--law-s3); margin: var(--law-s2) 0 var(--law-s5); font-style: normal; }
.map-address span { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--law-s3); align-items: start; color: var(--law-text); font-size: 0.9375rem; line-height: 1.6; }
.map-address .icon { margin-top: 2px; color: var(--law-link); }
@media (min-width: 1024px) { .map-box { min-height: 0; } }

/* Perguntas frequentes: título e cartão à esquerda, perguntas à direita (50/50) */
.faq-split { align-items: stretch; }
.faq-split__text { display: flex; flex-direction: column; justify-content: space-between; gap: var(--law-s6); }
.faq-split__text h2 { margin-bottom: var(--law-s4); }
.faq-split__close .split__close { margin-bottom: var(--law-s4); }
.faq-split__list { display: flex; flex-direction: column; border-top: var(--law-line); }
.faq-split__list .faq__item { display: flex; flex-direction: column; justify-content: center; flex: 1 1 auto; }

/* ==========================================================================
   13. BLOG (página principal com filtros por área, sem páginas de categoria)
   ========================================================================== */
/* Abertura: texto | painel "Como os guias são feitos", com a mesma altura */
.blog-hero__author { display: flex; align-items: center; gap: var(--law-s3); margin: 0; padding-top: var(--law-s4); border-top: 1px solid rgba(255,255,255,0.12); color: var(--law-muted-inverse); font-size: 0.9375rem; }
.blog-hero__author .icon { color: var(--law-primary); }
.blog-hero__author strong { color: var(--law-on-dark); }
.guide-panel { display: flex; flex-direction: column; justify-content: space-between; gap: var(--law-s5); padding: var(--law-s6); background: rgba(255,255,255,0.05); border: 1px solid rgba(214,168,94,0.28); border-radius: var(--law-radius-lg); }
.guide-panel__title { margin: 0; color: var(--law-on-dark); font-size: var(--law-fs-h5); font-weight: 600; }
.guide-panel__list { display: grid; gap: var(--law-s5); margin: 0; padding: 0; list-style: none; }
.guide-panel__list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--law-s4); align-items: start; color: var(--law-muted-inverse); font-size: 0.9375rem; line-height: 1.6; }
.guide-panel__list strong { display: block; margin-bottom: 2px; color: var(--law-on-dark); font-weight: 600; }
.guide-panel__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--law-radius-md); background: var(--law-grad-gold); color: var(--law-dark); }
.guide-panel__close { margin: 0; padding-top: var(--law-s4); border-top: 1px solid rgba(255,255,255,0.12); color: var(--law-on-dark); font-weight: 500; }

/* Guia em destaque */
.featured-post__media { position: relative; min-height: 280px; margin: 0; overflow: hidden; border-radius: var(--law-radius-lg); box-shadow: var(--law-shadow-card); }
.featured-post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-post__media .article-card__tag { z-index: 1; }
.featured-post__meta { margin: 0 0 var(--law-s2); }

/* Filtros por área (só CSS: botões de opção) */
.filters { margin: 0 0 var(--law-s6); padding: 0; border: 0; min-width: 0; }
.filters__legend { margin-bottom: var(--law-s3); padding: 0; color: var(--law-muted); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.filters__list { display: flex; flex-wrap: wrap; gap: var(--law-s2); }
.filter__chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--law-s5); background: var(--law-surface); border: 1px solid var(--law-border-subtle); border-radius: var(--law-radius-sm); color: var(--law-text); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease; }
.filter__chip:hover { border-color: var(--law-dark); }
.filter__input:checked + .filter__chip { background: var(--law-dark); border-color: var(--law-dark); color: var(--law-on-dark); box-shadow: inset 0 -3px 0 var(--law-primary); }
.filter__input:focus-visible + .filter__chip { outline: 3px solid var(--law-focus); outline-offset: 2px; }

/* Introdução da área escolhida: texto | 4 temas */
.area-intro { display: none; gap: var(--law-s6); margin-bottom: var(--law-s6); padding: var(--law-s6); background: var(--law-surface); border-radius: var(--law-radius-lg); box-shadow: var(--law-shadow-subtle); }
.area-intro__title { margin-bottom: var(--law-s2); color: var(--law-text); font-size: var(--law-fs-h5); font-weight: 600; }
.area-intro__text p:last-child { margin: 0; }
.area-intro__topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--law-s3) var(--law-s5); align-content: center; margin: 0; padding: 0; list-style: none; }
.area-intro__topics li { padding-bottom: var(--law-s3); border-bottom: var(--law-line); }
@media (min-width: 768px) { .area-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; } }

/* Grade de guias: 1 coluna no celular, 3 colunas a partir do tablet */
.posts { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post { position: relative; }
.post__link { color: inherit; text-decoration: none; }
.post__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post__link:focus-visible { outline: none; }
.post:has(.post__link:focus-visible) { outline: 3px solid var(--law-focus); outline-offset: 3px; }
.post__summary { min-height: calc(1.7em * 2); margin-bottom: var(--law-s5); font-size: 0.9375rem; line-height: 1.7; }
.article-card__body > p.post__summary { margin-bottom: var(--law-s5); }
.post__meta { flex-wrap: wrap; margin: auto 0 0; white-space: nowrap; }
.blog-lib + .section .icon-list, #conta-bloqueada .icon-list { margin-bottom: var(--law-s4); }

/* Cartão que completa a última linha quando uma área é filtrada */
.fill-card { display: none; flex-direction: column; justify-content: space-between; gap: var(--law-s5); padding: var(--law-s6); background: var(--law-grad-dark); border-radius: var(--law-radius-md); color: var(--law-muted-inverse); }
.fill-card__title { margin-bottom: var(--law-s2); color: var(--law-on-dark); font-size: var(--law-fs-h5); font-weight: 600; }
.fill-card__text p:last-child { margin: 0; }
.fill-card .btn { align-self: flex-start; }
.fill-card :focus-visible { outline-color: var(--law-focus-inverse); }
@media (min-width: 768px) {
  .fill-card--span2 { grid-column: span 2; flex-direction: row; align-items: center; }
  .fill-card--span2 .btn { flex: none; align-self: center; }
}

/* Regras dos filtros */
.blog-lib:has(#area-todos:checked) .post:not(.is-page) { display: none; }
.blog-lib:has(.filter__input:checked:not(#area-todos)) .pager { display: none; }
.blog-lib:has(#area-dividas:checked) .post:not([data-area="dividas"]),
.blog-lib:has(#area-imoveis:checked) .post:not([data-area="imoveis"]),
.blog-lib:has(#area-saude:checked) .post:not([data-area="saude"]),
.blog-lib:has(#area-criminal:checked) .post:not([data-area="criminal"]),
.blog-lib:has(#area-custos:checked) .post:not([data-area="custos"]) { display: none; }
.blog-lib:has(#area-dividas:checked) [data-area="dividas"]:is(.area-intro),
.blog-lib:has(#area-imoveis:checked) [data-area="imoveis"]:is(.area-intro),
.blog-lib:has(#area-saude:checked) [data-area="saude"]:is(.area-intro),
.blog-lib:has(#area-criminal:checked) [data-area="criminal"]:is(.area-intro),
.blog-lib:has(#area-custos:checked) [data-area="custos"]:is(.area-intro) { display: grid; }
.blog-lib:has(#area-dividas:checked) .fill-card[data-area="dividas"],
.blog-lib:has(#area-imoveis:checked) .fill-card[data-area="imoveis"],
.blog-lib:has(#area-saude:checked) .fill-card[data-area="saude"],
.blog-lib:has(#area-criminal:checked) .fill-card[data-area="criminal"],
.blog-lib:has(#area-custos:checked) .fill-card[data-area="custos"] { display: flex; }

/* Paginação com links reais */
.pager { flex-wrap: wrap; }
.pagination ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--law-s2); margin: 0; padding: 0; list-style: none; }
.pagination__num, .pagination__step { display: inline-flex; align-items: center; justify-content: center; gap: var(--law-s2); min-width: 44px; min-height: 44px; padding: 0 var(--law-s3); border: 1px solid var(--law-border-subtle); border-radius: var(--law-radius-sm); background: var(--law-surface); color: var(--law-text); font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: border-color 200ms ease; }
a.pagination__num:hover, a.pagination__step:hover { border-color: var(--law-dark); }
.pagination__num[aria-current="page"] { background: var(--law-dark); border-color: var(--law-dark); color: var(--law-on-dark); }
.pagination__step.is-disabled { color: var(--law-muted); background: transparent; cursor: default; }
.pagination__back { transform: rotate(180deg); }

/* ==========================================================================
   14. ARTIGO DO BLOG (texto | coluna lateral fixa durante a leitura)
   ========================================================================== */
/* Topo azul: alinhado à esquerda, na mesma linha do texto */
.article-hero { position: relative; padding: calc(var(--law-header-h) + var(--law-s7)) 0 var(--law-s8); background: var(--law-grad-dark); color: var(--law-muted-inverse); overflow: hidden; }
.article-hero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 50%; height: 130%; background: radial-gradient(closest-side, rgba(214,168,94,0.14), transparent); pointer-events: none; }
.article-hero > .container { position: relative; z-index: 1; }
@media (min-width: 1024px) { .article-hero { padding-top: calc(var(--law-utility-h) + var(--law-header-h) + var(--law-s8)); } }
.article-hero__inner { max-width: 860px; }
.article-hero .breadcrumb { margin-bottom: var(--law-s5); }
.article-hero .breadcrumb span { color: var(--law-muted-inverse); }
.article-hero__tag { display: inline-flex; align-items: center; gap: var(--law-s2); margin-bottom: var(--law-s4); padding: 4px 12px; background: rgba(214,168,94,0.12); border: 1px solid rgba(214,168,94,0.45); border-radius: var(--law-radius-sm); color: var(--law-primary); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.article-hero h1 { margin-bottom: var(--law-s4); color: var(--law-on-dark); font-size: clamp(1.875rem, 1.4rem + 2vw, 2.875rem); line-height: 1.16; }
.article-hero__lead { max-width: 760px; margin-bottom: var(--law-s6); color: var(--law-muted-inverse); font-size: 1.0625rem; line-height: 1.7; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--law-s4) var(--law-s6); padding-top: var(--law-s5); border-top: 1px solid rgba(255,255,255,0.14); }
.article-byline__author { display: flex; align-items: center; gap: var(--law-s3); min-height: 44px; color: var(--law-on-dark); text-decoration: none; }
.article-byline__photo { width: 44px; height: 44px; border: 2px solid var(--law-primary); border-radius: 50%; object-fit: cover; }
.article-byline__name { display: block; font-size: 0.9375rem; font-weight: 600; }
.article-byline__author:hover .article-byline__name { text-decoration: underline; text-underline-offset: 3px; }
.article-byline__role { display: block; color: var(--law-muted-inverse); font-size: 0.8125rem; }
.article-byline__meta { display: flex; flex-wrap: wrap; gap: var(--law-s2) var(--law-s5); margin: 0; padding: 0; list-style: none; font-size: 0.8125rem; }
.article-byline__meta li { display: inline-flex; align-items: center; gap: var(--law-s2); }
.article-byline__meta .icon { color: var(--law-primary); }

/* Corpo: texto | coluna lateral */
.article-shell { padding-block: var(--law-s7) var(--law-s8); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s8); align-items: start; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--law-s8); } }
@media (min-width: 1280px) { .article-layout { grid-template-columns: minmax(0, 780px) 340px; justify-content: space-between; } }
.article { min-width: 0; }
.article p, .article li { font-size: 1.0625rem; line-height: 1.8; }
.article p.article-first { color: var(--law-text); font-size: 1.1875rem; line-height: 1.7; }

/* Resposta em poucas palavras (bloco azul) */
.article-answer { margin-bottom: var(--law-s5); padding: var(--law-s6); background: var(--law-grad-dark); border-radius: var(--law-radius-lg); box-shadow: var(--law-shadow-card); }
.article-answer__label { display: flex; align-items: center; gap: var(--law-s2); margin-bottom: var(--law-s3); color: var(--law-primary); }
.article p.article-answer__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.article .article-answer p:last-child { margin: 0; color: var(--law-on-dark); font-size: 1.125rem; font-weight: 500; line-height: 1.65; }
.article-answer strong { color: var(--law-primary); }

/* O essencial em 4 pontos */
.article-summary { margin-bottom: var(--law-s6); padding: var(--law-s6); background: var(--law-surface-cool); border: 1px solid #DCE4F0; border-radius: var(--law-radius-lg); }
.article-summary__title, .aside-toc__title { margin-bottom: var(--law-s4); color: var(--law-text); font-weight: 600; }
.article p.article-summary__title { font-size: 1.0625rem; }
.article-summary ul { display: grid; gap: var(--law-s3); margin: 0; padding: 0; list-style: none; }
.article .article-summary li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: var(--law-s3); align-items: start; font-size: 1rem; line-height: 1.6; }
.article-summary__check { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--law-success); color: #fff; }
.article-summary__check .icon { width: 14px; height: 14px; stroke-width: 3; }
.article p.article-summary__note { margin: var(--law-s4) 0 0; padding-top: var(--law-s3); border-top: 1px solid #DCE4F0; color: var(--law-muted); font-size: 0.875rem; line-height: 1.6; }

/* Sumário no celular (na coluna lateral no computador) */
.toc-mobile { margin-bottom: var(--law-s6); border: var(--law-line); border-radius: var(--law-radius-lg); }
.toc-mobile summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 var(--law-s5); color: var(--law-text); font-weight: 600; cursor: pointer; list-style: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile[open] summary .icon { transform: rotate(180deg); }
.toc-mobile ol { display: grid; gap: var(--law-s2); margin: 0; padding: 0 var(--law-s5) var(--law-s5) 2.6em; color: var(--law-link); }
.article .toc-mobile li { font-size: 0.9375rem; line-height: 1.5; }
.toc-mobile a, .aside-toc a { color: var(--law-text); text-decoration: none; }
.toc-mobile a:hover, .aside-toc a:hover { color: var(--law-link); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .toc-mobile { display: none; } }

/* Coluna lateral */
.article-aside { display: none; }
@media (min-width: 1024px) { .article-aside { display: block; align-self: stretch; } }
.article-aside__sticky { position: sticky; top: calc(var(--law-header-h) + var(--law-s5)); display: grid; gap: var(--law-s4); max-height: calc(100vh - var(--law-header-h) - var(--law-s7)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.aside-toc { padding: var(--law-s5); background: var(--law-surface); border: var(--law-line); border-radius: var(--law-radius-lg); box-shadow: var(--law-shadow-subtle); }
.aside-toc__title { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--law-link); }
.aside-toc ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.aside-toc li { counter-increment: toc; border-top: var(--law-line); }
.aside-toc li:first-child { border-top: 0; }
.aside-toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: var(--law-s2); padding: 10px 0; font-size: 0.8125rem; line-height: 1.4; }
.aside-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--law-gold-strong); font-weight: 700; }
.aside-cta { padding: var(--law-s5); background: var(--law-grad-dark); border-radius: var(--law-radius-lg); color: var(--law-muted-inverse); }
.aside-cta__eyebrow { margin-bottom: var(--law-s2); color: var(--law-primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.aside-cta__title { margin-bottom: var(--law-s2); color: var(--law-on-dark); font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.aside-cta p:not([class]) { margin-bottom: var(--law-s4); font-size: 0.9375rem; line-height: 1.6; }
.aside-cta .btn { width: 100%; justify-content: center; padding-inline: var(--law-s4); font-size: 0.875rem; white-space: normal; text-align: center; }
.aside-author { display: flex; align-items: center; gap: var(--law-s3); padding: var(--law-s4) var(--law-s5); background: var(--law-surface-alt); border-radius: var(--law-radius-lg); color: var(--law-text); text-decoration: none; }
.aside-author__photo { width: 48px; height: 48px; border: 2px solid var(--law-primary); border-radius: 50%; object-fit: cover; }
.aside-author__label { display: block; color: var(--law-muted); font-size: 0.75rem; }
.aside-author__name { display: block; font-size: 0.9375rem; font-weight: 600; }
.aside-author__role { display: block; color: var(--law-muted); font-size: 0.8125rem; }
.aside-author:hover .aside-author__name { color: var(--law-link); }

/* Seções do texto */
.article-section { margin-top: var(--law-s8); scroll-margin-top: 110px; }
.article-section h2 { margin-bottom: var(--law-s4); font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); line-height: 1.25; }
.article-section h3 { margin: var(--law-s6) 0 var(--law-s3); font-size: 1.25rem; scroll-margin-top: 110px; }
.article-section h4 { margin: var(--law-s5) 0 var(--law-s2); color: var(--law-text); font-size: 1.0625rem; }
.article p.lead-answer { margin-bottom: var(--law-s5); padding: var(--law-s4) var(--law-s5); background: var(--law-primary-soft); border-left: 3px solid var(--law-primary); border-radius: 0 var(--law-radius-md) var(--law-radius-md) 0; color: var(--law-text); font-size: 1.0625rem; font-weight: 500; line-height: 1.7; }

.article-checklist, .article-mistakes { display: grid; gap: var(--law-s3); margin: 0 0 var(--law-s5); padding: 0; list-style: none; }
.article-checklist li, .article-mistakes li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--law-s3); align-items: start; padding: var(--law-s3) var(--law-s4); background: var(--law-surface-alt); border-radius: var(--law-radius-md); }
.article-checklist .icon { margin-top: 5px; color: var(--law-success); }
.article-mistakes .icon { margin-top: 5px; color: var(--law-error); }

/* Tabelas dentro de um cartão com título */
.article-table { margin: var(--law-s5) 0; }
.article-table__box { overflow: hidden; border: var(--law-line); border-radius: var(--law-radius-md); background: var(--law-surface); }
.article p.article-table__title { margin: 0; padding: var(--law-s3) var(--law-s5); background: var(--law-surface-alt); color: var(--law-text); font-size: 0.9375rem; font-weight: 600; }
.article-table .table-wrap { border: 0; border-radius: 0; box-shadow: none; }
.article-table .guide-table tr { margin: 0; border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; }
.article p.article-table__note { margin: var(--law-s2) 0 0; color: var(--law-muted); font-size: 0.8125rem; line-height: 1.5; }
.article .guide-table td, .article .guide-table th { font-size: 0.9375rem; line-height: 1.6; }
@media (min-width: 768px) {
  .guide-table--3 th, .guide-table--3 td { width: 33.333%; }
  .article-table .guide-table tr { border-top: var(--law-line); }
  .article-table .guide-table thead th:first-child { box-shadow: none; }
}

.article-steps { display: grid; gap: var(--law-s3); margin: var(--law-s5) 0; padding: 0; list-style: none; }
.article-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--law-s4); align-items: start; padding: var(--law-s4) var(--law-s5); background: var(--law-surface); border: var(--law-line); border-radius: var(--law-radius-md); }
.article-steps__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--law-dark); color: var(--law-primary); font-weight: 700; }
.article-steps strong { display: block; color: var(--law-text); }
.article .article-steps p { margin: 2px 0 0; font-size: 1rem; line-height: 1.65; }
.article-tip { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--law-s4); margin: var(--law-s5) 0; padding: var(--law-s5); background: var(--law-surface-cool); border: 1px solid #DCE4F0; border-radius: var(--law-radius-md); }
.article-tip > .icon { color: var(--law-link); }
.article p.article-tip__title { margin-bottom: 4px; color: var(--law-text); font-weight: 600; }
.article .article-tip p { margin: 0; font-size: 1rem; line-height: 1.65; }

.article-figure { margin: var(--law-s8) 0 0; }
.article-figure img { width: 100%; height: auto; border-radius: var(--law-radius-lg); }
.article-figure figcaption { margin-top: var(--law-s3); padding-left: var(--law-s3); border-left: 2px solid var(--law-primary); color: var(--law-muted); font-size: 0.875rem; line-height: 1.5; }

.article-cta { display: grid; gap: var(--law-s5); align-items: center; margin-top: var(--law-s8); padding: var(--law-s6); background: var(--law-grad-dark); border-radius: var(--law-radius-lg); color: var(--law-muted-inverse); }
.article p.article-cta__title { margin-bottom: var(--law-s2); color: var(--law-on-dark); font-size: 1.1875rem; font-weight: 600; line-height: 1.4; }
.article .article-cta p:last-child { margin: 0; font-size: 1rem; line-height: 1.65; }
.article-cta .btn { justify-self: start; }
@media (min-width: 768px) { .article-cta { grid-template-columns: minmax(0, 1fr) auto; } }

.faq--article { display: block; margin-top: var(--law-s4); }
.article .faq__answer p { font-size: 1rem; }

.author-box { display: grid; gap: var(--law-s5); margin-top: var(--law-s8); padding: var(--law-s6); background: var(--law-surface-alt); border-radius: var(--law-radius-lg); }
.author-box__photo { width: 120px; height: 120px; border: 3px solid var(--law-primary); border-radius: 50%; object-fit: cover; }
.article p.author-box__eyebrow { margin-bottom: 4px; color: var(--law-link); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.article p.author-box__name { margin-bottom: 2px; color: var(--law-text); font-size: 1.25rem; font-weight: 600; }
.article p.author-box__role { margin-bottom: var(--law-s3); color: var(--law-muted); font-size: 0.875rem; }
.article .author-box p { font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { .author-box { grid-template-columns: 120px minmax(0, 1fr); align-items: start; } }

/* ==========================================================================
   15. AVISO DE COOKIES, PÁGINAS LEGAIS, OBRIGADO E 404
   ========================================================================== */
/* Aviso de cookies: fica por cima da página (position fixed), não empurra o conteúdo (sem CLS).
   No celular é compacto (texto curto + 3 botões numa linha) e nunca passa de 40% da altura da tela. */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; max-height: 40vh; max-height: 40dvh; overflow-y: auto; padding-block: var(--law-s4); background: var(--law-dark); border-top: 2px solid var(--law-primary); box-shadow: 0 -12px 32px rgba(12,23,48,0.25); color: var(--law-muted-inverse); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: grid; gap: var(--law-s3); align-items: center; }
.cookie-banner__title { margin-bottom: 2px; color: var(--law-on-dark); font-size: 0.9375rem; font-weight: 600; }
.cookie-banner__text p:last-child { margin: 0; font-size: 0.8125rem; line-height: 1.55; }
.cookie-banner .text-link { color: var(--law-primary); }
.cookie-banner :focus-visible { outline-color: var(--law-focus-inverse); }
.cookie-banner__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--law-s2); }
.btn--cookie, .btn--cookie-light { min-height: 44px; padding: 8px var(--law-s3); font-size: 0.8125rem; line-height: 1.25; }
.btn--cookie { background: transparent; border: 1px solid var(--law-primary); color: var(--law-on-dark); }
.btn--cookie:hover { background: rgba(214,168,94,0.14); }
.btn--cookie-light { background: var(--law-surface); border: 1px solid var(--law-dark); color: var(--law-dark); }
.btn--cookie-light:hover { background: var(--law-surface-cool); }
@media (min-width: 768px) { .cookie-banner { padding-block: var(--law-s5); } .cookie-banner__text p:last-child { font-size: 0.875rem; } .btn--cookie, .btn--cookie-light { padding-inline: var(--law-s5); font-size: 0.875rem; } }
@media (min-width: 1024px) { .cookie-banner__inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--law-s6); } .cookie-banner__actions { grid-template-columns: repeat(3, minmax(9.5rem, auto)); } }

/* Painel de preferências de cookies (<dialog> nativo: prende o foco, Esc fecha, devolve o foco ao botão) */
.cookie-prefs { width: min(560px, calc(100% - 32px)); max-width: none; max-height: min(88vh, 720px); max-height: min(88dvh, 720px); margin: auto; padding: 0; border: 0; border-radius: var(--law-radius-lg); background: var(--law-surface); color: var(--law-muted); box-shadow: 0 24px 64px rgba(12,23,48,0.35); }
.cookie-prefs::backdrop { background: rgba(12,23,48,0.62); }
.cookie-prefs__form { display: grid; gap: var(--law-s4); padding: var(--law-s5); }
.cookie-prefs__head { display: flex; align-items: center; justify-content: space-between; gap: var(--law-s4); padding-bottom: var(--law-s3); border-bottom: 2px solid var(--law-primary); }
.cookie-prefs__title { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.cookie-prefs__close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--law-border-subtle); border-radius: var(--law-radius-xs); background: var(--law-surface); color: var(--law-text); cursor: pointer; }
.cookie-prefs__close:hover { background: var(--law-surface-cool); }
.cookie-prefs__intro { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.cookie-prefs__list { display: grid; gap: var(--law-s3); margin: 0; padding: 0; list-style: none; }
.cookie-cat { padding: var(--law-s4); border: var(--law-line); border-radius: var(--law-radius-md); background: var(--law-surface-alt); }
.cookie-cat__head { display: flex; align-items: center; justify-content: space-between; gap: var(--law-s3); min-height: 44px; }
.cookie-cat__name { flex: 1; color: var(--law-text); font-weight: 600; cursor: pointer; }
.cookie-cat__state { white-space: nowrap; color: var(--law-success); font-size: 0.8125rem; font-weight: 600; }
.cookie-cat__desc { margin: var(--law-s2) 0 0; font-size: 0.875rem; line-height: 1.6; }
.cookie-switch { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 52px; height: 30px; margin: 0; border: 2px solid #5B6478; border-radius: 999px; background: #E6E9EF; cursor: pointer; transition: background-color 200ms ease, border-color 200ms ease; }
.cookie-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #5B6478; transition: transform 200ms ease, background-color 200ms ease; }
.cookie-switch:checked { border-color: var(--law-dark); background: var(--law-dark); }
.cookie-switch:checked::after { background: var(--law-primary); transform: translateX(22px); }
.cookie-switch:disabled { cursor: not-allowed; opacity: 0.75; }
.cookie-switch:focus-visible { outline: 3px solid var(--law-focus); outline-offset: 3px; }
.cookie-prefs__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--law-s2); }
@media (min-width: 560px) { .cookie-prefs__form { padding: var(--law-s6); } .cookie-prefs__actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .cookie-switch, .cookie-switch::after { transition: none; } }
.site-footer__cookie-btn { min-height: 44px; padding: 0; background: none; border: 0; color: inherit; font: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.site-footer__cookie-btn:hover { color: var(--law-primary); }

/* Páginas legais (usam o mesmo layout do artigo) */
.legal-review { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--law-s3); margin-bottom: var(--law-s5); padding: var(--law-s4) var(--law-s5); background: #FDF1EF; border: 1px dashed var(--law-error); border-radius: var(--law-radius-md); color: var(--law-text); }
.legal-review .icon { margin-top: 3px; color: var(--law-error); }
.article p.legal-review__text { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.legal-list { display: grid; gap: var(--law-s2); margin: 0 0 var(--law-s5); padding-left: 1.2em; }
.legal-list li::marker { color: var(--law-gold-strong); }
.aside-contact { padding: var(--law-s5); background: var(--law-surface-alt); border-radius: var(--law-radius-lg); }
.aside-contact__eyebrow { margin-bottom: var(--law-s2); color: var(--law-link); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.aside-contact__name { margin-bottom: 2px; color: var(--law-text); font-weight: 600; }
.aside-contact p:not([class]) { margin-bottom: var(--law-s3); font-size: 0.875rem; line-height: 1.6; }
.aside-contact a { font-size: 0.875rem; overflow-wrap: anywhere; }
.cookie-reset { margin-top: var(--law-s2); }

/* Obrigado */
.thanks-hero__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: var(--law-s5); border-radius: 50%; background: var(--law-grad-gold); color: var(--law-dark); }
.thanks-hero__icon .icon { width: 32px; height: 32px; }
.next-steps { background: var(--law-grad-dark); color: var(--law-muted-inverse); }
.next-steps .sh h2, .next-steps .step__title { color: var(--law-on-dark); }
.next-steps .sh__text p { color: var(--law-muted-inverse); }
.reply-band { display: grid; gap: var(--law-s5); padding: var(--law-s6); background: var(--law-surface); border: var(--law-line); border-left: 4px solid var(--law-primary); border-radius: var(--law-radius-lg); box-shadow: var(--law-shadow-subtle); }
.reply-band__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--law-s4); align-items: start; }
.reply-band__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--law-radius-md); background: var(--law-grad-dark); color: var(--law-primary); }
.reply-band__label { margin-bottom: 2px; color: var(--law-muted); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.reply-band__value { margin-bottom: 4px; color: var(--law-text); font-size: 1.125rem; font-weight: 600; }
.reply-band p:last-child { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
@media (min-width: 768px) { .reply-band { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--law-s6); } }
.svc-card .article-card__body .arrow-link { margin-top: auto; }

/* 404 */
.topic-card { display: flex; flex-direction: column; height: 100%; padding: var(--law-s6) var(--law-s5); background: var(--law-surface); border: var(--law-line); border-radius: var(--law-radius-md); transition: transform 300ms var(--law-ease), box-shadow 300ms ease; }
.topic-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--law-s5); border-radius: var(--law-radius-md); background: var(--law-grad-dark); color: var(--law-primary); }
.topic-card__title { margin-bottom: var(--law-s2); font-size: var(--law-fs-h5); }
.topic-card p { margin-bottom: var(--law-s5); font-size: 0.9375rem; line-height: 1.6; }
.topic-card .arrow-link { margin-top: auto; }
@media (hover: hover) and (pointer: fine) { .topic-card:hover { transform: translateY(-4px); box-shadow: var(--law-shadow-card); } }
.error-hero__code { display: inline-block; margin-bottom: var(--law-s3); color: var(--law-primary); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.error-hero__actions { display: flex; flex-wrap: wrap; gap: var(--law-s3); }
.cta-band { display: grid; gap: var(--law-s5); align-items: center; padding: var(--law-s7) var(--law-s6); background: var(--law-grad-dark); border-radius: var(--law-radius-lg); color: var(--law-muted-inverse); }
.cta-band h2 { margin-bottom: var(--law-s2); color: var(--law-on-dark); }
.cta-band p { margin: 0; }
@media (min-width: 768px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; } }
.btn--on-dark { background: transparent; border-color: rgba(214,168,94,0.7); color: var(--law-on-dark); }
.btn--on-dark:hover { background: rgba(214,168,94,0.14); }

/* Formulários v2: campo anti-spam (fora da tela, invisível também para leitores de tela) e marca de campo opcional */
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field__opt { color: var(--law-muted); font-weight: 400; }
.btn[aria-busy="true"] { cursor: progress; opacity: 0.85; }

/* Home no celular: a foto do Dr. Jefferson aparece acima do texto, com o rosto livre */
@media (max-width: 639px) {
  .hero { padding-top: calc(64px + 66vw); }
  .hero__media img { object-position: 50% 0; }
}

/* Abertura com formulário: as duas colunas começam e terminam na mesma altura (simetria total).
   O texto começa no topo junto com o formulário e os destaques encostam na base da coluna. */
@media (min-width: 1024px) {
  .page-hero--form .page-hero__text { justify-content: flex-start; }
  .page-hero--form .page-hero__text > :last-child:not(.hero-proofs) { margin-top: auto; }
}
/* Campos lado a lado: o campo fica sempre na mesma linha, mesmo quando um rótulo quebra em duas linhas */
.form__row--2 > .field { display: grid; grid-template-rows: 1fr auto auto; align-content: end; }
.form__row--2 > .field > label { align-self: end; }
/* Abertura com formulário (computador): destaques empilhados, para a coluna de texto acompanhar a altura do formulário sem vão */
@media (min-width: 1024px) {
  .page-hero--form .hero-proofs { grid-template-columns: minmax(0, 1fr); }
  .page-hero--form .hero-proofs li { flex-direction: row; align-items: center; }
  .page-hero--form .hero-proofs li { min-height: 76px; padding: var(--law-s4) var(--law-s5); }
  .page-hero--form .hero-proofs li strong { display: block; }
  .page-hero--form .page-hero__text { gap: 0; }
  .page-hero--form .hero-proofs { flex: 1 1 auto; grid-auto-rows: minmax(76px, 1fr); margin-top: var(--law-s6); padding-top: 0; }
}

/* Celulares: títulos um pouco menores para palavras longas (ex.: "superendividamento") caberem inteiras, sem hífen */
@media (max-width: 420px) {
  h1 { font-size: clamp(1.5rem, 8vw, 2.125rem); }
  h2 { font-size: clamp(1.3rem, 6.4vw, 1.75rem); }
}

/* Falha no envio do formulário: mensagem clara + WhatsApp do escritório (só aparece nesse caso) */
.form__falha { display: grid; gap: var(--law-s3); margin-top: var(--law-s4); padding: var(--law-s4); border: 2px solid var(--law-error); border-radius: var(--law-radius-md); background: #FFF6F5; color: var(--law-text); font-size: 0.9375rem; line-height: 1.5; }
.form__falha p { margin: 0; font-weight: 400; color: var(--law-text); }
.form__falha strong { color: var(--law-error); font-weight: 700; }
.btn--whatsapp { justify-self: start; min-height: 48px; background: #17704A; color: #fff; border-color: #17704A; }
.btn--whatsapp:hover { background: #125C3C; color: #fff; }

/* Página de obrigado: lista "o que ir preparando" (4 itens, 2 x 2, mesma altura) */
.prep { list-style: none; margin: 0; padding: 0; }
.prep__item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--law-s4); align-items: start; height: 100%; padding: var(--law-s5); background: var(--law-surface); border: var(--law-line); border-radius: var(--law-radius-md); }
.section--alt .prep__item { border-color: transparent; box-shadow: var(--law-shadow-subtle); }
.prep__item .icon { width: 28px; height: 28px; color: var(--law-gold-strong); }
.prep__item p { margin: 0; color: var(--law-text); font-size: 0.9375rem; line-height: 1.6; }
.reply-band .btn--whatsapp { margin-top: var(--law-s2); }

/* Auditoria de conteúdo (23/11/2026): autor e data no topo das páginas de serviço, resposta direta
   abaixo dos subtítulos do guia prático, introdução da caixa de artigos e tabela de 4 colunas */
.page-hero__byline { margin-bottom: var(--law-s5); padding-top: 0; border-top: 0; }
.page-hero__byline .article-byline__meta { color: var(--law-muted-inverse); }
.guide__lead { max-width: 72ch; margin: calc(var(--law-s5) * -0.5) 0 var(--law-s5); color: var(--law-muted); font-size: 1rem; line-height: 1.7; }
.reading__intro { margin: var(--law-s2) 0 0; color: var(--law-muted); font-size: 0.9375rem; line-height: 1.6; }
@media (min-width: 1024px) { .guide-table--4 th, .guide-table--4 td { width: 25%; } }

/* Páginas de área (23/11/2026): o formulário completo fica no topo e a foto desce para "Por que confiar" (imagem | texto) */
.split--diff { margin-bottom: var(--law-s7); }
.split--diff .split__text { display: flex; flex-direction: column; }
.features__grid--compact { margin-top: var(--law-s5); }
.features__grid--compact .feature { padding: var(--law-s5) var(--law-s4); }
.features__grid--compact .feature__icon { margin-bottom: var(--law-s3); }

/* Formulário do topo mais compacto (pedido de 23/11/2026): campos mais baixos, opções em 2 colunas também
   no celular e menos espaço entre os blocos. Toque continua com 44 px ou mais (WCAG 2.2). */
.quick-form { padding: var(--law-s4); }
.quick-form__title { font-size: 1.25rem; }
.quick-form__intro { margin-bottom: var(--law-s4); font-size: 0.875rem; line-height: 1.5; }
.quick-form .form { gap: var(--law-s4); }
.quick-form .form__row { gap: var(--law-s3); }
.quick-form .field { gap: 6px; }
.quick-form .field label, .quick-form .choice legend { font-size: 0.8125rem; }
.quick-form .field input:not([type="checkbox"]), .quick-form .field select { min-height: 46px; padding-top: 10px; padding-bottom: 10px; font-size: 1rem; }
.quick-form .field input:not([type="checkbox"]) { padding-inline: 14px; }
.quick-form .field select { padding-left: 14px; }
.quick-form .choice__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--law-s2); }
.quick-form .choice__box { min-height: 46px; padding: 6px 10px; gap: var(--law-s2); font-size: 0.8125rem; line-height: 1.3; }
.quick-form .choice__box .icon { width: 18px; height: 18px; flex: none; }
.quick-form .form__foot { gap: var(--law-s4); }
.quick-form .field--check label { font-size: 0.8125rem; line-height: 1.5; }
.quick-form .btn--lg { min-height: 52px; }
@media (min-width: 360px) {
  .quick-form .form__row--2:not(.form__row--selects):not(.form__row--contato) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 480px) {
  .quick-form .form__row--contato { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479px) {
  /* no celular as opções ficam em 2 colunas sem o ícone, para palavras longas caberem inteiras */
  .quick-form .choice__box .icon { display: none; }
  .quick-form .choice__box { padding: 6px 8px; hyphens: auto; overflow-wrap: anywhere; }
}
@media (min-width: 1024px) {
  /* coluna da esquerda mais curta: autor e data na mesma linha, título e destaques mais compactos */
  .page-hero--form h1 { font-size: clamp(2.25rem, 3.4vw, 3rem); }
  .page-hero--form .page-hero__lead { margin-bottom: var(--law-s5); }
  .page-hero__byline { flex-wrap: nowrap; align-items: center; gap: var(--law-s5); }
  .page-hero__byline .article-byline__meta { flex-direction: column; gap: 2px; }
  .page-hero--form .hero-proofs { gap: var(--law-s2); margin-top: var(--law-s5); grid-auto-rows: minmax(56px, 1fr); }
  .page-hero--form .hero-proofs li { min-height: 56px; padding-block: var(--law-s3); }
}
@media (min-width: 768px) {
  .quick-form { padding: var(--law-s5); }
}

/* Blog: guia planejado e ainda não escrito ("Em breve"), sem link */
.post--breve .article-card__media img { opacity: 0.8; }
.post__soon { color: var(--law-link); font-weight: 600; }

/* Home e Sobre (auditoria de 23/11/2026): resposta direta abaixo dos subtítulos */
.ps-col__lead { min-height: 3.2em; margin: calc(var(--law-s2) * -1) 0 var(--law-s4); font-size: 0.9375rem; line-height: 1.6; }
.stats-band__lead { max-width: 64ch; margin: calc(var(--law-s3) * -1) auto var(--law-s6); color: var(--law-muted-inverse); text-align: center; font-size: 1rem; line-height: 1.6; }

/* Onde atendemos (home, 24/11/2026): painel azul com ondas finas e mapa do Brasil em SVG (capitais dos 26 estados e do DF) */
.area-panel { display: grid; gap: var(--law-s6); align-items: center; padding: var(--law-s7) var(--law-s5); border-radius: var(--law-radius-lg); background-color: var(--law-dark); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='80' viewBox='0 0 320 80'%3E%3Cpath d='M-20 42 Q32 12 90 42 T202 42 T314 42 T426 42' fill='none' stroke='%23D6A85E' stroke-opacity='.10' stroke-width='1.5'/%3E%3C/svg%3E"), var(--law-grad-dark); background-size: 320px 80px, cover; }
.area-panel h2 { margin: 0 0 var(--law-s4); }
.area-panel__lead { max-width: 56ch; margin: 0 0 var(--law-s5); color: var(--law-muted-inverse); }
.area-points { display: grid; gap: var(--law-s4); margin: 0 0 var(--law-s6); padding: 0; list-style: none; }
.area-points li { display: flex; align-items: center; gap: var(--law-s4); color: var(--law-on-dark); font-weight: 600; line-height: 1.4; }
.area-points__icon { display: inline-grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--law-primary); color: var(--law-on-primary); }
.area-panel__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--law-s4); }
.area-panel__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--law-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.area-panel__link:hover { color: var(--law-on-dark); }
.br-map { width: 100%; max-width: 420px; margin-inline: auto; }
.br-map svg { display: block; width: 100%; height: auto; }
.br-map__shape { fill: rgba(255,255,255,0.05); stroke: var(--law-primary); stroke-opacity: 0.6; stroke-width: 1.2; stroke-linejoin: round; }
.br-map__halo { fill: var(--law-primary); fill-opacity: 0.22; }
.br-map__dot { fill: var(--law-primary); }
@media (min-width: 900px) {
  .area-panel { grid-template-columns: 1fr 1fr; gap: var(--law-s7); padding: var(--law-s8) var(--law-s8); }
}
@media (prefers-reduced-motion: no-preference) {
  .br-map__halo { transform-box: fill-box; transform-origin: center; animation: br-pulso 3.2s ease-in-out infinite; }
  .br-map__halo:nth-of-type(3n) { animation-delay: 1.1s; } .br-map__halo:nth-of-type(3n+1) { animation-delay: 2.2s; }
}
@keyframes br-pulso { 0%, 100% { transform: scale(1); fill-opacity: 0.22; } 50% { transform: scale(1.5); fill-opacity: 0.08; } }

/* Crédito da agência: última linha do rodapé, em todas as páginas */
.site-footer__legal-inner { flex-wrap: wrap; }
.footer__credit { grid-column: 1 / -1; margin: 0; flex-basis: 100%; }
.site-footer__legal p.footer__credit { max-width: none; text-align: left; }
.footer__credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__legal .footer__credit a { display: inline; min-height: 0; color: inherit; }
.site-footer__legal .footer__credit a:hover { color: var(--law-primary); }
