.offer-content h3 {
    font-size: 18px;
    color: #10243D;
    margin-top: 25px;
    margin-bottom: 10px;
}

.no-padding-left {
    padding-left: 0;
}

.centered-paragraph {
    width: 60%;
    margin: 20px auto 0px auto; 
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: #10243D;
}

/* Pyramide */
.image-text-section {
    width: 70vw;
    display: flex;
    flex-direction: row;
    gap: 0;
    padding-left: 10vw;
    margin: 0;    
}
  
.image-column {
    flex: 6;
    width: 65vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
}
  
.p-image-container {
    position: relative;
    display: flex;
}

.p-image-container img {
    height: 8vh;
    width: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.p-image-container:first-child img {
    height: 22vh; 
}

.label-letter {
    display: none;
    position: absolute;
    left: -100px;
    top: 75%;
    transform: translateY(-50%);
    font-size: 100px;
    font-family: "HelveticaMd";
    color: #10243D;
}

.label-letter.visible {
    display: block;
}

.letter-a {
    color: #CB9267; 
}

.letter-b {
    color: #913212; 
    top: 40%;
}

.letter-c {
    color: #913212;
    top: 40%;
}

.letter-d {
    color: #6C0F16; 
    top: 40%;
}

.letter-e {
    color: #6C0F16;
    top: 40%;
}


.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #10243D;
    font-size: 1.0rem; 
    padding: 5px 5px;
    text-align: center;
    width: 65%;
}

.p-image-container:first-child .image-text {
    top: auto;
    bottom: 10px;
    transform: translateX(-50%);
}

/* Description d'un bloc de pyramide */
.text-part {
    flex: 4;
    width: max(40%, 400px);
    margin: 0;
}

