/* Hadlich & Advogados — estilos compartilhados (site e LP) */
:root {
  --paper: oklch(0.975 0.002 290);
  --paper-2: oklch(0.944 0.003 290);
  --paper-3: oklch(0.905 0.004 290);
  --ink: oklch(0.205 0.008 290);
  --ink-2: oklch(0.36 0.008 290);
  --muted: oklch(0.5 0.008 290);
  --line: oklch(0.86 0.004 290);
  --deep: oklch(0.205 0.008 290);
  --deep-2: oklch(0.26 0.009 290);
  --on-deep: oklch(0.975 0.002 290);
  --on-deep-muted: oklch(0.77 0.006 290);
  --copper: var(--ink);
  --copper-light: var(--on-deep);
  --wa: #25D366;

  --font-display: "Besley", Georgia, serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --section: clamp(72px, 11vw, 152px);
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1280px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}
.kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 12px; vertical-align: 0.3em; background: currentColor; }
.kicker--light { color: var(--copper-light); }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; line-height: 1; }
.brand-mark { width: 40px; height: auto; flex: none; overflow: visible; }
.brand-text { display: inline-flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.6875rem; letter-spacing: 0.32em; text-transform: uppercase; margin-top: 6px; opacity: 0.8; }

/* Traçado do símbolo (desenha as linhas ao entrar na tela) */
.js .mono path { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); transition: stroke-dashoffset 1.6s var(--ease-out); }
.js .mono path:nth-child(2) { transition-delay: 0.15s; transition-duration: 2s; }
.js .mono path:nth-child(3) { transition-delay: 0.45s; }
.js .mono path:nth-child(4), .js .mono path:nth-child(5) { transition-delay: 0.7s; }
.js .mono path:nth-child(6) { transition-delay: 0.9s; }
.js .mono.in path { stroke-dashoffset: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; border-radius: 2px; }
.btn-wa:hover { background: #1fb959; }
.btn-ghost { color: inherit; padding: 0 4px; min-height: 44px; position: relative; }
.btn-ghost::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 10px; height: 1px;
  background: currentColor; transform-origin: left; transition: transform 0.4s var(--ease-out);
}
.btn-ghost:hover::after { transform: scaleX(0.4); }

/* ---------- Header do site ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  color: var(--on-deep);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 10px 0; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease-out);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.burger { display: none; }

@media (max-width: 900px) {
  .burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 1px solid oklch(0.975 0.002 290 / 0.4); background: transparent; color: inherit; cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after {
    display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.3s var(--ease-out), opacity 0.2s;
  }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
  .burger span::before { top: -6px; }
  .burger span::after { top: 6px; }
  .menu-open .burger span { background: transparent; }
  .menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: 96px var(--gutter) 48px;
    background: var(--deep);
    opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease-out), visibility 0.35s;
  }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 2rem; }
  .nav .btn { margin-top: 24px; min-height: 52px; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- Capa do site ---------- */
.hero {
  position: relative; min-height: 100dvh; display: grid; align-items: end;
  color: var(--on-deep); background: var(--deep); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, oklch(0.205 0.008 290 / 0.92) 0%, oklch(0.205 0.008 290 / 0.72) 42%, oklch(0.205 0.008 290 / 0.18) 78%),
    linear-gradient(0deg, oklch(0.205 0.008 290 / 0.75) 0%, oklch(0.205 0.008 290 / 0) 45%);
}
.hero .wrap { padding-top: 140px; padding-bottom: clamp(48px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); max-width: 17ch; margin-top: 20px; }
.hero h1 em { font-style: italic; color: var(--copper-light); }
.hero-lead { margin-top: 28px; max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; color: oklch(0.9 0.004 290); }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.online {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.9375rem; font-weight: 500;
}
.online::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wa);
  box-shadow: 0 0 0 0 oklch(0.78 0.18 150 / 0.6); animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px oklch(0.78 0.18 150 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.78 0.18 150 / 0); } }

