/* Página legal — estilo Prudêncio */

.page-legal {
  padding-top: var(--header-h);
}

.legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 3rem) 4rem;
}

.legal__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(245, 245, 240, 0.12);
}

.legal__tag {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 0.75rem;
}

.legal__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.legal__updated {
  font-size: 0.8rem;
  opacity: 0.55;
  font-style: italic;
  margin-bottom: 1rem;
}

.legal__intro {
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.72;
  max-width: 38rem;
}

.legal__section {
  margin-bottom: 2rem;
}

.legal__section h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.legal__section p,
.legal__section li {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.78;
  margin-bottom: 0.75rem;
}

.legal__section ul {
  margin: 0 0 0.75rem 1.1rem;
  padding: 0;
}

.legal__section a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__section a:hover {
  opacity: 0.85;
}

.legal__back {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.55;
}

.legal__back:hover {
  opacity: 1;
}

.footer__legal-link {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__legal-link:hover {
  opacity: 1;
}

.legal-lang-switch {
  display: flex;
  gap: 0.35rem;
  padding: 3px;
  border: 1px solid rgba(245, 245, 240, 0.15);
}

.legal-lang-switch__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 26px;
  padding: 2px;
  opacity: 0.45;
  transition: opacity 0.25s, background 0.25s;
}

.legal-lang-switch__btn:hover {
  opacity: 0.85;
}

.legal-lang-switch__btn.is-active {
  opacity: 1;
  background: rgba(245, 245, 240, 0.12);
}