.text-block-treso {
    padding: 5px; 
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.va-title-treso {
    padding-bottom: 40px;
}

.text-paragraph-treso {
    padding: 20px 20px 20px 20px;
    font-size: 20px;
    color: #10243D;
    text-align: left;
    
}

.text-description {
    font-size: 20px;
    color: #10243D;
    margin: 10px 20px;
    margin-bottom: 0;
    margin-top: 20px;
    line-height: 1.5;
    font-weight: 300;
}

.offer-content-treso p {
    font-size: 20px;
    font-weight: 300;
}

.offer-content-treso li {
    margin-left: 10px;
    font-size: 20px;
    font-weight: 300;
}

.info-text-treso {
    width: 100%;
    background-color: #F4F3EE;
    padding: 10px;
    text-align: left;
    display: flex;
    align-items: center;
    font-size: 4vw;
    color: #10243D;
}

.info-text li {
   font-size: 20px;
   margin-left: 20px;
   font-weight: 300;
}

.info-treso {
    display: none;
}

.info-list.active {
    display: block;
}

.text-title-treso {
    font-family: 'HelveticaMd';
    margin-left: 20px;
    padding: 10px 10px;
    width: max-content;
    text-align: left;
    color: #10243D;
    background-color: #F4F3EE;
    font-size: 20px;
    text-transform: uppercase;
}

.bullet-point {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.bullet-point .star-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.bullet-point span {
    font-size: 19px;
    font-weight: 300;
    color: #10243D;
    line-height: 1.4;
}

/* Message par défaut */
.hover-message {
    text-align: left;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.default-title {
    margin: 0;
    width: max-content;
    font-family: 'HelveticaMd';
    padding: 10px 10px;
    text-align: left;
    color: #10243D;
    background-color: #F4F3EE;
    font-size: 20px;
    text-transform: uppercase;
    border: 1px solid #10243D; 
}

.hover-detail {
    font-size: 20px;
}

.hover-intro {
    color: #10243D;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 10px;
}

.hover-hint {
    color: #CB9267; 
    font-size: 18px; 
    font-weight: 300;
    margin: 0; 
}

.legend-container {
    margin-top: 20px;
    padding-left: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legend-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 300;
    color: #10243D;
}

.legend-color {
    width: 20px;
    height: 20px;
}

.legend-color.gold {
    background-color: #CB9267;
}

.legend-color.wine {
    background-color: #913212;
}

.legend-color.blood {
    background-color: #6C0F16;
}

/* Grids */
.grid-section {
    width: min(80vw, 1200px);
    margin: 6vh auto;   
    margin-top: 0;
    margin-bottom: 20px;
}

.grid-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
}

.grid-item {
    background-color: #F4F3EE;
    position: relative;
    padding-top: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #10243D; 
}

.grid-item-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 1vh 1vw;
}

.grid-item-image {
    width: 100%;
    padding: 0 1vw;
    box-sizing: border-box;
}

.grid-item-image img {
    width: 100%;
    height: 7vh;
    object-fit: cover; 
}


/* Position spécifique selon la classe */
.grid-item-image.center40 img {
    object-position: center 40%;
    opacity: 0.2;
}

.grid-item-image.center img {
    object-position: center;
    filter: grayscale(70%);
    opacity: 0.5;
}

.grid-item-image.start img {
    object-position: center 30%;
    opacity: 0.4;
}

.grid-item-image.bottom img {
    object-position: bottom;
}

.grid-icon {
    width: 20px; 
    height: auto;
}

.icon-shake-hands {
    width: 35px;
    height: auto;
}

.grid-title {
    font-size: 24px;
    font-family: "HelveticaLt";
    color: #CB9267;
}

.grid-description {
    padding: 1vh 1.5vw;
    padding-bottom: 2vh;
    font-size: 18px;
    color: #10243D;
    line-height: 1.5;
}

.grid-description strong {
    font-family: "HelveticaMd";
    font-weight: normal; 
}

.grid-description b {
    font-family: "HelveticaMd";
    font-weight: normal; 
}

.offer-structure-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 3vh 0;
    padding-bottom: 6vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EFE8DD;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.content-structure {
    position: relative;
    z-index: 2;
    width: 100%;
}

.banner-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.gold-button {
    font-family: "HelveticaLt";
    background-color: #CB9267;
    color: #F4F3EE;
    padding: 12px 24px;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 20px;
    font-weight: 300;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gold-button:hover {
    background-color: #F4F3EE; 
    color: #CB9267;
}

/* Exemples concrets */
.intervention-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intervention-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #10243D;
    padding-bottom: 10px;
}

.intervention-text {
    font-size: 18px;
    color: #10243D;
    font-weight: 400;
}

.intervention-icon {
    width: 18px;
    height: auto;
}


/*--------------------*/
/* Version  Mobile   */
/*--------------------*/

@media (max-width: 768px) {

    /* General adjustments */
    .section-title {
        font-size: 6vw;
    }

    p {
        font-size: 16px;
    }

    .spe-treso {
        height: 35vh;
    }

    .financement {
        font-family: 'HelveticaMd';
        font-size: 8vw;  
    }

    .gestion {
        font-family: 'HelveticaMd';
        font-size: 8vw;  
    }


     .treso {
        font-family: 'HelveticaMd';
        font-weight: 600;
        font-size: 8vw;  
    }


    /* Banners */
    .blue-banner-image .banner-text {
        padding: 0 5vw;
        text-align: center;
    }
    
    .banner-line {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .banner-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .gold-button {
        width: 80%;
        text-align: center;
        font-size: 16px;
    }

    .white-banner {
        padding: 10px; 
    }

    .white-banner-middle {
        display: none !important;
    }
    
    .white-banner-content-formations p {
        width: 90%;
        font-size: 5vw;
    }
    
    /* Pyramide */
    .image-text-section {
        flex-direction: column;
        width: 100%;
        padding-left: 0;
        gap: 20px;
    }

    .image-column {
        width: 100%;
        gap: 5px;
    }
    
    .p-image-container img {
        height: 3vh;
    }

    .p-image-container:first-child img {
        height: 8vh;
    }
    
    .image-text {
        display:none !important; 
    }
    
    .label-letter {
        font-size: 4vw;
        left: -20px;
        top: 50%;
    }
    
    .text-part {
        width: 90%;
        margin: 0 auto;
    }
    
    .default-title{
        font-size: 5vw;
    }
    
    .text-title-treso {
        width: auto;     
        margin-left: 0;  
        margin-right: 0;
        font-size: 5vw;
    }

    .text-description {
        margin-left: 0;
        margin-right: 0;
    }

    .info-text-treso {
        padding: 10px;
        padding-top: 20px;
        padding-bottom: 0;
    }

    .hover-intro, .text-description, .info-text li, .bullet-point span, .offer-content-treso p, .offer-content-treso li {
        font-size: 16px;
    }
    
    /* Grid Section */
    .grid-section {
        width: 90vw;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .grid-title {
        font-size: 20px;
    }

    .grid-description {
        font-size: 16px;
    }

    .white-banner-content-formations p.custom-paragraph {
        font-size: 5vw;
        width: 100%;
        line-height: 1.5;
        font-weight: 300;
        align-items: center;
    }

    .white-banner-content p.custom-paragraph {
        font-size: 4vw;
        width: 100%;
        line-height: 1.3;
        font-weight: 300;
        align-items: center;
    }

    .grid-item {
        padding-top: 5px;
    }

    .grid-item-image {
        padding: 0 5px;
    }

    .grid-item-header {
        padding: 5px 15px;
    }
    .grid-description {
        padding: 15px;
    }

    .content-structure {
        margin-bottom: 70px;
    }

    .offer-structure-container {
        margin-bottom: 30px; 
    }
                
    /* Sur-mesure Section */
    .main-container {
        flex-direction: column;
        padding-bottom: 0;
        margin-bottom: 0;
        height: 48vh;
        width: 100%;
    }

    .left-container, .right-container {
        width: 100%;
    }

    .offer-content-tresorerie {
        padding: 0 10px;
        padding-top:130px;
        text-align: center;
    }

    .title-container {
        justify-content: center;
    }

    .title-container h2 {
        font-size: 6vw;
    }

    .offer-content-tresorerie p {
        padding-top: 15px;
        width: 90%;
        font-size: 4vw;
        font-weight: 300;
        line-height: 1.4;
        color: #10243D;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
        
    /* Intervention List */
    .intervention-list {
        width: 90%;
        margin: 20px auto;
    }
    
    .intervention-text {
        font-size: 16px;
    }
}