/* =========================================================
   DADAM ADVOGADOS & ASSOCIADOS — v6
   Direção: sóbria, editorial, muito espaço em branco.
   O dourado aparece só como detalhe.
========================================================= */

:root {
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --white: #fffdf9;
  --ink: #1b1815;
  --ink-2: #3d3732;
  --muted: #776f66;
  --rule: #dcd3c5;
  --gold: #a47a2c;
  --gold-soft: #c6a35a;
  --dark: #15120f;
  --dark-2: #1e1a16;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { color: var(--white); background: var(--ink); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografia ---------- */

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.1;
}

h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
}

.label {
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead {
  max-width: 520px;
  margin-top: 28px;
  font-size: 18px;
  color: var(--muted);
}

/* ---------- Botões e links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}
.button-primary:hover { background: #000000; }

.button.full { width: 100%; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.25s;
}
.link svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link:hover { border-color: var(--ink); }
.link:hover svg { transform: translateX(4px); }

/* =========================================================
   CABEÇALHO
========================================================= */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.scrolled,
.header.menu-open { border-bottom-color: var(--rule); }

.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.brand-text strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.brand-text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 36px; font-size: 14px; color: var(--ink-2); }
.nav a:not(.nav-cta) { position: relative; padding: 4px 0; transition: color 0.2s; }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav a:not(.nav-cta):hover,
.nav a.active { color: var(--ink); }
.nav a:not(.nav-cta):hover::after,
.nav a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 11px 22px;
  color: var(--ink);
  border: 1px solid var(--ink);
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { color: var(--white); background: var(--ink); }

.menu-button { display: none; padding: 12px 6px; background: none; border: 0; cursor: pointer; }
.menu-button span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.menu-button span + span { margin-top: 7px; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* =========================================================
   ABERTURA
========================================================= */

.hero { padding: calc(var(--header-h) + 80px) 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  margin-top: 44px;
}

.portrait { justify-self: end; width: 100%; max-width: 420px; }
.portrait-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a0808;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
}
.portrait figcaption span:first-child { color: var(--ink); font-weight: 500; }
.portrait figcaption span:last-child { color: var(--muted); }

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 100px;
  border-top: 1px solid var(--rule);
}
.principles li {
  padding: 30px 28px 34px 0;
}
.principles li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.principles strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.principles span { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* =========================================================
   SEÇÕES
========================================================= */

.section { padding: 130px 0; }
.tinted { background: var(--paper-2); }

.section-head { max-width: 720px; margin-bottom: 70px; }

/* ---------- Áreas de atuação ---------- */

#atuacao { border-top: 1px solid var(--rule); }

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.practice h3 {
  padding-bottom: 18px;
  font-size: 28px;
  border-bottom: 1px solid var(--ink);
}

.practice-list li { border-bottom: 1px solid var(--rule); }
.practice-list a {
  position: relative;
  display: block;
  padding: 24px 40px 24px 0;
  transition: padding-left 0.35s var(--ease);
}
.practice-list a::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-top: 1px solid var(--muted);
  border-right: 1px solid var(--muted);
  transform: rotate(45deg);
  transition: border-color 0.25s, right 0.3s var(--ease);
}
.practice-list a:hover { padding-left: 10px; }
.practice-list a:hover::after { right: 0; border-color: var(--gold); }