.hero-year {
  justify-self: end; text-align: right;
  font-family: var(--font-display); line-height: 0.85;
}
.hero-year .num { display: block; font-size: clamp(4rem, 10vw, 9rem); font-weight: 400; color: transparent; -webkit-text-stroke: 1px oklch(0.975 0.002 290 / 0.75); }
.hero-year .cap { display: block; margin-top: 14px; font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-deep-muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-year { justify-self: start; text-align: left; }
  .hero::before {
    background: linear-gradient(0deg, oklch(0.205 0.008 290 / 0.95) 0%, oklch(0.205 0.008 290 / 0.78) 55%, oklch(0.205 0.008 290 / 0.35) 100%);
  }
}

/* ---------- 35 anos (split com linha do tempo) ---------- */
.since { padding: var(--section) 0; }
.since-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.since-count { font-family: var(--font-display); line-height: 0.8; }
.since-count .n { font-size: clamp(7rem, 19vw, 15rem); font-weight: 500; letter-spacing: -0.05em; color: var(--ink); display: block; font-variant-numeric: tabular-nums lining-nums; }
.since-count .l { display: block; margin-top: 20px; max-width: 18ch; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; color: var(--ink-2); }
.since-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); max-width: 18ch; }
.since-text p { margin-top: 28px; max-width: 60ch; color: var(--ink-2); }
.since-text p + p { margin-top: 16px; }
.timeline { margin-top: 56px; position: relative; padding-top: 28px; }
.timeline-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); overflow: hidden; }
.timeline-line::after {
  content: ""; position: absolute; inset: 0; background: var(--copper);
  transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-out) 0.2s;
}
.timeline.in .timeline-line::after { transform: scaleX(1); }
.timeline-ends { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.35rem; }
.timeline-ends small { display: block; font-family: var(--font-body); font-size: 0.8125rem; color: var(--muted); margin-top: 4px; }
.timeline-ends div:last-child { text-align: right; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--copper);
}
.timeline::before { left: 0; }
.timeline::after { right: 0; background: var(--muted); }

@media (max-width: 900px) { .since-grid { grid-template-columns: 1fr; } }

/* ---------- Áreas (índice em acordeão) ---------- */
.areas { padding: var(--section) 0; background: var(--paper-2); }
.areas-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.areas-head h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.areas-head > p { color: var(--ink-2); max-width: 46ch; justify-self: end; }
.area { border-top: 1px solid var(--line); }
.area:last-child { border-bottom: 1px solid var(--line); }
.area-btn {
  width: 100%; display: grid; grid-template-columns: 72px minmax(0, 1fr) 48px; align-items: center; gap: 16px;
  padding: clamp(22px, 3vw, 34px) 0; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; font: inherit;
}
.area-no { font-family: var(--font-display); font-size: 1rem; color: var(--copper); }
.area-name { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.1; transition: transform 0.45s var(--ease-out), color 0.3s; }
.area-btn:hover .area-name { transform: translateX(10px); }
.area-sign { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: background-color 0.3s, border-color 0.3s; }
.area-sign::before, .area-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease-out), background-color 0.3s; }
.area-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.area.open .area-sign { background: var(--ink); border-color: var(--ink); }
.area.open .area-sign::before, .area.open .area-sign::after { background: var(--paper); }
.area.open .area-sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.area-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease-out); }
.area.open .area-panel { grid-template-rows: 1fr; }
.area-panel > div { overflow: hidden; }
.area-body { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 0.9fr); gap: 16px; padding-bottom: clamp(28px, 4vw, 48px); }
.area-body .txt { grid-column: 2; max-width: 52ch; padding-right: 24px; color: var(--ink-2); }
.area-body ul { margin: 20px 0 0; padding: 0; list-style: none; }
.area-body li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; }
.area-body li::before { content: ""; flex: none; width: 14px; height: 1px; margin-top: 0.85em; background: var(--copper); }
.area-body figure { grid-column: 3; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.area-body figure img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease-out); }
.area.open .area-body figure img { transform: scale(1); }

