/* =========================================================
   Alex Disarz Advogados Associados
   Design tokens — tema escuro em tons de azul + dourado
   ========================================================= */
:root {
  /* fundo — quase-preto neutro, variação sutil entre os blocos (como referência) */
  --bg-950: #05090f;
  --bg-900: #080c14;
  --bg-850: #0a0f19;
  --bg-800: #0d131f;
  --bg-700: #121a29;
  --bg-600: #182236;
  --bg-glass: rgba(20, 28, 44, 0.55);
  --bg-glass-soft: rgba(14, 20, 33, 0.62);

  --gold-300: #f1dfae;
  --gold-400: #e2c584;
  --gold-500: #c9a35a;
  --gold-600: #a67f3c;

  --text: #eef3fb;
  --text-soft: #a9b8cf;
  --text-faint: #7285a1;

  --line: rgba(224, 197, 132, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(224, 197, 132, 0.32);
  --line-card: rgba(224, 197, 132, 0.16);
  --shadow-card: 0 22px 46px rgba(2, 8, 24, 0.4);
  --shadow-card-hover: 0 30px 64px rgba(2, 8, 24, 0.5);

  --font: "Roboto", "Segoe UI", Arial, sans-serif;

  --container: 1180px;
  --radius: 10px;
  --radius-sm: 6px;

  /* movimento suave e discreto */
  --ease: cubic-bezier(0.16, 0.8, 0.4, 1);
  --dur: 0.9s;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--text);
  background: var(--bg-900);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100vw;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font);
  font-weight: 300;
  margin: 0 0 0.5em;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: 0.01em;
}
h2,
h3 {
  font-weight: 400;
}
strong,
b {
  font-weight: 500;
}
p {
  margin: 0 0 1em;
  color: var(--text-soft);
  font-weight: 300;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.gold {
  color: var(--gold-400);
}
section {
  position: relative;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 1.5px solid var(--gold-400);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.bg-texture {
  background:
    radial-gradient(
      1100px 500px at 12% -10%,
      rgba(224, 197, 132, 0.06),
      transparent 60%
    ),
    radial-gradient(
      900px 550px at 100% 10%,
      rgba(30, 46, 78, 0.4),
      transparent 55%
    ),
    var(--bg-900);
}
.bg-alt {
  background: var(--bg-850);
}

/* =========================================================
   Preloader — logo do escritório com anel dourado
   ========================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      620px 420px at 50% 42%,
      rgba(224, 197, 132, 0.07),
      transparent 68%
    ),
    var(--bg-950);
  transition:
    opacity 0.7s var(--ease),
    visibility 0.7s var(--ease);
}
/* enquanto carrega, trava a rolagem do fundo */
body.is-loading {
  overflow: hidden;
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}
.pl-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.pl-mark {
  position: relative;
  width: 116px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-mark img {
  width: 86px;
  height: auto;
  animation: plFade 1.4s var(--ease) both;
}
/* anel dourado girando ao redor da logo */
.pl-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(224, 197, 132, 0.14);
  border-top-color: var(--gold-400);
  border-right-color: var(--gold-500);
  animation: plSpin 1.5s linear infinite;
}
.pl-name {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-300);
  opacity: 0;
  animation: plFade 1.2s var(--ease) 0.25s both;
  text-align: center;
  padding: 0 24px;
}
/* barra de progresso indeterminada, bem discreta */
.pl-bar {
  position: relative;
  width: 132px;
  height: 1px;
  overflow: hidden;
  background: rgba(224, 197, 132, 0.12);
}
.pl-bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-400),
    transparent
  );
  transform: translate3d(-100%, 0, 0);
  animation: plSweep 1.5s var(--ease) infinite;
}
@keyframes plSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes plFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes plSweep {
  0% {
    transform: translate3d(-100%, 0, 0);
  }
  100% {
    transform: translate3d(100%, 0, 0);
  }
}

/* =========================================================
   Reveal on scroll — mais lento, mais suave, menos deslocamento
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* =========================================================
   Topbar + Nav — vidro fosco, moderno
   ========================================================= */
