/* 
ERIKA FURTADO - FAQ SECTION
Estilo editorial sofisticado para seção de perguntas e respostas
*/

.faq-section {
  background-color: var(--color-beige-light);
  padding: 8rem 0;
}

.faq-title {
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-gray);
  padding-bottom: 2rem;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 1rem 0;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0;
  transition: all 0.3s ease;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.faq-icon:before,
.faq-icon:after {
  content: '';
  position: absolute;
  background-color: var(--color-gold);
  transition: all 0.3s ease;
}

.faq-icon:before {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-icon:after {
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon:after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 1rem;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1rem;
  opacity: 1;
}

.faq-answer p {
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .faq-section {
    padding: 4rem 0;
  }
  
  .faq-title {
    margin-bottom: 2.5rem;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
    padding-right: 1rem;
  }
  
  .faq-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 480px) {
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .faq-icon {
    width: 20px;
    height: 20px;
  }
  
  .faq-item {
    margin-bottom: 1.5rem;
  }
}