@media (max-width: 900px) {
  .areas-head { grid-template-columns: 1fr; }
  .areas-head > p { justify-self: start; }
  .area-btn { grid-template-columns: 40px minmax(0, 1fr) 44px; }
  .area-sign { width: 44px; height: 44px; }
  .area-body { grid-template-columns: 1fr; }
  .area-body .txt, .area-body figure { grid-column: 1; }
}

/* ---------- Capítulo escuro: operações societárias (livro-razão) ---------- */
.ledger { background: var(--deep); color: var(--on-deep); padding: var(--section) 0; position: relative; overflow: hidden; }
.ledger-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); }
.ledger-intro { position: relative; }
.ledger-intro h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-top: 20px; }
.ledger-intro p { margin-top: 24px; color: var(--on-deep-muted); max-width: 42ch; line-height: 1.75; }
.ledger-intro figure { margin: 48px 0 0; aspect-ratio: 3 / 2; overflow: hidden; }
.ledger-intro figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.ledger-table { border-top: 1px solid oklch(0.975 0.002 290 / 0.25); counter-reset: row; }
.ledger-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid oklch(0.975 0.002 290 / 0.18);
  position: relative;
}
.ledger-row::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--copper-light);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-out);
}
.ledger-row:hover::after { transform: scaleX(1); }
.ledger-row .no { font-family: var(--font-display); color: var(--copper-light); font-size: 1.05rem; font-variant-numeric: tabular-nums lining-nums; }
.ledger-row h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.ledger-row p { color: var(--on-deep-muted); line-height: 1.7; }

@media (max-width: 900px) {
  .ledger-grid { grid-template-columns: 1fr; }
  .ledger-row { grid-template-columns: 44px minmax(0, 1fr); }
  .ledger-row p { grid-column: 2; }
}

/* ---------- Fundador (ficha tipográfica) ---------- */
.founder { padding: var(--section) 0; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 128px); align-items: center; }
.founder-mark {
  position: relative; aspect-ratio: 1; max-width: 520px; width: 100%;
  background: var(--paper-2); display: grid; place-items: center; overflow: hidden;
}
.founder-mark { background: var(--deep); color: var(--on-deep); }
.founder-logo { width: 46%; height: auto; }
.founder-mark .ring {
  position: absolute; inset: 9%; border: 1px solid oklch(0.975 0.002 290 / 0.16); border-radius: 50%;
}
.founder-mark .stamp {
  position: absolute; left: 24px; bottom: 22px; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-deep-muted);
}
.founder h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-top: 16px; }
.founder .role { margin-top: 10px; font-size: 1.1rem; color: var(--ink-2); }
.facts { margin: 40px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); }
.facts dt, .facts dd { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-right: 32px; padding-top: 19px; }
.facts dd { font-family: var(--font-display); font-size: 1.2rem; }
.facts dt:last-of-type, .facts dd:last-of-type { border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-mark { max-width: 360px; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 0; border-top: 1px solid var(--line); }
  .facts dd { border-top: 0; padding-top: 4px; }
  .facts dt:last-of-type { border-bottom: 0; }
}