.topbar {
  position: fixed;
  inset: 18px 0 auto 0;
  z-index: 100;
  transition: top 0.4s var(--ease);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 60px;
  padding: 11px 14px 11px 24px;
  box-shadow: 0 20px 50px rgba(1, 8, 26, 0.35);
  transition:
    background 0.4s var(--ease),
    padding 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
/* o menu permanece transparente em toda a navegação — apenas o
   contorno reage à rolagem, para manter a legibilidade */
.topbar.is-scrolled .container {
  background: transparent;
  border-color: var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 30px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text-soft);
  position: relative;
  padding: 9px 16px;
  border-radius: 40px;
  transition:
    color 0.35s var(--ease),
    background 0.35s var(--ease);
}
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.nav a[aria-current="page"] {
  color: var(--gold-300);
  background: rgba(224, 197, 132, 0.09);
}
/* "Fale Conosco" segue o mesmo padrão de contorno dourado dos botões */
.nav-cta {
  background: rgba(224, 197, 132, 0.05);
  border: 1px solid var(--gold-500);
  color: var(--gold-300) !important;
  padding: 9px 21px !important;
  font-weight: 500 !important;
  margin-left: 8px;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.nav-cta:hover {
  background: rgba(224, 197, 132, 0.13);
  border-color: var(--gold-400);
  color: var(--gold-300) !important;
  box-shadow: 0 10px 22px rgba(201, 163, 90, 0.16);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}
.icon {
  width: 18px;
  height: 18px;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-block;
}

@media (max-width: 880px) {
  .topbar {
    inset: 14px 14px auto;
  }
  .topbar .container {
    border-radius: 20px;
    padding: 12px 16px;
  }
  .nav {
    position: fixed;
    inset: 86px 14px auto;
    background: rgba(5, 16, 46, 0.97);
    border: 1px solid var(--line-soft);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 2px;
    border-radius: 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.35s var(--ease),
      transform 0.35s var(--ease);
    box-shadow: 0 30px 60px rgba(1, 8, 26, 0.5);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 13px 16px;
  }
  .nav-cta {
    margin-left: 0;
    text-align: center;
  }
  .nav-toggle {
    display: block;
  }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(580px, 100vh, 860px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -8% 0;
  z-index: -3;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: 80% 42%;
  filter: saturate(85%) brightness(0.55);
}
@media (max-width: 760px) {
  .hero {
    min-height: clamp(520px, 78vh, 640px);
  }
  .hero::before {
    background-position: 88% 42%;
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      120deg,
      rgba(5, 9, 15, 0.97) 12%,
      rgba(7, 11, 19, 0.9) 40%,
      rgba(10, 15, 25, 0.72) 66%,
      rgba(13, 19, 31, 0.5) 100%
    ),
    linear-gradient(0deg, var(--bg-900) 0%, transparent 22%);
}
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(201, 163, 90, 0.14),
    transparent 70%
  );
  right: -140px;
  top: 10%;
  animation: drift 16s ease-in-out infinite;
}
@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-24px, 26px) scale(1.06);
  }
}
.hero-inner {
  width: 100%;
  padding-top: 220px;
  padding-bottom: 30px;
}
@media (max-width: 760px) {
  .hero-inner {
    padding-top: 100px;
    padding-bottom: 80px;
  }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 400;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(224, 197, 132, 0.05);
  opacity: 0;
  transform: translateY(10px);
  animation: heroIn 0.9s var(--ease) 0.15s forwards;
}
.hero-eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-400);
}
.hero h1 {
  font-size: clamp(26px, 3.7vw, 44px);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.01em;
  text-shadow: 0 4px 30px rgba(1, 8, 26, 0.5);
  /* largura calibrada para o título quebrar em duas linhas equilibradas */
  max-width: min(680px, 58vw);
  text-wrap: balance;
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 1s var(--ease) 0.3s forwards;
}
/* destaque elegante: o texto recebe um degradê do branco ao dourado.
   Fica num @supports para nunca sumir onde background-clip não existir. */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1 {
    background: linear-gradient(
      172deg,
      #ffffff 0%,
      #eaf0fb 44%,
      var(--gold-300) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* com o preenchimento transparente, a sombra tem de vir do filtro */
    text-shadow: none;
    filter: drop-shadow(0 4px 26px rgba(1, 8, 26, 0.6));
  }
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-300);
  font-weight: 400;
}
.hero p.lead {
  color: var(--text-soft);
  font-size: 14px;
  max-width: 430px;
  font-weight: 300;
  text-shadow: 0 2px 16px rgba(1, 8, 26, 0.4);
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 1s var(--ease) 0.45s forwards;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  animation: heroIn 1s var(--ease) 0.6s forwards;
}
@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}
/* botões do banner ~30% menores que o padrão do site */
.hero-actions .btn {
  padding: 10px 20px;
  font-size: 12.5px;
  gap: 8px;
}
.hero-actions .btn .icon {
  width: 15px;
  height: 15px;
  font-size: 14px;
}
@media (max-width: 760px) {
  .hero-inner {
    padding-top: 185px;
  }
  .hero h1 {
    max-width: 100%;
  }
  .hero p.lead {
    max-width: 100%;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 40px;
  transition:
    transform 0.45s var(--ease),
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before,
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.28) 48%,
    transparent 66%
  );
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::before,
.wa-float:hover::before {
  transform: translateX(130%);
}
.btn svg {
  transition: transform 0.45s var(--ease);
}
.btn:hover svg {
  transform: translateX(2px);
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-400), var(--gold-600));
  color: var(--bg-950);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(201, 163, 90, 0.22);
}
/* Padrão do site: contorno dourado com fundo levemente âmbar.
   .btn-dark é mantido como apelido para não quebrar as páginas que
   ainda usam essa classe. */
