:root {
  --main-color: #262626; /* Noir/Gris très foncé pour le texte principal, footer, etc. */
  --accent-color: #4CAF50; /* Vert pomme, vif mais pas néon, très utilisé en design */
  --accent-light: #E8F5E9; /* Un vert très clair pour les fonds légers */
  --bg-color: #f9f9f9; /* Arrière-plan général léger */
  --text-color: #333333; /* Texte général, un gris foncé pour la lisibilité */
  --font: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.logo img {
  height: 140px;
  object-fit: contain;
  display: block;
}
nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s ease;
}
nav a:hover {
  color: var(--accent-color);
}

/* HERO */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(to right, #f0f4ff, #ffffff);
}
.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  text-align: left;
}
.hero-text {
  flex: 1 1 400px;
}
.hero-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--main-color);
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #555;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  background: var(--accent-color);
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
  cursor: pointer;
}
.btn:hover {
  background: #3a6be0;
}
.hero-img {
  flex: 1 1 400px;
  text-align: center;
}
.hero-img img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* SERVICES */
.services-preview {
  padding: 80px 0;
  background: #ffffff;
}
.services-preview h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--main-color);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.service-card {
  background: #f3f6fa;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-5px);
}

/* GALLERY */
.gallery-section {
  padding: 80px 0;
  background: #f9f9f9;
}
.gallery-section h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--main-color);
}
.gallery-grid {
  display: grid;
  /* Augmente 'minmax' pour rendre les colonnes (et donc les sliders) plus grandes.
     J'ai mis 450px comme exemple, mais tu peux choisir 400px, 500px, etc., selon tes besoins. */
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem; /* Espacement entre les sliders */
  max-width: 2000px; /* La largeur maximale de la grille reste la même */
  margin: 0 auto;
}

/* ... Reste de ton CSS pour le slider Avant/Après ... */

/* Styles pour le slider Avant/Après */
.image-compare-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px; /* Adapte la largeur maximale de ton slider */
  margin: 0 auto;
  overflow: hidden; /* TRÈS IMPORTANT pour cacher la partie débordante */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.image-compare {
  position: relative; /* Point de référence pour les éléments enfants positionnés absolument */
  width: 100%;
  /* CRUCIAL : Ajuste ce padding-bottom selon le RATIO EXACT de tes images (Hauteur / Largeur * 100).
     Les images 'avant' et 'après' doivent avoir le MÊME RATIO pour que cela fonctionne parfaitement.
     Exemples :
     - Images 3:2 (ex: 1200x800px) : (800 / 1200) * 100 = 66.66%
     - Images 16:9 (ex: 1920x1080px) : (1080 / 1920) * 100 = 56.25%
     - Images carrées (1:1) : 100%
  */
  padding-bottom: 66.66%; /* <-- VÉRIFIE ET AJUSTE CETTE VALEUR POUR TES IMAGES ! */
  height: 0; /* Permet à padding-bottom de définir la hauteur */
  user-select: none; /* Empêche la sélection de texte lors du glisser */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: ew-resize; /* Curseur de redimensionnement horizontal */
}

/* Styles pour le conteneur de l'image "avant" */
.image-compare .before-container {
  position: absolute; /* Positionné absolument par rapport à .image-compare */
  top: 0;
  left: 0;
  width: 100%; /* Prend toute la largeur du parent .image-compare */
  height: 100%; /* Prend toute la hauteur du parent .image-compare */
  overflow: hidden; /* Au cas où, pour éviter tout débordement inattendu */
}

/* Styles pour le conteneur de l'image "après" */
.image-compare .after-container {
  position: absolute; /* Positionné absolument par rapport à .image-compare */
  top: 0;
  left: 0;
  width: 50%; /* Largeur initiale, sera modifiée par JavaScript */
  height: 100%; /* Prend toute la hauteur du parent .image-compare */
  overflow: hidden; /* CRUCIAL pour cacher la partie non visible de l'image 'après' */
  z-index: 2; /* S'assure qu'il est au-dessus du 'before-container' */
}

/* Styles pour les images elles-mêmes (à l'intérieur de leurs conteneurs) */
/* C'est ici que nous nous assurons que les images sont fixées */
.image-compare .before-container img,
.image-compare .after-container img {
  position: absolute; /* Positionné absolument par rapport à leur propre conteneur (before/after-container) */
  top: 0;
  /* L'image 'avant' (before) démarre toujours à gauche (0%) de son conteneur.
     L'image 'après' (after) doit aussi démarrer à gauche (0%) de son conteneur,
     et comme son conteneur est coupé, elle se "déplacera" visuellement. */
  left: 0; 
  width: 100%; /* L'image remplit 100% de la largeur de son conteneur (qui est 100% de .image-compare) */
  height: 100%; /* L'image remplit 100% de la hauteur de son conteneur (qui est 100% de .image-compare) */
  object-fit: cover; /* Assure que l'image couvre la zone sans se déformer, coupant les bords si nécessaire */
  display: block; /* Élimine tout espace supplémentaire potentiel */
}

