/* =========================================================
   Araripe Diniz Advogados · Advocacia e Consultoria
   BLACK CINEMA PREMIUM — fundo escuro, dourado como acento,
   tipografia cinematográfica. Sóbrio, caro, de impacto.
   ========================================================= */

:root {
  /* base escura (preto cinema, levemente quente) */
  --black:      #0a0a0b;   /* fundo mais profundo */
  --ink-900:    #0e0f11;   /* superfícies */
  --ink-850:    #141518;   /* cartões */
  --ink-800:    #1a1c20;   /* cartões elevados / bordas */
  --line:       #26272c;   /* bordas sutis no escuro */
  --line-soft:  #1d1e22;

  /* texto sobre escuro */
  --text:       #f2efe9;   /* texto principal (off-white quente) */
  --text-soft:  #b9b6ae;   /* secundário */
  --text-faint: #7d7a73;   /* notas */

  /* dourado premium (acento único e protagonista) */
  --gold:       #c9a25f;
  --gold-soft:  #e3c784;
  --gold-deep:  #9a7634;

  --radius:     0;
  --maxw:       1160px;
  --gap:        clamp(4.5rem, 9vw, 8rem);
  /* tipografia oficial do escritório */
  --display:    "Archivo", "Helvetica Neue", Arial, sans-serif;
  --corpo:      "Newsreader", Georgia, "Times New Roman", serif;
  --shadow:     none;
  --ease-soft:  cubic-bezier(.22,.61,.36,1);
  --ease-out:   cubic-bezier(.16,1,.3,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--corpo);
  color: var(--text);
  background: var(--black);
  line-height: 1.7;
  font-weight: 400;
  font-size: clamp(1.02rem, .5vw + .92rem, 1.14rem);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.14; color: var(--text); letter-spacing: -.005em; }
h1 { font-weight: 300; }
a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-soft); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,11,.72);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .4s ease, background .4s ease, border-color .4s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--text); letter-spacing: .01em; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 0;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep));
  color: #0a0a0b;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  letter-spacing: .02em;
  box-shadow: 0 0 0 1px rgba(201,162,95,.25), 0 6px 18px rgba(201,162,95,.12);
}
.brand-dot { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--text-soft); font-size: .95rem; font-weight: 500; letter-spacing: .01em; }
.site-nav a:hover { color: var(--text); }
.site-nav a.active { color: var(--gold); }
.site-nav a.active:not(.nav-cta)::after { content: ""; display: block; height: 2px; background: var(--gold); margin-top: 4px; }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 8px 18px; border-radius: var(--radius); transition: all .2s ease;
}
.nav-cta:hover { background: var(--gold); color: #0a0a0b !important; box-shadow: 0 6px 18px rgba(201,162,95,.2); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .98rem; letter-spacing: .02em;
  transition: transform .25s var(--ease-out), box-shadow .3s ease, background .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer; border: 1px solid transparent;
}
.btn-lg { padding: 17px 38px; font-size: 1.05rem; }
.btn-primary {
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  color: #0a0a0b;
  box-shadow: 0 8px 24px rgba(201,162,95,.18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201,162,95,.3); color: #0a0a0b; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- hero (black cinema) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--black);
  border-bottom: 1px solid var(--line-soft);
  padding: 150px 0 130px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .5;
  transform: scale(1.06);
  filter: grayscale(.25) contrast(1.05) brightness(.7);
}
/* véu escuro cinematográfico: preto na esquerda -> transparência, com vinheta */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 50% 45%, rgba(10,10,11,.35) 30%, rgba(10,10,11,.78) 100%),
    linear-gradient(180deg, rgba(10,10,11,.75) 0%, transparent 28%, transparent 68%, rgba(10,10,11,.9) 100%);
}
@media (max-width: 760px) {
  .hero { padding: 110px 0 92px; }
  .hero-bg::after {
    background:
      radial-gradient(130% 120% at 50% 42%, rgba(10,10,11,.5) 30%, rgba(10,10,11,.85) 100%),
      linear-gradient(180deg, rgba(10,10,11,.6) 0%, transparent 40%, rgba(10,10,11,.9) 100%);
  }
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 860px; margin: 0 auto; }
.eyebrow {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .42em;
  font-size: clamp(.7rem,1.4vw,.82rem); font-weight: 300; color: var(--gold);
  margin-bottom: 26px; text-indent: .42em;
}
.hero h1 {
  margin: 0 0 30px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero-title-main {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: .98; letter-spacing: -0.035em;
  color: var(--text); text-shadow: 0 2px 44px rgba(0,0,0,.75);
}
.hero-title-sub {
  position: relative;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1rem, 2.4vw, 1.7rem); line-height: 1; letter-spacing: .52em; text-indent: .52em;
  text-transform: uppercase; color: var(--gold);
  margin-top: 18px; padding-top: 22px;
}
.hero-title-sub::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero h1 .brand-dot { color: var(--gold); }
.hero-lead { font-size: 1.18rem; color: var(--text-soft); max-width: 620px; margin: 0 auto 40px; line-height: 1.8; }
.hero-lead strong { color: var(--text); font-weight: 600; }

