/* Soares Perícias — site institucional
   Identidade: manual da marca (azul corporativo #1E2D4A, cinza grafite #6B6D72, branco) + linguagem visual da
   Central Comercial (papel de segurança em guilhoché, sobrelinhas em mono, cartões finos).
   Tipografia: Montserrat (títulos e interface), Source Serif 4 (texto dos artigos), IBM Plex Mono (rótulos técnicos). */

:root {
  color-scheme: light;
  --navy: #1E2D4A;
  --navy-deep: #16223A;
  --navy-ink: #0F1828;
  --gold-mid: #B08D1E;
  --gold-ink: #8A6B0F;
  --gold: #C9A227;
  --grafite: #6B6D72;
  --prata: #C4C7CD;
  --bg: #F4F5F7;
  --paper: #FBFAF7;
  --surface: #FFFFFF;
  --line: #E3E5E9;
  --line-strong: #CDD1D8;
  --ink: #1E2D4A;
  --text: #3D4452;
  --soft: #6B6D72;
  --hero-ink: #FFFFFF;
  --hero-soft: #B4BAC6;
  --hero-line: rgba(201, 162, 39, .3);
  --wa: #1F8F55;
  --wa-ink: #FFFFFF;
  --ok: #2E7D4F;
  --bad: #B3261E;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px -12px rgba(16, 24, 40, .14);
  --shadow-lg: 0 24px 60px -24px rgba(15, 24, 40, .45);
  --f-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-body: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1160px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
}

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.6; overflow-x: hidden }
img { max-width: 100%; height: auto; display: block }
a { color: var(--gold-ink); text-underline-offset: 3px }
a:hover { color: var(--navy) }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.012em }
p { margin: 0 }
:focus-visible { outline: 2px solid var(--gold-mid); outline-offset: 2px; border-radius: 4px }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0 }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 6px }
.skip:focus { top: 12px }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)) }

/* ---------- rótulos ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink) }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7 }
.on-dark .eyebrow, .eyebrow.light { color: var(--gold) }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); background: #F6EFD9; border-radius: 99px; padding: 4px 10px; white-space: nowrap }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: .95rem; line-height: 1; padding: 15px 22px; border-radius: 10px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; white-space: nowrap }
.btn:hover { transform: translateY(-1px) }
.btn svg { width: 20px; height: 20px; flex: none }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 8px 22px -10px rgba(31, 143, 85, .7) }
.btn-wa:hover { background: #187A48; color: #fff }
.btn-primary { background: var(--navy); color: #fff }
.btn-primary:hover { background: var(--navy-deep); color: #fff }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong) }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy) }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .32) }
.on-dark .btn-ghost:hover { border-color: #fff; color: #fff }
.btn-sm { padding: 11px 16px; font-size: .88rem }

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(201, 162, 39, .35) }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 76px }
.logo { display: flex; align-items: center; flex: none }
.logo img { height: 44px; width: auto }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto }
.nav a { color: var(--navy); text-decoration: none; font-size: .9rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; position: relative }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--navy); background: transparent }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .18s ease }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1) }
.nav a.btn { color: #fff }
.header-cta { margin-left: 8px }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 1px solid var(--line-strong); color: var(--navy); border-radius: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer }
.menu-btn svg { width: 22px; height: 22px }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex }
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; border-bottom: 2px solid var(--gold); box-shadow: 0 20px 40px -20px rgba(15, 24, 40, .35); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; margin: 0 }
  .nav.open { transform: none; opacity: 1; pointer-events: auto }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem }
  .nav a:not(.btn)::after { display: none }
  .header-cta { margin: 14px 0 0 }
  .header-cta .btn { width: 100% }
  .logo img { height: 36px }
  .site-header .wrap { height: 68px }
  .nav { inset: 68px 0 auto 0 }
}
/* destaques dourados nos títulos (como na Central Comercial) */
.hero h1 b, .page-hero h1 b, .on-dark .section-head h2 b, .on-dark .book h2 b, .cta-band h2 b, .contact-info h2 b { color: var(--gold) }
.section-head h2 b, .book h2 b { color: var(--ink) }
.on-dark .section-head h2 b, .on-dark .book h2 b { color: var(--gold) }
.gold-rule { display: block; width: 56px; height: 2px; background: var(--gold); margin: 4px 0 }

