main {
    background-color: #f9f9f9;
    padding-bottom: 50px;
}
/* Section info Impression */
#info-impression{
    background-image: url("../images/impression-bg.png");
    background-size: cover;
    background-position: center 50%;
    height: 500px;
    background-repeat: no-repeat;
}

#info-impression h1 {
    padding-top: 120px;
    font-size: 2.5rem;
    color: white;
    margin: 8px auto;
    max-width: 1000px;
}
#info-impression p {
    font-size: 1.2rem;
    color: white;
    margin: 8px auto;
    line-height: 1.8;
    max-width: 1000px;
}

/* Section Solution */
#solutions {
    margin-top: -200px;
    margin-left: 700px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 0.6s ease-out forwards;
    width: 40%;
    height: auto;
    position: relative; /* Nécessaire pour positionner l'image relative à la section */
}

#solutions h2 {
    font-size: 1.8rem;
    color: #012a7d;
    margin-bottom: 30px;
    padding-top: 20px;
}

#solutions p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    max-width: 300px;
}

#solutions img {
    position: absolute; /* Position absolue pour placer l'image */
    top: 10px; /* Décale l'image du haut */
    right: 30px; /* Décale l'image de la droite */
    width: 25%;
    height: auto;
}

/* Section Workflows */
#workflows {
    margin-left: 100px;
    margin-top: -250px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 0.8s ease-out forwards;
    width: 40%;
    height: auto;
    position: relative; /* Nécessaire pour positionner l'image relative à la section */
}

#workflows h2 {
    font-size: 1.8rem;
    color: #012a7d;
    margin-bottom: 30px;
    padding-top: 20px;
}

#workflows p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    max-width: 300px;
}

#workflows img {
    position: absolute; /* Position absolue pour placer l'image */
    top: 20px; /* Décale l'image du haut */
    right: 30px; /* Décale l'image de la droite */
    width: 25%;
    height: auto;
}

/* Section Qualité et performance */
#qualite {
    margin-left: 700px;
    margin-top: -80px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 1s ease-out forwards;
    width: 40%;
    height: auto;
    position: relative; /* Nécessaire pour positionner l'image relative à la section */
}

#qualite h2 {
    font-size: 1.8rem;
    color: #012a7d;
    margin-bottom: 30px;
    padding-top: 20px;
}

#qualite p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    max-width: 300px;
}

#qualite img {
    position: absolute; /* Position absolue pour placer l'image */
    top: 20px; /* Décale l'image du haut */
    right: 30px; /* Décale l'image de la droite */
    width: 25%;
    height: auto;
}

/* Section Partenaire de confiance */
#confiance {
    margin-left: 100px;
    margin-top: -300px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 0.8s ease-out forwards;
    width: 40%;
    height: auto;
    position: relative; /* Nécessaire pour positionner l'image relative à la section */
}

#confiance h2 {
    font-size: 1.8rem;
    color: #012a7d;
    margin-bottom: 30px;
    padding-top: 20px;
}

#confiance p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    max-width: 300px;
}

#confiance img {
    position: absolute; /* Position absolue pour placer l'image */
    top: 20px; /* Décale l'image du haut */
    right: 30px; /* Décale l'image de la droite */
    width: 25%;
    height: auto;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive design */
@media (max-width: 990px) {
    /* Sections globales : placement au centre avec marges automatiques */
    #solutions,
    #workflows,
    #qualite, #confiance {
        margin: 20px auto; /* Centrage horizontal */
        transform: none; /* Supprime la translation initiale */
        width: 90%; /* Adapte la largeur pour écrans étroits */
        text-align: center; /* Centre le texte pour une meilleure lisibilité */
    }

    /* Ajustement des titres et des paragraphes */
    #solutions h2,
    #workflows h2,
    #qualite h2, #confiance h2 {
        font-size: 1.5rem;
    }

    #solutions p,
    #workflows p,
    #qualite p, #confiance p {
        max-width: 100%; /* Laisse le texte s'étendre jusqu'à la largeur */
        margin: 0 auto;
    }

    /* Position et taille des images */
    #solutions img,
    #workflows img,
    #qualite img, #confiance img {
        position: static; /* Supprime le positionnement absolu */
        margin: 20px auto; /* Place l'image au centre */
        width: 20%; /* Réduit la taille pour mobile */
    }
}