/* Humberto Morais Advogados Associados | site v3.0 */

@font-face { font-family: 'Altissimo'; src: url('/assets/fonts/altissimo-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Altissimo'; src: url('/assets/fonts/altissimo-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Altissimo'; src: url('/assets/fonts/altissimo-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Altissimo'; src: url('/assets/fonts/altissimo-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --azul: #1B4871;
  --azul-profundo: #0E2740;
  --azul-medio: #2C5C88;
  --creme: #DFDED0;
  --creme-claro: #F6F5EF;
  --creme-linha: #CFCDBC;
  --branco: #FFFFFF;
  --texto: #34404D;
  --texto-suave: #5B6673;
  --titulo: #14385A;
  --linha: #E4E2D6;
  --destaque: #17744A;          /* única cor de ação (botões de WhatsApp), 5,78:1 com branco */
  --destaque-hover: #115C3A;
  --alerta: #8A2C1E;
  --sombra-s: 0 1px 2px rgba(14, 39, 64, .06), 0 4px 14px rgba(14, 39, 64, .06);
  --sombra-m: 0 2px 6px rgba(14, 39, 64, .06), 0 18px 40px rgba(14, 39, 64, .10);
  --raio: 16px;
  --raio-s: 10px;
  --fonte-titulo: 'Altissimo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fonte-texto: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --header-h: 68px;
  --cookie-h: 0px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--branco); color: var(--texto);
  font-family: var(--fonte-texto); font-size: 1.0625rem; line-height: 1.7;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--azul); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--azul-profundo); }
h1, h2, h3, h4 { font-family: var(--fonte-titulo); color: var(--titulo); line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.25rem, 6.6vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.85rem, 4.4vw, 2.75rem); font-weight: 400; }
h3 { font-size: 1.28rem; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--titulo); font-weight: 650; }

