/* ══════════════════════════════════════════════
   WAVE — Depoimentos (branco) → FAQ (escuro)
══════════════════════════════════════════════ */
.wave-dep-faq {
  margin-bottom: -2px;
  overflow: hidden;
  background: var(--white);
  line-height: 0;
}

.wave-dep-faq svg {
  display: block;
  width: 100%;
  height: clamp(40px, 5vw, 72px);
  
}

/* ══════════════════════════════════════════════
   FAQ — Accordion
══════════════════════════════════════════════ */
.faq-section {
  padding: clamp(5rem, 10vw, 8rem) 0;
    background-color: var(--surface-dark);
  background-image:
    linear-gradient(rgba(22, 21, 26, 0.78), rgba(22, 21, 26, 0.84)),
    url("../assets/imagens/pq-film-grain.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.faq-section .section-eyebrow {
  color: var(--areia);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.faq-layout > * {
  min-width: 0;
}

.faq-left {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2rem;
}

.faq-right {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(var(--white-rgb), 0.1);
}

.faq-item:first-child {
  border-top: 1px solid rgba(var(--white-rgb), 0.1);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 0;
  text-align: left;
  color: rgba(var(--white-rgb), 0.9);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: color var(--transition);
  cursor: pointer;
}

.faq-q:hover {
  color: var(--areia);
}

.faq-q[aria-expanded="true"] {
  color: var(--areia);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--terracota-medio);
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s var(--easing-expo),
    padding 0.3s ease;
}

.faq-a.open {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

.faq-a p {
  font-size: 0.9rem;
  color: rgba(var(--white-rgb), 0.6);
  line-height: 1.75;
}

.faq-a strong {
  color: rgba(var(--white-rgb), 0.85);
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .faq-left {
    position: static;
  }
}

@media (max-width: 480px) {
  .faq-left h2 {
    font-size: 1.65rem;
    margin-bottom: 1.5rem;
  }

  .faq-left .btn-primary {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    padding: 0.85rem 1.5rem;
    font-size: 0.82rem;
  }

  .faq-q {
    padding: 1.15rem 0;
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .faq-a {
    padding-right: 1.5rem;
  }

  .faq-a p {
    font-size: 0.84rem;
  }
}

@media (max-width: 340px) {
  .faq-left h2 {
    font-size: 1.4rem;
  }

  .faq-left .btn-primary {
    font-size: 0.76rem;
    padding: 0.75rem 1.1rem;
  }

  .faq-q {
    font-size: 0.84rem;
    padding: 1rem 0;
  }

  .faq-icon {
    width: 17px;
    height: 17px;
  }

  .faq-a p {
    font-size: 0.8rem;
  }
}