/* ---------- guilhoché (papel de segurança) ---------- */
.guilloche { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none }
.on-dark { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--hero-soft) }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--hero-ink) }
.on-dark > .wrap { position: relative; z-index: 1 }

/* ---------- hero da home ---------- */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--hero-line) }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-deep) 22%, rgba(22, 34, 58, .72) 52%, rgba(22, 34, 58, .2)); pointer-events: none }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center }
.hero h1 { font-weight: 300; font-size: clamp(2.1rem, 4.6vw, 3.55rem); line-height: 1.06; margin: 18px 0 20px }
.hero h1 b { font-weight: 700 }
.hero h1 em { font-style: normal; font-weight: 700; color: #fff; border-bottom: 3px solid var(--gold); padding-bottom: 2px }
.hero .lead { font-size: 1.08rem; max-width: 54ch; color: #C9CFDA }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hero-line); font-size: .86rem; color: #C2C9D6 }
.trust span { display: inline-flex; align-items: center; gap: 8px }
.trust svg { width: 16px; height: 16px; color: var(--gold); flex: none }

.hero-visual { position: relative; min-height: 520px }
.hero-photo { position: absolute; right: 0; top: 0; width: 84%; aspect-ratio: 1 / 1; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12) }
.hero-photo img { width: 100%; height: 100%; object-fit: cover }
.hero-photo figcaption { position: absolute; left: 0; right: 0; top: 0; padding: 14px 16px 40px; background: linear-gradient(rgba(15, 24, 40, .8), transparent); color: #DCE1EA; font-size: .78rem; line-height: 1.35 }
.specimen-head span { white-space: nowrap }
.hero-photo figcaption b { display: block; font-size: .95rem }

/* cartão "peça questionada" com a lupa */
.specimen { position: absolute; left: 0; bottom: 6px; width: 78%; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 16px 12px; color: var(--ink); border: 1px solid #E8E4DA }
.specimen-head { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); border-bottom: 1px dashed #D8D3C6; padding-bottom: 8px }
.specimen-head b { color: var(--gold-ink); font-weight: 600 }
.specimen svg { width: 100%; height: auto; display: block; touch-action: pan-y; cursor: none }
.specimen .sig { fill: none; stroke: #1B2A55; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round }
.specimen .sig-draw { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 3.2s cubic-bezier(.6, .05, .3, 1) .4s forwards }
@keyframes draw { to { stroke-dashoffset: 0 } }
.specimen .baseline { stroke: #C9C2B0; stroke-width: 1; stroke-dasharray: 3 4 }
.specimen .mk circle { fill: var(--gold-mid); }
.specimen .mk text { font-family: var(--f-mono); font-size: 10px; fill: #fff; font-weight: 600 }
.specimen .mk line { stroke: var(--gold-mid); stroke-width: 1 }
.specimen .lens-ring { fill: none; stroke: var(--navy); stroke-width: 2.5 }
.specimen .lens-bg { fill: var(--paper) }
.specimen-legend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 6px; font-size: .7rem; color: var(--soft); line-height: 1.25 }
.specimen-legend span { display: flex; gap: 6px; align-items: baseline }
.specimen-legend i { font-style: normal; font-family: var(--f-mono); font-weight: 600; color: #fff; background: var(--gold-mid); border-radius: 99px; width: 16px; height: 16px; display: inline-grid; place-items: center; font-size: .62rem; flex: none }
.specimen-hint { font-family: var(--f-mono); font-size: .62rem; color: var(--soft); text-align: right; margin-top: 6px }

@media (max-width: 980px) {
  .hero { padding: 40px 0 48px }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px }
  .hero-visual { min-height: 0; display: grid; gap: 0 }
  .hero-photo { position: relative; width: 82%; margin-left: auto; aspect-ratio: 1 / 1 }
  .specimen { position: relative; width: 94%; margin-top: -110px; bottom: auto }
}
@media (max-width: 520px) {
  .specimen-legend { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .hero .ctas .btn { width: 100% }
}

/* ---------- faixa de escopo (filtro de leads) ---------- */
.scope { background: var(--surface); border-bottom: 1px solid var(--line) }
.scope .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding-top: 22px; padding-bottom: 22px }
.scope h2 { font-size: .8rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--soft) }
.scope ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px }
.scope li { font-size: .86rem; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; background: var(--bg) }
.scope .not { font-size: .82rem; color: var(--soft); max-width: 30ch; line-height: 1.4; border-left: 2px solid var(--line-strong); padding-left: 14px }
.scope .not b { color: var(--ink) }
@media (max-width: 980px) { .scope .wrap { grid-template-columns: 1fr } .scope .not { max-width: none } }

/* ---------- seções ---------- */
.section { padding: 96px 0 }
.section.tight { padding: 72px 0 }
.section.white { background: var(--surface) }
.section.paper { background: var(--paper) }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 44px }
.section-head h2 { font-size: clamp(1.75rem, 3.3vw, 2.5rem); font-weight: 300 }
.section-head h2 b { font-weight: 700 }
.section-head p { font-size: 1.05rem; color: var(--text) }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center }
@media (max-width: 760px) { .section { padding: 64px 0 } .section.tight { padding: 52px 0 } .section-head { margin-bottom: 32px } }

/* ---------- público ---------- */
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px }
.aud-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; align-content: start; position: relative; overflow: hidden }
.aud-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-mid) }
.aud-card.dark { background: var(--navy); border-color: var(--navy); color: #C9CFDA }
.aud-card.dark h3 { color: #fff }
.aud-card.dark::before { background: var(--gold) }
.aud-card h3 { font-size: 1.35rem }
.aud-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px }
.aud-card li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; line-height: 1.45 }
.aud-card li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-mid) }
.aud-card.dark li svg { color: var(--gold) }
.aud-card .btn { justify-self: start; margin-top: 6px }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr } .aud-card { padding: 24px } }