:focus-visible { outline: 3px solid var(--azul-medio); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--creme); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--azul); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.section { padding: 72px 0; }
.section--creme { background: var(--creme-claro); }
.section--azul { background: var(--azul-profundo); color: #D9DEE5; }
.section--azul h2, .section--azul h3, .section--azul strong { color: #fff; }
.on-dark { color: #D9DEE5; }
.on-dark h2, .on-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--fonte-titulo); font-weight: 500; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--azul); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.on-dark .eyebrow, .section--azul .eyebrow { color: var(--creme); }
.lead { font-size: 1.16rem; color: var(--texto); max-width: 44rem; }
.on-dark .lead { color: #D9DEE5; }
.section-head { max-width: 46rem; margin-bottom: 44px; }
.section-head p { color: var(--texto-suave); }
.on-dark .section-head p { color: #C3CBD5; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.muted { color: var(--texto-suave); }
.small { font-size: .92rem; }

/* ---------- ícones ---------- */
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico-wa { fill: currentColor; stroke: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: 13px 26px; border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--fonte-texto); font-size: 1.02rem; font-weight: 650; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn-wa { background: var(--destaque); color: #fff; box-shadow: 0 6px 18px rgba(23, 116, 74, .22); }
.btn-wa:hover { background: var(--destaque-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(23, 116, 74, .28); }
.btn-outline { background: transparent; color: var(--azul); border-color: rgba(27, 72, 113, .45); }
.btn-outline:hover { background: var(--azul); border-color: var(--azul); color: #fff; }
.on-dark .btn-outline { color: #fff; border-color: rgba(223, 222, 208, .55); }
.on-dark .btn-outline:hover { background: var(--creme); border-color: var(--creme); color: var(--azul-profundo); }
.btn-lg { min-height: 60px; font-size: 1.08rem; padding: 15px 30px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-urgente { background: var(--destaque); color: #fff; box-shadow: 0 0 0 4px rgba(23, 116, 74, .18), 0 8px 22px rgba(23, 116, 74, .28); }
.btn-urgente:hover { background: var(--destaque-hover); color: #fff; }

.phone-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 650; text-decoration: none; color: var(--azul); white-space: nowrap; }
.phone-link:hover { text-decoration: underline; }
.on-dark .phone-link { color: #fff; }
.text-link { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.text-link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--header-h);
  background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--linha); box-shadow: 0 6px 24px rgba(14, 39, 64, .06); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .phone-link { font-size: .86rem; }
.header-actions .phone-link .ico { display: none; }
.btn-header { min-height: 44px; min-width: 44px; padding: 8px 14px; font-size: .95rem; box-shadow: none; }
.btn-header .lbl { display: none; }
main { padding-top: var(--header-h); }

.nav { display: none; }
.nav a { color: var(--titulo); text-decoration: none; font-weight: 550; font-size: .98rem; padding: 8px 2px; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--azul); }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--linha); border-radius: 12px; background: #fff; color: var(--titulo); cursor: pointer; }
.menu-btn .ico { width: 22px; height: 22px; }
.mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 79; background: #fff; border-bottom: 1px solid var(--linha); box-shadow: var(--sombra-m); padding: 8px 20px 24px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--linha); color: var(--titulo); text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.mobile-nav .btn { margin-top: 18px; width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--creme-claro) 0%, #FBFAF6 70%, #fff 100%); padding: 48px 0 64px; }
.hero::after { content: ''; position: absolute; right: -180px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid var(--creme-linha); opacity: .7; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 36px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--azul-medio); }
.hero .lead { margin-bottom: 0; }
.hero .btn-row { margin: 30px 0 22px; }
.hero .btn-row .btn { width: 100%; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .95rem; color: var(--texto-suave); }
.hero-meta .phone-link { font-size: 1.08rem; }
.hero-aside { display: none; }
.hero-lawyer { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.hero-lawyer img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; box-shadow: var(--sombra-s); }
.hero-lawyer strong { display: block; font-family: var(--fonte-titulo); font-weight: 500; font-size: 1.05rem; line-height: 1.2; }
.hero-lawyer span { font-size: .88rem; color: var(--texto-suave); }

.creds { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--creme-linha); font-size: .9rem; color: var(--texto-suave); }
.creds span { display: inline-flex; align-items: center; gap: 8px; }
.creds .ico { color: var(--azul); width: 18px; height: 18px; }

/* cartão do advogado no hero (landings) */
.lawyer-card { background: #fff; border: 1px solid var(--linha); border-radius: 22px; box-shadow: var(--sombra-m); overflow: hidden; }
.lawyer-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.lawyer-card figcaption { padding: 18px 22px 20px; }
.lawyer-card strong { display: block; font-family: var(--fonte-titulo); font-weight: 500; font-size: 1.2rem; color: var(--titulo); }
.lawyer-card span { font-size: .92rem; color: var(--texto-suave); }

/* painel de pontos no hero */
.panel { background: var(--azul-profundo); color: #D9DEE5; border-radius: 22px; padding: 30px 28px; box-shadow: var(--sombra-m); }
.panel h2 { font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; color: var(--creme); font-weight: 500; margin-bottom: 18px; }
.panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.panel li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; line-height: 1.5; }
.panel li .ico { color: var(--creme); margin-top: 3px; width: 20px; height: 20px; }

/* ---------- faixa de atendimento ---------- */
.wa-strip { background: var(--azul-profundo); color: #fff; padding: 26px 0; }
.wa-strip-inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.wa-strip .who { display: flex; align-items: center; gap: 14px; }
.wa-strip .who img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(223, 222, 208, .6); flex: none; }
.wa-strip p { margin: 0; color: #C9D1DB; font-size: 1rem; line-height: 1.5; }
.wa-strip strong { display: block; color: #fff; font-family: var(--fonte-titulo); font-weight: 500; font-size: 1.2rem; }
.wa-strip .phone-link { color: #fff; font-size: 1.15rem; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
.card { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card h3 { font-size: 1.12rem; margin-bottom: .3em; }
.card p { margin: 0; font-size: .98rem; color: var(--texto-suave); line-height: 1.6; }
.card-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--creme-claro); border: 1px solid var(--linha); color: var(--azul); display: grid; place-items: center; }
.card-ico .ico { width: 24px; height: 24px; }
a.card { text-decoration: none; color: inherit; flex-direction: column; }
a.card:hover { border-color: var(--azul); box-shadow: var(--sombra-m); transform: translateY(-2px); }
a.card .more { margin-top: auto; padding-top: 14px; font-weight: 650; color: var(--azul); display: inline-flex; align-items: center; gap: 6px; font-size: .96rem; }
.after-cta { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 26px; border-radius: var(--raio); background: var(--creme-claro); border: 1px solid var(--linha); }
.after-cta p { margin: 0; font-family: var(--fonte-titulo); font-size: 1.3rem; color: var(--titulo); font-weight: 400; }

/* ---------- informações legais ---------- */
.rights { display: grid; gap: 18px; counter-reset: dir; }
.right { position: relative; background: #fff; border-radius: var(--raio); padding: 28px 26px 26px; border: 1px solid var(--linha); box-shadow: var(--sombra-s); }
.right::before { counter-increment: dir; content: counter(dir, decimal-leading-zero); display: block; font-family: var(--fonte-titulo); font-size: .9rem; letter-spacing: .14em; color: var(--azul-medio); margin-bottom: 10px; }
.right h3 { font-size: 1.22rem; }
.right p { color: var(--texto); }
.right p:last-of-type { margin-bottom: 14px; }
.legal { display: inline-block; font-size: .82rem; letter-spacing: .02em; color: var(--texto-suave); background: var(--creme-claro); border: 1px solid var(--linha); border-radius: 999px; padding: 3px 12px; }
.note { margin-top: 26px; padding: 18px 22px; border-left: 3px solid var(--azul); background: #fff; border-radius: 0 var(--raio-s) var(--raio-s) 0; color: var(--texto); font-size: .98rem; }
.section--creme .note { background: #fff; }

/* lista de pedidos / tópicos */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; line-height: 1.55; }
.ticks .ico { color: var(--destaque); width: 22px; height: 22px; margin-top: 2px; }
.on-dark .ticks .ico { color: var(--creme); }

.split { display: grid; gap: 32px; align-items: start; }
.box { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 28px 26px; }
.box h3 { margin-bottom: 16px; }
.box--azul { background: var(--azul-profundo); border-color: var(--azul-profundo); color: #D9DEE5; }
.box--azul h3 { color: #fff; }

/* ---------- CTA no meio ---------- */
.mid-cta { margin-top: 44px; background: var(--azul-profundo); color: #D9DEE5; border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.mid-cta::after { content: ''; position: absolute; right: -90px; bottom: -120px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(223, 222, 208, .18); }
.mid-cta .who { display: flex; gap: 16px; align-items: center; position: relative; z-index: 1; }
.mid-cta .who img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(223, 222, 208, .5); flex: none; }
.mid-cta h3 { color: #fff; margin: 0 0 4px; font-size: 1.4rem; font-weight: 400; }
.mid-cta p { margin: 0; color: #C9D1DB; }
.mid-cta .btn { position: relative; z-index: 1; }

/* ---------- passos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: passo; }
.step { position: relative; padding: 24px 22px 24px 80px; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); }
.step::before { counter-increment: passo; content: counter(passo); position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--azul); color: var(--azul); display: grid; place-items: center; font-family: var(--fonte-titulo); font-weight: 500; font-size: 1.1rem; }
.step h3 { font-size: 1.1rem; margin-bottom: .25em; }
.step p { margin: 0; font-size: .98rem; color: var(--texto-suave); }

/* ---------- triagem ---------- */
.tri-box { background: #fff; border-radius: 24px; box-shadow: var(--sombra-m); border: 1px solid var(--linha); padding: 26px 20px; max-width: 800px; margin: 0 auto; }
.tri-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 12px; }
.tri-progress { height: 4px; background: var(--linha); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.tri-progress-bar { height: 100%; width: 0; background: var(--azul); border-radius: inherit; transition: width .35s; }
.tri-q { font-family: var(--fonte-titulo); color: var(--titulo); font-size: 1.5rem; font-weight: 400; line-height: 1.25; margin: 0 0 20px; }
.tri-q:focus { outline: none; }
.tri-options { display: grid; gap: 12px; }
.tri-opt { min-height: 60px; width: 100%; padding: 14px 18px; text-align: left; background: var(--creme-claro); color: var(--titulo); border: 1.5px solid var(--linha); border-radius: 14px; font: 600 1.02rem/1.35 var(--fonte-texto); cursor: pointer; transition: border-color .2s, background-color .2s; }
.tri-opt:hover { border-color: var(--azul); background: #fff; }
.tri-opt[aria-pressed="true"] { border-color: var(--azul); background: var(--azul); color: #fff; }
.tri-nav { margin-top: 18px; }
.link-btn { background: none; border: 0; padding: 10px 4px; min-height: 44px; color: var(--azul); font: 600 1rem var(--fonte-texto); text-decoration: underline; cursor: pointer; }
.tri-resumo { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.tri-resumo li { background: var(--creme-claro); border-radius: 10px; padding: 11px 15px; }
.tri-resumo b { color: var(--titulo); }
.tri-alert { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: #FBEDEA; border: 1px solid #E8C3BB; color: var(--alerta); font-weight: 600; line-height: 1.5; }
.tri-alert[hidden] { display: none; }
.tri-alt { max-width: 800px; margin: 30px auto 0; }
.tri-alt summary { cursor: pointer; font-weight: 650; color: var(--azul); padding: 12px 0; min-height: 44px; }

/* ---------- formulário ---------- */
.form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 24px 20px; margin-top: 8px; }
.field label { display: block; font-weight: 650; color: var(--titulo); margin-bottom: 6px; font-size: .96rem; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #8C96A3; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--texto); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(27, 72, 113, .3); border-color: var(--azul); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }
.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--azul); }
.hp { display: none; }

/* ---------- documentos ---------- */
.docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.docs li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--linha); border-radius: 14px; padding: 16px 18px; line-height: 1.5; }
.docs .ico { color: var(--destaque); width: 22px; height: 22px; margin-top: 1px; }

/* ---------- sobre ---------- */
.about { display: grid; gap: 32px; align-items: center; }
.about figure { margin: 0; position: relative; }
.about img { width: 100%; height: auto; border-radius: 22px; display: block; box-shadow: var(--sombra-m); }
.about figure::before { content: ''; position: absolute; inset: 18px -14px -14px 18px; border: 1px solid var(--creme-linha); border-radius: 22px; z-index: -1; }
.about-oab { font-weight: 650; color: var(--azul); letter-spacing: .04em; }
.about blockquote { margin: 22px 0; padding: 0 0 0 20px; border-left: 2px solid var(--creme-linha); font-family: var(--fonte-titulo); font-size: 1.2rem; font-weight: 300; color: var(--titulo); line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--fonte-titulo); font-weight: 500; font-size: 1.15rem; color: var(--titulo); min-height: 44px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--creme-linha); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; color: var(--azul); }
.faq details[open] summary::after { content: '\2212'; }
.faq .ans { padding: 0 0 22px; color: var(--texto); }
.faq .ans p:last-child { margin-bottom: 0; }
.faq-cta { text-align: center; margin-top: 36px; }
.faq-cta p { font-family: var(--fonte-titulo); font-size: 1.3rem; color: var(--titulo); }

/* ---------- onde estamos ---------- */
.where { display: grid; gap: 30px; align-items: center; }
.where address { font-style: normal; font-size: 1.08rem; margin-bottom: 18px; line-height: 1.6; }
.where address strong { display: block; font-family: var(--fonte-titulo); font-weight: 500; font-size: 1.3rem; margin-bottom: 4px; }
.where-art { background: var(--creme-claro); border: 1px solid var(--linha); border-radius: 22px; padding: 12px; }
.hours { display: flex; gap: 10px; align-items: center; color: var(--texto-suave); font-size: .96rem; margin-bottom: 18px; }
.hours .ico { color: var(--azul); }

/* ---------- CTA final ---------- */
.final { text-align: center; padding: 84px 0; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(223, 222, 208, .12); }
.final .container { position: relative; }
.final h2 { max-width: 26ch; margin-left: auto; margin-right: auto; }
.final p { max-width: 40rem; margin: 0 auto 28px; color: #C9D1DB; }
.final .phone-link { font-size: 1.4rem; margin-top: 20px; font-family: var(--fonte-titulo); font-weight: 400; }

/* ---------- rodapé ---------- */
.site-footer { background: #F1EFE6; color: var(--texto); padding: 56px 0 30px; font-size: .96rem; border-top: 1px solid var(--linha); }
.footer-grid { display: grid; gap: 30px; }
.footer-logo img { width: 180px; height: auto; display: block; }
.site-footer h2 { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; color: var(--azul); }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--titulo); }
.footer-bottom { border-top: 1px solid var(--creme-linha); margin-top: 36px; padding-top: 20px; display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--texto-suave); }
.footer-bottom p { margin: 0; }
.footer-min { padding: 32px 0 26px; }

/* ---------- breadcrumb e páginas internas ---------- */
.page-hero { background: var(--creme-claro); padding: 44px 0 52px; border-bottom: 1px solid var(--linha); }
.page-hero .lead { color: var(--texto); }
.crumbs { font-size: .88rem; color: var(--texto-suave); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--creme-linha); }
.crumbs a { color: var(--texto-suave); }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* hub */
.hub-cards { display: grid; gap: 20px; }
.hub-card { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--linha); text-decoration: none; color: inherit; box-shadow: var(--sombra-s); transition: transform .2s, box-shadow .2s, border-color .2s; }
.hub-card:hover { transform: translateY(-2px); box-shadow: var(--sombra-m); border-color: var(--azul); color: inherit; }
.hub-card h2 { font-size: 1.6rem; margin: 0; }
.hub-card p { margin: 0; color: var(--texto-suave); }
.hub-card .more { margin-top: 10px; font-weight: 650; color: var(--azul); display: inline-flex; gap: 6px; align-items: center; }

/* orientação imediata (negativa) */
.guide-strip { background: #fff; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); padding: 28px 0; }
.guide-grid { display: grid; gap: 14px; }
.guide-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.guide-item .num { width: 40px; height: 40px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-items: center; font-family: var(--fonte-titulo); font-weight: 500; }
.guide-item p { margin: 0; line-height: 1.55; }

/* ---------- botão flutuante ---------- */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + var(--cookie-h)); z-index: 60; display: flex; align-items: flex-end; gap: 10px; transition: opacity .25s, transform .25s, bottom .25s; }
.wa-float.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.wa-float-btn { width: 58px; height: 58px; border-radius: 50%; background: var(--destaque); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); }
.wa-float-btn:hover { background: var(--destaque-hover); color: #fff; }
.wa-float-btn .ico { width: 30px; height: 30px; }
.wa-bubble { position: relative; background: #fff; color: var(--titulo); border: 1px solid var(--linha); border-radius: 14px; box-shadow: var(--sombra-m); padding: 10px 38px 10px 14px; font-weight: 650; font-size: .95rem; margin-bottom: 8px; white-space: nowrap; }
.wa-bubble a { color: inherit; text-decoration: none; }
.wa-bubble-close { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: none; color: var(--texto); font-size: 1.3rem; line-height: 1; cursor: pointer; border-radius: 50%; }

/* ---------- banner de cookies ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--linha); box-shadow: 0 -10px 30px rgba(14, 39, 64, .10); padding: 16px 0; }
.cookie-inner { display: flex; flex-direction: column; gap: 12px; }
.cookie p { margin: 0; font-size: .94rem; }
.cookie .btn { min-height: 44px; padding: 8px 20px; font-size: .96rem; box-shadow: none; }
.cookie .btn-ok { background: var(--azul); color: #fff; }
.cookie .btn-ok:hover { background: var(--azul-profundo); color: #fff; }

/* ---------- obrigado / 404 ---------- */
.thanks { text-align: center; padding: 84px 0; }
.thanks .brasao { width: 96px; height: auto; margin: 0 auto 26px; display: block; }
.thanks p { max-width: 36rem; margin-left: auto; margin-right: auto; }

/* ---------- breakpoints ---------- */
@media (min-width: 480px) {
  .hero .btn-row .btn { width: auto; }
  .btn-header .lbl { display: inline; }
  .brand img { height: 38px; }
}
@media (max-width: 379px) { .header-actions .phone-link { display: none; } }
@media (min-width: 1024px) and (max-width: 1199px) { .header-actions .phone-inst { display: none; } }
@media (min-width: 768px) {
  :root { --header-h: 80px; }
  .container { padding: 0 32px; }
  .section { padding: 104px 0; }
  .brand img { height: 46px; }
  .header-actions { gap: 20px; }
  .header-actions .phone-link { font-size: 1.02rem; }
  .header-actions .phone-link .ico { display: inline-block; }
  .hero { padding: 72px 0 96px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .rights { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .after-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; }
  .mid-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px 40px; }
  .tri-box { padding: 40px 44px; }
  .tri-options { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: repeat(2, 1fr); padding: 30px; }
  .form .full { grid-column: 1 / -1; }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 5fr 6fr; gap: 64px; }
  .where { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .footer-grid--3 { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
  .cookie .btn-row { flex-wrap: nowrap; }
  .hub-cards { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.25fr .75fr; gap: 64px; }
  .hero-aside { display: block; }
  .btn { white-space: nowrap; }
  .wa-strip-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .hero-lawyer { display: none; }
  .nav { display: flex; gap: 28px; }
  .menu-btn { display: none; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .rights .right:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 80px 24px 26px; }
  .step::before { left: 24px; top: 24px; }
}

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