/* === SECTION ACCROCHE === */
.accroche {
  background: url("../images/bannière.jpg") center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
  padding: 150px 20px 0 20px; /* compensé pour header fixe */
}

.accroche::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.accroche-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;

  /* Animation d’entrée */
  transform: scale(0.8);
  opacity: 0;
  animation: apparitionZoom 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes apparitionZoom {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.accroche h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: bold;
}

.btn-white-outline {
  display: inline-block;
  color: white;
  border: 2px solid white;
  padding: 12px 24px;
  font-size: 1.1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-white-outline:hover {
  background: white;
  color: #FF1616;
  cursor: pointer;
}

/* === PRÉSENTATION (Bienvenue) === */
.presentation.container {
  text-align: center;
  color: black;
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

.presentation.container h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
  text-align: center;
}

.presentation.container p {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.0rem;
  line-height: 1.6;
  color: rgb(156, 156, 156); /* corrigé ici (ancienne valeur avait "8b8" en trop) */
}

/* === ANCIENNE SECTION PRESTATIONS (non utilisée maintenant) === */
.ar {
  border-top: 1px solid #ddd;
  padding-top: 60px;
  margin-top: 40px;
}

.ar h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
  font-family: 'Playfair Display', serif;
}

.titre-rouge {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
  font-family: 'Playfair Display', serif;
}

/* === NOUVELLE SECTION PRESTATIONS UNIFIÉES === */
.services-unifies {
  border-top: 1px solid #ddd;
  padding: 60px 20px;
  margin-top: 40px;
}

.services-unifies h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
  font-family: 'Playfair Display', serif;
}

.grid-three {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.service-card {
  flex: 1 2 31.90%;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #222;
}

.service-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
}

.service-card .btn {
  background-color: #44505f;
  color: #fff;
  border: none;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.service-card .btn:hover {
  background-color: #44505f;
  cursor: pointer;
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 768px) {
  .grid-three {
    flex-direction: column;
  }

  .service-card {
    flex: 1 1 100%;
  }
}
/* === FAQ STYLES === */
.faq.container {
  max-width: 700px;
  margin: 60px auto;
  padding: 20px;
}

.faq h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #333;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  background-color: #2d2f3a;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background-color: #3c3e4a;
}

.faq-answer {
  background-color: #f7f7f7;
  padding: 20px;
  display: none;
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* Quand active, on affiche la réponse */
.faq-item.active .faq-answer {
  display: block;
  font-family: 'Playfair Display', serif;
}

/* Ajout d'une icône (optionnel si tu veux une flèche ▼/▲) */
.faq-question::after {
  content: "▼";
  float: right;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}


/* === FOOTER STICKY (toujours en bas sans flotter) === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main, section {
  flex-shrink: 0;
}

body > main {
  flex: 1;
}

.footer {
  background-color: #2d2f3a;
  color: white;
  text-align: center;
  padding: 12px 20px;
  font-size: 0.85rem;
  border-top: 1px solid #444;
  margin-top: auto;
}
/* === ALIGNEMENT DES CARTES === */
.grid-three {
  align-items: stretch; /* Assure que toutes les cartes prennent la même hauteur */
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card p {
  flex-grow: 1; /* Fait grandir le paragraphe pour occuper l'espace */
}

.service-card .btn {
  margin-top: auto; /* Place le bouton tout en bas */
}
