body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
}

.hero {
  background: linear-gradient(to right, #d71a28, #9b0f18);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 25px;
}

.cta-button {
  padding: 15px 30px;
  background-color: white;
  color: #d71a28;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #ffd6d6;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 60px 20px;
  background-color: white;
}

.feature {
  flex: 1 1 250px;
  max-width: 300px;
  margin: 20px;
  background: #f2f2f2;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
  
}
.logo {
  width: 100px;
  margin-bottom: 10px;
}

.hero-image {
  width: 250px;
  margin: 20px 0;
}

.feature-icon {
  width: 250px; /* double la largeur */
  height: 200px; /* double la hauteur */
  margin-bottom: 20px;
  object-fit: cover; /* pour garder les proportions sans déformation */
  border-radius: 8px; /* optionnel, coins légèrement arrondis */
}
/* ... le reste de ton CSS précédent ... */

.features h2, .testimonials h2, .contact h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: #d71a28;
}

.feature-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.testimonials {
  background: #fefefe;
  padding: 50px 20px;
}

.testimonial-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.testimonial {
  background: #f2f2f2;
  padding: 20px;
  border-radius: 10px;
  max-width: 300px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.contact {
  background: #fff;
  padding: 50px 20px;
  text-align: center;
}

.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input, .contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

.contact button {
  padding: 10px;
  background: #d71a28;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact button:hover {
  background: #b3131f;
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.8em;
  }

  .feature {
    max-width: 100%;
  }

  .testimonial, .feature {
    margin: 10px 0;
  }

  .hero-image {
    width: 100%;
  }
}


.carousel-inner img {
  max-height: 500px; /* hauteur maximale ajustable */
  object-fit: cover; /* pour que l'image remplisse bien l'espace sans se déformer */
}

/*.carousel-caption {
  background: rgba(0, 0, 0, 0.5); /* fond semi-transparent noir 
  padding: 15px;
  border-radius: 10px;
}*/

@media (max-width: 768px) {
  .carousel-inner img {
    max-height: 300px;
  }

  .carousel-caption {
    font-size: 14px;
    padding: 10px;
  }
}


.carousel-caption {
  bottom: 20%;
  text-align: center;
}

.carousel-caption .prix {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.carousel-caption .btn-warning {
  font-size: 20px;
  padding: 10px 25px;
  border-radius: 50px;
}



