.padding-right {
    padding-right: 100px;
}

/* Contenu de finance*/
.info-banners-wrapper {
    background-repeat: repeat-y;
    background-position: center;
    background-size: contain;
    padding: 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-banner-container {
    position: relative;
    width: 70vw;
    height: 20vw;
    margin: 0 auto 3vh auto; 
    display: flex;
    align-items: center;
    background-color: #EFE8DD ; 
    box-sizing: border-box;
    color: #10243D;
    z-index: 1;
}

.no-margin-bottom {
    margin-bottom: 0;
}

.info-banner-image {
    width: 20vw;
    height: 20vw;
    flex-shrink: 0;
    overflow: hidden;
}

.info-banner-image img {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    object-fit: cover;
    display: block;
}

.info-banner-text {
    height: 20vw;
    padding-left: 5vw;
    padding-right: 5vw; 
    color: #10243D;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.info-banner-top {
    display: flex;
    flex-direction: column;
    align-items: center;      
    justify-content: center; 
    height: 30%;    
}

.info-title {
    font-size: max(20px, 3vmin);
    font-family: "HelveticaMd";
    color: #10243D;
    line-height: 1.2;
    text-align: left;
}

.info-banner-bottom {
    display: flex;
    align-items: center;        
    justify-content: flex-start;
    height: 60%;
    width: 100%;                 
    box-sizing: border-box;
}

.info-banner-list {
    list-style-type: disc;
    font-weight: 300;
    font-size: max(16px, 2vmin);
    line-height: 1.5;
}

.info-banner-separator {
    height: 0.6px;
    width: 80%;
    background-color: #10243D;
}


/* Positionnement libre du numéro */
.info-banner-number {
    position: absolute;
    left: 25%; 
    top: 14%;
    transform: translateY(-50%);  
    font-size: max(30px, 7vmin);
    color: #10243D;
    font-weight: "HelveticaHv";
    pointer-events: none; 
}

/* 4 types de risques */
.risques-intro-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
}

.risques-intro {
    text-align: left;
    font-size: 22px;
    font-weight: 300;
    width: 50vw;
    line-height: 1.6;
    color: #10243D;
    margin-bottom: 30px;
}

.risques-tags {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.risque-tag {
    width: 10vw;
    height: 60px;
    background-color: transparent;
    color: #10243D;
    font-family: "HelveticaMd";
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #CB9267; 
    text-transform: uppercase;
}

.risques-description {
    text-align: left;
    width: 50vw;
    line-height: 1.6;
    color: #10243D;
    font-size: 22px;
    font-weight: 300;
}

.white-number {
    color: #F4F3EE;
}

.blue-number {
    color: #10243D;
}

.step3 img{
    object-position: left;
}

.info-banner-bottom-image-text {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 40px;
    margin-bottom: 60px;
    margin-top: 40px;
    text-align: left;
    width: 100%;
    flex-wrap: wrap; 
}

.info-banner-bottom-image-text img {
    width: 40px; 
    height: auto;
}

.info-banner-bottom-image-text p {
    font-size: max(20px, 3vmin);
    font-family: "HelveticaMd";
    color: #10243D;
}

/* =================================== */
/* Mobile Adaptation - Risques Page    */
/* =================================== */

@media (max-width: 768px) {
    
    /* Banner */
    .spe-risques {
        height: 120px;
    }


    /* Introduction des risques */
    .risques-intro-container {
        width: 80%;
        padding: 0 20px;
        margin: 20px auto;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .risques-description:last-child {
        margin-bottom: 0;
    }

    .offer-content {
        padding-top:0;
    }
    
    .risques-intro {
        width: 100%;
        font-size: 18px;
        text-align: left;
        margin-bottom: 20px;
    }
    
    .risques-description {
        width: 100%;
        font-size: 18px;
        text-align: left;
        margin-bottom: 15px;
    }
    
    /* Tags des risques */
    .risques-tags {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        justify-content: center;
        margin-bottom: 20px;
        width: 100%;
    }
    
    .risque-tag {
        width: 100%;
        height: 50px;
        font-size: 0.9rem;
        text-align: center;
    }
    
    /* Bannière blanche méthodologie */
    .white-banner-risques {
        padding: 20px;
        padding-bottom: 0;
    }
    
    .white-banner-content {
        padding: 0 10px;
    }
    
    .white-banner-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .white-banner-content p {
        font-size: 4vw;
        line-height: 1.5;
        padding-bottom: 0;
    }
    
    /* Conteneurs des étapes */
    .info-banners-wrapper {
        padding: 20px 10px;
        padding-top: 0;
    }
    
    .info-banner-container {
        width: 95vw;
        height: auto;
        min-height: 300px;
        margin: 0 auto 20px auto;
        flex-direction: column;
        position: relative;
        padding: 20px;
        padding-bottom: 0;
    }
    
    .info-banner-image {
        width: 100%;
        height: 150px;
        order: 1;
    }
    
    .info-banner-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .info-banner-text {
        width: 100%;
        height: auto;
        padding: 20px 0 0 0;
        order: 2;
    }
    
    .info-banner-top {
        height: auto;
        margin-bottom: 0;
        text-align: center;
    }
    
    .info-title {
        font-size: 20px;
        text-align: center;
        line-height: 1.3;
    }
    
    .info-banner-separator {
        width: 100%;
        margin: 15px 0;
    }
    
    .info-banner-bottom {
        height: auto;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .info-banner-list {
        font-size: 16px;
        line-height: 1.6;
        padding-left: 20px;
    }
    
    .info-banner-list li {
        margin-bottom: 8px;
    }

    .info-banner-list ul {
        margin-top:0;
        margin-bottom: 0;
    }
    
    /* Numérotation des étapes */
    .info-banner-number {
        position: absolute;
        left: 20px;
        top: 20px;
        transform: none;
        font-size: 40px;
        color: #CB9267;
        font-weight: bold;
        z-index: 2;
        background-color: rgba(255, 255, 255, 0.9);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Image et texte du bas */
    .info-banner-bottom-image-text {
        flex-direction: column;
        gap: 10px;
        width: 60%;
        text-align: center;
        margin: 0 auto; 
        align-items: center;
        justify-content: center;
    }
    .info-banner-bottom-image-text img {
        width: 30px;
    }
    
    .info-banner-bottom-image-text p {
        font-size: 18px;
        text-align: center;
    }
    
    /* Bannière spéciale risques */
    .spe-risques .banner-text {
        padding: 20px;
    }
    
    .spe-risques .banner-text-column {
        text-align: center;
    }
    
    .spe-risques .banner-line {
        font-size: 32px;
    }
    
    .spe-risques .financement {
        font-size: 28px;
    }
}
