/* Layout de FAQ (accordion) usado pelo shortcode [acr_post formato="faq"] */

.faq-FAO {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: #fff;
  counter-reset: faq;              /* numeração automática 1. 2. 3. */
  font-family: "Montserrat";
}

/* Título vermelho em maiúsculas, com linha embaixo */
.faq-FAO .faq-titulo {
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #e8112d;
  margin: 0 0 1rem;
}
.faq-FAO .faq-titulo::after {
  content: "";
  display: block;
  width: 300px;
  max-width: 60%;
  height: 1px;
  background: #bbb;
  margin: 1rem auto 0;
}

/* Subtítulo */
.faq-FAO .faq-subtitulo {
  text-align: center;
  color: #555;
  font-size: 1rem;
  margin: 0 0 2rem;
}

.faq-FAO .faq-item {
  margin-bottom: 1rem;
}

/* Pergunta fechada = card branco com borda preta */
.faq-FAO .faq-pergunta {
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  list-style: none;                /* tira a setinha padrão */
  background: #fff;
  border: 2px solid #111;
  border-radius: 8px;
  padding: 1.1rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  transition: background .2s ease, color .2s ease;
}
.faq-FAO .faq-pergunta::-webkit-details-marker { display: none; }

/* Numeração automática "1." "2." ... */
.faq-FAO .faq-pergunta::before {
  counter-increment: faq;
  content: counter(faq) ". ";
  white-space: pre;
}

/* Usada pelo widget do Elementor quando a opção "Exibir numeração" está desligada */
.faq-FAO.faq-sem-numero .faq-pergunta::before {
  display: none;
}

/* Chevron (fechado, preto, aponta pra baixo) */
.faq-FAO .faq-pergunta::after {
  content: "";
  flex: 0 0 auto;
  margin-left: auto;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid #111;
  border-bottom: 2.5px solid #111;
  transform: rotate(45deg);
  transition: transform .25s ease, border-color .25s ease;
  margin-top: -4px;
}

/* Item ABERTO = barra preta, texto e chevron brancos */
.faq-FAO .faq-item[open] .faq-pergunta {
  background: #111;
  color: #fff;
  border-radius: 8px 8px 0 0;      /* junta com a resposta */
}
.faq-FAO .faq-item[open] .faq-pergunta::after {
  transform: rotate(-135deg);
  border-color: #fff;
}

/* Resposta = caixa branca ligada à barra */
.faq-FAO .faq-resposta {
  background: #fff;
  border: 2px solid #111;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 1.25rem 1.5rem;
  color: #444;
  line-height: 1.7;
  font-size: 1rem;
}

/* Bullets dentro da resposta */
.faq-FAO .faq-resposta ul {
  margin: .75rem 0;
  padding-left: 1.25rem;
  list-style: disc;
}
.faq-FAO .faq-resposta li {
  margin-bottom: .5rem;
}
