/* ─────────────────────────────────────────────────────────────────────────
   Central de Privacidade e Segurança — Unity Car Service
   Estilo compartilhado dos documentos LGPD (site institucional estático).
   Servido por file_server do Caddy em unitycs.com.br/privacidade/lgpd.css
   ───────────────────────────────────────────────────────────────────────── */

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

:root {
  --bg: #0a0a0a;
  --card: #141414;
  --card-2: #101010;
  --border: #222;
  --border-hover: #333;
  --text: #e5e5e5;
  --muted: #888;
  --muted-2: #555;
  --brand: #f97316;
  --brand-soft: rgba(249, 115, 22, 0.1);
  --brand-border: rgba(249, 115, 22, 0.25);
  --white: #fff;
  --green: #4ade80;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ─── Header ─── */
header {
  border-bottom: 1px solid var(--border);
  padding: 40px 24px 28px;
}
header .wrap { padding: 0; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--muted-2); margin: 0 6px; }
header h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-top: 16px;
  line-height: 1.25;
}
header .sub { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ─── Doc meta (versão / vigência) ─── */
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.doc-meta .pill {
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 12px;
}
.doc-meta .pill strong { color: var(--text); font-weight: 600; }

/* ─── Main ─── */
main { padding: 36px 24px 24px; }
main .wrap { padding: 0; }

section { margin-bottom: 40px; }
h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
h3 { font-size: 16px; color: var(--white); margin: 22px 0 10px; }
p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--white); }

ul, ol { padding-left: 22px; margin-bottom: 14px; }
li { margin-bottom: 8px; }

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

.lead { font-size: 16px; color: var(--text); }

/* ─── Card ─── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 20px;
}
.card h3 { margin-top: 0; }
.card p { margin: 6px 0; }

.note {
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
  font-size: 14px;
}
.note strong { color: var(--brand); }

/* ─── Tabela (retenção) ─── */
.table-wrap { overflow-x: auto; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
thead th {
  text-align: left;
  background: var(--card);
  color: var(--white);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: var(--card-2); }

/* ─── Hub: grid de documentos ─── */
.docs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 8px; }
.doc-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}
.doc-card:hover { border-color: var(--brand-border); transform: translateY(-2px); }
.doc-card .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.doc-card h3 { margin: 0 0 6px; font-size: 15px; }
.doc-card p { margin: 0; font-size: 13px; color: var(--muted); }
.doc-card .cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}
.doc-card:hover .cta { text-decoration: underline; }

/* ─── Hub: lista de URLs diretas ─── */
.docs-links { list-style: none; padding-left: 0; margin-bottom: 0; }
.docs-links li { margin-bottom: 12px; font-size: 14px; }
.docs-links li:last-child { margin-bottom: 0; }
.docs-links a { font-size: 13px; word-break: break-all; }

/* ─── Steps numerados ─── */
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 18px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  background: var(--brand);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.9;
}
footer a { color: var(--muted); text-decoration: underline; }

/* ─── Mobile ─── */
@media (max-width: 640px) {
  .docs-grid { grid-template-columns: 1fr; }
  header h1 { font-size: 22px; }
  h2 { font-size: 18px; }
}

/* ─── Print (auditor pode salvar em PDF) ─── */
@media print {
  body { background: #fff; color: #000; }
  header, main, footer { border-color: #ccc; }
  h1, h2, h3, strong { color: #000; }
  .card, .note, .table-wrap { border-color: #ccc; }
  .doc-meta .pill { border-color: #ccc; color: #333; }
  a.link, .crumbs a { color: #000; }
  .doc-card .cta { color: #000; }
  .docs-links a { color: #000; }
}