/* Hero title — tratamento específico para mobile/portrait:
   "Araripe" e "Diniz" empilhados, com presença vertical e maior respiro. */
@media (max-width: 560px) {
  .hero-title-main { font-size: clamp(2.6rem, 12.5vw, 3.9rem); line-height: .96; }
  .hero-title-main .htw { display: block; }
  .hero-title-sub { font-size: .86rem; letter-spacing: .38em; text-indent: .38em; margin-top: 18px; padding-top: 18px; }
  .hero-title-sub::before { width: 44px; }
  .hero h1 { gap: 2px; margin-bottom: 24px; }
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- sections ---------- */
.section { padding: var(--gap) 0; }
.section-alt { background: var(--ink-900); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.kicker {
  display: block; text-transform: uppercase; letter-spacing: .28em;
  font-size: .72rem; font-weight: 500; color: var(--gold); margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(1.75rem, 3.1vw, 2.7rem); margin: 0 0 16px; letter-spacing: -.005em; position: relative; display: inline-block; }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: -12px;
  height: 2px; width: 0; border-radius: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: width .9s var(--ease-out) .25s;
}
.section-head.is-visible h2::after { width: 72px; }
.section-sub { font-size: 1.14rem; color: var(--text-soft); margin: 14px 0 0; line-height: 1.75; }

/* ---------- biografia ---------- */
.bio-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.bio-text p { font-size: 1.08rem; color: var(--text-soft); }
.bio-text strong { color: var(--text); font-weight: 600; }
.bio-photo { position: relative; margin: 0 0 20px 34px; float: right; width: 360px; max-width: 50%; opacity: 0; }
.bio-photo img {
  width: 100%; height: auto; display: block; border-radius: 0;
  filter: grayscale(.35) contrast(1.04) brightness(.92);
  box-shadow: 0 30px 70px rgba(0,0,0,.6);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s ease, filter .5s ease;
}
.bio-photo.is-visible { animation: photoPop 1.1s var(--ease-out) forwards; }
@keyframes photoPop { 0% { opacity: 0; transform: translateY(28px) scale(.98); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.bio-photo:hover img { transform: translateY(-4px); filter: grayscale(0) contrast(1.05) brightness(1); box-shadow: 0 40px 90px rgba(0,0,0,.7); }

.timeline {
  background: var(--ink-850); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow);
}
.timeline-title { font-size: 1.05rem; margin: 0 0 20px; color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-family: var(--display); font-weight: 700; }
.timeline ol { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,95,.12); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 16px; width: 1px; bottom: 0; background: var(--line); }
.tl-year { display: block; font-weight: 700; color: var(--text); font-size: .98rem; font-family: var(--corpo); }
.tl-desc { display: block; color: var(--text-soft); font-size: .95rem; }

/* ---------- valores (pain) ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pain {
  background: var(--ink-850); border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .35s ease;
}
.pain[open], .pain:hover { border-color: var(--gold-deep); }
.pain > summary {
  list-style: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 30px 26px; position: relative;
}
.pain > summary::-webkit-details-marker { display: none; }
.pain-num {
  display: inline-block; font-family: var(--corpo); font-size: 1.7rem;
  font-weight: 600; color: var(--gold); line-height: 1;
  padding-bottom: 14px; margin-bottom: 16px; position: relative; letter-spacing: .04em;
}
.pain-num::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--gold); opacity: .55; transition: width .3s ease; }
.pain[open] .pain-num::after { width: 48px; }
.pain h3 { font-size: 1.14rem; margin: 0; color: var(--text); }
/* botão +/− no canto superior direito do summary */
.pain-toggle { position: absolute; top: 30px; right: 24px; width: 16px; height: 16px; }
.pain-toggle::before, .pain-toggle::after {
  content: ""; position: absolute; background: var(--gold); transition: transform .3s var(--ease-out), opacity .3s ease;
}
.pain-toggle::before { top: 7px; left: 0; width: 16px; height: 2px; }
.pain-toggle::after { left: 7px; top: 0; width: 2px; height: 16px; }
.pain[open] .pain-toggle::after { transform: scaleY(0); opacity: 0; }
.pain p {
  margin: 0; padding: 0 26px 28px; color: var(--text-soft); font-size: .95rem; line-height: 1.6;
  animation: painOpen .35s var(--ease-out);
}
@keyframes painOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- atuação (features) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature {
  position: relative; overflow: hidden; background: var(--ink-850); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 38px 36px; box-shadow: var(--shadow); min-height: 230px;
  transition: transform .35s var(--ease-out), box-shadow .35s ease, border-color .35s ease;
}
/* imagem simbólica que aparece no hover (com véu escuro reforçado p/ legibilidade) */
.feature::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(10,10,11,.72) 0%, rgba(10,10,11,.82) 55%, rgba(10,10,11,.92) 100%),
    var(--img);
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.feature > * { position: relative; z-index: 2; }
.feature::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; z-index: 3; background: linear-gradient(180deg, var(--gold-soft), var(--gold-deep)); transform: scaleY(0); transform-origin: top; transition: transform .4s ease; }
.feature:hover { transform: translateY(-4px); border-color: var(--gold); }
.feature:hover::before { transform: scaleY(1); }
.feature:hover::after { opacity: 1; transform: scale(1); }
/* no hover, o texto ganha sombra e mais contraste para ler sobre a imagem */
.feature:hover h3 { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8); }
.feature:hover p { color: #e9e6df; text-shadow: 0 1px 10px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.7); }
.feature:hover .feature-num { color: var(--gold-soft); text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.feature-num { font-family: var(--corpo); font-size: 1.6rem; font-weight: 600; color: var(--gold); display: block; margin-bottom: 12px; }
.feature h3 { font-size: 1.28rem; margin: 0 0 10px; color: var(--text); transition: color .35s ease, text-shadow .35s ease; }
.feature p { margin: 0; color: var(--text-soft); transition: color .35s ease, text-shadow .35s ease; }

/* ---------- equipe ---------- */
.team-group-title {
  font-family: var(--display); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em; color: var(--gold);
  margin: 0 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.team-group-title + .team-grid { margin-bottom: 48px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.member {
  position: relative; background: var(--ink-850); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 32px;
  display: flex; align-items: flex-start; gap: 22px;
  transition: transform .35s var(--ease-out), border-color .35s ease, box-shadow .35s ease;
}
.member:hover { transform: translateY(-3px); border-color: var(--gold); }
.member-mono {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; margin-top: 2px;
  border-radius: 0; border: 1px solid var(--gold-deep); color: var(--gold);
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; letter-spacing: .02em;
  background: radial-gradient(circle at 30% 30%, rgba(201,162,95,.12), transparent 70%);
}
.member h4 { margin: 0 0 4px; font-size: 1.14rem; color: var(--text); line-height: 1.2; }
.member-body { min-width: 0; }
.member h4 { margin: 0 0 6px; font-size: 1.14rem; color: var(--text); line-height: 1.25; }
.member-role { margin: 0 0 10px; color: var(--gold); font-size: .82rem; font-family: var(--display); letter-spacing: .04em; }
.member-bio { margin: 0; color: var(--text-soft); font-size: .94rem; line-height: 1.6; }
.member p { margin: 0; color: var(--text-soft); font-size: .92rem; }
.member-social {
  list-style: none; margin: 14px 0 0; padding: 0;
  display: flex; align-items: center; gap: 10px;
}
.member-social a {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--text-soft);
  transition: color .3s ease, border-color .3s ease, background .3s ease, transform .3s ease;
}
.member-social a:hover {
  color: var(--black); border-color: var(--gold);
  background: var(--gold); transform: translateY(-2px);
}

/* ---------- cta / contato ---------- */
.cta { background: radial-gradient(120% 140% at 50% 0%, var(--ink-900) 0%, var(--black) 70%); border-top: 1px solid var(--line-soft); }
.cta-inner { max-width: 700px; text-align: center; }
.cta h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0 0 16px; }
.cta p { font-size: 1.14rem; color: var(--text-soft); margin: 0 0 20px; }
.cta-note { font-size: .95rem; color: var(--text-faint); margin: 22px auto 0; }
.cta-note a { color: var(--gold); font-weight: 600; }
.cta-note a:hover { color: var(--gold-soft); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-intro .kicker { margin-bottom: 14px; }
.contact-intro h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 0 0 18px; }
.contact-intro p { color: var(--text-soft); font-size: 1.1rem; }
.contact-disclaimer { font-size: .88rem; color: var(--text-faint); border-left: 2px solid var(--line); padding-left: 14px; margin-top: 22px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-k { display: block; font-family: var(--display); font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); margin-bottom: 6px; }
.contact-v { display: block; color: var(--text); font-size: 1.08rem; }
a.contact-v:hover { color: var(--gold); }
.contact-cta-row { border-bottom: none !important; padding-top: 26px !important; }
.contact-cta-row .btn { width: 100%; }

/* mapa */
.contact-map { margin: 44px auto 0; max-width: 760px; border: 1px solid var(--line); }
.contact-map iframe {
  display: block; width: 100%; height: 260px; border: 0;
  filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg);
}
.map-link {
  display: block; text-align: center; padding: 16px;
  font-family: var(--display); font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  border-top: 1px solid var(--line); background: var(--ink-900);
  transition: background .2s ease, color .2s ease;
}
.map-link:hover { background: var(--ink-850); color: var(--gold-soft); }

/* WhatsApp flutuante */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(20,21,24,.7); color: var(--text-soft);
  border: 1px solid var(--line); backdrop-filter: blur(6px);
  opacity: .6; transition: opacity .25s ease, color .25s ease, border-color .25s ease, transform .2s var(--ease-out);
}
.wa-fab svg { width: 22px; height: 22px; }
.wa-fab:hover { opacity: 1; color: #25d366; border-color: var(--gold-deep); transform: translateY(-2px); }
@media (max-width: 640px) { .wa-fab { right: 14px; bottom: 14px; width: 44px; height: 44px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: var(--text-soft); padding: 52px 0; border-top: 1px solid var(--line-soft); }
.footer-inner { text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.25rem; color: var(--text); margin-bottom: 10px; }
.footer-brand .brand-mark { background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep)); color: #0a0a0b; }
.footer-tagline { color: var(--text-soft); margin: 0 0 14px; font-size: .95rem; letter-spacing: .02em; }
.footer-legal { color: var(--text-faint); font-size: .82rem; margin: 0; }

/* ---------- responsivo ---------- */
@media (max-width: 920px) {
  .bio-grid { grid-template-columns: 1fr; gap: 36px; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid, .feature-grid-3 { grid-template-columns: 1fr 1fr; }
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .stat:nth-child(2)::after { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .bio-photo { float: none; width: 100%; max-width: 280px; margin: 0 auto 20px; }
  .hero { padding: 78px 0 64px; }
  .section { padding: 72px 0; }
  .pain-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-grid, .feature-grid-3 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat::after { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }

  /* O escritório — layout mobile: imagem como banner no topo, texto abaixo */
  .split-grid { gap: 28px; }
  .split-media { order: -1; }
  .split-media img { aspect-ratio: 16 / 10; object-fit: cover; }
  .split-text h2 { font-size: clamp(1.7rem, 7vw, 2.1rem); margin-bottom: 18px; }
  .split-text h2 br { display: none; }
  .split-text p { font-size: 1rem; }
  .split-signoff { margin: 20px 0 24px; }
  .split-text .btn { width: 100%; }

  /* Valores — accordion compacto empilhado */
  .pain > summary { padding: 20px 22px; flex-direction: row; align-items: center; gap: 16px; }
  .pain-num { padding-bottom: 0; margin-bottom: 0; font-size: 1.3rem; }
  .pain-num::after { display: none; }
  .pain h3 { font-size: 1.05rem; }
  .pain-toggle { top: 50%; right: 20px; transform: translateY(-50%); }
  .pain p { padding: 0 22px 22px; }
}

/* =========================================================
   ANIMAÇÕES PREMIUM
   ========================================================= */

/* Barra de progresso de rolagem (dourada) */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
  z-index: 100; transition: width .1s linear;
  box-shadow: 0 0 12px rgba(201,162,95,.6);
}

.site-header.scrolled {
  box-shadow: 0 10px 40px rgba(0,0,0,.55);
  background: rgba(10,10,11,.9);
  border-color: var(--line);
}

/* Entrada do hero (cinematográfica) */
.hero .eyebrow, .hero h1, .hero .hero-lead, .hero .hero-actions {
  opacity: 0; transform: translateY(22px);
  animation: heroIn 1.1s var(--ease-out) forwards;
}
.hero .eyebrow { animation-delay: .1s; }
.hero h1 { animation-delay: .24s; }
.hero .hero-lead { animation-delay: .42s; }
.hero .hero-actions { animation-delay: .58s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .00s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .36s; }

/* Timeline em cascata */
.timeline.is-visible li { animation: tlIn .75s var(--ease-out) both; }
.timeline.is-visible li:nth-child(1) { animation-delay: .05s; }
.timeline.is-visible li:nth-child(2) { animation-delay: .18s; }
.timeline.is-visible li:nth-child(3) { animation-delay: .31s; }
.timeline.is-visible li:nth-child(4) { animation-delay: .44s; }
@keyframes tlIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }

/* Grão de filme sutil sobre a página escura */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .03; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .hero .eyebrow, .hero h1, .hero .hero-lead, .hero .hero-actions { opacity: 1 !important; transform: none !important; }
  .scroll-progress { display: none; }
}