/* ---------- Faixa de atendimento (foto de borda a borda) ---------- */
.reach { position: relative; color: var(--on-deep); background: var(--deep); isolation: isolate; overflow: hidden; }
.reach-media { position: absolute; inset: 0; z-index: -2; }
.reach-media img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.reach::before { content: ""; position: absolute; inset: 0; z-index: -1; background: oklch(0.205 0.008 290 / 0.62); }
.reach .wrap { padding-top: clamp(96px, 14vw, 180px); padding-bottom: clamp(96px, 14vw, 180px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.reach h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: 14ch; }
.reach p { color: oklch(0.9 0.004 290); max-width: 46ch; }
.reach .btn { margin-top: 28px; }
@media (max-width: 900px) { .reach .wrap { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact { padding: var(--section) 0 0; }
.contact-head h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 16ch; margin-top: 16px; }
.contact-grid { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0; border-top: 1px solid var(--ink); }
.contact-list { display: grid; }
.contact-item { padding: 26px 32px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.contact-item .lbl { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact-item .val { font-family: var(--font-display); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.35; text-decoration: none; }
.contact-item a.val:hover { color: var(--copper); }
.contact-item .btn { justify-self: start; margin-top: 8px; }
.map { min-height: 420px; background: var(--paper-2); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.35) sepia(0.12); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item { padding-right: 0; }
  .map { min-height: 320px; margin: 0 calc(var(--gutter) * -1); }
}

/* ---------- Rodapé ---------- */
.footer { background: var(--deep); color: var(--on-deep); padding: clamp(64px, 9vw, 112px) 0 40px; margin-top: var(--section); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid oklch(0.975 0.002 290 / 0.18); }
.footer .brand-name { font-size: 2.2rem; }
.footer h3 { font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 14px; }
.footer p, .footer li { color: var(--on-deep-muted); font-size: 0.9688rem; line-height: 1.7; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer-online { margin-top: 18px; color: var(--on-deep); }
.footer-bottom { padding-top: 32px; display: grid; gap: 14px; }
.footer-bottom p { font-size: 0.8125rem; color: oklch(0.72 0.006 290); max-width: 110ch; }
.footer-bottom .dev a { color: var(--on-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Botão flutuante de WhatsApp (padrão da agência) ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 20px 0 22px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font: 600 0.9375rem/1 var(--font-body);
  box-shadow: 0 10px 30px -10px oklch(0.4 0.1 150 / 0.55);
  transition: transform 0.3s var(--ease-out);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 480px) { .wa-float { right: 12px; bottom: 12px; padding: 0 16px 0 18px; font-size: 0.875rem; } }

/* ---------- LP ---------- */
.lp-hero { position: relative; min-height: 100dvh; display: grid; align-items: center; background: var(--deep); color: var(--on-deep); isolation: isolate; overflow: hidden; }
.lp-hero-media { position: absolute; inset: 0; z-index: -2; }
.lp-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.lp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, oklch(0.205 0.008 290 / 0.95) 0%, oklch(0.205 0.008 290 / 0.8) 45%, oklch(0.205 0.008 290 / 0.25) 85%);
}
.lp-hero .wrap { padding-top: 72px; padding-bottom: 72px; }
.lp-brand { gap: clamp(18px, 2vw, 28px); }
.lp-brand .brand-mark { width: clamp(78px, 8vw, 112px); }
.lp-brand .brand-name { font-size: clamp(2.8rem, 5vw, 4.2rem); }
.lp-brand .brand-sub { font-size: 0.875rem; letter-spacing: 0.36em; margin-top: 10px; }
.lp-hero h1 { margin-top: clamp(48px, 7vw, 88px); font-size: clamp(2.4rem, 5.2vw, 4.6rem); max-width: 15ch; }
.lp-hero h1 em { font-style: italic; color: var(--copper-light); }
.lp-hero .hero-lead { max-width: 50ch; }
.lp-mobile-media { display: none; }

@media (max-width: 900px) {
  .lp-hero { min-height: 0; display: block; }
  .lp-hero::before, .lp-hero-media { display: none; }
  .lp-hero .wrap { padding-top: 48px; padding-bottom: 40px; }
  .lp-mobile-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
  .lp-mobile-media img { width: 100%; height: 100%; object-fit: cover; }
}

/* Bento de serviços */
.services { padding: var(--section) 0; }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.services-head h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 14ch; margin-top: 16px; }
.services-head p { max-width: 44ch; color: var(--ink-2); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 12px; }
.tile { position: relative; padding: 32px; background: var(--paper-2); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; overflow: hidden; }
.tile h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.tile p { color: var(--ink-2); max-width: 46ch; }
.tile .idx { position: absolute; top: 24px; right: 28px; font-family: var(--font-display); color: var(--copper); }
.tile--photo { grid-column: span 4; grid-row: span 2; color: var(--on-deep); background: var(--deep); isolation: isolate; min-height: 460px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.tile--photo:hover img { transform: scale(1.04); }
.tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, oklch(0.205 0.008 290 / 0.92) 10%, oklch(0.205 0.008 290 / 0.1) 75%); }
.tile--photo p { color: oklch(0.9 0.004 290); }
.tile--photo .idx { color: var(--copper-light); }
.tile--ink { background: var(--ink); color: var(--on-deep); }
.tile--ink p { color: var(--on-deep-muted); }
.tile--ink .idx { color: var(--copper-light); }
.tile--line { background: transparent; border: 1px solid var(--line); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile, .tile--photo, .span-2, .span-3 { grid-column: auto; grid-row: auto; }
  .tile { padding: 28px 24px; min-height: 0; }
  .tile .idx { position: static; }
  .tile--photo { min-height: 380px; }
}

/* Etapas (linha do tempo vertical com progresso) */
.steps { padding: var(--section) 0; background: var(--paper-2); }
.steps-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 112px); }
.steps-intro h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-top: 16px; max-width: 13ch; }
.steps-intro p { margin-top: 24px; color: var(--ink-2); max-width: 40ch; }
.steps-track { position: relative; }
.steps-track::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.steps-list { position: relative; margin: 0; padding: 0 0 0 56px; list-style: none; }
.steps-progress { position: absolute; left: 15px; top: 8px; width: 1px; height: calc(100% - 16px); background: var(--copper); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; padding: 0 0 48px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: attr(data-n); position: absolute; left: -56px; top: 0;
  width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--ink); font-family: var(--font-display); font-size: 0.9rem;
  transition: background-color 0.4s, color 0.4s;
}
.step.lit::before { background: var(--ink); color: var(--paper); }
.step h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.step p { margin-top: 10px; color: var(--ink-2); max-width: 52ch; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } }

