/* ── Tema: variáveis para light e dark ── */
html.light-theme {
  --bg-page: #f3f4f6;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #6b7280;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-light: #eff6ff;
  --section-title: #111827;
  --bullet-color: #2563eb;
  --badge-bg: #eff6ff;
  --badge-text: #1d4ed8;
  --link: #2563eb;
  --link-hover: #1d4ed8;
  --divider: #e2e8f0;
  --logo-filter: none;
}

html.dark-theme {
  --bg-page: #1a1a1a;
  --bg-card: #2a2a2a;
  --text-main: #f0f0f0;
  --text-muted: #9ca3af;
  --border: #444444;
  --primary: #3b82f6;
  --primary-light: #1e3a5f;
  --section-title: #f9fafb;
  --bullet-color: #60a5fa;
  --badge-bg: #1e3a5f;
  --badge-text: #93c5fd;
  --link: #60a5fa;
  --link-hover: #93c5fd;
  --divider: #3a3a3a;
  --logo-filter: brightness(0) invert(1);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  transition: background-color 0.2s ease, color 0.2s ease;
  -webkit-font-smoothing: antialiased;
}

.privacy-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px;
}

/* ── Cabeçalho da página ── */
.privacy-header {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.privacy-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: var(--logo-filter);
}

.privacy-title-block {
  text-align: center;
}

.privacy-title-block h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--section-title);
  line-height: 1.3;
}

.privacy-title-block .privacy-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--primary-light);
}

.privacy-badge i {
  font-size: 0.72rem;
}

/* ── Card principal ── */
.privacy-card {
  width: 100%;
  max-width: 780px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 48px;
}

/* ── Seções ── */
.privacy-section {
  margin-bottom: 32px;
}

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

.privacy-section + .privacy-section {
  padding-top: 28px;
  border-top: 1px solid var(--divider);
}

.privacy-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--section-title);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-section h2 .section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--primary-light);
  color: var(--bullet-color);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.privacy-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--section-title);
  margin: 16px 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.privacy-section h3 i {
  color: var(--primary);
  font-size: 0.8rem;
}

.privacy-section p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-main);
}

.privacy-section ul {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-section ul li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-main);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.privacy-section ul li::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--bullet-color);
  margin-top: 7px;
  flex-shrink: 0;
}

.privacy-section a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

.privacy-section a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* ── Rodapé da página ── */
.privacy-footer {
  width: 100%;
  max-width: 780px;
  margin-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.privacy-footer strong {
  color: var(--text-main);
}

/* ── Responsivo ── */
@media (max-width: 640px) {
  .privacy-wrapper {
    padding: 24px 16px 40px;
  }

  .privacy-card {
    padding: 24px 20px;
  }

  .privacy-title-block h1 {
    font-size: 1.25rem;
  }
}
