/* ═══════════════════════════════════════════════════════
   LE BOLLE — faq.css
   Stili specifici per pagina FAQ e teaser homepage
   Zaira Officina · 2025
═══════════════════════════════════════════════════════ */


/* ── HEADER: link attivo ────────────────────────────── */

.header__link--active {
  color: var(--accent-sage-dark);
  font-weight: 500;
}


/* ── PAGE HERO ──────────────────────────────────────── */

.faq-hero {
  position: relative;
  padding: 9rem 0 5rem;
  background: var(--bg-cream);
  overflow: hidden;
}

.faq-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.faq-hero__bg svg {
  width: 100%;
  height: 100%;
}

.faq-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.faq-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.faq-hero__title em {
  font-style: italic;
  color: var(--accent-sage-dark);
}

.faq-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 560px;
}


/* ── FAQ CONTENT ────────────────────────────────────── */

.faq-content {
  padding: 5rem 0 6rem;
  background: var(--bg-cream);
}

.faq-groups {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-group__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3A6040;
  margin-bottom: 1.5rem;
}


/* ── ACCORDION ──────────────────────────────────────── */

.faq-accordion {
  border-top: 1px solid var(--border);
}

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

.faq-question {
  margin: 0;
}

.faq-question__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.4rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question__btn:hover {
  color: var(--accent-sage-dark);
}

.faq-question__btn[aria-expanded="true"] {
  color: var(--accent-sage-dark);
}

.faq-question__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  font-size: 1.1rem;
  font-weight: 300;
  font-family: var(--font-mono);
  color: var(--accent-sage);
  transition: border-color 0.25s ease, color 0.25s ease;
  user-select: none;
}

.faq-item--open .faq-question__icon {
  border-color: var(--accent-sage);
}

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

.faq-item--open .faq-answer {
  max-height: 400px;
}

.faq-answer__inner {
  padding-bottom: 1.6rem;
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
}


/* ── CTA PAGINA FAQ ─────────────────────────────────── */

.faq-cta {
  padding: 5rem 0;
  background: var(--bg-sage-light);
}

.faq-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.faq-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
}

.faq-cta__title em {
  font-style: italic;
  color: var(--accent-sage-dark);
}

.faq-cta__text {
  font-size: 1rem;
  color: var(--text-mid);
}


/* ── TEASER HOMEPAGE ────────────────────────────────── */

.faq-teaser {
  padding: 6rem 0;
  background: var(--bg-white);
}

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

.faq-teaser__header {
  position: sticky;
  top: 6rem;
}

.faq-teaser__header .section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

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

.faq-teaser__cta {
  margin-top: 2rem;
}


/* ── RESPONSIVE ─────────────────────────────────────── */

@media (max-width: 900px) {
  .faq-hero {
    padding: 7rem 0 4rem;
  }

  .faq-teaser__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .faq-teaser__header {
    position: static;
  }
}