.practice-title {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.practice-desc {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- O escritório (única seção escura) ---------- */

.dark {
  color: #c9c0b6;
  background: var(--dark);
}
.dark h2 { color: #f4efe7; }
.dark .label { color: var(--gold-soft); }

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 110px;
  align-items: center;
}

.about-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(198, 163, 90, 0.3);
}
.about-mark img { width: 58%; height: auto; }

.about-copy > p:not(.label) { margin-top: 24px; font-size: 16.5px; }
.about-copy h2 + p { margin-top: 32px; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.values dt {
  margin-bottom: 8px;
  color: #f4efe7;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}
.values dd { font-size: 14px; line-height: 1.6; color: #a59c92; }

/* ---------- Como funciona ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.steps li { padding-top: 26px; border-top: 1px solid var(--ink); }
.step-n {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.steps h3 { margin-bottom: 10px; font-size: 25px; line-height: 1.15; }
.steps p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- Dúvidas ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}
.faq-intro { position: sticky; top: 130px; align-self: start; }
.faq-intro > p:not(.label) { margin-top: 22px; color: var(--muted); }

.accordion { border-top: 1px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--rule); }
.accordion summary {
  position: relative;
  padding: 26px 56px 26px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before,
.accordion summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 14px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.accordion summary::after { transform: rotate(90deg); }
.accordion details[open] summary::after { transform: rotate(0); }
.accordion details p {
  max-width: 620px;
  margin: -8px 0 28px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Contato ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}
.contact-copy > p:not(.label) { margin-top: 24px; color: var(--muted); }
.contact-copy .note { margin-top: 14px; font-size: 13.5px; }

.contact-details {
  margin-top: 44px;
  border-top: 1px solid var(--rule);
}
.contact-details > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14.5px;
}
.contact-details > div[hidden] { display: none; }
.contact-details dt { color: var(--muted); }
.contact-details dd { color: var(--ink); }
.contact-details a:hover { color: var(--gold); }

.contact-form {
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--rule);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; align-content: start; }
.field label { color: var(--ink); font-size: 13px; font-weight: 500; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d3cabc;
  border-radius: 0;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder { color: #b0a79c; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--ink); }

.field-error { display: none; color: #9d3328; font-size: 12.5px; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #b8463a; }
.field.invalid .field-error { display: block; }

.field.consent { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 30px; }
.field.consent input { width: 17px; height: 17px; flex: none; margin: 3px 0 0; accent-color: var(--ink); }
.field.consent label { color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.55; }
.field.consent.invalid label { color: #9d3328; }
.field.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.form-status { min-height: 1em; margin-top: 14px; font-size: 13.5px; }
.form-status.error { color: #9d3328; }
.form-status.success { color: #2b6a43; }

/* ---------- WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #ffffff;
  background: #1f8a4f;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-2px); }
.whatsapp-float svg { width: 26px; height: 26px; }

/* ---------- Rodapé ---------- */

.footer {
  padding: 80px 0 30px;
  color: #a59c92;
  background: var(--dark);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr 1fr;
  gap: 50px;
}
.footer-grid > * { display: flex; flex-direction: column; gap: 10px; }
.footer-brand img { width: 130px; height: auto; }
.footer-grid strong {
  margin-bottom: 6px;
  color: #f4efe7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-grid a { width: fit-content; transition: color 0.2s; }
.footer-grid a:hover { color: #f4efe7; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: #7f766d;
}

/* ---------- Entrada suave ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js .reveal.visible { opacity: 1; transform: none; }
.hero-copy .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero-copy .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero-copy .reveal:nth-child(4) { transition-delay: 0.24s; }
.portrait.reveal { transition-delay: 0.2s; }
.steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.steps .reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 28px 28px;
    font-size: 17px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .nav.open { display: flex; }
  .nav a:not(.nav-cta) { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 20px; text-align: center; }
  .menu-button { display: block; }

  .hero { padding-top: calc(var(--header-h) + 50px); }
  .hero-grid,
  .practice-grid,
  .about-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }

  .portrait { justify-self: start; max-width: 460px; }

  .principles { grid-template-columns: 1fr 1fr; margin-top: 70px; }
  .principles li:nth-child(3) { padding-left: 0; border-left: 0; }
  .principles li:nth-child(-n + 2) { border-bottom: 1px solid var(--rule); }

  .section { padding: 100px 0; }
  .section-head { margin-bottom: 50px; }

  .about-mark { max-width: 360px; }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }

  .faq-intro { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   CELULARES
========================================================= */

@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }

  h1 { font-size: 40px; }
  h2 { font-size: 33px; }
  .lead { font-size: 16.5px; margin-top: 22px; }

  .brand-text strong { font-size: 21px; }
  .brand-text small { font-size: 7.5px; letter-spacing: 0.2em; }

  .hero-actions { gap: 22px; margin-top: 34px; }
  .hero-actions .button { width: 100%; }

  .portrait { max-width: none; }

  .principles { grid-template-columns: 1fr; margin-top: 60px; }
  .principles li,
  .principles li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .principles li:last-child { border-bottom: 0; }

  .section { padding: 80px 0; }

  .practice-grid { gap: 56px; }
  .practice-list a { padding: 20px 32px 20px 0; }

  .about-mark { max-width: 260px; }
  .values { grid-template-columns: 1fr; gap: 22px; }

  .steps { grid-template-columns: 1fr; row-gap: 36px; }

  .accordion summary { font-size: 16px; padding-right: 40px; }

  .contact-form { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-details > div { grid-template-columns: 100px 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; padding-bottom: 60px; }

  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* =========================================================
   ARTIGOS — chamada na página inicial
========================================================= */

.articles-home { border-top: 1px solid var(--rule); }

.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}
.section-head.split > div { max-width: 640px; }
.section-head.split .link { flex: none; }

.article-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.article-card {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}
.article-meta {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
  line-height: 1.2;
}
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-card p:not(.article-meta) { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* =========================================================
   PÁGINAS DE ARTIGO
========================================================= */

.page { padding: calc(var(--header-h) + 70px) 0 110px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--rule); }

.article-header { max-width: 780px; margin-bottom: 56px; }
.article-header h1 { font-size: clamp(38px, 4.4vw, 58px); }
.article-header .lead { max-width: 680px; }

.byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
}
.byline img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
  background: #000;
}
.byline strong { display: block; color: var(--ink); font-weight: 500; }
.byline span { color: var(--muted); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 700px) 1fr;
  gap: 90px;
  align-items: start;
}

.prose { font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  margin-top: 56px;
  font-size: 32px;
  line-height: 1.15;
}
.prose h3 { margin-top: 36px; font-size: 24px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .callout {
  padding: 26px 30px;
  background: var(--paper-2);
  border-left: 2px solid var(--gold);
  font-size: 16px;
}
.prose .disclaimer {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}

.article-aside { position: sticky; top: 120px; }
.aside-box {
  padding: 32px;
  color: #c9c0b6;
  background: var(--dark);
}
.aside-box h2 {
  margin-bottom: 12px;
  color: #f4efe7;
  font-size: 26px;
}
.aside-box p { margin-bottom: 24px; font-size: 14.5px; line-height: 1.6; }
.aside-box .button { width: 100%; color: var(--ink); background: #f4efe7; }
.aside-box .button:hover { background: #ffffff; }

.toc { margin-top: 32px; font-size: 14px; }
.toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.toc li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--ink); }

/* Lista de artigos (artigos/index.html) */
.articles-list { max-width: 820px; border-top: 1px solid var(--ink); }
.articles-list .article-card {
  padding: 34px 0;
  border-top: 0;
  border-bottom: 1px solid var(--rule);
}
.articles-list .article-card h3 { font-size: 30px; }

@media (max-width: 960px) {
  .article-cards { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 60px; }
  .article-aside { position: static; }
}

@media (max-width: 600px) {
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 24px; }
  .article-cards { grid-template-columns: 1fr; gap: 32px; }
  .page { padding-top: calc(var(--header-h) + 40px); }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 28px; }
  .aside-box { padding: 26px 22px; }
}

