/* =========================================================
   ABRATIC — privacidade.html · estilos exclusivos desta página
   Não altera assets/style.css (usa os tokens definidos em :root lá).
   Prefixo "priv-" evita colidir com classes de outras páginas.
   ========================================================= */

/* ---------- hero ---------- */
.page-hero--priv { padding-bottom: 40px; }
.priv-updated {
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #9fb3d1;
  letter-spacing: .01em;
}

/* ---------- layout: índice + artigo ---------- */
.priv-section { padding-top: 72px; }
.priv-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.priv-toc {
  position: sticky;
  top: 100px;
  padding: 20px 22px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.priv-toc-title {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.priv-toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: none;
}
.priv-toc a {
  display: block;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 13.8px;
  line-height: 1.35;
  color: var(--ink-soft);
  transition: background .16s, color .16s;
}
.priv-toc a:hover { background: #fff; color: var(--blue-500); }

/* ---------- artigo: largura de leitura confortável ---------- */
.priv-content {
  max-width: 70ch;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.8;
}
.priv-content > p { margin: 0 0 20px; }
.priv-content h2 {
  font-size: clamp(1.28rem, 1.6vw + .9rem, 1.55rem);
  color: var(--navy-900);
  margin: 56px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.priv-content > h2:first-of-type { margin-top: 44px; }
.priv-content h3 {
  font-size: 1.08rem;
  color: var(--navy-800);
  margin: 32px 0 14px;
}
.priv-content > p:first-child + h3,
.priv-content > h3:first-of-type { margin-top: 8px; }
.priv-content ul,
.priv-content ol.priv-list {
  margin: 0 0 20px;
  padding-left: 1.35em;
}
.priv-content li { margin-bottom: 10px; }
.priv-content li:last-child { margin-bottom: 0; }
.priv-content a { color: var(--blue-500); text-decoration: underline; text-decoration-color: rgba(37,99,235,.35); text-underline-offset: 2px; }
.priv-content a:hover { text-decoration-color: currentColor; }
.priv-content strong { color: var(--navy-900); font-weight: 600; }

/* ---------- tabelas ---------- */
.priv-table-wrap {
  overflow-x: auto;
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.priv-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 15px;
}
.priv-table th,
.priv-table td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
.priv-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-800);
  background: var(--bg-tint);
}
.priv-table td:first-child {
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}
.priv-table tbody tr:last-child td { border-bottom: none; }
.priv-table tbody tr:hover td { background: var(--bg-tint-2); }

/* ---------- caixa de avisos importantes ---------- */
.priv-callout {
  margin: 8px 0 40px;
  padding: 22px 26px;
  background: var(--bg-tint-2);
  border-left: 3px solid var(--cyan-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.priv-callout h3 { margin-top: 0; }
.priv-callout > p:last-child { margin-bottom: 0; }

/* ---------- endereço / contato ---------- */
.priv-address {
  font-style: normal;
  margin: 0 0 20px;
  padding: 16px 18px;
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
}

/* ---------- rodapé do documento (data/versão) ---------- */
.priv-meta {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 6px;
}

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .priv-layout {
    /* minmax(0, 1fr) e obrigatorio: sem ele o item de grid nao
       encolhe abaixo do conteudo minimo, e a tabela interna
       (min-width: 480px) empurrava a pagina inteira para 584 px
       de largura dentro de uma tela de 375 px. */
    grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .priv-toc { position: static; }
  .priv-content { max-width: 100%; }
}
@media (max-width: 640px) {
  .priv-section { padding-top: 48px; }
  .priv-content { font-size: 16px; }
  .priv-content h2 { margin-top: 40px; }
  .priv-table { min-width: 420px; }
}
