/* ---------- Reset & Base ---------- */
:root {
  /* Plus Jakarta Sans = equivalente gratuito (Google Fonts) da Degular Display */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Paleta aprovada pelo cliente: 70% branco/off-white, 20% azul-marinho, 10% dourado */
  --color-offwhite: #f7f5f1;
  --color-navy-950: #0d1016; /* navy quase-preto — fundo de seções escuras (ex.: Seção 2) */
  --color-navy-900: #0c1f43;
  --color-navy-700: #1e3a5e;
  --color-navy-muted: #4b5568;
  --color-gold: #d8aa5a;
  --color-gold-dark: #c4954a;
  --color-gold-pale: #feeac1;
  --color-gray: #c6c6c6;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  /* O menu mobile (position:fixed, deslocado pra fora da tela com translateX)
     continua "existindo" fora do viewport mesmo fechado, e isso cria uma área
     de rolagem horizontal na página inteira — o que também deixa o menu com
     comportamento estranho ao arrastar. "overflow-x: clip" bloqueia essa
     rolagem lateral sem os efeitos colaterais de "hidden": diferente de
     hidden/scroll/auto, clip não transforma o elemento num "scroll container",
     então não quebra o position:sticky do menu fixo (foi exatamente isso que
     aconteceu quando usamos "hidden" aqui antes — corrigido). */
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  background: #0d1016;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Transição suave entre páginas (ativada via js-page-transitions no <html>) */
@media (prefers-reduced-motion: no-preference) {
  html.js-page-transitions:not(.page-ready):not(.page-leaving) body {
    opacity: 0;
    transform: translateY(12px);
  }
  html.js-page-transitions.page-ready body {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }
  html.js-page-transitions.page-leaving body {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
/* Pill com ícone circular embutido (seta desliza no hover) — adaptado de um
   componente do Uiverse.io (by alexmaracinaru) para a nossa paleta dourado/navy. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: scale(0.96); }
.btn-cta {
  background: var(--color-gold);
  color: var(--color-navy-900);
}
.btn-cta:hover { background: var(--color-gold-dark); }

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
}
.btn-icon svg { width: 100%; height: 100%; display: block; }
.btn:hover .btn-icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 16, 22, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 44px;
  width: auto;
}
.logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.3px;
}
.logo-amp {
  color: #ecd9a0;
  font-style: italic;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 60;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}
.main-nav a {
  color: #e7e7e7;
  opacity: 0.85;
  transition: opacity 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.main-nav a:not(.nav-cta) {
  padding: 8px 14px;
  border-radius: 999px;
}
.main-nav a:hover:not(.nav-cta) {
  opacity: 1;
  color: #ecd9a0;
  background-color: rgba(236, 217, 160, 0.1);
}
.main-nav a.active {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.08);
}
.nav-cta {
  margin-left: 16px;
  padding: 6px 6px 6px 20px;
  font-size: 0.88rem;
}
.nav-cta .btn-icon { width: 28px; height: 28px; }
.main-nav a.nav-cta {
  opacity: 1;
  color: var(--color-navy-900);
}

/* Mobile nav (collapsed by default) */
@media (max-width: 899px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 340px);
    background: #10141c;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 24px 32px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.4);
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-cta { margin-top: 8px; margin-left: 0; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  color: var(--color-navy-900);
  background: var(--color-navy-900);
}
.hero-visual {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: relative;
  z-index: 0;
  line-height: 0;
}
.hero-bg picture {
  display: block;
  line-height: 0;
}
.hero-bg-img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(247, 245, 241, 0.9) 0%,
    rgba(247, 245, 241, 0.72) 30%,
    rgba(247, 245, 241, 0.2) 52%,
    transparent 68%
  );
}
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  left: 0;
  right: 0;
}
.hero-copy .hero-title,
.hero-copy .hero-subtitle,
.hero-copy .hero-cta {
  max-width: min(560px, 100%);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--color-navy-900);
  margin: 0 0 22px;
}
.hero-title .accent { color: var(--color-gold); }

.hero-subtitle {
  max-width: 480px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-navy-muted);
  margin: 0 0 36px;
}

.hero-cta {
  align-self: flex-start;
  padding: 10px 10px 10px 30px;
  font-size: 1.02rem;
}
.hero-cta .btn-icon { width: 40px; height: 40px; }

/* Mini sessão — números, sobrepõe levemente a base da hero */
.hero-stats {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  background: var(--color-navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 860px) {
  .hero-stats {
    margin-top: -88px;
    padding: 44px 0;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 859px) {
  .hero-stats { margin-top: -56px; }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }
}

@media (max-width: 639px) {
  .hero-stats {
    margin-top: -44px;
    padding: 28px 0;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
  }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 859px) {
  .hero-bg {
    aspect-ratio: 9 / 16;
    width: 100%;
  }
  .hero-bg picture {
    width: 100%;
    height: 100%;
  }
  .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
  }
  .hero-overlay {
    background: none;
  }
  .hero-copy {
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 0;
  }
  .hero-copy.container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 639px) {
  .hero-title {
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 22px;
  }
  .hero-cta { padding: 13px 28px; font-size: 0.92rem; }
}

