/* =========================================================
   Hugo Gueiros Bernardes Filho · Advocacia e Consultoria
   Visual sóbrio e premium, adequado ao meio jurídico.
   ========================================================= */

:root {
  --ink:        #15181c;   /* texto principal (mais profundo p/ contraste cinematográfico) */
  --ink-soft:   #51575f;   /* texto secundário */
  --ink-faint:  #8a909a;   /* notas */
  --paper:      #ffffff;
  --paper-alt:  #f7f5f1;   /* off-white clean e quente */
  --line:       #ebe8e1;   /* bordas sutis e claras */
  --navy:       #1c3a5e;   /* azul institucional profundo */
  --navy-deep:  #142b45;
  --gold:       #a67c3d;   /* dourado discreto (acento) */
  --gold-soft:  #c9a25f;
  --radius:     6px;
  --maxw:       1120px;
  --shadow:     0 1px 2px rgba(20,43,69,.05), 0 10px 30px rgba(20,43,69,.05);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: .005em; }
h1 { font-weight: 700; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }
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(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.brand-logo {
  height: 46px; width: auto; display: block;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(20,43,69,.14);
}
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 6px;
  background: var(--navy); color: #fff;
  font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: .95rem;
  letter-spacing: .02em;
}
.brand-dot { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink-soft); font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--navy); }
.site-nav a.active { color: var(--navy); }
.site-nav a.active:not(.nav-cta)::after { content: ""; display: block; height: 2px; background: var(--gold); margin-top: 3px; }
.nav-cta {
  border: 1px solid var(--navy); color: var(--navy) !important;
  padding: 8px 16px; border-radius: var(--radius); transition: all .15s ease;
}
.nav-cta:hover { background: var(--navy); color: #fff !important; }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .2s ease, color .2s ease;
  cursor: pointer; border: 1px solid transparent;
}
.btn::after {
  content: none;
}
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(20,43,69,.14); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20,43,69,.18); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- hero (cinema clean) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fcfbf9 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 128px 0 116px;
}
/* vídeo da biblioteca como fundo cinematográfico, com véu claro (white mode) */
.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 right;
  opacity: .55;
  transform: scale(1.04);
}
/* véu claro que mantém o white mode e a legibilidade (cinematográfico, não escuro) */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #fcfbf9 0%, rgba(252,251,249,.92) 28%, rgba(252,251,249,.5) 58%, rgba(252,251,249,.22) 100%),
    radial-gradient(120% 100% at 50% 0%, transparent 58%, rgba(21,24,28,.07) 100%); /* vinheta sutil */
}
@media (max-width: 760px) {
  .hero { padding: 84px 0 72px; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(252,251,249,.94) 48%, rgba(252,251,249,.6) 100%),
      radial-gradient(120% 100% at 50% 0%, transparent 58%, rgba(21,24,28,.07) 100%);
  }
}
.hero-inner { position: relative; z-index: 1; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .76rem;
  font-weight: 600; color: var(--gold); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); margin: 0 0 24px; letter-spacing: -0.005em; line-height: 1.05; font-weight: 700; }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; margin-bottom: 38px; line-height: 1.7; }
.hero-lead strong { color: var(--ink); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.kicker {
  display: inline-block; text-transform: uppercase; letter-spacing: .16em;
  font-size: .76rem; font-weight: 700; color: var(--gold); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 14px; }
.section-sub { font-size: 1.12rem; color: var(--ink-soft); margin: 0; }

/* ---------- biografia ---------- */
.bio-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.bio-text p { font-size: 1.08rem; color: var(--ink-soft); }
.bio-text strong { color: var(--ink); }
.bio-photo {
  position: relative;
  margin: 0 0 20px 32px; float: right; width: 360px; max-width: 50%;
}
.bio-photo img {
  width: 100%; height: auto; display: block;
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(20,43,69,.14);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
/* entrada sóbria: a foto sobe e se assenta, com serenidade (magistratura) */
.bio-photo { opacity: 0; }
.bio-photo.is-visible { animation: photoPop 1.1s cubic-bezier(.16,1,.3,1) 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(-3px); box-shadow: 0 26px 52px rgba(20,43,69,.18); }

.timeline {
  background: var(--paper); border: none;
  border-radius: 0; padding: 28px 30px; box-shadow: var(--shadow);
}
.timeline-title { font-size: 1.1rem; margin: 0 0 18px; color: var(--navy); }
.timeline ol { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 20px 26px; }
.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);
}
.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(--ink); font-size: .95rem; }
.tl-desc { display: block; color: var(--ink-soft); font-size: .95rem; }

