/* FAQ.css */

/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f6fa;
  color: #333;
  line-height: 1.6;
}

/* En-tête */
header {
  background-color: hsl(211, 100%, 50%);
  color: white;
  padding: 2.5rem 1rem 1.5rem;
  text-align: center;
  position: relative;
}

header h1 {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Barre de recherche */
.search-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.search-box input {
  width: 70%;
  max-width: 500px;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  outline: none;
  transition: box-shadow 0.3s ease;
}

.search-box input:focus {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.search-box i {
  font-size: 1.5rem;
  color: white;
}

/* Conteneur FAQ */
.faq-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

/* Élément FAQ */
.faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Titre */
.question {
  font-size: 1.2rem;
  color: #002b5c;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* Réponse */
.answer {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

/* Pied de page */
footer {
  background-color: #f0f0f0;
  text-align: center;
  padding: 1.5rem 0;
  color: #777;
  font-size: 0.95rem;
  margin-top: 3rem;
  border-top: 1px solid #ddd;
}
