body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header {
  background: #222;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 4rem;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.subtitle {
  text-align: center;
  font-size: 1rem;
  color: #ccc;
  margin-top: 10px;
}

.hero {
  background-color: #fff;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
  width: 100%;
}

.hero-content img {
  max-width: 340px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-left: -60px;
}

.hero-texts {
  flex: 1;
  max-width: 660px;
}

.hero-texts h1 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 20px;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.hero-texts p {
  font-size: 1.2rem;
  color: #555;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

section {
  padding: 60px 20px;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #222;
}

.services .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card {
  background: #f1f1f1;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.3s;
}

/* ---- PARTIE TEMOIGNAGES ---- */
.review-section {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin: 60px auto 0 auto;
  max-width: 1200px;
  padding: 60px 15px 40px 15px;
}

.review-section h2 {
  text-align: center;
  color: #252c35;
  font-size: 2.25rem;
  margin-bottom: 48px;
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  flex-wrap: wrap;
}

.carousel-viewport {
  overflow: hidden;
  width: 800px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  display: flex;
  gap: 28px;
  width: 800px;
  flex-shrink: 0;
  justify-content: center;
}

.review-card {
  background: #fafcff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 28px 24px 18px 24px;
  flex: 1 0 0px;
  min-width: 325px;
  max-width: 325px;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.review-title {
  color: #255;
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.review-stars {
  color: #ffdc66;
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 13px;
}

.review-text {
  color: #30384c;
  font-size: 1rem;
  margin-bottom: 26px;
  min-height: 48px;
}

.review-author {
  color: #969faf;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-top: auto;
}

.arrow {
  font-size: 2.6rem;
  background: #fff;
  color: #222;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 0 3px 18px rgba(65,65,90,0.07);
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}

.arrow:active {
  background: #efefef;
}

.arrow[disabled] {
  opacity: .5;
  pointer-events: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .hero-content img {
    margin-left: 0;
    max-width: 100%;
  }

  .hero-texts h1,
  .hero-texts p {
    white-space: normal;
    text-overflow: unset;
  }

  .hero-texts h1 {
    font-size: 1.5rem;
  }

  .carousel-viewport {
    width: 100%;
  }

  .carousel-track,
  .carousel-slide {
    width: 100%;
  }

  .review-card {
    min-width: 90%;
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  .container {
    width: 98%;
    padding: 0 3px;
  }

  .hero-content img {
    max-width: 220px;
  }

  section {
    padding: 30px 5px;
  }

  h2 {
    font-size: 1.3rem;
  }

  .carousel-track,
  .carousel-slide {
    width: 100%;
  }

  .review-card {
    min-width: 95%;
    max-width: 95%;
  }

  .arrow {
    font-size: 2rem;
    width: 36px;
    height: 36px;
  }
}

/* ===============================================
   STYLES ARTICLES DE BLOG (ajouté le 31/10/2025)
   =============================================== */

/* ---- STYLES ARTICLES DE BLOG ---- */

/* Container de l'article */
.blog-article {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  line-height: 1.8;
  color: #333;
}

/* Lien de retour au blog */
.back-link {
  margin-bottom: 20px;
}

.back-link a {
  color: #222;
  text-decoration: none;
  font-weight: bold;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Titre de l'article */
.article-title {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Métadonnées de l'article (date) */
.article-meta {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

/* Image dans l'article */
.article-image {
  margin: 35px 0;
  text-align: center;
}

.article-image img {
  max-width: 50%; /* Changez ici pour ajuster la taille */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-image figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

/* Titres dans l'article */
.blog-article h2 {
  font-size: 1.6rem;
  color: #222;
  margin-top: 35px;
  margin-bottom: 15px;
}

/* Listes dans l'article */
.blog-article ul {
  margin-left: 20px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Lien de retour en bas */
.back-link-bottom {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.back-link-bottom a {
  color: #222;
  text-decoration: none;
  font-weight: bold;
}

.back-link-bottom a:hover {
  text-decoration: underline;
}

/* Responsive pour les articles */
@media (max-width: 600px) {
  .blog-article {
    padding: 20px 15px;
  }

  .article-title {
    font-size: 1.6rem;
  }

  .blog-article h2 {
    font-size: 1.3rem;
  }

  .article-image img {
    max-width: 70%; /* Image pleine largeur sur mobile */
  }
}