/* =========================================================
   STATS BAND — números do escritório (faixa dourada sutil)
   ========================================================= */
.stats-band {
  background: linear-gradient(180deg, var(--ink-900), var(--black));
  border-bottom: 1px solid var(--line-soft);
  padding: 46px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; position: relative; padding: 6px 12px; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 18%; height: 64%;
  width: 1px; background: var(--line);
}
.stat-num {
  display: block; font-family: var(--corpo); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--gold);
  letter-spacing: .01em; margin-bottom: 10px;
}
.stat-sup { font-size: .6em; vertical-align: super; color: var(--gold-soft); }
.stat-label { display: block; font-size: .86rem; color: var(--text-soft); letter-spacing: .04em; text-transform: uppercase; }

/* =========================================================
   SPLIT — imagem + texto (seção do escritório)
   ========================================================= */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; margin: 0; }
.split-media img {
  width: 100%; height: auto; display: block; border-radius: 0;
  filter: contrast(1.06) brightness(.94);
}

/* painel simbólico (sem foto fictícia) */
.office-emblem {
  aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 100% at 50% 20%, rgba(201,162,95,.08), transparent 60%),
    linear-gradient(160deg, var(--ink-850), var(--black));
  border: 1px solid var(--line);
}
.emblem-inner { text-align: center; display: grid; justify-items: center; gap: 22px; padding: 24px; }
.emblem-mono {
  font-family: var(--display); font-weight: 300; font-size: clamp(3.4rem, 8vw, 5.6rem);
  letter-spacing: .14em; text-indent: .14em; color: var(--gold);
  line-height: 1;
}
.emblem-rule { width: 54px; height: 1px; background: var(--gold-deep); }
.emblem-name {
  font-family: var(--display); font-weight: 300; text-transform: uppercase;
  letter-spacing: .34em; text-indent: .34em; font-size: clamp(.78rem, 1.6vw, .95rem);
  color: var(--text-soft); line-height: 1.9;
}
.split-caption {
  position: absolute; left: 0; bottom: 18px;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); background: rgba(10,10,11,.6); backdrop-filter: blur(4px);
  padding: 8px 16px; border-left: 2px solid var(--gold);
}
.split-text .kicker { margin-bottom: 14px; }
.split-text h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 0 0 22px; }
.split-text p { color: var(--text-soft); font-size: 1.08rem; }
.split-text strong { color: var(--text); font-weight: 600; }
.split-signoff { border-left: 2px solid var(--gold-deep); padding-left: 18px; margin: 24px 0 28px; color: var(--text); font-style: italic; }