.btn-outline,
.btn-dark {
  border-color: var(--gold-500);
  color: var(--gold-300);
  background: rgba(224, 197, 132, 0.05);
}
.btn-outline:hover,
.btn-dark:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  background: rgba(224, 197, 132, 0.13);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(201, 163, 90, 0.16);
}

/* Botão pulsante — halo dourado que expande e some (CTA principal) */
.btn-pulse {
  animation: btnPulse 2.4s var(--ease) infinite;
}
.btn-pulse:hover,
.btn-pulse:focus-visible {
  animation: none;
}
@keyframes btnPulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(226, 197, 132, 0.55),
      0 0 0 0 rgba(226, 197, 132, 0.28),
      0 10px 26px rgba(201, 163, 90, 0.2);
  }
  50% {
    transform: scale(1.025);
  }
  70% {
    box-shadow:
      0 0 0 13px rgba(226, 197, 132, 0),
      0 0 0 26px rgba(226, 197, 132, 0),
      0 10px 26px rgba(201, 163, 90, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(226, 197, 132, 0),
      0 0 0 0 rgba(226, 197, 132, 0),
      0 10px 26px rgba(201, 163, 90, 0.2);
  }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: var(--text-faint);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  opacity: 1;
  /* é um botão: reset da aparência nativa */
  background: none;
  border: 0;
  padding: 6px 10px;
  font-family: inherit;
  cursor: pointer;
  transition:
    opacity 0.4s var(--ease),
    color 0.4s var(--ease);
}
.hero-scroll:hover {
  color: var(--gold-300);
}
.hero-scroll.is-hidden {
  opacity: 0;
  /* invisível também para o clique, senão continuaria capturando o cursor */
  pointer-events: none;
}
.hero-scroll .stem {
  width: 1px;
  height: 36px;
  background: linear-gradient(var(--gold-400), transparent);
  animation: stem 3s ease-in-out infinite;
  transition: height 0.4s var(--ease);
}
.hero-scroll:hover .stem {
  height: 44px;
}
@keyframes stem {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(0.75);
    transform-origin: top;
  }
  50% {
    opacity: 0.9;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* =========================================================
   Fundos fotográficos — foto do escritório + véu escuro
   Use a classe .bg-photo e defina --bg-photo:url(...) no elemento
   ========================================================= */
.af-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: 62% center;
  /* nítida: sem escurecer, com ganho de contraste e saturação */
  filter: contrast(1.1) saturate(1.08) brightness(1.03);
}

.bg-photo,
.cta,
.page-hero,
.area-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.bg-photo::before,
.cta::before,
.page-hero::before,
.area-hero::before {
  content: "";
  position: absolute;
  inset: -8% 0;
  z-index: -2;
  background-image: var(--bg-photo);
  background-size: cover;
  background-position: var(--bg-photo-pos, center);
  opacity: var(--bg-photo-opacity, 0.28);
  filter: saturate(70%) brightness(0.8);
  pointer-events: none;
}
.bg-photo::after,
.cta::after,
.page-hero::after,
.area-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(
    --bg-photo-veil,
    linear-gradient(
      0deg,
      rgba(8, 12, 20, 0.94) 0%,
      rgba(8, 12, 20, 0.72) 42%,
      rgba(8, 12, 20, 0.62) 100%
    )
  );
}
.cta {
  --bg-photo: url("../img/util/IMG_4344.webp");
  --bg-photo-opacity: 0.34;
}
.page-hero,
.area-hero {
  --bg-photo-opacity: 0.62;
  /* véu mais leve no miolo e denso nas bordas: a foto aparece e o
     título continua legível */
  --bg-photo-veil:
    radial-gradient(
      110% 86% at 50% 46%,
      rgba(5, 9, 15, 0.58) 0%,
      rgba(5, 9, 15, 0.46) 52%,
      rgba(5, 9, 15, 0.74) 100%
    ),
    linear-gradient(0deg, var(--bg-900) 0%, transparent 24%);
}
/* menos filtro do que o padrão, para a foto não ficar apagada */
.page-hero::before,
.area-hero::before {
  filter: saturate(92%) brightness(0.98);
}
.page-hero {
  --bg-photo: url("../img/util/APC_0019.webp");
  --bg-photo-pos: center 62%;
}
.area-hero {
  --bg-photo: url("../img/util/IMG_4342.webp");
}