/* Sobre (LP): citação grande + ficha */
.about { padding: var(--section) 0; }
.about-quote { font-family: var(--font-display); font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.12; max-width: 22ch; letter-spacing: -0.02em; }
.about-quote span { color: var(--muted); }
.about-grid { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.about-grid p { color: var(--ink-2); max-width: 58ch; }
.about-grid p + p { margin-top: 16px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* Faixa de chamada em cobre */
.cta-band { background: var(--paper-3); color: var(--ink); }
.cta-band .wrap { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); max-width: 20ch; }

/* ---------- Animações de entrada ---------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv-clip.in { clip-path: inset(0 0 0 0); }
.js .hero .ld { opacity: 0; transform: translateY(24px); animation: ld 1s var(--ease-out) forwards; animation-delay: calc(0.15s + var(--i, 0) * 0.12s); }
.js .hero-media img, .js .lp-hero-media img { transform: scale(1.08); animation: zoom 2.4s var(--ease-out) forwards; }
@keyframes ld { to { opacity: 1; transform: none; } }
@keyframes zoom { to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .rv, .js .rv-clip, .js .hero .ld { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- LP Tributário: índice em colunas ---------- */
.index { padding: var(--section) 0; }
.index-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 80px); }
.index-head h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); margin-top: 16px; }
.index-head p { margin-top: 20px; color: var(--ink-2); max-width: 54ch; }
.index-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 96px); counter-reset: idx; }
.index-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 28px; padding: 32px 0 36px; border-top: 1px solid var(--ink); position: relative; }
.index-item .n { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--ink); grid-row: span 2; transition: color 0.4s var(--ease-out); }
.index-item:hover .n { color: var(--ink); }
.index-item h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.index-item p { color: var(--ink-2); max-width: 44ch; }
@media (max-width: 760px) { .index-cols { grid-template-columns: 1fr; } }

/* Declaração grande com foto em faixa */
.statement { background: var(--deep); color: var(--on-deep); padding: var(--section) 0; overflow: hidden; }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(40px, 7vw, 112px); align-items: end; }
.statement blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.12; letter-spacing: -0.02em; }
.statement blockquote span { color: var(--on-deep-muted); }
.statement-side p { color: var(--on-deep-muted); line-height: 1.75; }
.statement-side figure { margin: 0 0 28px; aspect-ratio: 4 / 3; overflow: hidden; }
.statement-side figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .statement-grid { grid-template-columns: 1fr; } }

