/* Container do componente e espaÃ§amento */
.faq-component {
  padding-top: 32px;
  padding-bottom: 32px;
}
.faq-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 0; /* EspaÃ§amento horizontal em desktop */
}

/* Tipografia e elementos de texto */
.faq-title {
  font-weight: 400;
  font-size: 34px;
  line-height: 1.24;
  letter-spacing: 0.25px;
  text-align: center;
  color: #1f8563;
  margin: 0 0 32px 0;
}
.faq-item-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.15px;
  margin: 0;
}
.faq-item-content p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #111111;
}

/* AcordeÃ£o FAQ */
.faq-accordion {
  width: 100%;
}
.faq-item {
  border-radius: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e2e2e2;
}
.faq-item:last-of-type {
  margin-bottom: 0;
}
.faq-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 8px 0 8px 8px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  min-width: fit-content;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  /* A cor desejada com 20% de opacidade */
  background-color: #1f856333;
  pointer-events: none;
  animation: ripple 1.2s ease-in-out;
}

@keyframes ripple {
  to {
    transform: scale(3);
    opacity: 0;
  }
}
.faq-item-content {
  background-color: transparent;
  padding: 8px;
}
.faq-item-content[hidden] {
  display: none;
}
.faq-item-header[aria-expanded="false"] .faq-item-icon::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M7 10L12 15L17 10" stroke="%23006A4D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  display: block;
}

/* Estados Interativos */
.faq-item-header:hover {
  background-color: #d6f6eb;
}
.faq-item-header:focus {
  outline: 2px solid #1f8563;
  outline-offset: 2px;
}

.faq-item-header[aria-expanded="true"] .faq-item-title {
  color: #1f8563;
}
.faq-item-header[aria-expanded="true"] .faq-item-icon::before {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M17 14L12 9L7 14" stroke="%231F8563" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  display: block;
}

/* Responsividade */
@media (max-width: 768px) {
  .faq-container {
    padding: 32px 8px;
  }
  .faq-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: 0.0075em;
  }
  .faq-item-header {
    padding: 8px 8px 8px 16px;
  }
  .faq-item-content {
    padding: 8px 8px 8px 16px;
  }
}