/* =========================================================
   STEPS — método / processo (4 passos)
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step {
  position: relative; padding: 34px 28px 34px 0;
  border-top: 1px solid var(--line);
}
.step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 46px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.step-num {
  display: block; font-family: var(--corpo); font-weight: 600;
  font-size: 2.2rem; color: var(--gold); line-height: 1; margin-bottom: 16px;
  opacity: .9;
}
.step h3 { font-size: 1.14rem; margin: 0 0 8px; color: var(--text); }
.step p { margin: 0; color: var(--text-soft); font-size: .95rem; padding-right: 10px; }

/* =========================================================
   FAIXA VISUAL — balança da justiça (black cinema)
   ========================================================= */
.justice-band {
  position: relative; overflow: hidden;
  background: var(--black);
  padding: 140px 0 120px;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.justice-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.justice-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .5;
  transform: scale(1.06);
  filter: grayscale(.25) contrast(1.05) brightness(.7);
}
/* véu escuro cinematográfico sobre o vídeo */
.justice-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 120% at 50% 45%, rgba(10,10,11,.35) 30%, rgba(10,10,11,.8) 100%),
    linear-gradient(180deg, rgba(10,10,11,.8) 0%, transparent 30%, transparent 66%, rgba(10,10,11,.92) 100%);
}
.justice-inner {
  position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto;
}
.justice-inner .kicker { margin: 0 0 24px; }
.justice-quote {
  font-family: var(--display); font-style: normal; font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2.35rem); line-height: 1.45; letter-spacing: -.005em;
  color: var(--text); margin: 0;
}
@media (max-width: 760px) {
  .justice-band { padding: 96px 0 84px; }
  .justice-bg::after {
    background:
      radial-gradient(130% 120% at 50% 42%, rgba(10,10,11,.5) 30%, rgba(10,10,11,.85) 100%),
      linear-gradient(180deg, rgba(10,10,11,.7) 0%, transparent 42%, rgba(10,10,11,.92) 100%);
  }
}

