/* ============================================================
   AI Canvas Nexus — estilo dos documentos legais
   Termos de Uso e Política de Privacidade.
   Mesmos tokens da página de venda, com leitura mais confortável.
   ============================================================ */

:root {
  --bg-primary: #0A0C11;
  --bg-secondary: #11141B;
  --bg-card: #171B24;
  --border: #232936;
  --blue: #22D3EE;
  --purple: #0891B2;
  --text: #E4E7EC;
  --text-muted: #A1A8B5;
  --text-dim: #7A8290;
  --nh-grafite: #1B2A3A;
  --nh-areia: #F2EEE6;
  --nh-verde: #B4D334;
}

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

body {
  background: var(--bg-primary);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.doc { max-width: 760px; margin: 0 auto; padding: 0 24px; }

a { color: var(--blue); }

/* ============ HEADER ============ */
header {
  padding: 28px 0 24px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}
.logo-horizontal { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.logo-oficial {
  width: auto; height: 50px; max-width: 92%;
  filter: drop-shadow(0 6px 24px rgba(8, 145, 178, 0.35));
}
.logo-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 500; color: var(--text-muted);
  letter-spacing: 2.5px; text-transform: uppercase; text-align: center;
}

/* ============ TÍTULO DO DOCUMENTO ============ */
.doc-head { padding: 56px 0 8px; text-align: center; }
.doc-head .section-label {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; color: var(--blue);
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px;
}
.doc-head h1 {
  font-size: clamp(28px, 4.5vw, 42px); line-height: 1.15;
  font-weight: 800; letter-spacing: -0.8px; margin-bottom: 14px;
}
.doc-meta { color: var(--text-dim); font-size: 14px; }

/* ============ RESUMO EM LINGUAGEM SIMPLES ============ */
.resumo {
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.07), var(--bg-card));
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 16px; padding: 26px 28px; margin: 36px 0 8px;
}
.resumo h2 {
  font-size: 18px; margin-bottom: 14px; color: var(--blue);
  font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.3px;
}
.resumo ul { list-style: none; }
.resumo li {
  padding: 8px 0 8px 26px; position: relative;
  color: var(--text); font-size: 15.5px;
}
.resumo li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--blue); font-weight: 700;
}
.resumo .nota { margin-top: 14px; font-size: 14px; color: var(--text-muted); }

/* ============ CORPO ============ */
.doc-body { padding: 24px 0 56px; }
.doc-body h2 {
  font-size: 23px; font-weight: 800; letter-spacing: -0.3px;
  margin: 44px 0 14px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.doc-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 16px; }
.doc-body h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; }
.doc-body p { margin-bottom: 14px; color: var(--text-muted); }
.doc-body strong { color: var(--text); font-weight: 600; }
.doc-body ul, .doc-body ol { margin: 0 0 16px 22px; color: var(--text-muted); }
.doc-body li { margin-bottom: 9px; }

.doc-body table {
  width: 100%; border-collapse: collapse; margin: 18px 0 22px;
  font-size: 15px; display: block; overflow-x: auto;
}
.doc-body th, .doc-body td {
  border: 1px solid var(--border); padding: 11px 14px;
  text-align: left; vertical-align: top;
}
.doc-body th {
  background: var(--bg-secondary); color: var(--text);
  font-weight: 700; font-size: 14px;
  font-family: 'Space Grotesk', sans-serif; letter-spacing: 0.3px;
}
.doc-body td { color: var(--text-muted); }

.destaque {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 12px; padding: 18px 22px; margin: 20px 0;
}
.destaque p:last-child { margin-bottom: 0; }

.doc-nav {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin: 40px 0 8px;
}
.doc-nav a {
  display: inline-block; padding: 12px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; text-decoration: none; color: var(--text);
  font-size: 15px; font-weight: 600; transition: border-color 0.2s;
}
.doc-nav a:hover { border-color: rgba(34, 211, 238, 0.45); }

/* ============ FOOTER ============ */
footer {
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.06));
  border-top: 1px solid var(--border);
  padding: 56px 0 32px; text-align: center;
}
.footer-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.footer-brand-img { height: 40px; width: auto; max-width: 90%; filter: drop-shadow(0 4px 16px rgba(8, 145, 178, 0.3)); }
.footer-tag {
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: var(--text-muted);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 36px;
}
.footer-parent {
  display: flex; align-items: center; justify-content: center; gap: 28px; padding: 26px 34px;
  background: var(--nh-grafite); border: 1px solid rgba(242, 238, 230, 0.12);
  border-radius: 16px; max-width: 620px; margin: 0 auto 28px;
}
.footer-parent-card { display: flex; align-items: center; justify-content: center; min-width: 160px; flex-shrink: 0; }
.footer-parent-card a { display: block; padding: 8px; }
.footer-parent-card img { width: 150px; height: auto; display: block; }
.footer-parent-text { text-align: left; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.footer-parent-text strong { color: var(--nh-areia); font-weight: 700; font-size: 16px; }
.footer-parent-text em { font-style: normal; color: var(--nh-areia); font-weight: 500; }
.footer-parent-text a { color: var(--nh-verde); font-weight: 600; text-decoration: none; }
.footer-links { display: flex; justify-content: center; gap: 26px; margin: 20px 0; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }
.footer-copy { color: var(--text-dim); font-size: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ============ RESPONSIVO ============ */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .doc-head { padding: 40px 0 4px; }
  .footer-parent { flex-direction: column; gap: 18px; padding: 24px; }
  .footer-parent-text { text-align: center; }
  .resumo { padding: 22px 20px; }
  .doc-body table { font-size: 14px; }
}