.areas { margin-top: 56px; }
.areas-title { font-size: 1.25rem; margin: 0 0 22px; }
.area-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area-card {
  background: var(--paper); border: none;
  border-radius: 0; padding: 26px; border-top: 3px solid var(--navy);
  box-shadow: var(--shadow);
}
.area-card h4 { margin: 0 0 8px; font-size: 1.05rem; }
.area-card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

.bio-note {
  margin-top: 36px; font-size: .86rem; color: var(--ink-faint);
  border-left: 3px solid var(--line); padding-left: 14px; max-width: 760px;
}

/* ---------- desafio (pain) ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pain {
  background: var(--paper); border: none;
  border-radius: 0; padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.pain:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,43,69,.10); }
.pain-num {
  display: inline-block; font-family: "Cormorant Garamond", serif; font-size: 1.5rem;
  font-weight: 600; color: var(--gold); line-height: 1;
  padding-bottom: 12px; margin-bottom: 14px; position: relative;
  letter-spacing: .04em; transition: color .3s ease;
}
.pain-num::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px; background: var(--gold); opacity: .5;
  transition: width .3s ease;
}
.pain:hover .pain-num { color: var(--navy); }
.pain:hover .pain-num::after { width: 44px; }
.pain h3 { font-size: 1.1rem; margin: 0 0 8px; }
.pain p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- solução (features) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature {
  position: relative; overflow: hidden; background: var(--paper); border: none;
  border-radius: 0; padding: 32px 30px; box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}
.feature::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .35s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(20,43,69,.12); }
.feature:hover::before { transform: scaleY(1); }
.feature-num {
  font-family: "Cormorant Garamond", serif; font-size: 1.4rem; font-weight: 600;
  color: var(--gold); display: block; margin-bottom: 10px;
}
.feature h3 { font-size: 1.2rem; margin: 0 0 10px; }
.feature p { margin: 0; color: var(--ink-soft); }

/* ---------- fases ---------- */
.phases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-bottom: 56px; }
.phase {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.phase-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.phase-tag {
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; color: #fff;
}
.phase-tag-1 { background: var(--navy); }
.phase-tag-2 { background: var(--gold); }
.phase-head h3 { margin: 0; font-size: 1.25rem; }
.phase-list { margin: 0 0 18px; padding: 0; list-style: none; }
.phase-list li { position: relative; padding: 0 0 10px 24px; color: var(--ink-soft); }
.phase-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}
.phase-foot { margin: 0; font-style: italic; color: var(--ink-faint); font-size: .95rem; }