/* ---------- serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease }
a.svc:hover { border-color: var(--gold-mid); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text) }
.svc .num { font-family: var(--f-mono); font-size: .78rem; color: var(--gold-mid); letter-spacing: .1em }
.svc h3 { font-size: 1.12rem; font-weight: 700 }
.svc p { font-size: .93rem; line-height: 1.55 }
.svc .more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .88rem; color: var(--gold-ink); display: inline-flex; gap: 6px; align-items: center }
.svc .more svg { width: 16px; height: 16px; transition: transform .15s ease }
a.svc:hover .more svg { transform: translateX(3px) }
.svc.feature { grid-column: span 2; background: var(--navy); border-color: var(--navy); color: #C9CFDA; position: relative; overflow: hidden }
.svc.feature h3 { color: #fff; font-size: 1.4rem }
.svc.feature .num, .svc.feature .more { color: var(--gold) }
.svc.feature p { max-width: 58ch }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr } .svc.feature { grid-column: auto } }

/* ---------- documentos examinados ---------- */
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden }
.doc { background: var(--surface); padding: 22px 20px; display: grid; gap: 8px; align-content: start }
.doc svg { width: 28px; height: 28px; color: var(--gold-mid) }
.doc h3 { font-size: .98rem; font-weight: 700 }
.doc p { font-size: .85rem; line-height: 1.45; color: var(--soft) }
@media (max-width: 980px) { .docs { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 480px) { .doc { padding: 18px 14px } }

/* ---------- método ---------- */
.method { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: st; position: relative }
.method::before { content: ""; position: absolute; top: 23px; left: 4%; right: 4%; height: 1px; background: repeating-linear-gradient(90deg, var(--hero-line) 0 6px, transparent 6px 12px) }
.step { position: relative; padding: 0 14px; display: grid; gap: 10px; align-content: start }
.step .n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 600; font-size: .9rem; color: #fff; background: var(--navy); border: 1px solid var(--gold); position: relative; z-index: 1 }
.step h3 { font-size: 1.02rem; color: #fff }
.step p { font-size: .88rem; line-height: 1.5; color: #B9C0CD }
@media (max-width: 980px) {
  .method { grid-template-columns: 1fr; gap: 22px }
  .method::before { top: 0; bottom: 0; left: 23px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--hero-line) 0 6px, transparent 6px 12px) }
  .step { grid-template-columns: 46px 1fr; column-gap: 16px; padding: 0 }
  .step .n { grid-row: span 2 }
}
.acev { margin-top: 48px; display: grid; grid-template-columns: auto 1fr; gap: 18px 26px; align-items: center; border: 1px solid var(--hero-line); border-radius: var(--radius); padding: 22px 24px; background: rgba(13, 22, 40, .45) }
.acev .badge { font-family: var(--f-mono); font-weight: 600; font-size: 1.5rem; letter-spacing: .08em; color: #fff; border: 1px solid var(--gold); border-radius: 10px; padding: 10px 14px }
.acev p { font-size: .94rem; color: #C9CFDA }
.acev b { color: #fff }
@media (max-width: 640px) { .acev { grid-template-columns: 1fr } .acev .badge { justify-self: start } }

/* ---------- números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px }
.stat { border-top: 2px solid var(--navy); padding-top: 16px; display: grid; gap: 6px }
.stat b { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em }
.stat span { font-size: .9rem; color: var(--text); line-height: 1.4 }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px } }

/* ---------- casos típicos ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column }
.case-top { padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--bg); border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft) }
.case-body { padding: 20px; display: grid; gap: 10px }
.case h3 { font-size: 1.04rem }
.case p { font-size: .9rem; line-height: 1.5 }
.case dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .82rem }
.case dt { color: var(--soft); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px }
.case dd { margin: 0; color: var(--ink); font-weight: 500 }
.cases-note { margin-top: 18px; font-size: .82rem; color: var(--soft) }
@media (max-width: 980px) { .cases { grid-template-columns: 1fr 1fr } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr } }

/* ---------- equipe ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px }
.member { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; align-items: start }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px }
.member h3 { font-size: 1.3rem }
.member .role { font-size: .88rem; font-weight: 600; color: var(--gold-ink); margin-top: 4px }
.member ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .9rem; line-height: 1.45 }
.member li { display: grid; grid-template-columns: 14px 1fr; gap: 8px }
.member li::before { content: ""; width: 6px; height: 6px; background: var(--gold-mid); transform: rotate(45deg); margin-top: 8px }
@media (max-width: 1060px) { .team { grid-template-columns: 1fr } }
@media (max-width: 560px) { .member { grid-template-columns: 1fr } .member img { max-width: 240px } }

/* ---------- livro ---------- */
.book { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center }
.book-art { position: relative; padding: 24px 0 24px 24px }
.book-art .photo { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg) }
.book-art .cover { position: absolute; left: -6px; bottom: -14px; width: 36%; border-radius: 6px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6); border: 3px solid #fff; transform: rotate(-4deg) }
.book h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 300 }
.book h2 b { font-weight: 700 }
.book .text { display: grid; gap: 16px }
.book blockquote { margin: 6px 0 0; padding: 16px 20px; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, .05); font-family: var(--f-serif); font-size: 1.12rem; line-height: 1.5; color: #E4E7ED; border-radius: 0 10px 10px 0 }
.book-art.solo { display: grid; place-items: center; padding: 12px }
.cover-solo { width: min(320px, 70%); border-radius: 6px; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotate(-3deg); transition: transform .3s ease }
.cover-solo:hover { transform: rotate(0) scale(1.02) }
@media (max-width: 860px) { .book { grid-template-columns: 1fr; gap: 36px } .book-art { padding: 0 0 20px 16px } }

/* ---------- depoimentos ---------- */
.reviews-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px }
.stars { color: #E2A93B; letter-spacing: 2px; font-size: 1.1rem }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; align-content: start }
.review p { font-family: var(--f-serif); font-size: 1.05rem; line-height: 1.5; color: var(--ink) }
.review footer { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--ink) }
.review .ini { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .85rem }
.review small { display: block; font-weight: 400; color: var(--soft); font-size: .76rem }
.review.lawyer { background: var(--navy); border-color: var(--navy) }
.review.lawyer p { color: #fff }
.review.lawyer footer { color: #fff }
.review.lawyer small { color: var(--hero-soft) }
.review.lawyer .ini { background: var(--gold-mid) }
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr 1fr } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr } }

/* ---------- cartões de artigo ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .15s ease, box-shadow .15s ease }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text) }
.post-card .thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: var(--navy-deep) }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover }
.post-card .thumb .art { position: absolute; inset: 0 }
.post-card .body { padding: 20px; display: grid; gap: 10px; align-content: start; flex: 1 }
.post-card h3 { font-size: 1.08rem; line-height: 1.3 }
.post-card p { font-size: .9rem; line-height: 1.5 }
.post-card .meta { margin-top: auto; padding-top: 6px; font-size: .78rem; color: var(--soft); font-family: var(--f-mono) }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 20px }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 600; color: var(--ink); position: relative; font-size: 1rem }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold-mid); border-bottom: 2px solid var(--gold-mid); transform: translateY(-70%) rotate(45deg); transition: transform .15s ease }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg) }
.faq .answer { padding: 0 0 18px; font-size: .95rem; display: grid; gap: 10px }
.faq details.highlight { border-color: var(--gold-mid); background: #FBF8EE }

/* ---------- contato ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start }
.contact-info { display: grid; gap: 22px }
.contact-info h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 300 }
.contact-info h2 b { font-weight: 700 }
.channel { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; text-decoration: none; color: inherit }
.channel .ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--hero-line); color: var(--gold) }
.channel .ic svg { width: 20px; height: 20px }
.channel b { display: block; color: #fff; font-weight: 600 }
.channel span { font-size: .88rem }
a.channel:hover b { text-decoration: underline }
.prazo { border: 1px solid var(--hero-line); border-radius: 10px; padding: 16px 18px; font-size: .9rem; background: rgba(13, 22, 40, .45) }
.prazo b { color: #fff }
.form { background: var(--surface); border-radius: 16px; padding: 28px; display: grid; gap: 16px; color: var(--text); box-shadow: var(--shadow-lg) }
.form h3 { font-size: 1.25rem }
.form .sub { font-size: .9rem; color: var(--soft); margin-top: -8px }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ink) }
.form input, .form select, .form textarea { font: inherit; font-size: .95rem; font-weight: 400; color: var(--ink); background: #FAFBFC; border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px; width: 100%; min-width: 0 }
.form textarea { min-height: 96px; resize: vertical }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--gold-mid); outline-offset: 0; border-color: var(--gold-mid) }
.form .btn { width: 100% }
.form .fine { font-size: .76rem; color: var(--soft); line-height: 1.45 }
.form .warn-medico { display: none; font-size: .86rem; background: #FBF1DD; color: #6B4A00; border-radius: 8px; padding: 12px 14px; line-height: 1.45 }
.form .warn-medico.show { display: block }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr } }
@media (max-width: 520px) { .form { padding: 20px } .form .row { grid-template-columns: 1fr } }

/* ---------- faixa de chamada ---------- */
.cta-band { padding: 64px 0 }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap }
.cta-band h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 300; max-width: 24ch }
.cta-band h2 b { font-weight: 700 }
.cta-band p { margin-top: 10px; max-width: 56ch }