/* =========================================================
   Section headers
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 400;
}
.eyebrow .line {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
}
.section-head p {
  font-size: 15.5px;
}
.section-pad {
  padding: 120px 0;
}
@media (max-width: 760px) {
  .section-pad {
    padding: 78px 0;
  }
}

/* =========================================================
   Escritório / About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}
.about-figure {
  position: relative;
  padding-bottom: 56px;
}
.about-figure .frame {
  border: 1px solid var(--line);
  padding: 14px;
  position: relative;
  border-radius: var(--radius);
  background: var(--bg-glass-soft);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.about-figure .frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 56px;
  height: 56px;
  z-index: 2;
  border-top: 1px solid var(--gold-500);
  border-left: 1px solid var(--gold-500);
  border-radius: var(--radius) 0 0 0;
}
.about-figure .frame::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 56px;
  height: 56px;
  z-index: 2;
  border-bottom: 1px solid var(--gold-500);
  border-right: 1px solid var(--gold-500);
  border-radius: 0 0 var(--radius) 0;
}
.about-figure .frame .ph {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  aspect-ratio: 4/5;
}
.about-figure .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.96;
  display: block;
  transition: transform 1.2s var(--ease);
}
.about-figure:hover .frame img {
  transform: scale(1.04);
}
.about-figure .frame-accent {
  position: absolute;
  right: -9%;
  bottom: -8%;
  width: 52%;
  z-index: 3;
  box-shadow: 0 30px 60px rgba(1, 8, 26, 0.5);
  transition: transform 0.6s var(--ease);
}
.about-figure .frame-accent .ph {
  aspect-ratio: 4/3;
}
.about-figure:hover .frame-accent {
  transform: translateY(-6px);
}
.stat-row {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .about-figure {
    padding-bottom: 64px;
    max-width: 420px;
    margin: 0 auto;
  }
}
@media (max-width: 520px) {
  .about-figure .frame-accent {
    width: 58%;
    right: -6%;
    bottom: -42px;
  }
  
  .hero-scroll {
      display:none;
  }
}
.stat b {
  display: block;
  font-size: 32px;
  font-weight: 300;
  color: var(--gold-300);
}
.stat span {
  font-size: 12.5px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}

.mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.mvv-item {
  background: var(--bg-glass);
  border: 1px solid var(--line-card);
  border-radius: 14px;
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.6s var(--ease),
    transform 0.6s var(--ease),
    background 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
}
.mvv-item:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px) scale(1.012);
  background: var(--bg-700);
  box-shadow: var(--shadow-card-hover);
}
.mvv-item h4 {
  font-size: 17px;
  margin-bottom: 12px;
  color: var(--gold-300);
  font-weight: 400;
}
.mvv-item p {
  font-size: 14.5px;
  margin: 0;
}
@media (max-width: 900px) {
  .mvv {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* Valores — fundo azul profundo com acabamentos em dourado */
.values {
  /* azul mais escuro que o resto do site, com brilho dourado no topo */
  background:
    radial-gradient(
      780px 420px at 6% -4%,
      rgba(224, 197, 132, 0.11),
      transparent 62%
    ),
    radial-gradient(
      940px 620px at 92% 104%,
      rgba(26, 62, 130, 0.42),
      transparent 62%
    ),
    linear-gradient(180deg, #061128 0%, #04091a 58%, #050d1f 100%);
  /* filete dourado que abre e fecha a seção, esmaecendo nas pontas */
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
      90deg,
      transparent 0%,
      var(--gold-500) 26%,
      var(--gold-400) 50%,
      var(--gold-500) 74%,
      transparent 100%
    )
    1;
  /* máscara azul-escura sobre a foto: mais densa, para a foto poder
     aparecer mais sem tirar a legibilidade do texto */
  --bg-photo-veil:
    linear-gradient(
      0deg,
      rgba(3, 7, 20, 0.96) 0%,
      rgba(4, 11, 30, 0.82) 46%,
      rgba(5, 14, 34, 0.78) 100%
    ),
    linear-gradient(
      90deg,
      rgba(3, 7, 20, 0.7) 0%,
      rgba(3, 7, 20, 0.28) 46%,
      transparent 100%
    );
}

