/* ==========================================================================
   Estilos Institucionais / Páginas Legais (Host16)
   ========================================================================== */

:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.legal-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-box {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 1rem;
}

.btn-back {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.btn-back:hover {
  color: var(--primary-dark);
}

/* Card Conteúdo */
.legal-content {
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.legal-card h1 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.last-updated {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.legal-card section {
  margin-bottom: 2rem;
}

.legal-card h2 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.legal-card p, .legal-card ul {
  color: #334155;
  font-size: 1rem;
}

.legal-card ul {
  padding-left: 1.25rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
}

.support-box {
  background-color: #f1f5f9;
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.support-box a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.support-box a:hover {
  text-decoration: underline;
}

/* Footer */
.legal-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.text-center {
  text-align: center;
}