/* =========================================================
   Luiz Paulino Advocacia — Inventário Extrajudicial
   Design: "Quiet Luxury" editorial · v2
   Refs: Kirkland&Ellis, White&Case, Jenner&Block, Sidley
   ========================================================= */

:root {
  --ink: #0c1722;          /* quase preto azulado — texto forte */
  --navy: #002855;         /* marca */
  --navy-2: #0a3666;
  --paper: #f7f5f1;        /* off-white quente (não branco puro) */
  --paper-2: #efece5;
  --white: #ffffff;
  --muted: #6a7180;        /* texto secundário */
  --muted-2: #9aa1ad;
  --bronze: #9a7b4f;       /* acento mínimo, só em detalhes */
  --line: rgba(12, 23, 34, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);

  --serif: "Butler", "Times New Roman", serif;
  --sans: "Mazzard", -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1280px;
  --gutter: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }

/* ---------- Tipografia editorial ---------- */
/* Padrão (fundos claros): Mazzard — leitura impecável */
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 600; color: var(--navy); letter-spacing: -0.022em; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 7.5vw, 4.7rem); }
h2 { font-size: clamp(1.9rem, 5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.25; }
em, .it { font-style: italic; }

/* Butler (serif) reservada a fundos ESCUROS, em cor clara */
.hero h1, .dark h1, .dark h2, .dark h3, .final h1, .final h2 {
  font-family: var(--serif); font-weight: 300; letter-spacing: -0.015em; line-height: 1.07;
}

.eyebrow {
  font-family: var(--sans); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--bronze);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--bronze); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: #c9b48f; }
.eyebrow.light::before { background: #c9b48f; }

.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); line-height: 1.7; font-weight: 300; }
.dim { color: var(--muted); }

/* ---------- Seções ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 64px 0; }
@media (min-width: 860px) { .section { padding: 130px 0; } }

.kicker { margin-bottom: 26px; }
.section-head { max-width: 760px; }
.section-head .lead { margin-top: 22px; }

/* ---------- Botões / links editoriais ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 17px 32px; border: 1px solid transparent; cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
  border-radius: 2px;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline.light { color: #fff; border-color: var(--line-light); }
.btn-outline.light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn .ic { width: 18px; height: 18px; fill: currentColor; }

/* link-seta editorial */
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: .95rem; color: var(--navy);
  letter-spacing: 0.02em; position: relative; padding-bottom: 4px;
}
.arrow-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(1); transform-origin: left; transition: transform .35s ease; }
.arrow-link:hover::after { transform: scaleX(.4); }
.arrow-link .ar { transition: transform .35s ease; }
.arrow-link:hover .ar { transform: translateX(5px); }
.arrow-link.light { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s ease, border-color .4s ease, padding .4s ease;
  padding: 14px 0; border-bottom: 1px solid transparent;
}
.header.solid { background: rgba(247,245,241,.88); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; }
.header .logo img { height: 34px; width: auto; transition: filter .4s ease; }
.header.on-dark .logo img { filter: brightness(0) invert(1); }
.header.on-dark .nav-cta { color: #fff; border-color: var(--line-light); }
.nav-cta { font-family: var(--sans); font-weight: 500; font-size: .85rem; letter-spacing: .02em; color: var(--navy); border: 1px solid var(--line); padding: 11px 22px; border-radius: 2px; transition: all .3s ease; }
.nav-cta:hover { background: var(--navy); color: #fff !important; border-color: var(--navy) !important; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; min-height: 100svh; display: flex; align-items: stretch; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; width: 100%; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 60px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { color: #b9cae4; font-weight: 300; }
.hero .lead { color: rgba(255,255,255,.72); max-width: 46ch; margin-top: 30px; }
.hero-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 44px; align-items: flex-start; }
.hero-actions .btn { width: 100%; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-family: var(--serif); font-size: 1.7rem; font-weight: 400; color: #fff; line-height: 1; }
.hero-meta .m span { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 8px; }
.hero-media { position: relative; min-height: 46vh; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,40,85,.45), transparent 30%, rgba(0,40,85,.15)); }

@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-text { max-width: 660px; margin: 0 0 0 auto; padding: 120px 70px 80px var(--gutter); }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
  .hero-media { min-height: 100svh; }
}

