/* ==========================================================================
   Seções — "A leitura dos autos"
   ========================================================================== */

/* ---------- Estados iniciais da coreografia (só existem com a classe .motion) ---------- */
.motion .hero h1 .line > span,
.motion .page-hero h1 .line > span { transform: translateY(110%); }
.motion .hero [data-intro],
.motion .page-hero [data-intro] { opacity: 0; }
.motion .hero__media { --lr: 0%; }

/* ---------- HERO (início) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  background: var(--navy-950); color: var(--on-dark);
  padding: calc(var(--header-h) + 48px) 0 96px;
}
.hero__media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 54%; overflow: hidden;
  --lx: 58%; --ly: 30%; --lr: 70%;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
/* A "luz de leitura": escurece tudo fora do foco de luz */
.hero__light {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--lx) var(--ly), rgba(10, 15, 29, 0) 0, rgba(10, 15, 29, 0.05) calc(var(--lr) * 0.35), rgba(10, 15, 29, 0.78) var(--lr));
}
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--navy-950) 0%, rgba(10, 15, 29, 0.6) 22%, rgba(10, 15, 29, 0) 52%),
    linear-gradient(0deg, var(--navy-950) 0%, rgba(10, 15, 29, 0) 30%);
}
.hero__caption {
  position: absolute; right: var(--gutter); bottom: 120px; z-index: 2; max-width: 210px;
  padding-left: 16px; border-left: 1px solid var(--gold);
  font-size: 0.8rem; line-height: 1.55; color: var(--on-dark);
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 700px; }
.hero__content .eyebrow { margin-bottom: 28px; }
.hero h1 { font-size: clamp(2.4rem, 1.3rem + 3.3vw, 4.1rem); line-height: 1.04; }
.hero__lead { margin-top: 28px; max-width: 520px; color: var(--on-dark-soft); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.hero__note { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--on-dark-soft); }
.hero__note::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); flex: none; }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 32px; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-soft);
}
.hero__scroll i { display: block; width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); }

@media (min-width: 1500px) { .hero__media { width: 50%; } }
@media (max-width: 900px) {
  .hero { align-items: flex-end; padding-bottom: 72px; }
  .hero__media { width: 100%; }
  .hero__media img { object-position: 64% 0; }
  .hero__media::after {
    background: linear-gradient(0deg, var(--navy-950) 0%, rgba(10, 15, 29, 0.92) 38%, rgba(10, 15, 29, 0.25) 70%, rgba(10, 15, 29, 0.35) 100%);
  }
  .hero__caption, .hero__scroll { display: none; }
  .hero__content { padding-top: 34vh; }
}

/* ---------- HERO de páginas internas ---------- */
.page-hero { background: var(--navy-950); color: var(--on-dark); padding: calc(var(--header-h) + 56px) 0 0; position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-hero__text { padding-bottom: clamp(64px, 9vw, 128px); }
.page-hero .breadcrumb { margin-bottom: 40px; }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem); }
.page-hero__lead { margin-top: 26px; max-width: 560px; color: var(--on-dark-soft); }
.page-hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
.page-hero__media { position: relative; align-self: stretch; min-height: 420px; }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy-950) 0%, rgba(10, 15, 29, 0) 35%), linear-gradient(90deg, var(--navy-950) 0%, rgba(10, 15, 29, 0) 25%); }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { min-height: 360px; order: -1; margin-inline: calc(var(--gutter) * -1); }
  .page-hero__media::after { background: linear-gradient(0deg, var(--navy-950) 0%, rgba(10, 15, 29, 0) 55%); }
  .page-hero__text { padding-bottom: 72px; margin-top: -60px; position: relative; }
}

/* ---------- Identidade (frase de entidade — GEO) ---------- */
.identity { padding: 30px 0; border-block: 1px solid var(--line-dark); background: var(--navy-900); }
.identity p { font-size: 0.9rem; color: var(--on-dark-soft); max-width: 900px; }
.identity strong { color: var(--on-dark); font-weight: 500; }

