



.section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    min-height: 50vh;
}

.section h2 {
    font-size: 24px; /* Taille réduite */
    font-weight: bold; /* Conserve un bon contraste */
    margin-bottom: 15px; /* Espacement ajusté */
}


.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
}

.text {
    flex: 1;
}

.image {
    flex: 1;
    text-align: center;
}


.image img {
    width: 100%; /* Prend toute la largeur du conteneur */
    height: 350px; /* Hauteur fixe pour donner un effet horizontal */
    object-fit: cover; /* Zoom et recadre automatiquement l’image */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease-in-out;
}

.image img:hover {
    transform: scale(1.05); /* Effet zoom au survol */
}



/* Alternance des sections */
.reverse {
    flex-direction: row-reverse;
}

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

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