.hero-banner{
    padding: 0;
    overflow: hidden; /* Cache le texte qui déborde */
}

.hero-banner .description-slide{
    max-width: 480px;   
    background-color: var(--green-700);
    color: var(--white);
    border-radius: 0 var(--radius-s) 0 0;
    margin: 0;
}


.hero-banner .description-slide .eclats{
    padding: 2rem;
}

.hero-banner .description-slide .eclats::before{
    content:'';
    background-image: url('https://asld41.com/wp-content/uploads/2024/11/eclats.svg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 81px;
    height: 106px;
    top: -3rem;
    right: -3rem;
    display: block;
    position: absolute;
}

.hero-banner .description-slide h2{
    font-size: 1.75rem;
}

@media screen and (max-width:960px) {
    .hero-banner .description-slide{
        max-width: 85vw;
    }

    .hero-banner .description-slide .eclats{
        padding: 1.5rem;
    }

    .hero-banner .description-slide h2{
        font-size: 1.5rem;
    }
}

.hero-banner .description-slide h2, .hero-banner .description-slide a{
    color: var(--white);
}

.hero-banner .description-slide a:hover{
    color: var(--green-700);
}

.valeurs{
    background-color: var(--blue);
    color: var(--white);
    border-top: solid 1px var(--blue);
    border-bottom: solid 1px var(--blue);
}

.valeurs img{
    height: 160px;
    width: auto;
    margin-bottom: 0;
}

.valeurs h3{
    margin-top: 1rem;
}

.valeurs h3,.valeurs p{
    color: var(--white);
}

/*Chiffres clés*/


.chiffre-cle{
    border-bottom: solid 1px var(--orange-200);
    margin-bottom: 1rem;
}

.chiffre-cle:last-of-type{
    border-bottom: none;
}

.chiffre-cle .number{
    font-size:3rem;
    font-weight: bold;
    color: var(--orange);
    margin-bottom: 0;
    margin-top: 0;
}

.chiffre-cle:nth-of-type(1) .number{
   color: var(--yellow-800);
}

.chiffre-cle:nth-of-type(2) .number{
    color: var(--blue-500);
 }

 .chiffre-cle:nth-of-type(3) .number{
    color: var(--orange-600);
 }

 .chiffre-cle:nth-of-type(4) .number{
    color: var(--green-600);
 } 
.chiffre-cle .description{
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 0;
}

.illu-rapport-1{
    top: -2rem;
    right: 2rem;
    z-index: 1;
}

.illu-rapport-2{
    bottom: 8rem;
    left: 1rem;
    z-index: 1;
}


/* Style du bandeau défilant comme un ruban */
.marquee {
    position: absolute; /* Positionné par-dessus le slider */
    bottom: 3rem;
    right: -1rem;
    background-color: var(--blue-700);
    font-size: 1.2rem;
    padding: 1rem 2rem;
    z-index: 10; /* Assure que le bandeau soit au-dessus du slider */
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: bottom right; /* Point d'origine de la rotation */
    /* Ajuste la rotation ici */
    transform: rotate(-7deg);
    width: 120%; /* Étend le bandeau pour couvrir toute la largeur souhaitée */
    white-space: nowrap; /* Empêche le texte de se découper en plusieurs lignes */
    overflow: hidden; /* Cache le texte qui déborde */
}

/* Animation de défilement du texte */
.marquee p {
    margin: 0;
    color: var(--white);
    white-space: nowrap; /* Empêche le texte de se couper */
    animation: marquee 20s linear infinite; /* Animation de défilement */
    font-size: 1rem;
    text-transform: uppercase;
    font-family: var(--font-primary);
    font-weight: bold;
}

/* Animation de défilement du texte */
@keyframes marquee {
    0% {
        transform: translateX(100%); /* Débute à droite */
    }
    100% {
        transform: translateX(-40%); /* Finit à gauche */
    }
}

/* Dupliquer le texte pour créer un effet de boucle infinie */
.marquee p::after {
    content: attr(data-text); /* Duplique le texte */
    margin-left: 2rem; /* Ajoute un espace entre les deux parties du texte */

}

@media screen and (max-width:960px) {
    .marquee {
        position: initial;
        bottom: 3rem;
        right: 0rem;
        background-color: var(--blue-600);
        font-size: 1.2rem;
        padding: 1rem 2rem;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        transform-origin: bottom right;
        transform: rotate(-3deg);
        width: 120%;
        white-space: nowrap;
        margin-bottom: 2.5rem!important;
        margin-left: -1px;
    }

    .marquee p {
        margin: 0;
        color: var(--white);
        white-space: nowrap; /* Empêche le texte de se couper */
        animation: marquee-mobile 20s linear infinite; /* Animation de défilement */
        font-size: 1rem;
        text-transform: uppercase;
        font-family: var(--font-primary);
        font-weight: bold;
    }
}

/* Animation de défilement du texte */
@keyframes marquee-mobile {
    0% {
        transform: translateX(50%); /* Débute à droite */
    }
    100% {
        transform: translateX(-40%); /* Finit à gauche */
    }
}

/* Dupliquer le texte pour créer un effet de boucle infinie */
.marquee p::after {
    content: attr(data-text); /* Duplique le texte */
    margin-left: 2rem; /* Ajoute un espace entre les deux parties du texte */

}

.overflow{
    overflow: hidden;
}

.bouton-rotate{
    position: absolute; /* Positionné par-dessus le slider */
    bottom: 5rem;
    right: -2rem;

    background-color: var(--blue-600);
    font-size: 1.2rem;
    padding: 1rem 2rem;
    z-index: 10; /* Assure que le bandeau soit au-dessus du slider */
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: bottom right; /* Point d'origine de la rotation */
    /* Ajuste la rotation ici */
    transform: rotate(-7deg);
    width: 120%; /* Étend le bandeau pour couvrir toute la largeur souhaitée */
    white-space: nowrap; /* Empêche le texte de se découper en plusieurs lignes */
    overflow: hidden; /* Cache le texte qui déborde */
    width: 100%;
}

.bouton-rotate a{
    margin: 0;
    color: var(--white);
    white-space: nowrap; /* Empêche le texte de se couper */
    font-size: 1rem;
    text-transform: uppercase;
    font-family: var(--font-primary);
    font-weight: bold;
}