.carousel-item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: #fff;
    font-size: 38px; /* taille réduite, plus lisible */
    font-weight: 700;
    text-align: center;

    /* Fond dégradé + arrondi */
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    padding: 20px 35px;
    border-radius: 15px;

    max-width: 85%;
    line-height: 1.3; /* aère le texte */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);

    opacity: 0;
}

/* Animation sur l'entrée */
.carousel-item.active p {
    animation: slideInZoom 1.5s ease forwards;
}

@keyframes slideInZoom {
    0% {
        opacity: 0;
        transform: translate(-120%, -50%) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: translate(-48%, -50%) scale(1.15);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}


.welcome-message {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
    border-left: 6px solid #0077b6;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    font-family: "Poppins", Arial, sans-serif;
    color: #333;
    line-height: 1.8;
    text-align: center;

    /* Animation */
    opacity: 0;
    transform: translateX(80px); /* commence légèrement à droite */
    animation: slideFadeIn 1.5s ease-out forwards;
}

.welcome-message p {
    font-size: 18px;
    font-weight: 400;
}

.welcome-message strong {
    font-size: 22px;
    color: #0077b6;
}

.welcome-message em {
    color: #ff7b00;
    font-style: normal;
    font-weight: 600;
}

/* Animation glissement + fondu */
@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.contact-sub {
    margin-top: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-left: 4px solid #0077b6;
    border-radius: 10px;
    font-family: "Poppins", Arial, sans-serif;
    color: #333;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-sub h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #0077b6;
}

.contact-sub p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-sub .highlight {
    color: #ff7b00;
    font-weight: 600;
}