/* ---------- Seção 2 — Apresentação dos Sócios ---------- */
/* Escura — trocou de lugar com a Seção 3 (que era a escura, agora é clara). */
.team {
  position: relative;
  background: var(--color-navy-950);
  color: var(--color-offwhite);
  padding: 96px 0;
  overflow: hidden;
}
/* Blobs suaves de fundo — dão profundidade/sofisticação à seção,
   parecido com as formas sutis da referência, sem copiar a arte literal. */
.team::before,
.team::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}
.team::before {
  width: 560px;
  height: 560px;
  background: rgba(247, 245, 241, 0.06);
  top: -180px;
  left: -200px;
}
.team::after {
  width: 460px;
  height: 460px;
  background: rgba(247, 245, 241, 0.06);
  bottom: -160px;
  right: -140px;
}
.team .container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  text-align: center;
  letter-spacing: -0.3px;
  color: var(--color-offwhite);
  margin: 0 0 64px;
}
.section-title .accent { color: var(--color-gold); }

.team-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

/* ---- Carrossel de cards ---- */
.team-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-cards {
  display: grid;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 4;
}

.team-card {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 28px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.team-card.is-front {
  transform: translate(0, 0) rotate(0deg) scale(1);
  z-index: 2;
}
.team-card.is-back {
  transform: translate(46px, -22px) rotate(6deg) scale(0.92);
  z-index: 1;
  opacity: 0.85;
}

.team-card .team-photo {
  width: 100%;
  flex: 1;
  border-radius: 18px;
  background-color: #ece7de;
  background-size: cover;
  background-position: center top;
  margin-bottom: 18px;
}

.team-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #1c1e24;
  margin: 0 0 4px;
}

.team-card-role {
  font-size: 0.78rem;
  color: #7a7d85;
  margin: 0 0 14px;
}

.team-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  transition: gap 0.2s ease;
}
.team-card-link:hover { gap: 10px; }

.team-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.team-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(28, 30, 36, 0.15);
  background: #ffffff;
  color: #1c1e24;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.team-nav-btn:hover { background: #f0ece4; transform: translateY(-1px); }
.team-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(247, 245, 241, 0.6);
  min-width: 40px;
  text-align: center;
}

/* ---- Texto do sócio em foco ---- */
.team-info {
  display: grid;
  text-align: center;
}
.team-info-panel {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.team-info-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.team-info-role {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 0 0 12px;
}
.team-info-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--color-offwhite);
  margin: 0 0 16px;
}
.team-info-bio {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(247, 245, 241, 0.75);
  max-width: 440px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .team-layout {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .team-info { text-align: left; }
  .team-info-bio { margin: 0; }
  .team-card.is-back {
    transform: translate(84px, -28px) rotate(7deg) scale(0.91);
  }
}

/* ---------- Estilos reutilizáveis de estatística (número + label) ---------- */
.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 12px 24px;
}
@media (min-width: 860px) {
  .stat-item {
    padding: 8px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .stat-item:last-child { border-right: none; }
}
.stat-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  color: var(--color-gold);
}
.stat-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.stat-content {
  min-width: 0;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  color: var(--color-gold);
  margin: 0 0 8px;
  line-height: 1;
  letter-spacing: -0.3px;
}
.stat-label {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(247, 245, 241, 0.82);
  max-width: 220px;
  margin: 0;
}

/* ---------- Seção 3 — Áreas de Atuação ---------- */
/* Clara — trocou de lugar com a Seção 2 (que era clara, agora é escura). */
.services {
  background: var(--color-offwhite);
  color: var(--color-navy-900);
  padding: 96px 0;
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.services-visual {
  display: flex;
  justify-content: center;
}

.services-photo-card {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(12, 31, 67, 0.1);
  box-shadow: 0 24px 60px rgba(12, 31, 67, 0.18);
}

.services-photo {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  background-color: #ece7de;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.services-photo.is-active { opacity: 1; }

.services-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  margin: 0 0 16px;
}

.services-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 40px;
}
.services-title .accent { color: var(--color-gold); }

.services-list {
  border-top: 1px solid rgba(12, 31, 67, 0.12);
}

.service-item {
  border-bottom: 1px solid rgba(12, 31, 67, 0.12);
}