/* Valores — índice editorial numerado (sem cards, para não repetir o
   bloco de Áreas de Atuação que vem logo abaixo) */
.values-index {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: start;
}
.vi-head {
  position: sticky;
  top: 130px;
}
.vi-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 16px;
}
.vi-head p {
  font-size: 15px;
  color: var(--text-faint);
  margin: 0;
  max-width: 330px;
}
.vi-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 42px;
  position: relative;
  border-top: 1px solid var(--line);
}
/* fio dourado vertical separando o título da lista */
.vi-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--gold-600) 14%,
    var(--gold-500) 50%,
    var(--gold-600) 86%,
    transparent 100%
  );
  opacity: 0.55;
}
.vi-item {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 28px;
  padding: 30px 22px 30px 6px;
  border-bottom: 1px solid var(--line);
  transition:
    padding-left 0.55s var(--ease),
    border-color 0.55s var(--ease);
}
/* faixa dourada que entra pela esquerda no hover */
.vi-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(224, 197, 132, 0.12) 0%,
    rgba(224, 197, 132, 0.03) 42%,
    transparent 78%
  );
  transition: opacity 0.55s var(--ease);
}
.vi-item:hover {
  padding-left: 22px;
  border-color: var(--line-strong);
}
.vi-item:hover::before {
  opacity: 1;
}
.vi-num {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold-600);
  transition: color 0.55s var(--ease);
}
/* número vazado onde houver suporte; cor sólida como reserva */
@supports (-webkit-text-stroke: 1px currentColor) {
  .vi-num {
    color: transparent;
    -webkit-text-stroke: 1px var(--gold-500);
  }
  .vi-item:hover .vi-num {
    color: var(--gold-300);
    -webkit-text-stroke-color: var(--gold-300);
  }
}
.vi-body h3 {
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 7px;
  transition: color 0.55s var(--ease);
}
.vi-item:hover .vi-body h3 {
  color: var(--gold-300);
}
.vi-body p {
  font-size: 14.5px;
  color: var(--text-faint);
  margin: 0;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .values-index {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .vi-head {
    position: static;
  }
  .vi-head p {
    max-width: 100%;
  }
  .vi-list {
    padding-left: 0;
  }
  .vi-list::before {
    display: none;
  }
  .vi-item {
    gap: 20px;
    padding: 24px 0;
  }
  .vi-item:hover {
    padding-left: 10px;
  }
}

/* =========================================================
   Áreas de atuação
   ========================================================= */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.area-card {
  background: var(--bg-glass);
  border: 1px solid var(--line-card);
  padding: 40px 34px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.6s var(--ease),
    box-shadow 0.6s var(--ease),
    border-color 0.6s var(--ease),
    background 0.6s var(--ease);
  position: relative;
  overflow: hidden;
}
.area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  background: radial-gradient(
    320px 160px at 15% -10%,
    rgba(224, 197, 132, 0.12),
    transparent 70%
  );
}
.area-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-strong);
  background: var(--bg-700);
}
.area-card:hover::before {
  opacity: 1;
}
.area-card .icon {
  width: 26px;
  height: 26px;
  font-size: 25px;
  line-height: 1;
  color: var(--gold-400);
  margin-bottom: 22px;
  position: relative;
  display: inline-block;
}
.area-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: 400;
  position: relative;
}
.area-card p {
  font-size: 14px;
  margin-bottom: 18px;
  position: relative;
}
.area-card .more {
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.area-card .more svg {
  width: 13px;
  height: 13px;
  transition: transform 0.4s var(--ease);
}
.area-card:hover .more svg {
  transform: translateX(4px);
}
@media (max-width: 960px) {
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .area-grid {
    grid-template-columns: 1fr;
  }
}

/* área detalhe */
.area-hero {
  padding: 190px 0 90px;
}
.area-hero h1 {
  font-size: clamp(28px, 3.8vw, 42px);
  max-width: 720px;
  font-weight: 300;
  text-shadow: 0 4px 26px rgba(1, 6, 16, 0.75);
}
.area-body {
  padding: 90px 0;
  max-width: 740px;
  margin: 0 auto;
}
.area-body p {
  font-size: 16.5px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--gold-300);
}

/* =========================================================
   Equipe — painéis full-bleed, foto cheia + legenda (estilo showcase)
   ========================================================= */
