/* ============================================================
   Grupo Karppa, Suporte do Sistema Karppa no visual novo (etapa 5)
   Carregar depois do base.css e do cab-rod.css.
   Escolha do Nícolas (22/10/2026): com o cabeçalho e o rodapé do site,
   abertura no centro como na /contato e perguntas que abrem e fecham.
   ============================================================ */

.sup-topo {
  padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 88px);
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(39, 56, 191, .34) 0%, rgba(39, 56, 191, 0) 70%);
}
.sup-topo .apoio { max-width: 660px; }

/* o canal direto */
.sup-cartao {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 640px;
  margin: clamp(32px, 4vw, 48px) auto 0;
  padding: clamp(26px, 3.4vw, 36px);
  text-align: center;
}
.sup-cartao .icone { margin-bottom: 4px; }
.sup-cartao p { color: var(--texto-apoio); font-size: 16px; line-height: 1.6; }
.sup-mail {
  margin: 4px 0 6px;
  color: var(--texto);
  font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.sup-mail:hover { color: var(--destaque); }
.sup-cartao .sup-nota { font-size: 14px; line-height: 1.6; color: var(--texto-rotulo); }
.sup-nota a { color: var(--destaque); text-decoration: underline; text-decoration-color: var(--destaque-borda); text-underline-offset: 3px; }
.sup-nota a:hover { color: #ffffff; }

/* ---------- Perguntas que abrem e fecham (as mesmas da /sistema/) ---------- */
.sup-perguntas-miolo {
  max-width: calc(860px + 2 * max(20px, 5vw));
  display: flex;
  flex-direction: column;
}
.sup-perguntas-titulo { margin-bottom: 24px; text-align: center; }
.pergunta {
  border-top: 1px solid var(--borda-08);
  padding: 20px 0;
}
.pergunta:last-of-type { border-bottom: 1px solid var(--borda-08); }
.pergunta summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  border-radius: 6px;
}
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta-mais {
  flex: 0 0 auto;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--destaque);
  transition: transform .3s var(--curva);
}
.pergunta[open] .pergunta-mais { transform: rotate(45deg); }
.pergunta p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--texto-apoio);
}
.pergunta p + p { margin-top: 10px; }
.pergunta a { color: var(--destaque); text-decoration: underline; text-decoration-color: var(--destaque-borda); text-underline-offset: 3px; }
.pergunta a:hover { color: #ffffff; }
.pergunta code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  color: var(--texto);
  font-family: inherit;
  font-size: .92em;
  font-weight: 700;
}
@media (max-width: 520px) {
  .pergunta { padding: 18px 0; }
  .pergunta summary { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .pergunta-mais { transition: none; }
}