/* ---------- Bloco "intro" tipográfico (substitui cards de dor) ---------- */
.statement { background: var(--paper); }
.statement .big {
  font-family: var(--sans); font-weight: 300; color: var(--navy);
  font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.3; max-width: 22ch; letter-spacing: -.02em;
}
.statement .big .it { color: var(--muted-2); font-weight: 300; }

/* lista editorial com hairlines + índice */
.editorial-list { margin-top: 60px; border-top: 1px solid var(--line); }
.editorial-row { display: grid; grid-template-columns: 1fr; gap: 8px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.editorial-row .idx { font-family: var(--serif); font-size: 1rem; color: var(--bronze); letter-spacing: .1em; }
.editorial-row h3 { color: var(--navy); }
.editorial-row p { color: var(--muted); font-weight: 300; max-width: 52ch; }
@media (min-width: 760px) { .editorial-row { grid-template-columns: 60px 1fr 1.2fr; padding: 38px 0; } }

/* ---------- Duas colunas (o que é / comparativo) ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: start; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; gap: 90px; } }
.compare { margin-top: 8px; }
.compare .c-block { padding: 26px 0; border-top: 1px solid var(--line); }
.compare .c-block:last-child { border-bottom: 1px solid var(--line); }
.compare .c-label { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.compare .c-block.hl .c-label { color: var(--navy); }
.compare ul { list-style: none; }
.compare li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); font-weight: 300; margin-bottom: 10px; }
.compare li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); flex: none; transform: translateY(-2px); }
.compare .c-block.hl li { color: var(--ink); }
.compare .c-block.hl li::before { background: var(--navy); }

/* ---------- Riscos (fundo escuro, editorial) ---------- */
.dark { background: var(--navy); color: #fff; }
.dark h2 { color: #fff; }
.dark .lead { color: rgba(255,255,255,.7); }
.risk-grid { margin-top: 64px; border-top: 1px solid var(--line-light); }
.risk-row { display: grid; grid-template-columns: 1fr; gap: 6px 40px; padding: 30px 0; border-bottom: 1px solid var(--line-light); }
.risk-row .idx { font-family: var(--serif); color: #c9b48f; font-size: 1rem; }
.risk-row h3 { color: #fff; }
.risk-row p { color: rgba(255,255,255,.62); font-weight: 300; max-width: 56ch; }
@media (min-width: 760px) { .risk-row { grid-template-columns: 60px 1fr 1.3fr; padding: 36px 0; align-items: baseline; } }

/* ---------- Diferenciais (3 col, tipográfico, sem caixas) ---------- */
.values { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 60px; }
.value { padding: 38px 0; border-top: 1px solid var(--line); }
.value .vnum { font-family: var(--serif); font-size: 2.6rem; font-weight: 300; color: var(--paper-2); line-height: 1; }
.value h3 { margin: 18px 0 12px; }
.value p { color: var(--muted); font-weight: 300; }
@media (min-width: 860px) {
  .values { grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
  .value { border-top: none; padding: 0 38px; }
  .value:not(:first-child) { border-left: 1px solid var(--line); }
  .value:first-child { padding-left: 0; }
}

/* ---------- Passos ---------- */
.steps { counter-reset: s; margin-top: 60px; display: grid; grid-template-columns: 1fr; gap: 0; }
.step { padding: 34px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: baseline; }
.step:first-child { border-top: 1px solid var(--line); }
.step .sn { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; color: var(--navy); line-height: 1; min-width: 60px; }
.step h3 { color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-weight: 300; max-width: 60ch; }

/* ---------- Sobre / autoridade ---------- */
.about { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; filter: grayscale(8%); }
.about-media .frame { position: absolute; inset: 0; border: 1px solid var(--line); transform: translate(18px, 18px); z-index: -1; }
.about-body .sig { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--navy); margin-top: 26px; }
.about-body .oab { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
@media (min-width: 940px) { .about { grid-template-columns: .85fr 1.15fr; gap: 80px; } }

/* ---------- Prova social ---------- */
.quotes { margin-top: 56px; display: grid; grid-template-columns: 1fr; gap: 0; }
.quote { padding: 40px 0; border-top: 1px solid var(--line); }
.quote:last-child { border-bottom: 1px solid var(--line); }
.quote p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: #fff; line-height: 1.4; max-width: 30ch; }
.quote .who { font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 18px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid var(--line); }
  .quote { border-top: none; padding: 0 40px; }
  .quote:not(:first-child) { border-left: 1px solid var(--line); }
  .quote:first-child { padding-left: 0; } .quote:last-child { border-bottom: none; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 20px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  padding: 30px 0; display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  font-family: var(--sans); font-size: clamp(1.05rem, 2.2vw, 1.28rem); font-weight: 500; letter-spacing: -.01em; color: var(--navy); }
.faq-q .pm { font-family: var(--sans); font-size: 1.6rem; font-weight: 300; color: var(--bronze); line-height: 1; transition: transform .3s ease; flex: none; }
.faq-item.open .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 0 30px; color: var(--muted); font-weight: 300; max-width: 70ch; }

/* ---------- CTA final + form ---------- */
.final { background: var(--navy); color: #fff; }
.final-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
.final h2 { color: #fff; max-width: 16ch; }
.final .lead { color: rgba(255,255,255,.72); margin-top: 24px; }
.lead-form { background: rgba(255,255,255,.04); border: 1px solid var(--line-light); padding: 36px 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 9px; }
.field input { width: 100%; padding: 15px 0; background: transparent; border: none; border-bottom: 1px solid var(--line-light);
  color: #fff; font-family: var(--sans); font-size: 1.05rem; transition: border-color .3s ease; }
.field input::placeholder { color: rgba(255,255,255,.35); }
.field input:focus { outline: none; border-bottom-color: #c9b48f; }
.lead-form .btn { width: 100%; margin-top: 10px; background: #fff; color: var(--navy); }
.lead-form .btn:hover { background: #c9b48f; color: var(--navy); }
.lead-form .privacy { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 16px; font-weight: 300; }
@media (min-width: 940px) { .final-grid { grid-template-columns: 1.1fr .9fr; gap: 80px; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 70px 0 36px; font-weight: 300; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer .logo img { height: 52px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer p { max-width: 40ch; line-height: 1.7; }
.footer h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer .fcol a { display: block; margin-bottom: 12px; color: rgba(255,255,255,.6); transition: color .3s; }
.footer .fcol a:hover { color: #fff; }
.footer .legal { margin-top: 40px; font-size: .78rem; color: rgba(255,255,255,.4); line-height: 1.8; max-width: 90ch; }
@media (min-width: 760px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; gap: 50px; } }

/* ---------- WhatsApp flutuante (discreto) ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(12,23,34,.28); transition: transform .3s ease, background .3s ease; }
.wa-float:hover { transform: translateY(-3px); background: var(--ink); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Modal de conversão ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 20px; visibility: hidden; pointer-events: none;
}
.modal__overlay {
  position: absolute; inset: 0; background: rgba(8, 16, 26, 0.55); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .22s ease;
}
.modal__panel {
  position: relative; width: 100%; max-width: 460px; background: var(--navy); color: #fff;
  padding: 44px 36px 38px; border: 1px solid var(--line-light);
  opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .26s cubic-bezier(.16,1,.3,1), transform .26s cubic-bezier(.16,1,.3,1);
}
.modal.open { visibility: visible; pointer-events: auto; }
.modal.open .modal__overlay { opacity: 1; }
.modal.open .modal__panel { opacity: 1; transform: none; }
.modal__close {
  position: absolute; top: 16px; right: 18px; background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.6); font-size: 1.6rem; line-height: 1; transition: color .2s ease; padding: 6px;
}
.modal__close:hover { color: #fff; }
.modal__panel h3 { font-family: var(--serif); font-weight: 300; color: #fff; font-size: 1.9rem; line-height: 1.1; }
.modal__panel .sub { color: rgba(255,255,255,.7); font-weight: 300; font-size: .98rem; margin: 12px 0 26px; }
.modal__panel .privacy { font-size: .76rem; line-height: 1.5; font-weight: 300; color: rgba(255,255,255,.45); text-align: center; margin-top: 16px; max-width: 34ch; margin-left: auto; margin-right: auto; }
@media (prefers-reduced-motion: reduce) {
  .modal__overlay, .modal__panel { transition: opacity .15s ease; transform: none; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
