/* Reset de base pour uniformiser les navigateurs */
body, h1, h2, h3, p, ul, li, form, input, textarea, button, i {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Police moderne et lisible */
    line-height: 1.6;
    background-color: #fff;
    color: #333; /* Texte plus sombre pour un meilleur contraste */
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    color: #333;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid #eee;
    height: 50px; /* Définissez une hauteur fixe pour le header (ajustez cette valeur) */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -30px;
}

header .logo {
    /* Supprimez les styles spécifiques au texte */
    /* font-size: 1.8em;
    font-weight: bold;
    color: #000; */
}

header .logo img {
    max-height: 110px;
    transform: scale(1.5); /* Ajuste ce facteur selon le résultat souhaité */

}


header nav {
    width: auto; /* Laissez la largeur s'ajuster au contenu */
    max-width: 600px; /* Limitez la largeur maximale de la navigation (ajustez cette valeur si nécessaire) */
    ul {
        list-style: none;
        display: flex;
    }
}

header nav ul {
    list-style: none;
    display: flex;
    /* margin-top: -5px; /* Ajustez cette valeur pour monter la navigation */
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease, opacity 0.3s ease; /* Ajout de la transition pour l'opacité */
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #000;
    opacity: 0.8; /* Légère diminution de l'opacité au survol */
}

header nav ul li a.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}

header nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

header nav ul li a:hover::before {
    width: 100%;
}

header .button {
    background-color: #000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

header .button:hover {
    background-color: #333;
}

header .header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -150px; /* décale le groupe de boutons vers la droite */
}


header .phone-btn {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

header .phone-btn:hover {
    background-color: #000;
    color: #fff;
}


header .phone-btn i {
    font-size: 16px;
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Modifier la hauteur à 100vh pour prendre toute la hauteur de l'écran */
    display: flex;
    align-items: center;
    justify-content: center; /* Conserver le centrage du contenu */
    text-align: center; /* Conserver l'alignement du texte */
    color: #fff;
    overflow: hidden;
    padding-top: 0; /* Supprimer le padding-top car le header est fixe au-dessus */
    margin-top: 0; /* Supprimer la marge du haut */
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://image.noelshack.com/fichiers/2025/14/3/1743626760-photo-1687834367098-277e9c31693d.jpg'); /* Utilisation de l'URL fournie */
    background-size: cover;
    background-position: center;
    z-index: -1;
    background-attachment: fixed; /* Ajout de cette ligne pour l'effet parallax */
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay légèrement plus clair */
    z-index: -1;
}

.hero-content {
    position: relative;
    padding: 0 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero .subheadline {
    font-size: 1.3em;
    color: #eee;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-actions a {
    display: inline-block;
    margin-right: 15px;
}

.hero-actions .button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    box-sizing: border-box; /* ← clé pour que border ne change pas la taille */
    min-width: 200px; /* ← optionnel : force une largeur commune */
    text-align: center;
}


.hero-actions .button.primary {
    background-color: #000;
    color: #fff;
}

.hero-actions .button.primary:hover {
    background-color: #333;
}

.hero-actions .button.secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-actions .button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Sections Générales */
.section {
    padding: 80px 0;
}

.section.bg-light {
    background-color: #f9f9f9;
}

.section h2 {
    font-size: 2.2em; /* Réduire la taille du titre de section */
    text-align: center;
    margin-bottom: 40px;
    color: #000;
    font-weight: bold;
}

.section .subheadline {
    display: block;
    text-align: center;
    color: #777;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.call-to-action {
    text-align: center;
    margin-top: 50px;
}

.call-to-action p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
}

.call-to-action .button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out; /* Ajout de la transition */
}

.call-to-action .button:hover {
    background-color: #333;
    transform: scale(1.03); /* Léger agrandissement au survol */
}

/* Section Avantages */
#avantages .avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: center;
}

#avantages .avantage-item i {
    font-size: 2.5em;
    color: #000;
    margin-bottom: 15px;
}

#avantages .avantage-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #000;
    font-weight: bold;
}

#avantages .avantage-item p {
    color: #555;
}

/* Section Services Aperçu */
#services-apercu .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

#services-apercu .service-item {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

#services-apercu .service-item:hover {
    transform: translateY(-5px);
}

