/**
 * Projeto: BaseCNPJ
 * Arquivo: privacidade.css
 * Autor: Djeferson Capelli
 * Versão: 2.0.0
 * Descrição: Estilos da página de privacidade
 */
.privacy-shell {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0) + 34px);
  padding-bottom: max(40px, env(safe-area-inset-bottom, 0));
  padding-left: max(16px, 4vw, env(safe-area-inset-left, 0));
  padding-right: max(16px, 4vw, env(safe-area-inset-right, 0));
}

.privacy-wrap {
  max-width: 900px;
  margin: 0 auto;
}

/* ── Header com mascote ─────────────────────────────────────────────────── */
.privacy-head {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}

.privacy-head-content {
  flex: 1;
}

.privacy-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 10px;
}

.privacy-head p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.privacy-updated {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .03em;
}

.privacy-head-mascot {
  flex-shrink: 0;
}

.privacy-head-mascot img {
  width: 160px;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .25);
  transition: transform .3s, box-shadow .3s;
}

.privacy-head-mascot img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .35);
}

/* ── Cards ──────────────────────────────────────────────────────────────── */
.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 12px;
}

.privacy-card h2 {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 700;
}

.privacy-card p {
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 14px;
  margin-bottom: 8px;
}

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

.privacy-card strong {
  color: var(--text);
  font-weight: 600;
}

.privacy-card ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 10px;
}

.privacy-card ul li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.privacy-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #3783FF);
  opacity: .6;
}

.privacy-card code {
  background: var(--bg-card-h, rgba(255,255,255,.05));
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--accent, #3783FF);
}

.privacy-card a {
  color: var(--accent-b, #3783FF);
  text-decoration: none;
}

.privacy-card a:hover {
  text-decoration: underline;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.privacy-footer-note {
  margin-top: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: rgba(55, 131, 255, .04);
  border: 1px solid rgba(55, 131, 255, .1);
}

.privacy-footer-note p {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 4px;
}

.privacy-footer-note p:last-child {
  margin-bottom: 0;
}

.privacy-footer-note a {
  color: var(--accent-b, #3783FF);
  text-decoration: none;
}

.privacy-footer-note a:hover {
  text-decoration: underline;
}

/* ── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .privacy-head {
    flex-direction: column-reverse;
    text-align: center;
    gap: 16px;
  }
  .privacy-head-mascot img {
    width: 120px;
  }
  .privacy-card {
    padding: 16px;
  }
}
