/* ============================================================
   LEGAL.CSS — Estilos para páginas de conteúdo legal
   ============================================================ */

/* ── Page Header ─────────────────────────────────────────── */
.page-header {
  padding-top: calc(var(--navbar-h) + var(--space-xl));
  padding-bottom: var(--space-lg);
  border-bottom: var(--border-thin);
}

.page-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.page-header__breadcrumb a {
  transition: color var(--duration-fast) var(--ease-silk);
}

.page-header__breadcrumb a:hover {
  color: var(--color-text);
}

.page-header__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: var(--fw-light);
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.page-header__title em {
  font-style: italic;
}

.page-header__subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--fw-light);
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.85;
  margin-top: 0;
}

/* ── Prose content ───────────────────────────────────────── */
.legal-body {
  max-width: 780px;
}

.legal-section {
  margin-bottom: var(--space-lg);
}

.legal-section + .legal-section {
  padding-top: var(--space-lg);
  border-top: var(--border-thin);
}

.legal-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--fw-light);
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}

.legal-section h3 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  margin-bottom: calc(var(--space-sm) * 0.5);
}

.legal-section p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--fw-light);
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 1em;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--fw-light);
  color: var(--color-text-muted);
  line-height: 1.9;
  padding-left: 1.25rem;
  margin-bottom: 1em;
}

.legal-section li {
  margin-bottom: 0.4em;
}

.legal-section a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 0.5px solid currentColor;
  transition: color var(--duration-fast) var(--ease-silk);
}

.legal-section a:hover {
  color: var(--color-text);
}

.legal-section strong {
  font-weight: var(--fw-medium);
  color: var(--color-text);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-sm);
  margin-bottom: 1em;
}

.legal-table th {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: left;
  padding: 0.6rem 1rem 0.6rem 0;
  border-bottom: var(--border-thin);
}

.legal-table td {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--fw-light);
  color: var(--color-text-muted);
  line-height: 1.7;
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: var(--border-light);
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-update {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--fw-light);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: var(--border-thin);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .page-header {
    padding-top: calc(var(--navbar-h) + var(--space-lg));
    padding-bottom: var(--space-md);
  }

  .page-header__inner {
    padding: 0 var(--space-md);
  }

  .legal-table {
    display: block;
    overflow-x: auto;
  }
}