.team-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  margin: 0 calc(50% - 50vw);
  background: var(--line-soft);
}
.team-panel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4.2;
  background: radial-gradient(
    140% 100% at 50% 0%,
    var(--bg-600),
    var(--bg-900)
  );
}
.team-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(88%) contrast(1.04) brightness(0.92);
  transition:
    transform 1.2s var(--ease),
    filter 0.6s var(--ease);
}
.team-panel:hover img {
  transform: scale(1.07);
  filter: saturate(100%) contrast(1.05) brightness(1);
}
.tp-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-initials span {
  font-size: 40px;
  font-weight: 300;
  color: var(--gold-300);
  letter-spacing: 0.04em;
}
.team-panel .tp-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgba(2, 10, 28, 0.92) 0%,
    rgba(2, 10, 28, 0.42) 38%,
    transparent 68%
  );
}
.team-panel .tp-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}
.team-panel .tp-caption h4 {
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: 400;
}
.team-panel .oab {
  font-size: 11px;
  color: var(--gold-400);
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.team-panel .role {
  font-size: 13px;
  color: var(--text-soft);
}
.team-panel .bio {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 9px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.55s var(--ease),
    opacity 0.45s var(--ease);
}
.team-panel:hover .bio {
  max-height: 90px;
  opacity: 1;
}
@media (max-width: 640px) {
  .team-panels {
    grid-template-columns: 1fr 1fr;
  }
  .team-panel {
    aspect-ratio: 3/4.6;
  }
}
@media (max-width: 420px) {
  .team-panels {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Carrossel da equipe (quando há muitos integrantes)
   ========================================================= */
.team-carousel-wrap {
  position: relative;
  margin: 0 calc(50% - 50vw);
}
.team-carousel {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  /* sem scroll-behavior:smooth aqui — ele atrapalha o toque nativo;
     a rolagem suave é pedida pelo JS apenas nos cliques das setas */
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
/* impede o navegador de arrastar a imagem em vez do carrossel */
.team-carousel img {
  -webkit-user-drag: none;
  user-select: none;
}
.team-carousel::-webkit-scrollbar {
  display: none;
}
.team-carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  /* durante o arraste o scroll acompanha o cursor em tempo real */
  scroll-behavior: auto;
}
.team-carousel .team-panel {
  flex: 0 0 auto;
  width: clamp(230px, 25vw, 320px);
  aspect-ratio: 3/4.2;
  scroll-snap-align: start;
}
.tc-nav {
  position: absolute;
  top: calc(50% - 17px);
  z-index: 6;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(6, 20, 52, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  transition:
    background 0.4s var(--ease),
    transform 0.4s var(--ease),
    opacity 0.3s var(--ease);
}
.tc-nav:hover {
  background: rgba(224, 197, 132, 0.16);
  transform: scale(1.06);
}
.tc-nav svg {
  width: 18px;
  height: 18px;
}
.tc-nav.prev {
  left: 14px;
}
.tc-nav.next {
  right: 14px;
}
.tc-nav[disabled] {
  opacity: 0.25;
  pointer-events: none;
}
@media (max-width: 760px) {
  .tc-nav {
    display: none;
  }
  .team-carousel {
    gap: 2px;
  }
  .team-carousel .team-panel {
    width: 74vw;
    max-width: 320px;
  }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      700px 360px at 20% 0%,
      rgba(224, 197, 132, 0.1),
      transparent 60%
    ),
    radial-gradient(
      700px 360px at 85% 100%,
      rgba(22, 66, 160, 0.4),
      transparent 60%
    ),
    var(--bg-950);
}
.cta h2 {
  max-width: 640px;
  margin: 0 auto 14px;
  font-size: clamp(26px, 3.2vw, 38px);
}
.cta p {
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 32px;
}
.cta .btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   Contato
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.contact-info h3 {
  font-size: 20px;
  font-weight: 400;
}
.info-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.info-line .icon {
  width: 18px;
  height: 18px;
  font-size: 17px;
  line-height: 1;
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 4px;
  display: inline-block;
}
.info-line strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.info-line span,
.info-line a {
  font-size: 14px;
  color: var(--text-faint);
}
.social-row {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}
.social-row a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  transition:
    border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}
.social-row a:hover {
  border-color: var(--gold-400);
  background: rgba(224, 197, 132, 0.08);
}

.form {
  background: var(--bg-glass);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(10px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  margin-bottom: 9px;
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  padding: 10px 2px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.35s var(--ease);
}
.field select option {
  background: var(--bg-800);
  color: var(--text);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--gold-400);
  outline: none;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

.alert {
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 22px;
  border-left: 2px solid var(--gold-500);
  background: rgba(224, 197, 132, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-soft);
}
.alert-error {
  border-color: #d16b6b;
  background: rgba(209, 107, 107, 0.08);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-950);
  color: var(--text-faint);
  padding: 70px 0 26px;
  border-top: 1px solid var(--line-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand img {
  height: 34px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  max-width: 280px;
  color: var(--text-faint);
}
.site-footer h5 {
  color: var(--gold-400);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.site-footer ul li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-faint);
}
.site-footer a {
  font-size: 14px;
  color: var(--text-faint);
  transition: color 0.35s var(--ease);
}
.site-footer a:hover {
  color: var(--gold-300);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 12px;
  color: var(--text-faint);
  opacity: 0.7;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   WhatsApp flutuante
   ========================================================= */
/* mesmo padrão do "Fale Conosco" do menu: contorno dourado, fundo
   âmbar translúcido e vidro fosco — mudando apenas a forma (círculo).
   A base escura sob o âmbar garante contraste quando ele passa por
   cima das fotos claras da galeria. */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    linear-gradient(0deg, rgba(224, 197, 132, 0.05), rgba(224, 197, 132, 0.05)),
    rgba(10, 15, 26, 0.55);
  border: 1px solid var(--gold-500);
  color: var(--gold-300);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 14px 30px rgba(1, 8, 26, 0.35);
  transition:
    transform 0.45s var(--ease),
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.wa-float:hover {
  background:
    linear-gradient(0deg, rgba(224, 197, 132, 0.13), rgba(224, 197, 132, 0.13)),
    rgba(10, 15, 26, 0.55);
  border-color: var(--gold-400);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 12px 26px rgba(201, 163, 90, 0.16);
}
.wa-float .icon {
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
}

/* =========================================================
   Bloco 02 — foto com brilho contínuo + painel escuro ao lado
   ========================================================= */
/* seção full-bleed: foto cobrindo o bloco inteiro, texto sobre o degradê */
.about-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(100vh, 840px);
  overflow: hidden;
  background: var(--bg-950);
}
.af-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.af-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 45%;
  object-fit: cover;
  object-position: 62% center;
  /* nítida: sem escurecer, com ganho de contraste e saturação */
  filter: contrast(1.1) saturate(1.08) brightness(1.03);
}
/* degradê: sólido onde fica o texto, some por completo sobre a foto */
.af-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      var(--bg-950) 0%,
      var(--bg-950) 30%,
      rgba(5, 9, 15, 0.82) 44%,
      rgba(5, 9, 15, 0.32) 60%,
      rgba(5, 9, 15, 0) 74%
    ),
    linear-gradient(
      0deg,
      var(--bg-950) 0%,
      transparent 14%,
      transparent 88%,
      var(--bg-950) 100%
    );
}
.af-side {
  position: relative;
  width: 100%;
  padding: 96px 58px 96px max(28px, calc((100vw - var(--container)) / 2 + 28px));
}
.af-panel {
  position: relative;
  max-width: 560px;
}
.af-head {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.af-num {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 300;
  color: var(--gold-400);
  line-height: 1.2;
  flex-shrink: 0;
}
.af-panel h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 300;
  margin-bottom: 18px;
}
.af-lead {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 0;
}
.af-rule {
  width: 90px;
  height: 1px;
  margin: 26px 0;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}
