/* [HOME-FAQ-20260921] Questions / Réponses entre les trois offres et le
   bandeau écoles du bas : une seule question centrée à la fois, texte noir
   sur fond blanc, chevrons gauche/droite en boucle. La machine à états vit
   dans faq.js ; sans JS, la première question reste visible.
   [HOME-FAQ-NO-HEADER-20260922] bandeau et compteur supprimés : plus de
   .faq-kicker ni .faq-count, le carrousel occupe leur emplacement.
   [HOME-FAQ-OFFERS-GAP-20260922] questions rapprochées des offres :
   padding haut réduit, bas inchangé.
   [HOME-FAQ-AUTOPLAY-20260922] bandeau remonté : bas réduit aussi ;
   chevrons tactiles (survol gris à la souris seulement, sans flash bleu). */

.faq {
  max-width: 1020px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) 20px;
}

.faq-car {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-chev {
  flex: 0 0 auto;
  width: 46px;
  height: 60px;
  border: 0;
  background: none;
  color: #050505;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 0 4px;
  transition: opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .faq-chev:hover {
    opacity: 0.4;
  }
}

.faq-track {
  flex: 1;
  min-width: 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  display: none;
  max-width: 720px;
  text-align: center;
}

.faq-item.active {
  display: block;
  animation: faq-in 0.28s ease;
}

@keyframes faq-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.faq-q {
  width: 100%;
  display: block;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: #050505;
  font-family: inherit;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 750;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item[data-open="true"] .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
}

.faq-a p {
  margin: 0 auto;
  padding: 12px 0 4px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  max-width: 60ch;
}

.faq-a strong {
  color: #050505;
}

.faq-a a {
  color: #050505;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

@media (max-width: 640px) {
  .faq-chev {
    width: 38px;
    font-size: 32px;
  }

  .faq-track {
    min-height: 240px;
  }

  .faq-car {
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item.active {
    animation: none;
  }

  .faq-a,
  .faq-chev {
    transition: none;
  }
}