#services-apercu .service-item img {
    width: 100%;
    height: auto;
    display: block;
}

#services-apercu .service-item h3 {
    font-size: 1.5em;
    padding: 20px;
    text-align: center;
    color: #000;
    font-weight: bold;
}

#services-apercu .service-item p {
    padding: 0 20px 20px;
    text-align: center;
    color: #555;
}

#services-apercu .service-item .button {
    display: block;
    text-align: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    border-radius: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#services-apercu .service-item .button:hover {
    background-color: #000;
    color: #fff;
}

/* Section Avant/Après */
#avant-apres {
    background-color: #f9f9f9;
}

#avant-apres .subheadline {
    color: #555;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animated-button {
    position: relative;
    overflow: hidden;
}

.animated-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.4s ease-in-out;
}

.animated-button:hover::before {
    left: 100%;
}





/* Style général pour la section */
.section-devis {
    /* Les styles précédents restent */
    background-color: #f9f9f9; /* Couleur de fond de secours */
    padding: 200px 20px;
    text-align: center;
    overflow: hidden;
  
    /* Ajout de l'image de fond */
    background-image: url('https://image.noelshack.com/fichiers/2025/14/5/1743772967-celle-ci.png'); /* Remplacez par le chemin de votre image */
    background-size: cover; /* Rendre l'image responsive et couvrir tout l'arrière-plan */
    background-position: center; /* Centrer l'image */
    background-repeat: no-repeat; /* Empêcher la répétition de l'image */
    opacity: 95%;
  
    /* Optionnel : Ajouter une superposition sombre pour améliorer la lisibilité du texte blanc */
    /* background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.3); */
  
    /* Optionnel : Ajuster la hauteur minimale de la section si nécessaire */
    /* min-height: 400px; */
  }
  
  .container-devis {
    /* Les styles précédents restent */
    max-width: 960px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    /* Optionnel : Ajouter une couleur de fond semi-transparente au conteneur pour améliorer la lisibilité */
    /* background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 8px; */
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Titre principal */
  .section-devis h2 {
    /* Les styles précédents restent */
    font-size: 2.8em;
    color: #ffffff; /* Assurez-vous que la couleur du texte contraste avec l'image de fond */
    margin-bottom: 25px;
    line-height: 1.1;
    font-weight: 600;
  }
  
  /* Description */
  .section-devis p.description-devis {
    /* Les styles précédents restent */
    font-size: 1.2em;
    color: #c2c1c1; /* Assurez-vous que la couleur du texte contraste avec l'image de fond */
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.7s ease-out 0.5s forwards;
  }
  
  /* Bouton de demande de devis */
  .button-devis {
    /* Les styles précédents restent */
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 18px 33px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 0.6s ease-out 0.7s forwards;
  }
  
  @keyframes fadeInScale {
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  .button-devis:hover {
    background-color: #444;
    transform: scale(1.05);
  }
  
  /* Responsive design (ajustements pour les écrans plus petits) */
  @media (max-width: 768px) {
    .section-devis {
      padding: 60px 15px;
    }
  
    .section-devis h2 {
      font-size: 2.2em;
    }
  
    .section-devis p.description-devis {
      font-size: 1.1em;
    }
  
    .button-devis {
      padding: 15px 30px;
      font-size: 1em;
    }
  }


  /*footer -------------------------- */
  
  .footer-liens {
    background-color: #2c3e50; /* Fond sombre */
    color: #fff; /* Texte blanc */
    padding: 40px 20px;
    font-size: 0.9em;
    text-align: center;
}

.footer-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-links-column {
    margin-bottom: 20px;
    width: 100%;
}

.footer-links-column h3 {
    color: #f9f9f9;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #fff;
}

/* Style spécifique pour la colonne "Avis Google" */
.footer-links-column:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre les éléments horizontalement */
    text-align: center; /* Centre le texte à l'intérieur */
}

.google-stars {
    margin-bottom: 10px; /* Ajoute un peu d'espace entre les étoiles et le texte */
}

.google-stars a {
    color: gold; /* Couleur or pour les étoiles */
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.google-stars a:hover {
    color: #ffda6b; /* Couleur or plus clair au survol */
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ffffff;
    font-size: 0.85em;
}



/* ... autres styles du footer ... */

.footer-links-column ul li ul.social-icons {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: flex-start; /* Aligne les icônes à gauche */
    align-items: center; /* Aligne verticalement les icônes (si besoin) */
}

.footer-links-column ul li ul.social-icons li {
    margin: 0 8px;
    margin-bottom: 0;
}

.footer-links-column ul li ul.social-icons li a {
    display: block;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links-column ul li ul.social-icons li a:hover {
    opacity: 1;
}

.footer-links-column ul li ul.social-icons li a img {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* ... autres styles du footer ... */

















@media (min-width: 768px) {
    .footer-links-column {
        width: auto;
        text-align: left;
    }
    /* On les écrans plus grands, on peut aussi centrer la colonne Google si on le souhaite */
    .footer-links-column:nth-child(3) {
        text-align: center;
        align-items: center;
    }
}








  

.diagonal-separator-clip {
  width: 100%;
  height: 60px; /* Ajustez la hauteur selon vos besoins */
  background: linear-gradient(to bottom right, #F9F9F9 50%, transparent 50%);
  clip-path: polygon(0 0, 100% 0, 0 100%); /* Crée un triangle */
}

.diagonal-separator-clip::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px; /* Doit correspondre à la hauteur du parent */
  background: linear-gradient(to top left, #FFFFFF 50%, transparent 50%);
  clip-path: polygon(100% 100%, 0 100%, 100% 0); /* Crée l'autre triangle */
}


/*section avant-apres */
/* Importation de la police Open Sans si ce n'est pas déjà fait */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

/* Section Avant/Après Moderne V2 (avec interaction au survol initiale - CORRIGÉ) */
.avant-apres-section-moderne {
    /* ... vos autres styles existants ... */
    background-image: url('https://image.noelshack.com/fichiers/2025/14/4/1743714705-wmremove-transformed.jpeg');
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 25% auto; /* La largeur sera 30% de la largeur de la section, la hauteur s'ajustera automatiquement */
    padding-bottom: 150px; /* Ajustez ce padding si nécessaire */
}

.avant-apres-container {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Deux colonnes de taille égale sur les grands écrans */
    gap: 60px; /* Espacement entre les colonnes */
    align-items: center; /* Alignement vertical au centre */
}

.titre-et-texte {
    text-align: left;
}

.titre-confiance h1 {
    font-size: 3em;
    color: #333;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.texte-introduction p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.avant-apres-module-wrapper {
    position: relative; /* Assurez-vous que le wrapper est en position relative */
    margin-top: 50px;
    display: flex; /* Utilisation de flexbox pour aligner les flèches et le module */
    align-items: center; /* Alignement vertical au centre */
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Fond sombre semi-transparent */
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 11; /* Pour être au-dessus du module */
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.arrow:hover {
    opacity: 1;
}

.arrow-left {
    left: -40px; /* Ajustez cette valeur pour la position à gauche */
}

.arrow-right {
    right: -40px; /* Ajustez cette valeur pour la position à droite */
}

/* Styles pour le module (assurez-vous qu'ils sont toujours présents) */
.avant-apres-module {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: ew-resize;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
    border: 1px solid #ccc; /* Si vous avez ajouté une bordure */
    margin: 0 20px; /* Ajoutez une marge à gauche et à droite du module pour faire de la place aux flèches */
}

/* ... autres styles de votre section avant-apres ... */

.avant-apres-module {
    position: relative;
    width: 100%;
    height: auto; /* La hauteur s'ajuste en fonction de la largeur */
    aspect-ratio: 4 / 3; /* Ratio d'aspect pour garder les proportions (ajustez si nécessaire) */
    overflow: hidden;
    cursor: ew-resize;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Ombre plus prononcée */
    transition: box-shadow 0.3s ease-in-out;
}

.avant-apres-module:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.avant-image,
.apres-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.avant-image {
    z-index: 2;
    clip-path: inset(0 0 0 0);
}

.apres-image {
    z-index: 1;
}

.avant-apres-module:hover .avant-image {
    clip-path: inset(0 50% 0 0); /* Au survol, dévoile l'image après à partir du milieu */
}

.slider-module {
    position: absolute;
    top: 0;
    left: 50%; /* Position initiale au milieu */
    width: 4px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateX(-50%); /* Centre le slider visuellement */
    z-index: 10; /* S'assure qu'il est au-dessus des images */
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .avant-apres-container {
        grid-template-columns: 1fr; /* Une seule colonne sur les écrans plus petits */
        gap: 40px;
    }

    .titre-et-texte {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .titre-confiance h1 {
        font-size: 2.5em;
    }

    .texte-introduction p {
        font-size: 1em;
    }

    .avant-apres-module {
        aspect-ratio: 16 / 9; /* Ratio plus adapté aux mobiles */
    }
}



/* Dans votre fichier CSS */
/* Dans votre fichier CSS */
.titre-confiance {
    text-align: left;
    margin-bottom: 20px;
    width: auto; /* Ajuste la largeur au contenu */
    padding-left: 0;
    margin-left: 0;
    /* Pour le positionner vraiment à gauche du viewport, vous pourriez essayer : */
    /* position: absolute;
    left: 0;
    top: [la position verticale souhaitée]; */
}

.titre-confiance h1 {
    font-size: 3.2em;
    line-height: 1.2;
    font-family: 'Open Sans', sans-serif;
    color: #000000;
    font-weight: 700;
}





















/* Importation d'une police moderne (exemple: Open Sans) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

.service-at-home.modern.expanded { /* Ajout de la classe 'expanded' pour des styles spécifiques */
  background-color: #f9f9f9; /* Fond légèrement plus clair pour la démarcation */
  color: #333; /* Texte principal gris foncé */
  padding: 120px 30px; /* Augmentation du padding haut et bas */
}

.service-at-home.modern.expanded .container {
  max-width: 1500px; /* Augmentation de la largeur maximale du conteneur */
  margin: 0 auto;
  display: flex; /* Utilisation de Flexbox pour la mise en page */
  align-items: center;
  gap: 100px; /* Augmentation de l'espacement entre le texte et l'image */
  flex-direction: row-reverse; /* Inverser l'ordre pour mettre l'image à droite */
}

.service-at-home.modern.expanded .text-content {
  flex: 1; /* Prend 1 part de l'espace disponible */
  padding-right: 60px; /* Augmentation du padding à droite */
  text-align: left; /* Alignement du texte à gauche */
}

.service-at-home.modern.expanded .image-content {
  flex: 2; /* Prend 2 parts de l'espace disponible (donc plus que le texte) */
  max-width: 800px; /* Largeur maximale de l'image */
}

.service-at-home.modern.expanded .image-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px; /* Bords arrondis pour l'image */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Ombre légère */
}

.service-at-home.modern.expanded h2 {
  color: #000; /* Titre en noir */
  font-family: 'Open Sans', sans-serif; /* Utilisation de la police importée */
  font-size: 3.2em; /* Taille du titre plus grande */
  line-height: 1.2;
  margin-bottom: 30px; /* Augmentation de la marge en bas du titre */
  font-weight: 700; /* Titre en gras */
}

.service-at-home.modern.expanded p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 40px; /* Augmentation de la marge en bas du paragraphe */
  color: #555; /* Texte légèrement plus clair */
}

.service-at-home.modern.expanded .key-services-list {
  list-style: none; /* Supprime les puces par défaut */
  padding: 0;
  margin: 0;
  display: flex; /* Aligner les éléments horizontalement */
  align-items: center;
  margin-bottom: 45px; /* Augmentation de la marge en bas de la liste des services */
  gap: 30px; /* Augmentation de l'espacement entre les éléments de la liste */
}

.service-at-home.modern.expanded .key-services-list li {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  color: #333;
  font-size: 1.1em;
  display: flex; /* Utiliser Flexbox pour aligner le texte et le point */
  align-items: center; /* Centrer verticalement le texte et le point */
  white-space: nowrap; /* Empêche le texte de passer à la ligne */
}

.service-at-home.modern.expanded .key-services-list li:last-child .separator-point {
  display: none; /* Ne pas afficher le point après le dernier élément */
}

.service-at-home.modern.expanded .separator-point {
  width: 8px;
  height: 8px;
  background-color: #000;
  border-radius: 50%;
  margin-left: 15px; /* Espacement à gauche du point */
}

.service-at-home.modern.expanded .button {
  display: inline-block;
  background-color: #000; /* Bouton noir */
  color: #fff; /* Texte du bouton blanc */
  padding: 18px 35px; /* Augmentation du padding du bouton */
  text-decoration: none;
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  font-size: 1.1em; /* Légère augmentation de la taille du texte du bouton */
  transition: background-color 0.3s ease; /* Transition douce pour le hover */
}

.service-at-home.modern.expanded .button:hover {
  background-color: #333; /* Assombrir légèrement au survol */
}

/* Style pour les écrans plus petits (responsive design) */
@media (max-width: 992px) { /* Ajout d'un breakpoint pour les tablettes */
  .service-at-home.modern.expanded .container {
    gap: 40px;
  }

  .service-at-home.modern.expanded .text-content {
    padding-right: 40px;
  }

  .service-at-home.modern.expanded h2 {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .service-at-home.modern.expanded .container {
    flex-direction: column; /* Empiler les éléments sur les petits écrans */
    text-align: center; /* Centrer le texte sur les petits écrans */
    gap: 40px; /* Réduction de l'espacement sur les petits écrans */
  }

  .service-at-home.modern.expanded .text-content {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .service-at-home.modern.expanded .image-content {
    max-width: 80%; /* L'image prend 80% de la largeur sur les petits écrans */
    margin: 0 auto 20px; /* Centrer l'image et ajouter une marge en bas */
  }

  .service-at-home.modern.expanded h2 {
    font-size: 2.4em; /* Réduction de la taille du titre sur les petits écrans */
  }

  .service-at-home.modern.expanded p {
    font-size: 1em; /* Réduction de la taille du paragraphe sur les petits écrans */
  }

  .service-at-home.modern.expanded .key-services-list {
    justify-content: center; /* Centrer les services sur les petits écrans */
    gap: 15px; /* Réduction de l'espacement sur les petits écrans */
    margin-bottom: 30px;
  }

  .service-at-home.modern.expanded .key-services-list li {
    font-size: 1em; /* Réduction de la taille du texte des services */
  }

  .service-at-home.modern.expanded .separator-point {
    margin-left: 10px;
  }

  .service-at-home.modern.expanded .button {
    font-size: 1em; /* Réduction de la taille du texte du bouton */
    padding: 15px 30px;
  }
}

@media (max-width: 480px) { /* Ajout d'un breakpoint pour les téléphones */
  .service-at-home.modern.expanded h2 {
    font-size: 2em; /* Réduction supplémentaire de la taille du titre sur les téléphones */
  }

  .service-at-home.modern.expanded .key-services-list {
    flex-direction: column; /* Afficher les services sur une seule colonne sur les téléphones */
    align-items: center;
  }

  .service-at-home.modern.expanded .key-services-list li {
    white-space: normal; /* Permettre au texte de passer à la ligne si nécessaire */
    margin-bottom: 10px; /* Ajouter une marge entre les éléments de la liste */
  }

  .service-at-home.modern.expanded .key-services-list li:not(:last-child)::after {
    display: none; /* Ne pas afficher le point si les éléments sont sur des lignes différentes */
  }

  .service-at-home.modern.expanded .separator-point {
    display: none; /* Cacher le point car les éléments sont sur des lignes différentes */
  }

  .service-at-home.modern.expanded .button {
    width: 100%; /* Le bouton prend toute la largeur sur les téléphones */
  }
}

/* Responsive Design */
@media (max-width: 768px) {

    header .container {
        flex-direction: column;
        align-items: center;
    }

    header .logo {
        margin-bottom: 15px;
    }


    header nav {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        margin-top: -5px; /* Ajustez cette valeur pour monter la navigation sur mobile */
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .hero {
        height: 100vh; /* Assurez-vous que la hauteur est bien à 100vh sur mobile aussi */
        padding: 0; /* Supprimer le padding sur mobile pour un affichage plein écran */
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5em;
    }

     .hero .subheadline {
        font-size: 1.4em;
        line-height: 1.6;
    }

    .hero-actions a {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
    }

    #avantages .avantages-grid {
        grid-template-columns: 1fr;
    }

    #services-apercu .services-grid {
        grid-template-columns: 1fr;
    }
}


/* Masquer par défaut le bouton burger ET le menu mobile */
.burger-menu-icon {
    display: none;
}
.mobile-menu {
    display: none;
}

/* Affichage uniquement sur tablette/mobile */
/* Menu burger modernisé */
@media (max-width: 1024px) {
    header nav,
    header .button.primary {
        display: none;
    }

    .service-at-home .key-services-list {
    display: none !important;
  }
    

    header .container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    

    header .logo {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .burger-menu-icon {
        width: 30px;
        height: 22px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 999;
    }
    
    .burger-menu-icon span {
        height: 3px;
        width: 100%;
        background-color: #000;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    /* Animation vers la croix */
    .burger-menu-icon.active span:nth-child(1) {
        transform: rotate(45deg) translateY(9px);
    }
    
    .burger-menu-icon.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu-icon.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-9px);
    }

     header .phone-btn {
        display: none;
    }

    .mobile-menu .phone-btn.mobile {
        display: block;
        margin: 10px 0;
        border: none;
    }
    
    

    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(8px);
        z-index: 1000;
        padding: 60px 30px;
        flex-direction: column;
        animation: slideFadeIn 0.4s ease-out forwards;
        box-shadow: -4px 0 10px rgba(0, 0, 0, 0.5);
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex
;
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding-top: 100px;
        padding-left: 30px;
    }

    .mobile-menu li a {
        font-size: 20px;
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .mobile-menu li a:hover {
        color: #ccc;
    }

    .mobile-menu .button.primary {
        margin-top: 30px;
        display: inline-block;
        padding: 12px 20px;
        background-color: #fff;
        color: #000;
        border-radius: 8px;
        font-weight: bold;
        text-align: center;
    }

    .mobile-menu .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 26px;
        color: #fff;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .mobile-menu .close-btn:hover {
        transform: scale(1.2);
    }

    @keyframes slideFadeIn {
        0% {
            opacity: 0;
            transform: translateX(100%);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
}


.service-at-home.modern.expanded .image-content img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    

@media (max-width: 768px) {
    header nav,
    header .button.primary {
        display: none;
    }

    header .container {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    header .logo {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .burger-menu-icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    .service-at-home .key-services-list {
    display: none !important;
  }
}



@media (max-width: 400px) {
    header {
        height: 70px;
        padding: 0;
    }
    .service-at-home .key-services-list {
    display: none !important;
  }

    header .container {
        height: 130px;

    }

    header .logo img {
        max-height: 90px;
        width: auto;
    }

    .burger-menu-icon {
        right: 10px;
        font-size: 24px;
        padding: 8px;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 14px;
    }


    .hero {
        padding: 20px 15px;
        text-align: center;
    }

    .mobile-menu {
        width: 100%;
        padding: 80px 20px;
    }
}





@media (max-width: 768px) {
    

    .hero-actions{
        gap: 30px;
        display: flex;
        justify-content: center;
    }
    .service-at-home .key-services-list {
    display: none !important;
  }

    .service-at-home.modern.expanded h2 {
        font-size: 2.5em;
        text-align: center;
    }
    .service-at-home.modern.expanded p {
        font-size: 1em;
        text-align: center;
    }

    .service-at-home.modern.expanded .text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center; /* pour centrer le texte aussi si besoin */
      }
    
      .service-at-home.modern.expanded .button {
        text-align: center;
        margin-top: 20px;
      }

      .service-at-home.modern.expanded .image-content {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px; /* ajuste selon l’effet voulu */
    width: 100%;
}

.service-at-home.modern.expanded .image-content img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.titre-confiance h1 {
    font-size: 2.8em;
    text-align: center;
    line-height: 1.2;
    font-family: 'Open Sans', sans-serif;
    color: #000000;
    font-weight: 700;
}

.texte-introduction p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: center;
    padding: 50px;
}



.avant-apres-module {
    position: relative;
    width: 70%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: ew-resize;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
    margin: 0 auto; /* Centre le module horizontalement */
    display: block; /* Assure-toi que l'élément est un bloc pour être centré */
}

.avant-image, .apres-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 11;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.arrow-right {
    right: 10px; /* Réduit la distance de la flèche droite */
}

.arrow-left {
    left: 10px; /* Réduit la distance de la flèche gauche */
}


.footer-links-column ul li ul.social-icons {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
}


@media (max-width: 390px) {


    .hero-actions {
        gap: 30px;
        display: flex;
        flex-wrap: wrap;
    }
    .service-at-home .key-services-list {
    display: none !important;
  }
  
  .service-at-home.modern.expanded h2{
    font-size: 1.5rem !important;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
    padding: 10px 3px;
  }
  

    .hero h1 {
        font-size: 38px;
        line-height: 1.5;
        padding: 8px 3px;
        position: relative;
        top: -30px; /* Remonte uniquement le h1 */
    }
       

    .service-at-home.modern.expanded .image-content img {
        display: block;
        width: 140%;
        height: auto;
        object-fit: cover;
    }

    .service-at-home.modern.expanded .button {
    text-align: center;
    margin-top: 20px;
    width: 75%;
    margin-bottom: 1rem !important;
}

        .service-at-home.modern.expanded .image-content {
        max-width: 100%;
        margin: 0 auto 20px;
    }

        .titre-confiance h1 {
        font-size: 2.2em;
        text-align: center;
        line-height: 1.2;
        font-family: 'Open Sans', sans-serif;
        color: #000000;
        font-weight: 700;
    }

        .titre-et-texte {
        text-align: center;
        padding-top: 35px;
    }

     .mobile-hide {
    display: none;
  }

  .avant-apres-module-wrapper {
    position: relative;
    display: flex;
    margin-top: 0;
    align-items: center;
    }

    .avant-apres-section-moderne {
    /* ... vos autres styles existants ... */
    background-image: url('https://image.noelshack.com/fichiers/2025/14/4/1743714705-wmremove-transformed.jpeg');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 40% auto; /* La largeur sera 30% de la largeur de la section, la hauteur s'ajustera automatiquement */
    padding-bottom: 150px; /* Ajustez ce padding si nécessaire */
}
    
}


    .service-at-home.modern.expanded h2 {
        font-size: 2.7em;
        text-align: center;
    }
    .service-at-home.modern.expanded p {
        font-size: 1.1em;
        text-align: center;
    }


   
    

    

    .service-at-home.modern.expanded .button {
        text-align: center;
        margin-top: 20px;
        width: 75%;
    }

    .service-at-home.modern.expanded {
        background-color: #f9f9f9;
        color: #333;
        padding: 120px 0px;
    }


    




 .card {
    width: 300px;
    height: 220px;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    gap: 13px;
    position: fixed; /* Ajout pour le positionnement fixe */
    bottom: 20px; /* Position depuis le bas */
    right: 20px; /* Position depuis la droite */
    overflow: hidden;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.062);
    z-index: 1000; /* Pour s'assurer qu'il est au-dessus des autres éléments */
  }
  
  /* Les autres styles CSS pour .card, #cookieSvg, .cookieHeading, .cookieDescription, .buttonContainer, .acceptButton, .declineButton restent les mêmes */
  
  #cookieSvg {
    width: 50px;
  }
  
  #cookieSvg g path {
    fill: rgb(97, 81, 81);
  }
  
  .cookieHeading {
    font-size: 1.2em;
    font-weight: 800;
    color: rgb(26, 26, 26);
  }
  
  .cookieDescription {
    text-align: center;
    font-size: 0.7em;
    font-weight: 600;
    color: rgb(99, 99, 99);
  }
  
.cookieDescription a {
    --tw-text-opacity: 1;
    color: rgb(59 130 246);
  }
  
  .cookieDescription a:hover {
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
  }
  
  .buttonContainer {
    display: flex;
    gap: 20px;
    flex-direction: row;
  }
  
  .acceptButton {
    width: 80px;
    height: 30px;
    background-color: #7b57ff;
    transition-duration: .2s;
    border: none;
    color: rgb(241, 241, 241);
    cursor: pointer;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px #977ef3, 0 2px 4px -1px #977ef3;
    transition: all .6s ease;
  }
  
  .declineButton {
    width: 80px;
    height: 30px;
    background-color: #dadada;
    transition-duration: .2s;
    color: rgb(46, 46, 46);
    border: none;
    cursor: not-allowed;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px #bebdbd, 0 2px 4px -1px #bebdbd;
    transition: all .6s ease;
  }
  
  .declineButton:hover {
    background-color: #ebebeb;
    box-shadow: 0 10px 15px -3px #bebdbd, 0 4px 6px -2px #bebdbd;
    transition-duration: .2s;
  }
  
  .acceptButton:hover {
    background-color: #9173ff;
    box-shadow: 0 10px 15px -3px #977ef3, 0 4px 6px -2px #977ef3;
    transition-duration: .2s;
  }