/* BLGen — accordéon FAQ partagé */

.blgen-faq-section {
  background: var(--white);
}

.blgen-faq-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.blgen-faq-header .section-label {
  margin-bottom: 1rem;
}

.blgen-faq-header .section-h2 {
  margin-bottom: 0.8rem;
}

.blgen-faq-header .section-intro {
  max-width: 560px;
  margin: 0 auto;
}

.blgen-faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.blgen-faq-item {
  border-bottom: 1px solid var(--light);
}

.blgen-faq-item:first-child {
  border-top: 1px solid var(--light);
}

.blgen-faq-heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.blgen-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.2s;
}

.blgen-faq-question:hover,
.blgen-faq-question:focus-visible {
  color: var(--gold);
  outline: none;
}

.blgen-faq-question:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(184, 169, 138, 0.4);
  border-radius: 0.2rem;
}

.blgen-faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--gold);
}

.blgen-faq-icon::before,
.blgen-faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.blgen-faq-icon::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.blgen-faq-icon::after {
  width: 1.5px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.blgen-faq-item.is-open .blgen-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.blgen-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.blgen-faq-item.is-open .blgen-faq-answer {
  max-height: 480px;
  padding-bottom: 1.15rem;
}

.blgen-faq-answer p {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.75;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .blgen-faq-icon::before,
  .blgen-faq-icon::after,
  .blgen-faq-answer {
    transition: none !important;
  }
}