.service-item-header {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.service-item-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(12, 31, 67, 0.35);
  width: 24px;
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.service-item.is-active .service-item-number { color: var(--color-gold-dark); }

.service-item-title {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.service-item-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.service-item-icon::before,
.service-item-icon::after {
  content: '';
  position: absolute;
  background: var(--color-gold-dark);
  transition: transform 0.3s ease;
}
.service-item-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.service-item-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.service-item.is-active .service-item-icon::after { transform: translateX(-50%) scaleY(0); }

.service-item-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease;
}
.service-item.is-active .service-item-panel {
  opacity: 1;
}

.service-item-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-navy-muted);
  margin: 0 0 14px;
  padding-right: 8px;
}

.service-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 24px;
  transition: gap 0.2s ease;
}
.service-item-link:hover { gap: 10px; }

@media (min-width: 860px) {
  .services-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
  }
  .services-photo-card { max-width: 420px; }
}

/* ---------- Seção 4 — Para quem é ---------- */
/* Clara também, mas não repete o off-white liso da Seção 3 — degradê sutil
   até um dourado bem pálido, dando uma variação de tom sem sair da paleta. */
.who {
  background: linear-gradient(160deg, var(--color-offwhite) 0%, var(--color-gold-pale) 150%);
  color: var(--color-navy-900);
  padding: 96px 0;
  text-align: center;
}

.who-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin: 0 0 56px;
}
.who-title .accent { color: var(--color-gold-dark); }

.who-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}

.who-item {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(12, 31, 67, 0.08);
  border-radius: 999px;
  padding: 14px 28px 14px 40px;
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 10px 28px rgba(12, 31, 67, 0.07);
}
.who-item::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
}

.who-cta-wrap {
  margin-top: 48px;
}

@media (max-width: 639px) {
  .who-grid { flex-direction: column; align-items: stretch; }
  .who-item { text-align: left; }
}

/* ---------- Seção 5 — Por que escolher o escritório ---------- */
/* Regra do cliente: a ÚNICA seção escura do site é a Seção 2. Todas as
   outras (Hero, 3, 4, 5, 6...) são sempre em tons claros da paleta. */
.why {
  position: relative;
  background: var(--color-offwhite);
  background-image: radial-gradient(
    ellipse 800px 600px at 100% 100%,
    rgba(30, 58, 94, 0.08),
    transparent 70%
  );
  color: var(--color-navy-900);
  display: grid;
  grid-template-columns: 1fr;
}

/* Foto sem moldura, sangrando até a borda da tela (não fica dentro de
   .container) — dá impressão de continuidade, como na referência do cliente. */
.why-photo-panel {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #ece7de;
}
.why-photo {
  width: 100%;
  height: 100%;
  background-image: url('../assets/img/porque-escolher.jpg');
  background-size: cover;
  background-position: center;
}

.why-content-wrap {
  padding: 64px 24px;
}
.why-content {
  max-width: 620px;
  margin: 0 auto;
}

.why-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  margin: 0 0 16px;
}

.why-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 20px;
}
.why-title .accent { color: var(--color-gold); }

.why-intro {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-navy-muted);
  margin: 0 0 40px;
  max-width: 520px;
}

.why-list {
  border-top: 1px solid rgba(12, 31, 67, 0.12);
}
.why-item {
  border-bottom: 1px solid rgba(12, 31, 67, 0.12);
}
.why-item-header {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.why-item-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(12, 31, 67, 0.35);
  width: 24px;
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.why-item.is-active .why-item-number { color: var(--color-gold-dark); }
.why-item-title {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
}
.why-item-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.why-item-icon::before,
.why-item-icon::after {
  content: '';
  position: absolute;
  background: var(--color-gold-dark);
  transition: transform 0.3s ease;
}
.why-item-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.why-item-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.why-item.is-active .why-item-icon::after { transform: translateX(-50%) scaleY(0); }

.why-item-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease;
}
.why-item.is-active .why-item-panel { opacity: 1; }
.why-item-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-navy-muted);
  margin: 0 0 22px;
  padding-right: 8px;
}

@media (min-width: 860px) {
  .why {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .why-photo-panel {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
  .why-content-wrap {
    display: flex;
    align-items: center;
    padding: 96px 64px;
  }
  .why-content { margin: 0; max-width: 560px; }
}

/* ---------- Seção 6 — CTA final ---------- */
/* Segunda exceção à regra "só a Seção 2 é escura": CTA final + rodapé ficam
   escuros de propósito (padrão comum de fechamento de site), com dois tons
   de navy diferentes entre si — pedido explícito do cliente. */
.cta-final {
  background: var(--color-navy-950);
  color: var(--color-offwhite);
  padding: 88px 0;
  text-align: center;
}
.cta-final-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.3px;
  margin: 0 0 16px;
}
.cta-final-subtitle {
  font-size: 1.05rem;
  color: rgba(247, 245, 241, 0.78);
  max-width: 520px;
  margin: 0 auto 36px;
}
.cta-final-btn { padding: 16px 34px; font-size: 1.02rem; }
.cta-final-btn .btn-icon { width: 40px; height: 40px; }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--color-navy-950);
  color: var(--color-offwhite);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 72px 24px 56px;
}
.footer-about-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(247, 245, 241, 0.75);
  max-width: 320px;
  margin: 16px 0 20px;
}
.footer-logo { display: inline-flex; align-items: center; }
.footer-logo-img { height: 150px; width: auto; }
.footer-logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-offwhite);
}
.footer-social { display: flex; gap: 12px; }
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(247, 245, 241, 0.3);
  color: var(--color-offwhite);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.footer-social-btn svg { width: 18px; height: 18px; }