/* ---------- MANIFESTO ---------- */
.manifesto { padding-block: clamp(110px, 15vw, 220px); }
.manifesto__grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.manifesto__grid > .eyebrow { margin-top: 0.9em; }
.manifesto__text { font-size: clamp(1.8rem, 1.1rem + 3vw, 3.6rem); font-weight: 500; line-height: 1.16; letter-spacing: -0.025em; max-width: 19ch; }
.motion .manifesto__text .w { opacity: 0.16; }
.manifesto__text em { font-style: normal; color: var(--gold-ink); }
.manifesto__body { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; color: var(--ink-soft); }
.manifesto__rule { position: relative; height: 1px; background: var(--line-light); margin-top: 40px; max-width: 900px; overflow: hidden; }
.manifesto__rule span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(1); }
.motion .manifesto__rule span { transform: scaleX(0); }
@media (min-width: 901px) {
  .manifesto { padding-block: 0; }
  .manifesto__pin { min-height: 100vh; display: flex; align-items: center; padding-block: 120px; }
  .manifesto__pin > .container { width: 100%; }
}
@media (max-width: 900px) {
  .manifesto__grid { grid-template-columns: 1fr; gap: 28px; }
  .manifesto__body { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- ÁREAS (índice numerado) ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head p { color: var(--on-dark-soft); max-width: 460px; }
.on-light .section-head p, .on-light-2 .section-head p { color: var(--ink-soft); }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

.areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.area { border-bottom: 1px solid var(--line-dark); position: relative; }
.area::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease-out); }
.area a { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.25fr) 40px; gap: 24px 40px; padding: 40px 0; align-items: start; }
.area__num { font-size: 0.75rem; letter-spacing: 0.14em; color: var(--gold-light); padding-top: 8px; }
.area__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; transition: color 0.3s ease; }
.area__desc { color: var(--on-dark-soft); font-size: 0.95rem; }
.area__tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.8rem; color: var(--on-dark); }
.area__tags li { display: inline-flex; align-items: center; gap: 8px; }
.area__tags li::before { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.area__go { width: 40px; height: 40px; border: 1px solid var(--line-dark); display: grid; place-items: center; border-radius: 50%; transition: background 0.35s ease, border-color 0.35s ease, transform 0.5s var(--ease-out); }
.area__go svg { width: 14px; height: 14px; }
.area:hover::after, .area:focus-within::after { transform: scaleX(1); }
.area:hover .area__title { color: var(--gold-light); }
.area:hover .area__go { background: var(--gold); border-color: var(--gold); color: var(--navy-950); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .area a { grid-template-columns: 36px minmax(0, 1fr) 40px; gap: 14px 16px; padding: 30px 0; }
  .area__title { grid-column: 2; grid-row: 1; align-self: center; }
  .area__go { grid-column: 3; grid-row: 1; }
  .area a > div { grid-column: 2 / 4; }
}

/* ---------- MÉTODO (Técnica, Análise, Estratégia, Discrição) ---------- */
.method__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.method__media { position: sticky; top: calc(var(--header-h) + 32px); }
.method__media figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.method__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.method__media figcaption { margin-top: 14px; font-size: 0.78rem; color: var(--ink-soft); }
.method__intro { margin-bottom: 56px; }
.method__intro h2 { margin-top: 22px; }
.method__intro p { margin-top: 22px; color: var(--ink-soft); max-width: 520px; }
.pillars { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.pillar { padding: 36px 0 36px 32px; border-top: 1px solid var(--line-light); position: relative; }
.pillar::before { content: ""; position: absolute; left: 0; top: 46px; width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--gold-ink); transition: background 0.4s ease; }
.pillar.is-active::before { background: var(--gold-ink); }
.pillar h3 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; }
.pillar p { margin-top: 10px; color: var(--ink-soft); max-width: 460px; }
/* Tarja de sigilo — Discrição */
.redact { position: relative; display: inline; }
.redact::after { content: ""; position: absolute; left: -2px; right: -2px; top: 0.12em; bottom: 0.08em; background: var(--ink); transform: scaleX(var(--r, 0)); transform-origin: right; }
@media (max-width: 900px) {
  .method__grid { grid-template-columns: 1fr; }
  .method__media { position: relative; top: 0; }
  .method__media figure { aspect-ratio: 4 / 3; }
}

