/* === Styles FAQ === */
h6 {
font-size: 1.1rem!important;
color : #13bf4d!important;

}

.faq-page {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: Arial, sans-serif;
}

.faq-page h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #222;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-question {
  background: #fff8ef; /* #c6b096 */
  color: #333 !important; /* Neutralise tout héritage rouge */
  padding: 1rem;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  position: relative;
}

/* Icône flèche ▼ */
.faq-question::after {
  content: "▼";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #900721;
  transition: transform 0.3s ease;
}

/* Flèche ▲ quand ouvert */
.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
  /*  color: #fff !important; */
}

/* Survol */
.faq-question:hover,
.faq-question:focus {
  background: #555 !important;
  color: #fff !important;
}

/* Quand ouvert */
.faq-item.active .faq-question {
  background: #555 !important;
  color: #fff !important;
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
  animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-answer {
  display: block;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* === Responsive === */
@media (max-width: 768px) {
  .faq-page {
    padding: 0.5rem;
  }
  .faq-page h1 {
    font-size: 1.5rem;
  }
  .faq-question {
    font-size: 1rem;
    padding: 0.8rem;
    word-break: break-word;
    white-space: normal;
  }
  .faq-answer {
    font-size: 0.95rem;
    word-break: break-word;
    white-space: normal;
  }
  
}

@media (max-width: 480px) {
  .faq-page h1 {
    font-size: 1.3rem;
  }
  .faq-question {
    font-size: 0.95rem;
    padding: 0.6rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }
    .faq-question {
    padding-right: 2.5rem; /* réserve plus de place pour la flèche */
  }

  .faq-question::after {
    top: 1rem; /* flèche en haut à droite */
   transform: none;   /*on enlève le centrage vertical */
  }
}