/* ---------- diferenciais ---------- */
.diff {
  background: var(--navy); color: #eaf0f6; border-radius: var(--radius);
  padding: 40px 44px;
}
.diff-title { color: #fff; margin: 0 0 20px; font-size: 1.4rem; }
.diff-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; }
.diff-list li { position: relative; padding-left: 24px; color: #cdd9e6; }
.diff-list li::before {
  content: "\2014"; position: absolute; left: 0; color: var(--gold-soft);
}
.diff-list strong { color: #fff; }

/* ---------- cta ---------- */
.cta { background: linear-gradient(180deg, #fbfaf7 0%, #f1ede4 100%); border-top: 1px solid var(--line); }
.cta-inner { max-width: 680px; text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 16px; }
.cta p { font-size: 1.12rem; color: var(--ink-soft); margin: 0 auto 28px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #c6d2df; padding: 44px 0; }
.footer-inner { text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Cormorant Garamond", serif; font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.footer-brand .brand-mark { background: var(--gold); }
.footer-tagline { color: #9fb1c4; margin: 0 0 14px; font-size: .95rem; }
.footer-legal { color: #7e92a8; font-size: .82rem; margin: 0; }
.footer-source { color: #7e92a8; font-size: .78rem; margin: 10px 0 0; }
.footer-source a { color: #9fb1c4; text-decoration: underline; }
.footer-source a:hover { color: #fff; }

/* ---------- responsivo ---------- */
@media (max-width: 920px) {
  .bio-grid { grid-template-columns: 1fr; gap: 32px; }
  .area-cards { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
  .diff-list { grid-template-columns: 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: 64px 0 56px; }
  .section { padding: 60px 0; }
  .area-cards, .pain-grid { grid-template-columns: 1fr; }
  .diff { padding: 30px 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

/* =========================================================
   ANIMAÇÕES PREMIUM (v2)
   ========================================================= */

:root {
  --ease-soft: cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);
}

/* Barra de progresso de rolagem (dourada) no topo */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  z-index: 100; transition: width .1s linear;
  box-shadow: 0 0 8px rgba(166,124,61,.5);
}

/* Header com transição e leve blur reforçado ao rolar */
.site-header { transition: box-shadow .4s ease, background .4s ease, border-color .4s ease; }
.site-header.scrolled {
  box-shadow: 0 6px 28px rgba(20,43,69,.10);
  background: rgba(255,255,255,.96);
  border-color: #d9d4ca;
}

/* ---------- Entrada do hero (clip-reveal editorial) ---------- */
.hero .eyebrow,
.hero h1,
.hero .hero-lead,
.hero .hero-actions {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translateY(8px);
  animation: heroReveal 1.1s cubic-bezier(.16,1,.3,1) forwards;
}
.hero .eyebrow { animation-delay: .1s; }
.hero .hero-lead { animation-delay: .5s; }
.hero .hero-actions { animation-delay: .68s; }
@keyframes heroReveal {
  to { opacity: 1; clip-path: inset(0 0 -2% 0); transform: translateY(0); }
}

/* Título do hero: tinta sólida; revela em duas linhas com atraso */
.hero h1 {
  color: var(--ink);
  animation: heroReveal 1.2s cubic-bezier(.16,1,.3,1) .3s forwards;
}

/* ---------- Revelação ao rolar (clip-reveal, não o fade-up clichê) ---------- */
.reveal {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), clip-path 1.1s cubic-bezier(.16,1,.3,1);
  will-change: opacity, clip-path;
}
.reveal.is-visible { opacity: 1; clip-path: inset(0 0 -2% 0); }

/* Variações direcionais (revelação lateral por máscara) */
.reveal-left  { clip-path: inset(0 100% 0 0); }
.reveal-right { clip-path: inset(0 0 0 100%); }
.reveal-left.is-visible,
.reveal-right.is-visible { clip-path: inset(0 0 0 0); }

/* ---------- Stagger: cada item revela por máscara, tempos variados ---------- */
.reveal-stagger > * {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translateY(10px);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), clip-path .95s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
  will-change: opacity, clip-path, transform;
}
.reveal-stagger.is-visible > * { opacity: 1; clip-path: inset(0 0 -4% 0); transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .00s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .13s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .22s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .33s; }

/* ---------- Linha dourada sob os títulos ---------- */
.section-head h2 { position: relative; display: inline-block; }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: -10px;
  height: 3px; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width .9s var(--ease-out) .25s;
}
.section-head.is-visible h2::after { width: 64px; }

/* ---------- Timeline em cascata (sóbria, sem pulso) ---------- */
.timeline.is-visible li { animation: tlIn .7s 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); }
}

/* ---------- Cards: elevação discreta, sem 3D nem brilho ---------- */
.feature, .pain {
  transition: transform .3s var(--ease-soft), box-shadow .3s ease;
}

/* ---------- 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; filter: none !important; }
  .hero .eyebrow, .hero h1, .hero .hero-lead, .hero .hero-actions {
    opacity: 1 !important; transform: none !important; filter: none !important;
  }
  .hero h1 { -webkit-text-fill-color: var(--ink); color: var(--ink); }
  .hero::before, .hero::after, .hero-bg::before { animation: none !important; transform: none !important; }
  .scroll-progress { display: none; }
}

/* =========================================================
   CINEMA CLEAN — refinamentos finais (white mode)
   ========================================================= */

/* Grão de filme sutil sobre toda a página (cinematográfico, bem discreto) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  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");
}

/* Mais ar e respiro nas seções */
.section { padding: 104px 0; }
.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.01em; }
.section-sub { font-size: 1.14rem; line-height: 1.7; }

/* Kicker com traço fino à esquerda (detalhe editorial de revista/cinema) */
.kicker { position: relative; padding-left: 0; display: block; margin-bottom: 16px; }

/* Transições gerais mais lentas e suaves = sensação cinematográfica */
.btn, .feature, .pain, .bio-photo img, .area-card { transition-timing-function: var(--ease-out); }

/* Cartões com fundo levemente translúcido sobre o papel, respiro interno maior */
.feature { padding: 36px 34px; background: rgba(255,255,255,.72); backdrop-filter: blur(2px); }
.pain { padding: 32px 28px; background: rgba(255,255,255,.72); }

/* Foto com leve profundidade cinematográfica */
.bio-photo img { box-shadow: 0 24px 60px rgba(20,43,69,.16); }

/* Rodapé claro e clean (em vez do navy pesado) para manter o white mode coeso */
.site-footer { background: var(--paper-alt); color: var(--ink-soft); border-top: 1px solid var(--line); }
.footer-brand { color: var(--ink); }
.footer-brand .brand-mark { background: var(--navy); color: #fff; }
.footer-tagline { color: var(--ink-soft); }
.footer-legal { color: var(--ink-faint); }

@media (max-width: 640px) {
  .section { padding: 68px 0; }
}

/* =========================================================
   FAIXA VISUAL — balança da justiça (duas colunas, sem corte)
   ========================================================= */
.justice-band {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 72px 0;
}
.justice-band-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px;
  align-items: center;
}
.justice-band-text { }
.justice-quote {
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.4;
  color: #fff; margin: 0; max-width: 620px;
}
.justice-band-figure {
  margin: 0; display: flex; justify-content: center;
}
.justice-band-figure img {
  width: 100%; max-width: 360px; height: auto; display: block;
  border-radius: 3px;
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
@media (max-width: 760px) {
  .justice-band { padding: 56px 0; }
  .justice-band-grid { grid-template-columns: 1fr; gap: 28px; }
  .justice-band-figure img { max-width: 260px; }
}

/* Reduced motion: pausa o vídeo (mostra o poster) e desliga parallax */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-bg { background: url("media/hero-poster.jpg") center right / cover no-repeat; }
  .justice-band { background-attachment: scroll; }
}

/* =========================================================
   IMAGENS ACOMPANHANDO OS TEXTOS
   ========================================================= */

/* Atuação: imagem à esquerda, cards à direita */
.atuacao-layout {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px;
  align-items: stretch;
}
.atuacao-figure {
  margin: 0; position: relative; overflow: hidden; border-radius: 3px;
  min-height: 100%;
  box-shadow: 0 16px 40px rgba(20,43,69,.12);
}
.atuacao-figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 1.2s var(--ease-soft);
}
.atuacao-figure:hover img { transform: scale(1.04); }
.feature-grid-2 { grid-template-columns: 1fr 1fr; }

/* Trajetória: imagem larga com legenda */
.trajetoria-figure {
  margin: 48px 0 0; position: relative; overflow: hidden; border-radius: 3px;
  box-shadow: 0 18px 44px rgba(20,43,69,.14);
}
.trajetoria-figure img {
  width: 100%; height: auto; display: block; aspect-ratio: 3 / 1.2; object-fit: cover;
  transition: transform 1.4s var(--ease-soft);
}
.trajetoria-figure:hover img { transform: scale(1.03); }
.trajetoria-figure figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 30px 28px 20px; margin: 0;
  font-family: "Cormorant Garamond", serif; font-style: italic;
  font-size: 1.2rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(16,30,48,.72));
}

@media (max-width: 860px) {
  .atuacao-layout { grid-template-columns: 1fr; gap: 28px; }
  .atuacao-figure { min-height: 260px; }
  .feature-grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .feature-grid-2 { grid-template-columns: 1fr; }
  .trajetoria-figure img { aspect-ratio: 3 / 2; }
}