/* ---------- rodapé ---------- */
.site-footer { background: var(--navy-ink); color: #9AA3B5; font-size: .88rem; padding: 56px 0 28px }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px }
.site-footer h3 { color: #fff; font-size: .78rem; font-family: var(--f-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.site-footer a { color: #C7CDD9; text-decoration: none }
.site-footer a:hover { color: #fff; text-decoration: underline }
.site-footer .logo img { height: 38px; margin-bottom: 14px }
.site-footer address { font-style: normal; line-height: 1.55 }
.site-footer .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .78rem }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr } }

/* ---------- botão flutuante WhatsApp ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; border-radius: 99px; padding: 14px 18px 14px 14px; font-weight: 600; font-size: .92rem; box-shadow: 0 12px 30px -10px rgba(15, 80, 45, .7); transition: transform .15s ease, opacity .2s ease }
.wa-float:hover { transform: translateY(-2px); color: #fff; background: #187A48 }
.wa-float svg { width: 26px; height: 26px }
.wa-float .pulse { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 143, 85, .55); animation: pulse 2.6s infinite }
@keyframes pulse { 70% { box-shadow: 0 0 0 14px rgba(31, 143, 85, 0) } 100% { box-shadow: 0 0 0 0 rgba(31, 143, 85, 0) } }
@media (max-width: 640px) { .wa-float span.t { display: none } .wa-float { padding: 14px } }

/* ---------- páginas internas ---------- */
.page-hero { padding: 56px 0 60px; border-bottom: 1px solid var(--hero-line) }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-deep) 30%, rgba(22, 34, 58, .55)); pointer-events: none }
.page-hero h1 { font-weight: 300; font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 16px 0 16px; max-width: 22ch }
.page-hero h1 b { font-weight: 700 }
.page-hero .lead { font-size: 1.08rem; max-width: 62ch; color: #C9CFDA }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px }
.crumbs { font-size: .8rem; color: var(--hero-soft); display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.crumbs a { color: #DCE1EA; text-decoration: none }
.crumbs a:hover { text-decoration: underline }
.crumbs .sep { opacity: .5 }

.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start }
.aside-card { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px }
.aside-card h3 { font-size: 1.1rem }
.aside-card p { font-size: .9rem }
.aside-card .btn { width: 100% }
.aside-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .88rem }
.aside-card li { display: grid; grid-template-columns: 18px 1fr; gap: 8px }
.aside-card li svg { width: 16px; height: 16px; color: var(--ok); margin-top: 3px }
@media (max-width: 980px) { .split { grid-template-columns: 1fr } .aside-card { position: static } }

.content { display: grid; gap: 44px }
.block h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 14px }
.block > p { margin-bottom: 12px; font-size: 1.02rem }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.checklist li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .94rem; line-height: 1.45 }
.checklist li svg { width: 20px; height: 20px; color: var(--gold-mid); margin-top: 1px }
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr } }
.deliver { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px }
.deliver div { border-top: 2px solid var(--navy); padding-top: 12px; display: grid; gap: 6px }
.deliver b { color: var(--ink) }
.deliver span { font-size: .9rem }
@media (max-width: 760px) { .deliver { grid-template-columns: 1fr } }
.steps-list { counter-reset: s; margin: 0; padding: 0; list-style: none; display: grid; gap: 14px }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start }
.steps-list li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-weight: 600; color: var(--gold-mid); border: 1px solid var(--line-strong); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; font-size: .85rem; background: var(--surface) }
.steps-list b { color: var(--ink); display: block; margin-bottom: 2px }
.steps-list span { font-size: .94rem }
.note-box { background: #FBF7EA; border: 1px solid #EADFB8; border-radius: 10px; padding: 16px 18px; font-size: .92rem }
.note-box b { color: var(--ink) }

/* ---------- blog ---------- */
.blog-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip-btn { font: inherit; font-size: .85rem; font-weight: 600; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 99px; padding: 8px 14px; cursor: pointer }
.chip-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy) }
.search { position: relative; flex: 0 1 300px; min-width: 0 }
.search input { font: inherit; font-size: .92rem; width: 100%; padding: 10px 12px 10px 38px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface); color: var(--ink) }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--soft) }
@media (max-width: 640px) { .search { flex-basis: 100% } }
.empty { display: none; padding: 32px; text-align: center; color: var(--soft); border: 1px dashed var(--line-strong); border-radius: var(--radius) }
.post-feature { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); margin-bottom: 28px }
.post-feature:hover { box-shadow: var(--shadow); color: var(--text) }
.post-feature .thumb { position: relative; min-height: 300px; background: var(--navy-deep) }
.post-feature .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.post-feature .body { padding: 32px; display: grid; gap: 14px; align-content: center }
.post-feature h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem) }
.post-feature .meta { font-size: .8rem; color: var(--soft); font-family: var(--f-mono) }
@media (max-width: 820px) { .post-feature { grid-template-columns: 1fr } .post-feature .thumb { min-height: 220px } .post-feature .body { padding: 22px } }

