/* PersonalleHub — identidade visual única para os documentos públicos.
 * Compartilhada pelo app React e pela política de privacidade HTML estática.
 * Somente apresentação: jamais altera conteúdo, versão ou aceite jurídico.
 */
.ph-legal-page {
  min-height: 100vh;
  background: #faf9fc;
  color: #334155;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ph-legal-page *, .ph-legal-page *::before, .ph-legal-page *::after { box-sizing: border-box; }
.ph-legal-header { border-bottom: 1px solid #e2e8f0; background: #fff; }
.ph-legal-header-inner {
  display: flex;
  max-width: 896px;
  min-height: 80px;
  margin: 0 auto;
  padding: 16px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ph-legal-brand { display: inline-flex; align-items: center; gap: 10px; color: #0f172a; text-decoration: none; }
.ph-legal-brand img { display: block; width: auto; height: 36px; max-width: 44px; object-fit: contain; }
.ph-legal-brand-label { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.ph-legal-brand-name { font-size: 20px; line-height: 1; font-weight: 700; letter-spacing: -.025em; }
.ph-legal-brand-subtitle { margin-top: 3px; font-size: 11px; line-height: 1.1; font-weight: 600; letter-spacing: .08em; color: #8253b9; text-transform: uppercase; }
/* Override the legacy static privacy page's '.brand small' rule too. */
.ph-legal-brand .ph-legal-brand-subtitle { margin-top: 3px; font-size: 11px; line-height: 1.1; letter-spacing: .08em; }
.ph-legal-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  color: #8253b9;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  text-decoration: none;
}
.ph-legal-back:hover { background: #faf5ff; color: #70439f; }
.ph-legal-back:focus-visible { outline: 2px solid #8253b9; outline-offset: 2px; }
.ph-legal-back svg { display: block; width: 16px; height: 16px; flex-shrink: 0; }
.ph-legal-main { max-width: 896px; margin: 0 auto; padding: 40px 24px 64px; }
.ph-legal-heading-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ph-legal-icon { display: flex; width: 48px; height: 48px; flex: 0 0 48px; align-items: center; justify-content: center; border-radius: 12px; background: #faf5ff; color: #8253b9; }
.ph-legal-icon svg { display: block; width: 24px; height: 24px; }
.ph-legal-title {
  margin: 0;
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #0f172a;
}
.ph-legal-description { margin: 4px 0 0; font-size: 12px; line-height: 20px; color: #64748b; }
.ph-legal-card { padding: 32px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; }
.ph-legal-version { margin: 0 0 16px; font-size: 12px; font-weight: 600; line-height: 20px; color: #8253b9; }
.ph-legal-doc-title { margin: 0 0 20px; font-size: 18px; line-height: 1.5; font-weight: 600; color: #0f172a; }
.ph-legal-text { font-family: 'Inter', system-ui, sans-serif; font-size: 14px; line-height: 1.85; color: #475569; overflow-wrap: anywhere; }
.ph-legal-text section { padding: 18px 0; border-bottom: 1px solid #f1f5f9; }
.ph-legal-text section:first-child { padding-top: 0; }
.ph-legal-text section:last-child { padding-bottom: 0; border-bottom: 0; }
.ph-legal-text h2 { margin: 0 0 10px; color: #0f172a; font-size: 18px; line-height: 1.5; font-weight: 600; }
.ph-legal-text p, .ph-legal-text li { margin: 8px 0; font-size: inherit; line-height: inherit; color: inherit; }
.ph-legal-text ul { padding-left: 22px; margin: 10px 0; }
.ph-legal-text li + li { margin-top: 5px; }
.ph-legal-text a { color: #8253b9; text-underline-offset: 3px; }
.ph-legal-text .note { padding: 12px 15px; border-left: 3px solid #8253b9; border-radius: 8px; background: #faf5ff; }
.ph-legal-note { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid #f1f5f9; font-size: 12px; line-height: 1.7; color: #64748b; }
.ph-legal-footer { max-width: 896px; margin: auto; padding: 0 24px 30px; color: #64748b; text-align: center; font-size: 12px; line-height: 1.6; }
@media (max-width: 640px) {
  .ph-legal-header-inner { padding: 16px; }
  .ph-legal-brand-name { font-size: 18px; }
  .ph-legal-brand img { height: 32px; }
  .ph-legal-main { padding: 32px 16px 48px; }
  .ph-legal-heading-row { gap: 12px; }
  .ph-legal-title { font-size: 24px; }
  .ph-legal-card { padding: 20px; }
}

.ph-legal-text h3 { margin: 20px 0 8px; font-size: 16px; line-height: 1.5; font-weight: 600; color: #0f172a; }
.ph-legal-text h4 { margin: 14px 0 4px; font-size: 14px; line-height: 1.5; font-weight: 600; color: #334155; }