/* Style pour le bouton "Voir toutes nos réalisations" sur la page d'accueil */
.view-more-btn-container {
  text-align: center;
  margin-top: 3rem; /* Espacement au-dessus du bouton */
}

/* Style de la ligne de séparation */
.divider {
  position: absolute;
  top: 0;
  left: 50%; /* Position initiale au milieu, sera modifiée par JS */
  height: 100%;
  width: 2px; /* Épaisseur de la ligne */
  background-color: white;
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%); /* Centrer la ligne visuellement */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); /* Ombre pour la visibilité */
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 50%;
  z-index: 4;
}

.divider::before {
  top: -10px; /* Petit cercle en haut du diviseur */
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-color);
}

.divider::after {
  bottom: -10px; /* Petit cercle en bas du diviseur */
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-color);
}

/* Le slider (range input) est caché mais utilisé pour la logique */
.image-compare .slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* Rendre le slider invisible */
  cursor: ew-resize;
  z-index: 4; /* S'assure qu'il est au-dessus pour capter les événements */
  -webkit-appearance: none; /* Cache le style par défaut sur Webkit */
  appearance: none;
  margin: 0; /* Enlever les marges par défaut */
}
/* FORMULAIRE */
.cta {
  background: var(--accent-color);
  color: white;
  text-align: center;
  padding: 4rem 1rem;
  border-radius: 12px;
}
.cta h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
.form-devis {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-devis input,
.form-devis textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
}
.form-devis input:focus,
.form-devis textarea:focus {
  outline: 2px solid #d1e0ff;
}
.form-devis button {
  background: white;
  color: var(--accent-color);
  font-weight: 700;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.form-devis button:hover {
  background: #d1e0ff;
  color: var(--main-color);
}

/* FOOTER */
footer {
  background: var(--main-color);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  margin-top: auto;
}


/* --- Styles pour les Pages Internes (ex: Services) --- */

/* Page Hero Section (Bannière en haut de la page) */
.page-hero {
  padding: 120px 0 60px; /* Plus de padding en haut pour la navbar fixe */
  background: linear-gradient(to right, var(--accent-light), #ffffff);
  text-align: center;
  border-bottom: 2px solid var(--accent-color); /* Une ligne verte en bas */
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto;
}

/* Section Introduction à l'Aérogommage */
.intro-aerogommage {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.intro-aerogommage h2 {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 2rem;
}

.intro-aerogommage p {
  max-width: 900px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.advantage-item {
  background: var(--accent-light); /* Couleur de fond vert clair */
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.advantage-item i {
  font-size: 2.5rem;
  color: var(--accent-color); /* Icône verte */
  margin-bottom: 1rem;
}

.advantage-item h4 {
  font-size: 1.3rem;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.advantage-item p {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.5;
  margin: 0; /* Réinitialise la marge du paragraphe pour cette carte */
}

/* Section Détail des Services */
.services-detail {
  padding: 80px 0;
  background: var(--bg-color); /* Fond gris clair */
}

.services-detail h2 {
  font-size: 2.2rem;
  color: var(--main-color);
  text-align: center;
  margin-bottom: 3rem;
}

.service-category {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem; /* Espacement entre les blocs de service */
}

.service-category-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-category-header i {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-right: 1rem;
}

.service-category-header h3 {
  font-size: 1.8rem;
  color: var(--main-color);
  margin: 0;
}

.service-category p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.service-category ul {
  list-style: none; /* Enlève les puces par défaut */
  padding-left: 0;
}

.service-category ul li {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.8rem; /* Espace pour la puce personnalisée */
}

.service-category ul li::before {
  content: '✓'; /* Symbole de puce personnalisé */
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

/* Section Pourquoi nous choisir */
.why-us {
    padding: 80px 0;
    background: linear-gradient(to right, #ffffff, var(--accent-light)); /* Dégradé de blanc à vert clair */
    text-align: center;
}

.why-us h2 {
    font-size: 2.2rem;
    color: var(--main-color);
    margin-bottom: 3rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-us-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.why-us-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.why-us-item h4 {
    font-size: 1.4rem;
    color: var(--main-color);
    margin-bottom: 0.8rem;
}

.why-us-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Styles pour les Pages Légales (Mentions Légales, Politique de Confidentialité) du site BLM Gommage --- */

/* Bannière spécifique aux pages légales de BLM */
.legal-blm-hero {
  padding: 120px 0 60px; /* Adapte le padding top pour la navbar fixe */
  background: linear-gradient(to right, var(--accent-light), var(--bg-color)); /* Utilise les couleurs BLM */
  text-align: center;
  border-bottom: 2px solid var(--accent-color); /* Ligne de séparation verte */
}

.legal-blm-hero h1 {
  font-size: 2.8rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.legal-blm-hero p {
  font-size: 1.1rem;
  color: var(--text-color);
  max-width: 800px;
  margin: 0 auto;
}

/* Contenu principal des pages légales de BLM */
.legal-content-section-blm {
  padding: 80px 0;
  background-color: var(--bg-color); /* Fond du site BLM */
}

.legal-content-section-blm h2 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 1.5rem;
  margin-top: 2.5rem; /* Espacement au-dessus des titres de section */
}

.legal-content-section-blm h2:first-of-type {
    margin-top: 0; /* Pas de marge en haut du premier titre */
}

.legal-content-section-blm p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content-section-blm ul {
  list-style: disc; /* Puces de liste normales */
  padding-left: 20px;
  margin-bottom: 1rem;
}

.legal-content-section-blm ul li {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.legal-content-section-blm a {
    color: var(--accent-color); /* Liens en vert BLM */
    text-decoration: underline;
}

.legal-content-section-blm a:hover {
    color: var(--main-color); /* En noir/gris au survol */
}


/* Responsive adjustments pour les pages légales de BLM */
@media (max-width: 768px) {
    .legal-blm-hero h1 {
        font-size: 2.2rem;
    }
    .legal-blm-hero p {
        font-size: 1rem;
    }
    .legal-content-section-blm h2 {
        font-size: 1.6rem;
    }
    .legal-content-section-blm p, .legal-content-section-blm ul li {
        font-size: 0.9rem;
    }
}

/* Mettre à jour le style du CTA (Appel à l'action) pour le rendre plus général */
.cta p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}
.cta .btn {
  /* Assure que le bouton est centré si le CTA est en text-align: center */
  display: inline-block;
}

/* Responsive adjustments for services page */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.5rem;
  }
  .intro-aerogommage h2, .services-detail h2, .why-us h2 {
    font-size: 1.8rem;
  }
  .service-category {
    padding: 1.5rem;
  }
  .service-category-header h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 2rem;
  }
  .intro-aerogommage p {
    font-size: 1rem;
  }
  .advantage-item {
    padding: 1rem;
  }
  .advantage-item i {
    font-size: 2rem;
  }
  .service-category {
    padding: 1rem;
  }
  .service-category-header h3 {
    font-size: 1.3rem;
  }
}

/* --- Styles pour la Page Contact --- */

/* Page Hero Section (Bannière) - Spécifique à Contact */
.contact-hero {
  /* Tu peux personnaliser le dégradé si tu veux une ambiance différente ici */
  background: linear-gradient(to right, #e0f2f7, #ffffff); /* Un dégradé plus doux par exemple */
}

/* Section Principale de Contact */
.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-content {
  display: flex;
  flex-wrap: wrap; /* Permet aux colonnes de passer à la ligne sur mobile */
  gap: 3rem;
  justify-content: center; /* Centre les blocs si pas assez de place pour 2 colonnes */
}

.contact-info {
  flex: 1 1 350px; /* Flexibilité pour les informations de contact */
  background: var(--accent-light); /* Fond vert clair pour les infos */
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: fit-content; /* S'ajuste au contenu */
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.info-item i {
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-right: 1rem;
  width: 35px; /* Largeur fixe pour alignement */
  text-align: center;
}

.info-item h4 {
  font-size: 1.1rem;
  color: var(--main-color);
  margin-bottom: 0.2rem;
}

.info-item p {
  font-size: 1rem;
  color: var(--text-color);
  margin: 0; /* Réinitialise la marge */
}

.info-item a {
    color: var(--text-color); /* Lien en couleur texte normale */
    text-decoration: none;
    transition: color 0.3s ease;
}
.info-item a:hover {
    color: var(--accent-color); /* Vert au survol */
}

.social-links {
  margin-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 2rem;
}

.social-links h4 {
  font-size: 1.1rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.social-links a {
  font-size: 2rem;
  color: var(--main-color); /* Icônes sociales en couleur principale */
  margin-right: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color); /* Vert au survol */
}

/* Conteneur du formulaire */
.contact-form-container {
  flex: 2 1 500px; /* Le formulaire prend plus d'espace */
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form-container h2 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.contact-form-container .form-description {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 2rem;
}

/* Le style du formulaire (.form-devis) est déjà défini dans le CSS général du CTA,
   il sera réutilisé ici. J'ai ajouté un champ téléphone optionnel */
.form-devis input[type="text"],
.form-devis input[type="email"],
.form-devis textarea {
    margin-bottom: 1rem; /* Espacement entre les champs */
}


/* Section Google Maps */
.map-section {
    padding: 80px 0;
    background: var(--bg-color); /* Fond léger */
    text-align: center;
}

.map-section h2 {
    font-size: 2.2rem;
    color: var(--main-color);
    margin-bottom: 3rem;
}

.map-embed {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 pour la carte (hauteur / largeur * 100) */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 900px; /* Largeur max de la carte */
    margin: 0 auto;
}

.map-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* Section FAQ */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section h2 {
    font-size: 2.2rem;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-item {
    background: var(--accent-light); /* Fond vert clair pour chaque question/réponse */
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden; /* Important pour l'animation de maxHeight */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    color: var(--main-color);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--accent-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(var(--accent-color-rgb), 0.1); /* Utilise une version RGBA si tu as la variable pour un hover plus subtil */
}
/* Définir une variable RGB pour l'accent-color si ce n'est pas déjà fait pour le hover */
/* À ajouter dans :root si tu veux des effets de transparence avec ta couleur accent */
/* --accent-color-rgb: 76, 175, 80; */


.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
    max-height: 0; /* Caché par défaut */
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer p {
  margin: 1.5rem 0; /* Ajoute de la marge interne au paragraphe de la réponse */
}



/* --- Styles pour la Page Réalisations --- */

/* Page Hero Section (Bannière) - Spécifique à Réalisations */
.realisations-hero {
  background: linear-gradient(to right, #e3f2fd, #ffffff); /* Un dégradé bleu très clair pour varier */
  border-bottom: 2px solid var(--accent-color);
}

/* Section Introduction Réalisations */
.intro-realisations {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.intro-realisations h2 {
  font-size: 2.2rem;
  color: var(--main-color);
  margin-bottom: 1.5rem;
}

.intro-realisations p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}


/* Section Grille de Réalisations avec Sliders */
.realisations-grid-section {
  padding: 80px 0;
  background: var(--bg-color); /* Fond gris clair */
}

.realisations-grid {
  display: grid;
  /* Similaire à la page d'accueil, permet plusieurs colonnes, ajuster minmax si besoin */
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); /* Taille légèrement plus petite pour plus de visibilité */
  gap: 2.5rem; /* Espacement entre les réalisations */
  max-width: 1200px; /* Plus large pour plus de projets sur une ligne */
  margin: 0 auto;
}

.realisation-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* Important pour les bords arrondis et les images */
  display: flex;
  flex-direction: column; /* Contenu organisé en colonne */
}

.realisation-details {
  padding: 1.5rem;
  text-align: center;
}

.realisation-details h4 {
  font-size: 1.4rem;
  color: var(--main-color);
  margin-bottom: 0.8rem;
}

.realisation-details p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.realisation-details .tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4em 0.8em;
  border-radius: 5px;
  margin: 0.2rem;
}


/* Section Témoignages */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(to right, var(--accent-light), #ffffff); /* Dégradé vert clair */
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.2rem;
    color: var(--main-color);
    margin-bottom: 3rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left; /* Texte des témoignages aligné à gauche */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pour pousser les infos client en bas */
}

.testimonial-item p {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.testimonial-item .client-info {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    display: flex;
    flex-direction: column; /* Infos client en colonne */
    align-items: flex-start; /* Aligne le texte à gauche */
}

.testimonial-item .client-name {
    font-weight: 700;
    color: var(--main-color);
    font-size: 1.1rem;
}

.testimonial-item .client-project {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.3rem;
}


/* Ajustements Responsive pour la page Réalisations */
@media (max-width: 768px) {
  .realisations-grid {
    grid-template-columns: 1fr; /* Une seule colonne sur les petits écrans */
    max-width: 500px; /* Limite la largeur des éléments */
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .realisation-item {
    max-width: 100%; /* S'assure que les items remplissent la colonne */
  }
}

/* Ajustements Responsive pour la page Contact */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }
  .contact-info, .contact-form-container {
    flex: 1 1 100%; /* Occupent toute la largeur */
    max-width: 100%; /* Éviter que flex: 1 1 500px ne fasse déborder */
  }
  .map-embed {
    padding-bottom: 75%; /* Pour des cartes plus hautes sur mobile (ratio 4:3) */
  }
}

@media (max-width: 480px) {
  .contact-info, .contact-form-container {
    padding: 1.5rem;
  }
  .social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
  }
  .faq-question {
    font-size: 1rem;
    padding: 1rem;
  }
  .faq-answer p {
    margin: 1rem 0;
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-text,
  .hero-img {
    flex: unset;
  }
  nav {
    display: none;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}