.article-hero { padding: 48px 0 52px }
.article-hero h1 { font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; margin: 18px 0 16px; max-width: 26ch }
.article-hero .lead { font-size: 1.1rem; max-width: 64ch; color: #C9CFDA }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: .86rem; color: var(--hero-soft); flex-wrap: wrap }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .2) }
.byline b { color: #fff; display: block }
.article-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: 56px; justify-content: center; padding-top: 48px; padding-bottom: 72px }
.toc { position: sticky; top: 96px; align-self: start; font-size: .85rem; display: grid; gap: 4px }
.toc h2 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); font-weight: 500; margin-bottom: 8px }
.toc a { color: var(--text); text-decoration: none; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); line-height: 1.35 }
.toc a:hover, .toc a.active { border-color: var(--gold-mid); color: var(--ink) }
@media (max-width: 1020px) { .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0 } .toc { display: none } }
.prose { font-family: var(--f-serif); font-size: 1.15rem; line-height: 1.75; color: #2B3240 }
.prose > * + * { margin-top: 1.1em }
.prose h2 { font-family: var(--f-display); font-size: 1.55rem; font-weight: 700; margin-top: 2em; scroll-margin-top: 96px }
.prose h3 { font-family: var(--f-display); font-size: 1.18rem; font-weight: 700; margin-top: 1.6em }
.prose ul, .prose ol { padding-left: 1.3em }
.prose li + li { margin-top: .4em }
.prose strong { color: var(--ink) }
.prose .cover { border-radius: 14px; overflow: hidden; margin: 0 0 1.6em }
.prose .cover figcaption { font-family: var(--f-body); font-size: .8rem; color: var(--soft); padding-top: 8px }
.summary { font-family: var(--f-body); font-size: .98rem; line-height: 1.6; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 0 12px 12px 0; padding: 20px 22px }
.summary h2 { font-size: .78rem !important; font-family: var(--f-mono) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500 !important; margin: 0 0 10px !important }
.summary ul { margin: 0; padding-left: 1.1em }
.callout { font-family: var(--f-body); font-size: .98rem; line-height: 1.6; background: #FBF7EA; border: 1px solid #EADFB8; border-radius: 12px; padding: 18px 20px }
.callout b { color: var(--ink) }
.inline-cta { font-family: var(--f-body); background: var(--navy); color: #C9CFDA; border-radius: 14px; padding: 24px; display: grid; gap: 12px; position: relative; overflow: hidden }
.inline-cta h3 { color: #fff; margin: 0 !important; font-size: 1.2rem }
.inline-cta p { font-size: .95rem; margin: 0 }
.inline-cta .btn { justify-self: start }
.author-box { font-family: var(--f-body); display: grid; grid-template-columns: 84px 1fr; gap: 18px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 2.4em !important }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover }
.author-box b { color: var(--ink); font-size: 1.05rem }
.author-box p { font-size: .92rem; line-height: 1.55; margin-top: 6px }
.disclaimer { font-family: var(--f-body); font-size: .8rem; color: var(--soft); line-height: 1.5 }

/* ---------- arte gerada para capas de artigo ---------- */
.cover-art { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); overflow: hidden; border-radius: inherit }
.cover-art canvas { position: absolute; inset: 0; width: 100%; height: 100% }
.cover-art .label { position: absolute; left: 20px; bottom: 18px; right: 20px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold) }
.cover-art svg.mark { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 46%; height: auto; opacity: .95 }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 1; transform: none }
.reveal.in { opacity: 1; transform: none }
.no-js .reveal { opacity: 1; transform: none }