.af-items {
  display: flex;
  flex-direction: column;
}
.af-item {
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  transition: border-color 0.5s var(--ease);
}
.af-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.af-item:hover {
  border-color: var(--line-strong);
}
.af-item h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  font-weight: 400;
  margin-bottom: 6px;
}
.af-item p {
  font-size: 14px;
  color: var(--text-faint);
  margin: 0;
  line-height: 1.65;
}
/* faixa de números — full width, entre o banner e o bloco 02 */
.stats-band {
  background: var(--bg-950);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 36px;
  text-align: center;
}
.stats-band .stat {
  padding: 0 10px;
}
.stats-band .stat + .stat {
  border-left: 1px solid var(--line-soft);
}
.stats-band .stat b {
  font-size: clamp(22px, 2.2vw, 30px);
  margin-bottom: 2px;
}
@media (max-width: 760px) {
  .stats-band .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 18px;
  }
  .stats-band .stat:nth-child(odd) {
    border-left: 0;
  }
}
@media (max-width: 420px) {
  /* mantém o 2x2 mesmo nas telas mais estreitas — só reduz o texto */
  .stats-band .container {
    gap: 22px 14px;
  }
  .stats-band .stat {
    padding: 0 4px;
  }
  .stats-band .stat b {
    font-size: 20px;
  }
  .stats-band .stat span {
    font-size: 11.5px;
  }
}
@media (max-width: 900px) {
  .about-feature {
    min-height: 0;
    align-items: flex-end;
    padding-top: 42vh;
  }
  /* no mobile a foto ocupa só a faixa superior.
     O !important é necessário porque a regra base também usa !important. */
  .af-media img {
    height: 45% !important;
  }
  /* no mobile a foto ocupa o topo e o degradê passa a ser vertical */
  .af-media::after {
    background: linear-gradient(
      0deg,
      var(--bg-950) 0%,
      var(--bg-950) 52%,
      rgba(5, 9, 15, 0.72) 66%,
      rgba(5, 9, 15, 0.15) 86%,
      rgba(5, 9, 15, 0) 100%
    );
  }
  .af-side {
    padding: 24px 28px 72px;
  }
  .af-panel {
    max-width: 100%;
  }
}

