.faq-section {
  width: 100%;
  margin-top: 80px;
  padding: 90px 8%;
  background: #EEF2F7;
}

.faq-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;


}

.faq-title {
  text-align: center;
  margin-bottom: 70px;
}

.faq-title h1 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #00427a;
  margin-bottom: 18px;
  line-height: 1.1;
}

.faq-title p {
  font-size: 1.1rem;
  color: #6B7280;
  line-height: 1.6;
}

/* GRID */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  align-items: start;
}

/* CATEGORIA (CARD PRINCIPAL) */
.faq-category {
  background: #ffffff;
  border-radius: 28px;
  padding: 35px;
  border: 1px solid rgba(0, 66, 122, 0.08);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  
}

/* HEADER DA CATEGORIA */
.faq-category-title {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1.7rem;
  font-weight: 700;
  color: #00427a;

  text-align: left;
}

.faq-category-title span {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

/* CONTEÚDO COLAPSÁVEL DA CATEGORIA */
.faq-category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;

  margin-top: 0;
}

/* aberto */
.faq-category.active .faq-category-content {
  max-height: 2000px;
  margin-top: 30px;
}

.faq-category.active .faq-category-title span {
  transform: rotate(45deg);
}

/* ITEM FAQ */
.faq-item {
  background: #ffffff;
  border-radius: 18px;
  margin-bottom: 18px;
  overflow: hidden;

  border: 1px solid rgba(0, 66, 122, 0.12);

  position: relative;

  transition: transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: linear-gradient(to right, #00427a, #9ccaff);
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 66, 122, 0.18);
}

/* PERGUNTA */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;

  padding: 22px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 20px;

  cursor: pointer;

  text-align: left;

  color: #00427a;

  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.faq-question span {
  font-size: 1.8rem;
  font-weight: 400;

  color: #00427a;

  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* RESPOSTA */
.faq-answer {
  max-height: 0;
  overflow: hidden;

  transition: max-height 0.4s ease, padding 0.3s ease;

  padding: 0 24px;
}

.faq-answer p {
  color: #6B7280;
  font-size: 0.98rem;
  line-height: 1.7;

  padding-bottom: 24px;
}

/* ITEM ABERTO */
.faq-item.active .faq-answer {
  max-height: 350px;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}