/* ---------- ajustes: monograma do autor, destaque do blog, ocultos ---------- */
[hidden] { display: none !important }
.posts .post-feature { grid-column: 1 / -1; margin-bottom: 0 }
.mono { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; letter-spacing: .04em; border: 2px solid var(--gold); flex: none }
.mono.sm { width: 44px; height: 44px; font-size: .9rem; border-width: 1.5px }
.author-box .mono { margin-top: 2px }
.post-card .body:first-child { padding-top: 24px }
.post-card:not(:has(.thumb)) { border-top: 3px solid var(--gold) }.on-dark .form h3 { color: var(--ink) }
.prazo svg { width: 18px; height: 18px; vertical-align: -4px; color: var(--gold); margin-right: 4px }
blockquote.review { margin: 0 }
.specimen-hint .touch { display: none }
@media (hover: none) { .specimen-hint .mouse { display: none } .specimen-hint .touch { display: inline } }
@media (max-width: 640px) {
  .scope ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent) }
  .scope ul::-webkit-scrollbar { display: none }
  .scope li { white-space: nowrap }
}
.post-card .tag, .post-feature .tag, .aud-card .tag { justify-self: start }

/* ---------- correções: botão no cartão escuro e depoimentos ---------- */
.aud-card.dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35) }
.aud-card.dark .btn-ghost:hover { color: #fff; border-color: var(--gold); background: rgba(201, 162, 39, .1) }
.btn-ghost:hover svg { transform: translateX(2px) }
.btn svg { transition: transform .15s ease }

.lawyer-quote { margin: 0 0 40px; background: var(--navy); border-radius: 16px; padding: 34px 38px 30px; position: relative; overflow: hidden; display: grid; gap: 18px; border-left: 4px solid var(--gold) }
.lawyer-quote::before { content: "“"; position: absolute; right: 28px; top: -28px; font-family: var(--f-serif); font-size: 12rem; line-height: 1; color: var(--gold); opacity: .18; pointer-events: none }
.lawyer-quote blockquote { margin: 0 }
.lawyer-quote p { font-family: var(--f-serif); font-size: clamp(1.25rem, 2.3vw, 1.65rem); line-height: 1.45; color: #fff; max-width: 52ch }
.lawyer-quote figcaption { display: grid; gap: 2px; font-size: .9rem }
.lawyer-quote figcaption b { color: var(--gold) }
.lawyer-quote figcaption span { color: var(--hero-soft); font-size: .82rem }
@media (max-width: 640px) { .lawyer-quote { padding: 24px 22px } }

.review { display: flex; flex-direction: column; justify-content: space-between; transition: border-color .15s ease, box-shadow .15s ease }
.review:hover { border-color: rgba(201, 162, 39, .55); box-shadow: var(--shadow) }
.review footer { margin-top: auto }
/* telas de toque: sem estados de "hover" presos depois do toque */
@media (hover: none) {
  .review:hover { border-color: var(--line); box-shadow: none }
  a.svc:hover, .post-card:hover, .btn:hover, .wa-float:hover { transform: none }
  a.svc:hover, .post-card:hover, .post-feature:hover { box-shadow: none }
  a.svc:hover { border-color: var(--line) }
  a.svc.feature:hover { border-color: var(--navy) }
  .cover-solo:hover { transform: rotate(-3deg) }
}
.wa-fallback { width: 100% }
