/*
 * Páginas de texto (privacidade, termos, suporte, exclusão de conta).
 * Usa os tokens do site.css. Os aliases abaixo existem porque o HTML dessas
 * páginas tem estilos inline com as variáveis antigas (--text-primary,
 * --accent, --red-light).
 */
:root {
  --text-primary: var(--text);
  --accent: var(--lime-ink);
  --red-light: var(--danger);
}

.doc-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--border); background: var(--surface); }
.doc-hero .wrap { max-width: 800px; }
.doc-hero h1 { font-family: var(--font-cond); font-weight: 800; font-size: clamp(38px, 6vw, 56px); letter-spacing: -0.01em; margin: 12px 0 8px; }
.doc-hero p { color: var(--text-3); font-size: 16px; }

.doc { max-width: 800px; margin: 0 auto; padding: 40px var(--gutter) 80px; }
.doc p { font-size: 16px; color: var(--text-2); line-height: 1.7; margin: 0 0 10px; }
.doc p:last-child { margin-bottom: 0; }
.doc strong { color: var(--text); }

.doc section {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; margin-bottom: 12px;
}
.doc h2 { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.num, .step-num {
  width: 30px; height: 30px; min-width: 30px; border-radius: 8px;
  background: var(--lime); color: var(--lime-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-cond); font-weight: 800; font-size: 16px;
}
.sub-label { font-family: var(--font-cond); font-size: 14px !important; font-weight: 700; color: var(--text-3) !important; text-transform: uppercase; letter-spacing: 0.1em; margin: 16px 0 8px !important; }

.doc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.doc ul li { font-size: 16px; color: var(--text-2); display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; }
.doc ul li::before { content: ""; width: 6px; height: 6px; min-width: 6px; background: var(--primary); border-radius: 50%; margin-top: 10px; }
.doc ul.red-list li::before { background: var(--danger); }
.doc ul.amber-list li::before { background: var(--gold); }

.contact-link { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.contact-link:hover { text-decoration-color: var(--primary); }

.intro-card {
  background: var(--lime-soft); border: 1px solid #dfe5a6; border-radius: var(--r-lg);
  padding: 24px 28px; margin-bottom: 12px;
}
.intro-card p + p { margin-top: 10px; }

.email-box {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 12px 18px; margin-top: 8px;
}
.email-box svg { color: var(--text); flex-shrink: 0; }

.page-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none;
  padding: 8px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border-strong);
  transition: border-color 150ms ease;
}
.page-link:hover { border-color: var(--primary); }

/* ── Exclusão de conta ── */
.warning-card {
  background: var(--danger-light, #fff5f5); border: 1px solid #fecaca; border-radius: var(--r-lg);
  padding: 24px 28px; margin-bottom: 12px; display: flex; gap: 16px; align-items: flex-start;
}
.warning-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; background: #fee2e2;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.warning-card p + p { margin-top: 10px; }
.steps { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-body { flex: 1; min-width: 0; }
.step-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step-desc { font-size: 15px !important; margin: 0 !important; }
.template-box { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; margin-top: 14px; }
.template-label { font-family: var(--font-cond); font-size: 14px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; }
.template-row { display: flex; gap: 12px; align-items: baseline; margin-bottom: 8px; }
.template-row:last-child { margin-bottom: 0; }
.template-field { font-size: 13px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; min-width: 76px; }
.template-value { font-size: 15px; color: var(--text-2); line-height: 1.5; }
.template-value em { font-style: normal; font-weight: 600; color: var(--text); background: var(--lime-soft); padding: 0 4px; border-radius: 4px; }
.amber-notice { display: flex; gap: 12px; align-items: flex-start; background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--r-md); padding: 14px 16px; margin-top: 16px; }
.amber-notice p { font-size: 15px !important; color: #78350f !important; margin: 0 !important; }
.amber-notice strong { color: #78350f; }
.amber-notice svg { stroke: #b45309; }

/* ── Suporte ── */
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 36px 28px; margin-bottom: 12px; text-align: center; box-shadow: var(--shadow-sm);
}
.contact-card .icon-ring {
  width: 60px; height: 60px; border-radius: 50%; background: var(--lime); color: var(--lime-ink);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.contact-card h2 { justify-content: center; font-family: var(--font-cond); font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.contact-card p { max-width: 460px; margin: 0 auto 20px !important; }
.email-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 12px 22px; border-radius: var(--r-md); background: var(--primary); color: var(--on-primary);
  font-weight: 700; font-size: 16px; text-decoration: none; transition: background-color 150ms ease, transform 150ms ease;
  max-width: 100%; word-break: break-all;
}
.email-button:hover { background: #2a2a2a; }
.email-button:active { transform: scale(0.98); }
.response-time { margin-top: 16px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 14px; color: var(--text-3); }
.response-time .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--win); }
.section-icon {
  width: 30px; height: 30px; min-width: 30px; border-radius: 8px; background: var(--lime); color: var(--lime-ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { padding: 14px 0; border-top: 1px solid var(--border); }
.faq-item:first-child { border-top: 0; padding-top: 0; }
.faq-item strong { display: block; font-size: 16px; margin-bottom: 4px; }
.faq-item p { margin: 0 !important; }
.privacy-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.privacy-row p { margin: 0 !important; flex: 1; min-width: 220px; }

@media (max-width: 560px) {
  .doc-hero { padding: 36px 0 28px; }
  .doc { padding-top: 24px; }
  .doc section, .intro-card, .warning-card { padding: 22px 18px; }
  .warning-card { flex-direction: column; gap: 12px; }
  .template-row { flex-direction: column; gap: 2px; }
}
