body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: white;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    overflow: hidden;
}

.content {
    position: absolute;
    text-align: center;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5); /* Taille initiale petite */
    animation: zoomInOut 2s ease-in-out forwards;
}

.content {
    font-size: 4vw;
}

.large-text {
    font-size: 7vw;
}

/* Animation pour apparition, maintien, et disparition */
@keyframes zoomInOut {
    0% {
        opacity: 0;
        transform: scale(0.5); /* Démarre petit */
    }
    40% {
        opacity: 1;
        transform: scale(1); /* Apparition complète */
    }
    50% {
        opacity: 1;
        transform: scale(1); /* Maintien statique de 0,5 seconde */
    }
    100% {
        opacity: 0;
        transform: scale(0.5); /* Disparition progressive */
    }
}

/* Centrage et agrandissement de l'image */
.final-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.final-content img {
    width: 80%; /* Image plus grande */
    max-width: 900px;
    opacity: 0;
    transform: scale(0.5); /* Démarre petit */
    animation: zoomIn 4s ease-out forwards;
    animation-delay: 42s; /* L'image apparaît après les textes */
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bouton CTA sous l'image */
.cta {
    margin-top: 20px;
    background-color: #df1201;
    color: white;
    padding: 15px 30px;
    font-size: 1.5vw;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    display: inline-block;
    opacity: 0;
    transform: scale(0.5); /* Démarre petit */
    animation: zoomIn 3s ease-out forwards;
    animation-delay: 47s; /* Le bouton apparaît après l'image */
}

@media (max-width: 768px) {
    .content {
        font-size: 6vw;
    }
    .large-text {
        font-size: 10vw;
    }
    .final-content img {
        width: 90%; /* Image plus grande sur mobile */
    }
    .cta {
        font-size: 4vw;
        padding: 10px 20px;
    }
}