.footer-social-btn:hover { background: rgba(247, 245, 241, 0.1); transform: translateY(-2px); }

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-gold-pale);
  margin: 0 0 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a,
.footer-col span {
  font-size: 0.92rem;
  color: rgba(247, 245, 241, 0.82);
}
.footer-col a:hover { color: var(--color-offwhite); }

.footer-bottom {
  border-top: 1px solid rgba(247, 245, 241, 0.14);
}
.footer-bottom-inner {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(247, 245, 241, 0.6);
}
.footer-legal a { color: rgba(247, 245, 241, 0.6); text-decoration: underline; }
.footer-legal a:hover { color: var(--color-offwhite); }

/* Mapa — Google Maps real, endereço do escritório */
.map-embed {
  position: relative;
}
.map-embed-iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 1;
  min-height: 180px;
  border: 0;
}
.map-embed-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  background: #ffffff;
  color: var(--color-navy-900);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Botão flutuante de WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.06); }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Páginas internas ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--color-offwhite) 0%, #e8ecf2 100%);
  color: var(--color-navy-900);
  padding: 72px 0 64px;
  text-align: center;
}
.page-hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  margin: 0 0 16px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin: 0 0 20px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero-title .accent { color: var(--color-gold-dark); }
.page-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-navy-muted);
  max-width: 640px;
  margin: 0 auto;
}

.page-intro {
  background: var(--color-offwhite);
  color: var(--color-navy-900);
  padding: 88px 0;
}
.page-intro-inner {
  max-width: 760px;
  margin: 0 auto;
}
.page-intro-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  margin: 0 0 24px;
}
.page-intro-title .accent { color: var(--color-gold-dark); }
.page-intro-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-navy-muted);
  margin: 0 0 20px;
}
.page-intro-text:last-child { margin-bottom: 0; }

.page-values {
  background: linear-gradient(160deg, var(--color-offwhite) 0%, var(--color-gold-pale) 140%);
  color: var(--color-navy-900);
  padding: 88px 0;
}
.page-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
.page-value-card {
  background: #ffffff;
  border: 1px solid rgba(12, 31, 67, 0.08);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 12px 32px rgba(12, 31, 67, 0.06);
}
.page-value-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--color-navy-900);
}
.page-value-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-navy-muted);
}

.services-overview {
  background: linear-gradient(160deg, var(--color-offwhite) 0%, var(--color-gold-pale) 150%);
  color: var(--color-navy-900);
  padding: 88px 0;
  text-align: center;
}
.services-overview-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.25;
  margin: 0 0 16px;
}
.services-overview-title .accent { color: var(--color-gold-dark); }
.services-overview-lead {
  max-width: 680px;
  margin: 0 auto 48px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--color-navy-muted);
}
.services-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.services-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid rgba(12, 31, 67, 0.08);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 10px 28px rgba(12, 31, 67, 0.06);
}
.services-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.services-step p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--color-navy-muted);
}

.contact-section {
  background: var(--color-offwhite);
  color: var(--color-navy-900);
  padding: 88px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}
.contact-card {
  background: #ffffff;
  border: 1px solid rgba(12, 31, 67, 0.08);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(12, 31, 67, 0.06);
}
.contact-card-label {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  margin: 0 0 10px;
}
.contact-card-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0 0 8px;
  color: var(--color-navy-900);
}
.contact-card-value a {
  color: inherit;
  transition: color 0.15s ease;
}
.contact-card-value a:hover { color: var(--color-gold-dark); }
.contact-card-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-navy-muted);
}
.contact-map-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(12, 31, 67, 0.08);
  box-shadow: 0 12px 32px rgba(12, 31, 67, 0.08);
  position: relative;
}
.contact-map-wrap .map-embed-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}
.contact-map-wrap .map-embed-iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (min-width: 640px) {
  .page-values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-steps { grid-template-columns: repeat(3, 1fr); }
  .services-step { flex-direction: column; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-map-wrap .map-embed-iframe { height: 420px; }
}

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 639px) {
  .page-hero { padding: 56px 0 48px; }
  .page-intro,
  .page-values,
  .services-overview,
  .contact-section { padding: 64px 0; }
}

.page-contact .site-footer .map-embed { display: none; }
