/* ============================================================
   fd-faq-home.css — FAQ Home Page France Déneigement
   Bloc d'accordéon classique pour la page d'accueil
   Cohérent avec le design system : #1D3557, #1D6FA4, #004778
   ============================================================ */

.fdn-faq {
  padding: 20px 0;
  background: #fff;
}

.fdn-faq-container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.fdn-faq-header {
  text-align: center;
  margin-bottom: 36px;
}

.fdn-faq-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: #1D6FA4;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.fdn-faq-title {
  color: #1D3557;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.fdn-faq-subtitle {
  color: #6B7280;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

/* === Liste des questions === */
.fdn-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fdn-faq-item {
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fdn-faq-item:hover {
  border-color: #1D6FA4;
}

.fdn-faq-item.is-open {
  border-color: #1D6FA4;
  box-shadow: 0 2px 8px rgba(29, 111, 164, 0.08);
}

/* === Bouton d'ouverture === */
.fdn-faq-btn {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: background-color 0.15s ease;
}

.fdn-faq-btn:hover {
  background: #F8FAFC;
}

.fdn-faq-btn:focus {
  outline: 2px solid #1D6FA4;
  outline-offset: -2px;
}

.fdn-faq-question {
  color: #1D3557;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
}

/* === Icône chevron === */
.fdn-faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F0F8FF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.fdn-faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: #1D6FA4;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fdn-faq-item.is-open .fdn-faq-icon {
  background: #1D6FA4;
  transform: rotate(180deg);
}

.fdn-faq-item.is-open .fdn-faq-icon svg {
  stroke: #fff;
}

/* === Contenu (réponse) === */
.fdn-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.fdn-faq-content-inner {
  padding: 0 22px 20px 22px;
  color: #4B5563;
  font-size: 15px;
  line-height: 1.65;
}

.fdn-faq-content-inner p {
  margin: 0;
}

.fdn-faq-content-inner strong {
  color: #1D3557;
  font-weight: 600;
}

.fdn-faq-content-inner a {
  color: #1D6FA4;
  font-weight: 600;
  text-decoration: none;
}

.fdn-faq-content-inner a:hover {
  text-decoration: underline;
}

/* === CTA final === */
.fdn-faq-cta-row {
  margin-top: 28px;
  padding: 20px 24px;
  background: #F8FAFC;
  border-radius: 8px;
  text-align: center;
}

.fdn-faq-cta-text {
  color: #4B5563;
  font-size: 14px;
  margin: 0 0 12px 0;
}

.fdn-faq-cta-btn {
  display: inline-block;
  background: #004778;
  color: #fff;
  padding: 11px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.fdn-faq-cta-btn:hover {
  background: #1D6FA4;
  color: #fff;
}

/* === RESPONSIVE — Tablette === */
@media (max-width: 768px) {
  .fdn-faq {
    padding: 40px 0;
  }
  .fdn-faq-title {
    font-size: 24px;
  }
  .fdn-faq-subtitle {
    font-size: 14px;
  }
  .fdn-faq-btn {
    padding: 16px 18px;
  }
  .fdn-faq-question {
    font-size: 15px;
  }
  .fdn-faq-content-inner {
    padding: 0 18px 18px 18px;
    font-size: 14px;
  }
}

/* === RESPONSIVE — Mobile === */
@media (max-width: 480px) {
  .fdn-faq {
    padding: 32px 0;
  }
  .fdn-faq-container {
    padding: 0 16px;
  }
  .fdn-faq-title {
    font-size: 22px;
  }
  .fdn-faq-btn {
    padding: 14px 16px;
    gap: 12px;
  }
  .fdn-faq-question {
    font-size: 14.5px;
  }
  .fdn-faq-content-inner {
    padding: 0 16px 16px 16px;
    font-size: 14px;
  }
  .fdn-faq-icon {
    width: 22px;
    height: 22px;
  }
  .fdn-faq-cta-row {
    padding: 16px 18px;
  }
}