/* Reduced motion: usa poster escuro */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-bg { background: #0a0a0b url("media/hero-poster.jpg") center / cover no-repeat; }
  .justice-video { display: none; }
  .justice-bg { background: #0a0a0b url("media/justice-band.jpg") center / cover no-repeat; }
}

/* =========================================================
   FOTOS DOS SÓCIOS (cards de equipe)
   ========================================================= */
.member-photo {
  flex: none; width: 76px; height: 76px; margin-top: 2px;
  object-fit: cover; object-position: center top;
  border-radius: 0; border: 1px solid var(--gold-deep);
  filter: grayscale(.4) contrast(1.05) brightness(.95);
  transition: filter .4s ease, border-color .4s ease, transform .4s var(--ease-out);
}
.member-has-photo:hover .member-photo {
  filter: grayscale(0) contrast(1.05) brightness(1);
  border-color: var(--gold); transform: translateY(-2px);
}

/* =========================================================
   OVERRIDES MOBILE FINAIS
   (ficam no fim do arquivo para vencer a cascata das
    definições base de .split-grid / .split-media)
   ========================================================= */
@media (max-width: 920px) {
  /* O escritório — layout single column: imagem vira banner no topo */
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-media { order: -1; margin: 0; }
  .split-media img {
    width: 100%; height: auto; aspect-ratio: 16 / 9;
    object-fit: cover; object-position: center;
  }
}
@media (max-width: 640px) {
  /* O escritório — ajustes finos no celular */
  .split-grid { gap: 26px; }
  .split-media img { aspect-ratio: 16 / 10; }
  .split-text h2 { font-size: clamp(1.7rem, 7vw, 2.1rem); margin-bottom: 18px; }
  .split-text h2 br { display: none; }
  .split-text p { font-size: 1rem; }
  .split-text .btn { width: 100%; }

  /* cards de equipe com foto um pouco maiores no mobile */
  .member-photo { width: 84px; height: 84px; }
}
