.faq-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.faq-header {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #0077b6;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* Bouton de question */
.faq-question {
  /* background-color: #f2f7fa; */
  background-color: var(--corail);
  color: #333;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-question.active::after {
  content: '−';
}

/* Contenu de la réponse */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-left: 4px solid var(--corail);
  /* border-left: 4px solid #0077b6; */
  border-radius: 0 8px 8px 8px;
  padding: 0 1.5rem;
  transition: all 0.4s ease;
}

.faq-answer.open {
  padding: 1rem 1.5rem;
  max-height: 1000px; /* suffisamment grand pour animations */
}

.faq-answer p {
  margin: 0;
  color: #333;
}

.faq-video {
  margin-top: 1rem;
  text-align: center;
}

.faq-video iframe {
  width: 100%;
  max-width: 560px;
  height: 315px;
  border-radius: 8px;
}
.faq-answer a {
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Effet hover */
.faq-question:hover {
  /* background-color: #e0f2ff; */
  background-color: #f8f9fb;
}

/* Responsive */
@media (max-width: 600px) {
  .faq-question {
    font-size: 1rem;
  }
}

/* ===== HERO SECTION ===== */
.hero-faq {
  position: relative;
  height: 15vh;
  background-color: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: black;
  text-shadow: 3px 3px 5px black;
    height: 35vh;
    width: 100%;

    background-image: url("../images/header2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-faq .hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-faq h1 {
	  color: white;
  font-size: 3rem;
}

.hero-faq p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.95;
  	  color: white;
	    text-shadow: 3px 3px 5px black;
}

/* ===============================
   INTRO FAQ
   =============================== */
.faq-intro-box {
  background: #fff;
  border-left: 4px solid var(--corail);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.faq-intro-box h2 {
  font-size: 1.4rem;
  color: var(--main-color);
  margin-bottom: 0.6rem;
}

.faq-intro-box p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ===============================
   LIENS FAQ
   =============================== */
.faq-answer a,
.faq-link-button {
  display: inline-block;
  margin-top: 0.6rem;
  /* padding: 10px 16px; */
  border: 2px solid var(--corail);
  border-radius: 8px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}
.faq-link-button{
	padding: 10px 16px;
}

.faq-answer a:hover,
.faq-link-button:hover {
  background: var(--corail);
  color: white;
}

/* ===============================
   LISTES FAQ
   =============================== */
.faq-answer ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.faq-answer ul li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
  color: #444;
}

.faq-answer ul li:last-child {
  border-bottom: none;
}

.faq-answer ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1rem;
}

.faq-answer p {
  line-height: 1.8;
}

/* ===============================
   Miniatures vidéos FAQ
   =============================== */
.faq-video-thumb {
  display: flex;
  justify-content: center;
  margin: 1.2rem 0;
}

.faq-video-thumb a {
  position: relative;
  display: block;
  width: 100%;
  max-width: 450px;   /* largeur plus élégante */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.faq-video-thumb img {
  width: 100%;
  height: 250px;      /* hauteur réduite */
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: var(--corail);
  /* color: var(--corail); */
  /* background: rgba(0,0,0,0.22); */
  transition: background 0.3s ease;
}

.faq-video-thumb a:hover .play-button {
  background: rgba(0,0,0,0.35);
}