/* ---------- O ADVOGADO (teaser) ---------- */
.lawyer__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.lawyer__media { position: relative; }
.lawyer__media figure { aspect-ratio: 4 / 5; overflow: hidden; }
.lawyer__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.lawyer__name { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); margin-top: 20px; }
.oab-stamp {
  display: inline-flex; align-items: stretch; margin-top: 28px; border: 1px solid var(--gold);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.oab-stamp span { padding: 10px 14px; }
.oab-stamp span + span { border-left: 1px solid var(--gold); color: var(--gold-light); font-weight: 500; }
.lawyer__text { margin-top: 32px; color: var(--on-dark-soft); max-width: 560px; }
.lawyer__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
@media (max-width: 900px) { .lawyer__grid { grid-template-columns: 1fr; } .lawyer__media figure { aspect-ratio: 1 / 1; } }

/* ---------- Frase de pausa ---------- */
.statement { padding-block: clamp(96px, 13vw, 200px); text-align: left; }
.statement p { font-size: clamp(1.9rem, 1.1rem + 3.4vw, 4rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; max-width: 18ch; }
.statement p em { font-style: normal; color: var(--gold-light); }
.statement .fio { margin-top: 48px; }

/* ---------- FAQ wrapper ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-wrap__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-wrap__head h2 { margin-top: 22px; }
.faq-wrap__head p { margin-top: 22px; color: var(--ink-soft); max-width: 380px; }
.on-dark .faq-wrap__head p { color: var(--on-dark-soft); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap__head { position: static; } }

/* ---------- CONTATO ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact__head h2 { margin-top: 22px; }
.contact__head > p { margin-top: 22px; color: var(--on-dark-soft); max-width: 460px; }
.contact__list { margin-top: 48px; display: grid; border-top: 1px solid var(--line-dark); }
.contact__item { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.95rem; }
.contact__item dt { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); padding-top: 4px; }
.contact__item dd a:hover { color: var(--gold-light); }
.contact__panel { background: var(--navy-800); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line-dark); }
.contact__panel h3 { font-size: 1.35rem; font-weight: 500; }
.contact__panel > p { margin: 10px 0 32px; font-size: 0.9rem; color: var(--on-dark-soft); }
.contact__map { margin-top: 32px; aspect-ratio: 16 / 9; border: 1px solid var(--line-dark); background: var(--navy-800); overflow: hidden; position: relative; }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) hue-rotate(180deg) contrast(0.9); }
.contact__map button { position: absolute; inset: 0; width: 100%; background: var(--navy-800); border: 0; color: var(--on-dark-soft); cursor: pointer; font-size: 0.85rem; display: grid; place-items: center; gap: 6px; }
.contact__map button:hover { color: var(--gold-light); }
.contact__gmb { margin-top: 18px; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact__item { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Páginas de área: situações ---------- */
.situations__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.situations__head { position: sticky; top: calc(var(--header-h) + 32px); }
.situations__head h2 { margin-top: 22px; }
.situations__head p { margin-top: 22px; color: var(--ink-soft); }
.situations { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.situations li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 32px 0; border-bottom: 1px solid var(--line-light); }
.situations .n { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--gold-ink); padding-top: 6px; font-weight: 500; }
.situations h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.situations p { margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .situations__grid { grid-template-columns: 1fr; } .situations__head { position: static; } }

/* ---------- Etapas ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--line-dark); }
.step { position: relative; padding-top: 40px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; transform: rotate(45deg); background: var(--gold); }
.step .n { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--gold-light); }
.step h3 { margin-top: 12px; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.step p { margin-top: 10px; font-size: 0.92rem; color: var(--on-dark-soft); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; gap: 48px 32px; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Outras áreas ---------- */
.related { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.related li + li { border-left: 1px solid var(--line-dark); }
.related a { display: block; padding: 32px 28px 32px 0; transition: color 0.3s; }
.related li + li a { padding-left: 28px; }
.related small { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.related strong { font-size: 1.15rem; font-weight: 500; }
.related a:hover strong { color: var(--gold-light); }
@media (max-width: 800px) {
  .related { grid-template-columns: 1fr; }
  .related li + li { border-left: 0; border-top: 1px solid var(--line-dark); }
  .related li + li a { padding-left: 0; }
}

/* ---------- Texto longo (sobre / privacidade) ---------- */
.longform { max-width: 760px; }
.longform h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); margin: 56px 0 18px; }
.longform h2:first-child { margin-top: 0; }
.longform p, .longform li { color: var(--ink-soft); }
.longform ul { padding-left: 20px; display: grid; gap: 8px; margin-top: 12px; }
.longform p + p { margin-top: 1em; }
.longform a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.values li { padding: 32px 28px 32px 0; }
.values li + li { padding-left: 28px; border-left: 1px solid var(--line-light); }
.values h3 { font-size: 1.3rem; font-weight: 500; }
.values p { margin-top: 10px; font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .values { grid-template-columns: 1fr 1fr; }
  .values li:nth-child(3) { border-left: 0; padding-left: 0; }
  .values li { border-bottom: 1px solid var(--line-light); }
}
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .values li + li { border-left: 0; padding-left: 0; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.notfound .fio { margin: 32px auto; }
