/* Nouveau fond pour le body */
body {
    background: linear-gradient(135deg, #e0e0e0, #c9c9c9);
    background-attachment: fixed;
    color: #333333; /* Texte plus foncé pour contraste */
    font-family: 'Montserrat', sans-serif;
}

/* Styles pour la bannière animée */
.bl {
    color: black;
    font-size: 2.0rem;
    font-weight: bold;
    text-align: center;
    padding: 2rem 0;
}

/* ... autres styles spécifiques à la home ... */
/* Styles pour la bannière animée */
.animated-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin: 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
    border-radius: 50px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.banner-background {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.8;
}

.sliding-text-container {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    background: rgba(15, 80, 246, 0.7);
    padding: 1.5rem 0;
    border-radius: 50px;
}

.sliding-text {
    display: flex;
    white-space: nowrap;
    animation: slide 105s linear infinite;
    width: fit-content;
    will-change: transform;
}

.sliding-text span {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 2rem;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-66.666%);
    }
}

/* Styles pour la bannière expertise */
.expertise-banner {
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    height: 500px;
}

.banner-blue-side {
    background-color: #0F50F6;
    border-radius: 20px 0 0 20px;
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.banner-title {
    color: white;
    font-size: 5.0rem;
    font-weight: bold;
    text-align: center;
}

.banner-image-side {
    width: 60%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
    border-radius: 0 20px 20px 0;
}

.banner-image {
    height: 100%;
    width: auto;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .animated-banner {
        flex-direction: column;
        height: auto;
    }

    .expertise-banner {
        flex-direction: column;
        height: auto;
    }

    .banner-blue-side,
    .banner-image-side {
        width: 100%;
    }

    .banner-blue-side {
        border-radius: 20px 20px 0 0;
        padding: 15px;
    }

    .banner-image-side {
        border-radius: 0 0 20px 20px;
    }

    .banner-image {
        width: 100%;
        height: 200px;
    }

    .sliding-text span {
        font-size: 2rem;
    }
}