body.page-template-services {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #fff;
    margin: 0;
    padding: 0;


a {
    max-width: 190px;
}
/* ✅ Ajustement pour éviter des écarts trop grands sur petits écrans */
.contain {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10vw; /* Au lieu de 216px */
    margin: 0 auto;
}

/* ✅ Rend le padding plus flexible */
.about {
    display: flex;
    flex-direction: column;
    padding: 148px 189px; /* S'adapte à l'écran */
    background-color: #FFFBE7;
    gap: 75px;
}

/* ✅ Adapte le max-width pour éviter un texte trop large sur mobile */
.first {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60%; /* Évite un texte trop serré */
    gap: 2rem;
}

/* ✅ Meilleure flexibilité */
.first .icon-and-text {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.first h2 {
    font-size: 1.5rem;
    font-weight: bold;
    max-width: 90%; /* Permet au texte de mieux s'ajuster */
    margin: 0;
}

.about h3 {
    font-size: 1rem;
    margin: 0;
}

/* ✅ Images responsives */
.img {
    width: 100%;
    max-width: 434px;
    height: auto;
    border-radius: 8px;
}

/* 🎯 RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .contain {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    
    .first {
        max-width: 80%;
        text-align: center;
    }

    .first .icon-and-text {
        justify-content: center;
    }

    .about {
        padding: 5vh 5vw;
    }
}

@media (max-width: 768px) {
    a {
        max-width: 149px;
    }
    h2 {
        font-size:16px;
    }
    .about {
        padding: 22px 60px 60px;
        gap:40px;
    }
    .contain {
        gap: 5vw;
    }

    .first {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centre tout ce qui est dedans */
        text-align: center; /* Centre le texte */
    }
    

    .img {
        max-width: 100%;
    }
}
}