/* =========================================================
   CLINVI — páginas de conteúdo (sobre, contato, privacidade, 404)
   Reaproveita os tokens do base.css. Sem JS: nada aqui depende
   de .reveal, então o texto aparece mesmo para quem não executa
   JavaScript (robôs de busca e agentes de IA).
   ========================================================= */

.doc {
  padding: 148px 0 96px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(160, 194, 158, .16) 0%, transparent 62%),
    var(--bg);
}

.doc-inner {
  max-width: 760px;
  margin: 0 auto;
}

.doc h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  margin: 16px 0 0;
}

.doc .doc-lede {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 300;
  margin-top: 22px;
}

.doc h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  margin: 64px 0 0;
}

.doc h3 {
  font-size: 19px;
  margin: 36px 0 0;
  color: var(--graphite);
}

.doc p {
  margin-top: 18px;
  color: var(--ink-soft);
}

.doc strong { font-weight: 500; color: var(--graphite); }

.doc a:not(.btn) {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(55, 89, 67, .35);
  transition: text-decoration-color .2s;
}
.doc a:not(.btn):hover { text-decoration-color: var(--forest); }

.doc ul {
  margin: 18px 0 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.doc ul li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
}
.doc ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
}

/* Bloco destacado (cartão claro) — usado para canais de contato e avisos */
.doc-card {
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.doc-card p:first-child { margin-top: 0; }

.doc-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--forest);
}

/* Linha de canal: assunto + destino */
.doc-canais {
  margin-top: 28px;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.doc-canal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 18px 24px;
  background: var(--white);
}
.doc-canal dt {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}
.doc-canal dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--graphite);
}

/* Nota final da página, mais discreta */
.doc-nota {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-mute);
}
.doc-nota p { font-size: 14px; color: var(--ink-mute); }

/* -------- 404 -------- */
.doc-404 { text-align: center; }
.doc-404 .doc-inner { max-width: 620px; margin: 0 auto; }
.doc-404 ul { align-items: center; }
.doc-404 ul li { padding-left: 0; }
.doc-404 ul li::before { display: none; }

.doc-codigo {
  font-family: var(--serif);
  font-size: clamp(72px, 12vw, 132px);
  line-height: 1;
  color: var(--leaf);
}

.doc-acoes {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 760px) {
  .doc { padding: 120px 0 72px; }
  .doc h2 { margin-top: 48px; }
}

.doc code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: .88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(55, 89, 67, .07);
  color: var(--forest);
}

.doc dl { margin: 0; }

.doc-nota h2 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--graphite);
  margin: 0 0 4px;
}
