/* Ajuda: contato visível no topo e no fim, perguntas em acordeão nativo agrupadas por tema. */
.help-page {
  max-width: 760px;
  padding-bottom: var(--space-12);
  overflow-wrap: anywhere;
}

.help-intro {
  font-size: var(--font-size-card);
}

.help-contact,
.help-group,
.help-footer {
  border-top: 1px solid var(--line);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
}

.help-contact p {
  line-height: 1.65;
}

.help-contact .actions {
  margin-top: var(--space-4);
}

.help-address {
  user-select: all;
}

.help-group h2 {
  margin-bottom: var(--space-4);
}

/* Cada pergunta abre com um filete; o bloco seguinte (tema ou contato) já traz o seu. */
.help-question {
  border-top: 1px solid var(--line);
}

.help-question summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--control-min-height);
  padding: var(--space-3) 0;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.help-question summary::-webkit-details-marker {
  display: none;
}

.help-question-marker {
  flex: none;
  width: var(--space-6);
  height: var(--space-6);
  fill: none;
  stroke: currentcolor;
  stroke-width: 2;
  transition: transform var(--motion);
}

.help-question[open] .help-question-marker {
  transform: rotate(180deg);
}

/* A âncora cai na resposta; a margem mantém a pergunta visível acima dela. */
.help-answer {
  padding-bottom: var(--space-4);
  scroll-margin-top: calc(var(--control-min-height) + var(--space-8));
}

.help-answer p,
.help-answer li {
  color: var(--text);
  line-height: 1.65;
}

.help-answer li + li {
  margin-top: var(--space-2);
}

.help-answer > :last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .help-question-marker {
    transition: none;
  }
}
