/* ── Header sempre sólido nesta página ──
   O header do site é transparente até 10px de scroll, pensado para ficar
   sobre um hero escuro com foto. Aqui o hero é claro, então forçamos o
   fundo escuro do header desde o carregamento para não perder contraste. */
header {
  background: rgba(7, 10, 24, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ── Hero claro do documento ── */
.legal-hero {
  padding: 132px 0 44px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.legal-breadcrumb,
.legal-breadcrumb a {
  color: #6b7280;
}

.legal-breadcrumb a:hover {
  color: #0f1c2e;
}

.legal-breadcrumb span:last-child {
  color: #0f1c2e;
}

.legal-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  background: rgba(15, 28, 46, 0.06);
  color: #0f1c2e;
  border: 1px solid rgba(15, 28, 46, 0.14);
  border-radius: 20px;
  margin-bottom: 18px;
}

.legal-hero-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: #0f1c2e;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.legal-hero-desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 620px;
}

/* Primeira seção da página não tem hero acima — precisa de espaço
   próprio pra não ficar colada no header fixo. */
.legal-first-sec {
  padding-top: 152px;
}

.legal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f1c2e;
  letter-spacing: -0.3px;
  line-height: 1.4;
  margin-bottom: 24px;
}

.legal-doc h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #0f1c2e;
  letter-spacing: 0.2px;
  margin: 36px 0 12px;
}

.legal-doc p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-doc p strong {
  color: #0f1c2e;
}

.legal-signature {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.legal-signature p {
  margin-bottom: 4px;
}

.legal-signee {
  font-weight: 700;
  color: #0f1c2e;
}

.legal-stamp {
  margin-top: 32px;
  padding: 24px 28px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.legal-stamp p {
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.legal-stamp-title {
  font-weight: 700;
  color: #0f1c2e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.72rem !important;
  margin-bottom: 10px !important;
}