/* ---------- LP Cível: folha de contrato com cláusulas ---------- */
.contract-sec { padding: var(--section) 0; background: var(--paper-2); }
.contract-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.contract-intro h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin-top: 16px; }
.contract-intro p { margin-top: 20px; color: var(--ink-2); max-width: 40ch; }
.sheet {
  background: var(--paper); padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 72px);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px oklch(0.205 0.008 290 / 0.45);
  position: relative;
}
.sheet::before { content: ""; position: absolute; left: clamp(12px, 2.4vw, 36px); top: 0; bottom: 0; width: 1px; background: var(--line); }
.sheet-title { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; text-align: center; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.clause { padding: 26px 0; border-bottom: 1px dashed var(--line); }
.clause:last-of-type { border-bottom: 0; }
.clause h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.clause h3 small { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.clause p { margin-top: 8px; color: var(--ink-2); max-width: 58ch; }
.sheet-sign { margin-top: 36px; display: flex; justify-content: flex-end; }
.sheet-sign span { display: inline-block; min-width: 220px; padding-top: 10px; border-top: 1px solid var(--ink); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .contract-grid { grid-template-columns: 1fr; } }

/* Faixa em movimento com tipos de contrato */
.marquee { background: var(--deep); color: var(--on-deep); padding: clamp(28px, 4vw, 44px) 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.8rem); white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: ""; width: 28px; height: 2px; background: var(--on-deep-muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Mídia lateral com legenda (cível) */
.aside-media { padding: var(--section) 0; }
.aside-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.aside-grid figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.aside-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.aside-grid h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-top: 16px; }
.aside-grid p { margin-top: 20px; color: var(--ink-2); max-width: 50ch; }
@media (max-width: 900px) { .aside-grid { grid-template-columns: 1fr; } }

/* ---------- LP Imobiliário: grade de números grandes ---------- */
.numgrid-sec { padding: var(--section) 0; }
.numgrid-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.numgrid-head h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); margin-top: 16px; }
.numgrid-head > p { color: var(--ink-2); max-width: 46ch; justify-self: end; }
.numgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.num-cell { padding: clamp(28px, 4vw, 48px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; transition: background-color 0.4s var(--ease-out); }
.num-cell:hover { background: var(--paper-2); }
.num-cell .n { font-family: var(--font-display); font-size: clamp(3.2rem, 7vw, 5.6rem); line-height: 0.85; }
.num-cell h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.num-cell p { color: var(--ink-2); max-width: 44ch; }
@media (max-width: 760px) { .numgrid-head { grid-template-columns: 1fr; } .numgrid-head > p { justify-self: start; } .numgrid { grid-template-columns: 1fr; } }

/* Lista do que se confere, com check desenhado */
.checklist { padding: var(--section) 0; background: var(--deep); color: var(--on-deep); }
.checklist-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.checklist figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.checklist figure img { width: 100%; height: 100%; object-fit: cover; }
.checklist h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-top: 16px; }
.checklist .intro { margin-top: 20px; color: var(--on-deep-muted); max-width: 48ch; }
.checks { list-style: none; margin: 36px 0 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid oklch(0.975 0.002 290 / 0.16); align-items: start; }
.checks li:last-child { border-bottom: 1px solid oklch(0.975 0.002 290 / 0.16); }
.checks svg { width: 28px; height: 28px; }
.checks svg rect { fill: none; stroke: oklch(0.975 0.002 290 / 0.4); stroke-width: 1.5; }
.checks svg path { fill: none; stroke: var(--on-deep); stroke-width: 2.2; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.7s var(--ease-out); transition-delay: calc(0.3s + var(--i, 0) * 120ms); }
.checks li.in svg path, html:not(.js) .checks svg path { stroke-dashoffset: 0; }
.checks strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.checks span { display: block; color: var(--on-deep-muted); margin-top: 4px; font-size: 0.97rem; }
@media (max-width: 900px) { .checklist-grid { grid-template-columns: 1fr; } .checklist figure { aspect-ratio: 3 / 2; } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .checks svg path { stroke-dashoffset: 0; }
}
