/* ==========================================================================
   Perguntas frequentes: carrossel de vídeos sobre foto de fundo
   ========================================================================== */

.faq {
  position: relative;
  width: 100%;
  margin: 0 0 120px;
  overflow: hidden;
  background: #15110C;
}
.faq__fundo {
  position: absolute;
  top: -7vw;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}
.faq__degrade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(59.7vw + 2px);
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, .45) 65%, rgba(21, 17, 12, 1) 100%);
}
.faq__conteudo {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: max(120px, calc(31vw - 60px)) 24px 120px;
}
.faq__cabecalho {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.faq__titulo {
  margin: 0 auto 0 0;
}

.faq__carrossel {
  position: relative;
}
.faq__carrossel .seta-carrossel {
  box-shadow: 0 8px 20px rgba(10, 4, 25, .35);
}
.faq__carrossel .seta-carrossel:hover {
  background: var(--amarelo-claro);
}
.faq__trilho {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 25vw, 320px);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
  scrollbar-width: none;
}
.faq__item {
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.faq__video {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: var(--lilas);
  border: 1px solid var(--roxo-vivo);
  box-shadow: 0 16px 40px rgba(10, 4, 25, .35);
}
.faq__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .faq {
    margin-bottom: 0;
  }
  .faq__conteudo {
    padding-bottom: 30px;
  }
}