/* =========================================================
   Galeria do escritório — foto principal + miniaturas + lightbox
   ========================================================= */
.gallery-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 48px;
}
.gallery-main {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line-card);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
  background: var(--bg-800);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.45s var(--ease),
    transform 1.4s var(--ease);
}
.gallery-main.is-loading img {
  opacity: 0;
}
.gallery-main:hover img {
  transform: scale(1.03);
}
.gallery-main::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    rgba(5, 9, 15, 0.88) 0%,
    rgba(5, 9, 15, 0.25) 32%,
    transparent 58%
  );
}
.gallery-caption {
  position: absolute;
  left: 26px;
  right: 90px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gallery-caption .gm-title {
  font-size: 17px;
  color: var(--text);
  letter-spacing: 0.02em;
}
.gallery-caption .gm-sub {
  font-size: 13px;
  color: var(--text-faint);
}
.gallery-zoom {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold-300);
  border: 1px solid var(--line-strong);
  background: rgba(6, 12, 22, 0.6);
  backdrop-filter: blur(6px);
  transition:
    background 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.gallery-zoom:hover {
  background: rgba(224, 197, 132, 0.18);
  transform: scale(1.07);
}
.gallery-text h2 {
  font-size: clamp(24px, 2.9vw, 34px);
}
.gallery-text .btn {
  margin-top: 8px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2px;
  background: var(--line-soft);
  border-radius: 12px;
  overflow: hidden;
}
.gallery-thumb {
  position: relative;
  padding: 0;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 16/11;
  background: var(--bg-800);
  transition: filter 0.5s var(--ease);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(80%) brightness(0.55);
  transition:
    filter 0.5s var(--ease),
    transform 1.1s var(--ease);
}
.gallery-thumb:hover img {
  filter: saturate(95%) brightness(0.8);
  transform: scale(1.05);
}
.gallery-thumb.is-active img {
  filter: saturate(100%) brightness(1);
}
.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  transition: border-color 0.45s var(--ease);
}
.gallery-thumb.is-active::after {
  border-color: var(--gold-400);
}
.gt-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
  text-shadow: 0 2px 12px rgba(2, 6, 14, 0.8);
}
.gt-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
@media (max-width: 900px) {
  .gallery-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
@media (max-width: 620px) {
  .gallery-caption {
    right: 78px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 20px;
  background: rgba(4, 7, 12, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.lightbox[hidden] {
  display: none;
}
.lightbox.is-open {
  opacity: 1;
}
.lb-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.lb-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  transform: scale(0.98);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open .lb-figure img {
  transform: scale(1);
}
.lb-figure figcaption {
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  text-align: center;
}
.lb-close,
.lb-nav {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gold-300);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.lb-close:hover,
.lb-nav:hover {
  background: rgba(224, 197, 132, 0.18);
  transform: scale(1.07);
}
.lb-nav svg {
  width: 20px;
  height: 20px;
}
.lb-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
}
@media (max-width: 620px) {
  .lightbox {
    padding: 20px 12px;
    gap: 8px;
  }
  .lb-nav {
    position: absolute;
    bottom: 22px;
    z-index: 2;
  }
  .lb-nav.prev {
    left: 24px;
  }
  .lb-nav.next {
    right: 24px;
  }
  .lb-figure img {
    max-height: 68vh;
  }
}

/* =========================================================
   Página interna genérica
   ========================================================= */
.page-hero {
  padding: 180px 0 84px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 300;
  text-shadow: 0 4px 26px rgba(1, 6, 16, 0.75);
}
.page-hero p {
  max-width: 560px;
  margin: 0 auto;
}
