/* ==========================================================================
   Ajudo — páginas institucionais (Sobre, Privacidade, Termos, Contato)
   Tipografia de leitura, sem sidebar. Base em ferramenta.css (tool-page/prose).
   ========================================================================== */

.inst-page .tool-head { max-width: 70ch; }
.inst-updated {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  margin-top: 12px;
}

.inst-body {
  max-width: 70ch;
  margin-top: 28px;
}
.inst-body h2 {
  margin: 32px 0 10px;
}
.inst-body h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.inst-body p { color: var(--ink-soft); margin-bottom: 12px; line-height: 1.65; }
.inst-body ul, .inst-body ol { margin: 0 0 14px 22px; color: var(--ink-soft); line-height: 1.65; }
.inst-body li { margin-bottom: 6px; }
.inst-body a { color: var(--green-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.inst-body a:hover { color: var(--terracotta); }
.inst-body strong { color: var(--ink); }

/* Destaque (cards de info: CNPJ, e-mail, privacidade local) */
.inst-card {
  background: var(--paper-deep);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: 18px 0;
}
.inst-card h3 { margin-top: 0; }
.inst-card p:last-child { margin-bottom: 0; }

.inst-highlight {
  background: #e4ecdf;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: 18px 0;
}
.inst-highlight p { color: var(--green-deep); margin-bottom: 0; }

/* Contato: e-mail em evidência */
.inst-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--green-deep);
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop), var(--shadow-sm);
  padding: 16px 22px;
  margin: 10px 0 18px;
  text-decoration: none;
}
.inst-email:hover { color: var(--terracotta); }
.inst-email svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Hub de ferramentas: itens "em breve" */
.related-card.is-soon {
  opacity: 0.6;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.soon-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* Hub-mãe: título de cluster clicável + link "ver categoria" */
.cluster-title { display: flex; align-items: baseline; gap: 10px; }
.cluster-title a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--mustard);
  transition: color 0.15s ease;
}
.cluster-title a:hover { color: var(--green-deep); }
.cluster-more { margin-top: 12px; }
.cluster-more a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
}
.cluster-more a:hover { color: var(--terracotta); }

/* Página de busca / 404 */
.busca-page { max-width: 760px; }
.busca-page .field { margin-bottom: 22px; }
.busca-page input[type="search"] {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop), var(--shadow-sm);
  padding: 15px 18px;
}
.busca-page input[type="search"]:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 87, 67, 0.14);
}
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
