/* Style FAQ Station REV & Terr'Moov */

body {
  font-family: 'Arial', sans-serif;
  background-color: #ffffff;
  color: #222;
  margin: 0;
  padding: 0;
}

main.faq-container {
  max-width: 900px;
  margin: auto;
  padding: 2rem;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #111;
}

h2 {
  color: #333;
  border-bottom: 2px solid #FFD966;
  padding-bottom: 0.5rem;
  margin-top: 2.5rem;
}

.faq-section {
  margin-bottom: 2rem;
}

details {
  border: 1px solid #ddd;
  border-left: 4px solid #FFD966;
  background: #fafafa;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

details summary {
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1rem;
  list-style: none;
  position: relative;
}

details[open] {
  background-color: #fffde7;
  border-color: #ffd700;
}

details summary::marker {
  display: none;
}

details summary::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.2rem;
  color: #666;
  transition: transform 0.3s;
}

details[open] summary::after {
  content: '-';
}

details p, details ul, details table {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

ul {
  padding-left: 1.2rem;
}

strong {
  color: #000;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

table th,
table td {
  border: 1px solid #ccc;
  padding: 0.5rem;
  text-align: center;
}

table th {
  background-color: #FFD966;
}

a {
  color: #467886;
  text-decoration: underline;
}

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
  }
  h1 {
    font-size: 2rem;
  }
  details summary {
    font-size: 1rem;
  }
}

img.faq-image {
  display: block;             /* Permet de centrer avec margin auto */
  margin: 1rem auto;          /* Centre horizontalement et ajoute de l'espace autour */
  max-width: 200px;           /* Taille réduite de l’image (ajuste selon besoin) */
  height: auto;               /* Garde les proportions */
  border-radius: 12px;        /* Contours arrondis */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* (Optionnel) ombre douce */
}

img.faq-image2 {
  display: block;             /* Permet de centrer avec margin auto */
  margin: 1rem auto;          /* Centre horizontalement et ajoute de l'espace autour */
  max-width: 700px;           /* Taille réduite de l’image (ajuste selon besoin) */
  height: auto;               /* Garde les proportions */
  border-radius: 12px;        /* Contours arrondis */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* (Optionnel) ombre douce */
}
