/* ══════════════════════════════════════════════
   WAVE — Depoimentos (branco) → FAQ (verde vivo)
══════════════════════════════════════════════ */
.wave-dep-faq {
  margin-bottom: -2px;
  overflow: hidden;
  /* fundo = seção de cima (depoimentos), cor = topo da seção de baixo (FAQ).
     O path usa fill="currentColor", então as duas nunca saem de sincronia. */
  background: var(--white);
  color: var(--verde-vivo);
  line-height: 0;
}

.wave-dep-faq svg {
  display: block;
  width: 100%;
  height: clamp(40px, 5vw, 72px);
  
}

/* ══════════════════════════════════════════════
   FAQ — Accordion
══════════════════════════════════════════════ */
.faq-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(5rem, 10vw, 8rem) 0;
  /* Vertical de propósito: a borda de cima precisa ser exatamente
     --verde-vivo (#17c48d) para encostar sem emenda na onda acima. */
  background: linear-gradient(
    180deg,
    var(--verde-vivo) 0%,
    var(--verde-agua) 45%,
    var(--verde-agua-escuro) 100%
  );
  color: var(--text-light);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Mancha de sol — quebra o verde chapado.
   Fica longe do topo para não sujar a emenda com a onda. */
.faq-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 30%;
  right: -12%;
  width: clamp(20rem, 34vw, 30rem);
  height: clamp(20rem, 34vw, 30rem);
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  background: radial-gradient(circle, rgba(var(--sol-rgb), 0.28), transparent 70%);
}

.faq-section .section-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.faq-section .section-eyebrow {
  color: var(--sol-claro);
}

.faq-left .btn-primary {
  background: var(--terracota-medio);
  color: var(--text-light);
}

.faq-left .btn-primary:hover {
  background: var(--white);
  color: var(--terracota-medio);
  box-shadow: 0 8px 28px rgba(var(--black-rgb), 0.18);
}

.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: 1rem;
}

.faq-left .faq-sub {
  font-size: 1rem;
  color: rgba(var(--white-rgb), 0.88);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.faq-right {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(var(--white-rgb), 0.28);
}

.faq-item:first-child {
  border-top: 1px solid rgba(var(--white-rgb), 0.28);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem 0;
  text-align: left;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: color var(--transition);
  cursor: pointer;
}

.faq-q:hover {
  color: var(--sol-claro);
}

.faq-q[aria-expanded="true"] {
  color: var(--sol-claro);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--sol-claro);
}

.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.88);
  line-height: 1.75;
}

.faq-a p + p {
  margin-top: 0.75rem;
}

.faq-a strong {
  color: var(--sol-claro);
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .faq-left {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .faq-left h2 {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
  }

  .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;
  }
}