/* =========================================================
   PÁGINAS DE ÁREAS DE ATUAÇÃO
========================================================= */

.service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 34px;
}
.service-note,
.hero-note {
  color: var(--muted);
  font-size: 13.5px;
}
.hero-note { margin-top: 18px; }

.prose .mini-steps { padding-left: 0; list-style: none; counter-reset: passo; }
.prose .mini-steps li {
  position: relative;
  padding: 18px 0 18px 54px;
  border-bottom: 1px solid var(--rule);
  counter-increment: passo;
}
.prose .mini-steps li + li { margin-top: 0; }
.prose .mini-steps li::before {
  content: "0" counter(passo);
  position: absolute;
  left: 0;
  top: 19px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.prose .mini-steps strong { display: block; color: var(--ink); }
.prose .mini-steps span { display: block; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

.prose .accordion summary { font-size: 16.5px; }
.prose .accordion details p { margin-top: -8px; font-size: 15.5px; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   MENU SUSPENSO DE ÁREAS
========================================================= */

.has-menu { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -24px;
  z-index: 60;
  display: grid;
  min-width: 270px;
  padding: 12px 0;
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: 0 18px 40px rgba(27, 24, 21, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.submenu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}
.has-menu:hover .submenu,
.has-menu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav .submenu a {
  padding: 9px 24px;
  color: var(--ink-2);
  font-size: 14px;
  white-space: nowrap;
}
.nav .submenu a::after { display: none; }
.nav .submenu a:hover { color: var(--ink); background: var(--paper); }
.has-menu > a::before {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.has-menu { margin-right: 10px; }

/* =========================================================
   TABELAS NOS ARTIGOS
========================================================= */

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); }
.prose table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.45;
  background: var(--white);
}
.prose th,
.prose td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.prose thead th {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--paper-2);
}
.prose tbody td:first-child { color: var(--ink); font-weight: 500; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose .table-note { margin-top: 10px; color: var(--muted); font-size: 13.5px; }

@media (max-width: 960px) {
  .has-menu { margin-right: 0; }
  .has-menu > a { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .has-menu > a::before { display: none; }
  .submenu {
    position: static;
    min-width: 0;
    padding: 4px 0 10px 16px;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .submenu::before { display: none; }
  .nav .submenu a { padding: 8px 0; font-size: 15px; color: var(--muted); border-bottom: 0; }
  .nav .submenu a:hover { background: none; }
}

/* =========================================================
   PÁGINA INICIAL — "COMO PODEMOS AJUDAR?" (cartões)
========================================================= */

.help-head { max-width: 720px; margin-bottom: 40px; }
.help-head h2 { display: flex; align-items: center; }
.help-head > p { margin-top: 14px; color: var(--muted); }
.help-mark {
  flex: none;
  width: 0;
  height: 0;
  margin-right: 16px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--gold);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.help-card {
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 30px 30px 24px;
  color: #f4efe7;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(27, 24, 21, 0.18);
}
.help-card h3 {
  margin-bottom: 10px;
  color: inherit;
  font-size: 29px;
  line-height: 1.1;
}
.help-card p { font-size: 15px; line-height: 1.55; opacity: 0.85; }

.help-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.help-more svg { width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.help-card:hover .help-more svg,
.business-card:hover .help-more svg { transform: translateX(5px); }

.help-card.c1 { background: #1b1815; }
.help-card.c2 { background: #a47a2c; color: #fffdf9; }
.help-card.c3 { background: #4a3a2c; }
.help-card.c4 { background: #dcc89f; color: var(--ink); }
.help-card.c5 { background: var(--white); color: var(--ink); border: 1px solid var(--rule); }
.help-card.c6 { background: #6b5340; }

.business-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: center;
  gap: 40px;
  margin-top: 18px;
  padding: 40px 44px;
  color: #f4efe7;
  background: var(--dark);
  border-left: 3px solid var(--gold);
  transition: box-shadow 0.3s var(--ease);
}
.business-card:hover { box-shadow: 0 22px 44px rgba(27, 24, 21, 0.18); }
.business-card .label { margin-bottom: 12px; color: var(--gold-soft); }
.business-card h3 { color: #f4efe7; font-size: 30px; line-height: 1.15; }
.business-card ul { color: #c9c0b6; font-size: 14.5px; }
.business-card li { padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.business-card li::before { content: "—"; margin-right: 10px; color: var(--gold-soft); }
.business-card .help-more { gap: 14px; margin: 0; padding: 0; color: var(--gold-soft); }

/* ---------- Passo a passo em duas colunas ---------- */

.howto {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: start;
}
.howto-head > p:not(.label) { margin: 18px 0 26px; color: var(--muted); }
.howto-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.howto-steps li:first-child { padding-top: 0; }
.howto-steps span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}
.howto-steps h3 { margin-bottom: 8px; font-size: 25px; line-height: 1.15; }
.howto-steps p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Cartão "Conheça o escritório" ---------- */

.office-section { background: var(--paper-2); }
.office-card {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: 0 30px 60px rgba(27, 24, 21, 0.08);
}
.office-copy { padding: 60px 56px; }
.office-copy > p:not(.label) { margin-top: 22px; color: var(--muted); }
.office-card .values { border-top-color: var(--rule); }
.office-card .values dt { color: var(--gold); }
.office-card .values dd { color: var(--muted); }
.office-mark {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  padding: 48px 32px;
  background: var(--dark);
  text-align: center;
}
.office-mark img { width: 190px; height: auto; }
.office-mark p {
  color: #e9e1d4;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}

@media (max-width: 960px) {
  .help-grid { grid-template-columns: 1fr 1fr; }
  .business-card { grid-template-columns: 1fr; gap: 24px; }
  .howto { grid-template-columns: 1fr; gap: 40px; }
  .office-card { grid-template-columns: 1fr; }
  .office-mark { order: -1; padding: 40px 24px; }
  .office-mark img { width: 150px; }
}

@media (max-width: 600px) {
  .help-grid { grid-template-columns: 1fr; gap: 14px; }
  .help-card { min-height: 0; padding: 26px 24px 22px; }
  .help-card h3 { font-size: 26px; }
  .business-card { padding: 30px 24px; }
  .business-card h3 { font-size: 26px; }
  .office-copy { padding: 36px 24px; }
  .howto-steps li { grid-template-columns: 48px 1fr; }
}

/* =========================================================
   TOPO DA PÁGINA INICIAL (versão inspirada no modelo)
========================================================= */

.hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  font-size: clamp(46px, 5.3vw, 74px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero .lead { max-width: 540px; margin-top: 26px; font-size: 18px; }

.hero-photo { width: 100%; }
.hero-photo-frame {
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background: #000;
  border-radius: 4px;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}
.hero-photo figcaption { margin-top: 14px; font-size: 13.5px; line-height: 1.5; }
.hero-photo figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.hero-photo figcaption span { color: var(--muted); }

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.trust-row strong { color: var(--ink); font-weight: 600; }
.trust-row svg {
  width: 28px;
  height: 28px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-photo { max-width: 560px; }
  .trust-row { grid-template-columns: 1fr 1fr; margin-top: 60px; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 42px; }
  .hero .lead { font-size: 16.5px; }
  .trust-row { grid-template-columns: 1fr; gap: 16px; margin-top: 50px; }
}
