.sim_content{display: block;position: relative;margin-top: 40px;}


    /* Style global pour le simulateur */

    .simulateur{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .sim_container {
        border-radius: 10px;
        background: linear-gradient(180deg, rgba(0, 112, 239, 0.30) 0%, rgba(128, 199, 160, 0.30) 100%);    
        padding: 30px;
    }

    .sim_container_calcule {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(1, 1fr);
        grid-column-gap: 20px;
        grid-row-gap: 20px;
        
        flex-wrap: nowrap;
        justify-content: space-between;     
    }
    
    .sim_container_steps_sousBloc {
        border-radius: 10px;
        background: var(--white, #FFF);
        box-shadow: 0 0 10px 0 rgba(0, 112, 239, 0.50);
        padding: 20px;

        display: flex;     
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        align-self: stretch;
    }

    .step1 { grid-area: 1 / 1 / 2 / 2; }
    .step2 { grid-area: 2 / 1 / 3 / 2; }
    .step3 { grid-area: 1 / 2 / 3 / 3; }

    .sim_title_container {
        color: var(--blue, #0070EF);
        font-family: 'work_sansemibold', 'Arial', sans-serif;
        font-size: 28px;
        line-height: normal;
        margin-bottom: 20px;
    }

    .sim_container_steps{
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        align-self: stretch;       
        display: flex;   
        width: 100%; 
    }
    
    .sim_container_steps_composer{
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        align-self: stretch;           
        display: flex;    
        width: 100%;
    }

    .title_step {
        color: var(--middle-grey, #878787);
        font-family: 'work_sanssemibold', 'Arial', sans-serif;
        font-size: 20px !important;
        line-height: normal;
        text-transform: capitalize;    
    }

    .inline{
        display: flex;
        flex-direction: row;
        gap: 10px;
        align-items: center;
        margin-bottom: 10px;
    }

    .inline img{width: 20px;}

    .offert{
        border-radius: 10px;
        background: linear-gradient(90deg, #0070EF 0%, #80C7A0 100%);        
        padding: 8px;
        color: var(--white, #FFF);
        text-align: center;
        font-size: 16px;
        font-family: 'work_sanssemibold', 'Arial', sans-serif;    
    }

    .font_input_1{
        font-family: 'work_sansbold', 'Arial', sans-serif;
        font-size: 18px;
    }

    .font_input_2{
        font-family: 'work_sanslight', 'Arial', sans-serif;
        font-size: 18px;
    }

    /* Style des blocs de calculs */

    .calc_inline{
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        justify-content: space-between;
        width: 100%;
    }

    .calc_inline div{
        display: flex;
        flex-direction: row;
        gap: 20px;
    }    

    .calc_inline p{
        color: var(--dark-grey, #333);
        font-family: 'work_sansregular', 'Arial', sans-serif;
        font-size: 16px;
    }    

    .calc_result{
        border-radius: 10px;
        background: linear-gradient(90deg, #0070EF 0%, #80C7A0 100%);
        padding: 10px;
        width: 100%;
    }

    .calc_result p{
        border-radius: 10px;
        padding: 8px;
        color: var(--white, #FFF);
        font-family: 'work_sansregular', 'Arial', sans-serif;
        font-size: 18px;
    }    

    .whiteEncart{
        border-radius: 8px;
        background: var(--white, #FFF);
        padding: 8px;
        color: var(--blue, #0070EF);
        font-size: 16px;
        font-family: 'work_sanssemibold', 'Arial', sans-serif;
    }

    input{
        display: flex;
        padding: 4px 8px;
        flex-direction: column;
        justify-content: center;
        align-items: center;   
        border-radius: 8px;
        border: 1px solid var(--blue, #0070EF);
        background: rgba(0, 112, 239, 0.10);      
        text-align: center;
    }

    .calc_result input{
        color: var(--white, #FFF);
        text-align: center;
        font-family: 'work_sansregular', 'Arial', sans-serif;
        font-size: 22px;
        width: fit-content;
        border: unset;
        background: unset;
    }

    .en_savoir_plus{
        display: flex;
        padding: 10px;
        align-self: stretch;
        border-radius: 10px;
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.20);        
        justify-content: space-between;
        cursor: pointer;
    }


    .en_savoir_plus{
        transition: background 0.8s ease;
    }
    .en_savoir_plus p{
        transition: color 0.8s ease;
    }    
    .en_savoir_plus:hover{
        background: #0070EF ;
    }
    .en_savoir_plus:hover p{
        color: var(--white, #FFF);
    }

    .encart_gris{
        border-radius: 10px;
        background: rgba(0, 112, 239, 0.10);
        display: flex;
        padding: 10px;
        align-self: stretch;       
        text-align: center; 
    }

.container_bloc_tricolore{
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    justify-content: space-evenly;
}

.greenTricolore, .orangeTricolore, .blueTricolore{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.greenTricolore p, .orangeTricolore p, .blueTricolore p{
    text-align: center;
    font-family: 'work_sanssemibold', 'Arial', sans-serif;
    font-size: 16px;
    text-transform: uppercase;    
}

.greenTricolore .tricolore_input, .orangeTricolore .tricolore_input, .blueTricolore .tricolore_input{
    border-radius: 8px;
    background: rgba(222, 222, 222, 0.20);  
    padding: 2px 4px;
    justify-content: center;
    border: unset;
}

.greenTricolore p{color: var(--d-9-d-9-d-9, #80C7A0);}
.orangeTricolore p{color: var(--d-9-d-9-d-9, #E76);}
.blueTricolore p{color: #000;}

.tricolore_input_green, .tricolore_input_orange, .tricolore_input_blue{
border-radius: 8px;
display: flex;
padding: 4px 8px;
flex-direction: column;
justify-content: center;
align-items: center;
}
.tricolore_input_green{border: 1px solid var(--d-9-d-9-d-9, #80C7A0);background: rgba(128, 199, 160, 0.20);}
.tricolore_input_orange{border: 1px solid var(--d-9-d-9-d-9, #E76);background: rgba(238, 119, 102, 0.20);}
.tricolore_input_blue{background: #0070EF;color: #FFF;font-family: 'work_sanssemibold', 'Arial', sans-serif;font-size: 16px;}
    
.container_infoBloc_tricolore{
    display: flex;
    align-items: stretch;
    gap: 20px;
    align-self: center;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
}

.infoBloc_greenTricolore, .infoBloc_orangeTricolore, .infoBloc_blueTricolore{
    display: flex;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;    
    border-radius: 8px;
}

.infoBloc_greenTricolore p, .infoBloc_orangeTricolore p, .infoBloc_blueTricolore p{
color: var(--white, #FFF);
font-family: 'work_sanssemibold', 'Arial', sans-serif;
font-size: 18px;
}

.infoBloc_greenTricolore{
border: 1px solid var(--d-9-d-9-d-9, #80C7A0);
background: var(--d-9-d-9-d-9, #80C7A0);    
}
.infoBloc_orangeTricolore{
border: 1px solid var(--d-9-d-9-d-9, #E76);
background: var(--d-9-d-9-d-9, #E76);    
}
.infoBloc_blueTricolore{
border: 1px solid var(--d-9-d-9-d-9, #0070EF);
background: var(--d-9-d-9-d-9, #0070EF);    
}

.infoBloc_greenTricolore input, .infoBloc_orangeTricolore input, .infoBloc_blueTricolore input{
    background: unset;
    border: unset;
}

.empty_bg{background-color: unset;border: 2px solid var(--d-9-d-9-d-9, #E76);}
.empty_bg p{color: #E76;}
.nonApplicable{color: var(--middle-grey, #878787) !important;font-family: 'work_sansregular', 'Arial', sans-serif !important;display: flex;flex-direction: row;align-items: baseline;gap: 5px;}
.nonApplicable img{width: 13px;}

.encart_info_tricolore{
border-radius: 10px;
border: 2px solid #0272ED;
box-shadow: 0 0 10px 0 rgba(0, 112, 239, 0.25);
padding: 10px;    
width: 100%;
}

.encart_info_tricolore p{
    font-size: 18px;   
    font-family: 'work_sanssemibold', 'Arial', sans-serif;
}


.encart_info_tricolore_empty{
    background: linear-gradient(90deg, #0171EE 0%, #7FC6A1 100%);    
    display: flex;
    width: 100%;
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;    
    border-radius: 10px;
}

.encart_info_tricolore_empty .inline p{
    font-size: 18px;   
    font-family: 'work_sanssemibold', 'Arial', sans-serif;
}

.container_infoBloc_tricolore_empty {
    background: linear-gradient(90deg, #0171EE 0%, #7FC6A1 100%);  
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;    
    width: 100%;
    gap: 5px;
}
.infoBloc_greenTricolore_empty p, .infoBloc_orangeTricolore_empty p, .infoBloc_blueTricolore_empty p{
    color: var(--white, #FFF);
    font-family: 'work_sanssemibold', 'Arial', sans-serif;
    font-size: 18px;
}

.infoBloc_greenTricolore_empty, .infoBloc_orangeTricolore_empty, .infoBloc_blueTricolore_empty{
    background: #fff;    
    display: flex;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    border: 1px solid var(--white, #FFF);
    width: 100%;
}

.infoBloc_greenTricolore_empty p{
color: #7FC6A1; 
}
.infoBloc_orangeTricolore_empty p{
color: #E76;    
}
.infoBloc_blueTricolore_empty p{
color: #0070EF;    
}

.infoBloc_greenTricolore_empty input{
color: #7FC6A1; 
border: unset;
background: unset;
}
.infoBloc_orangeTricolore_empty input{
color: #E76;    
border: unset;
background: unset;
}
.infoBloc_blueTricolore_empty input{
color: #0070EF;   
border: unset;
background: unset; 
}

.container_border_green, .container_border_orange, .info_current_monnaie{
    display: flex;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
    border-radius: 10px;
    background: var(--white, #FFF);    
}
.container_border_green{
border: 2px solid var(--d-9-d-9-d-9, #80C7A0);
}
.container_border_orange{
border: 2px solid var(--d-9-d-9-d-9, #E76);}
.info_current_monnaie{
border: 2px solid rgba(0, 112, 239, 0.50);background-color: rgba(0, 112, 239, 0.10);}

.container_border_green .offTitle{color: #80C7A0;font-size: 16px;font-family: 'work_sanssemibold', 'Arial', sans-serif;}
.container_border_orange .offTitle{color: #E76;font-size: 16px;font-family: 'work_sanssemibold', 'Arial', sans-serif;}

.input_full_green{
    border-radius: 8px;
    background: var(--d-9-d-9-d-9, #80C7A0);
    color: #fff;
    border: unset;    
}
.input_light_green{
    border-radius: 8px;
    border: 1px solid var(--d-9-d-9-d-9, #80C7A0);
    background: rgba(128, 199, 160, 0.20);
    color: #000;    
}

.input_full_orange{
    border-radius: 8px;
    background: var(--d-9-d-9-d-9, #E76);
    color: #fff;
    border: unset;    
}
.input_light_orange{
    border-radius: 8px;
    border: 1px solid var(--d-9-d-9-d-9, #E76);
    background: rgba(238, 119, 102, 0.20);
    color: #000;    
}

.encart_info_tricolore_clear{
    border-radius: 10px;
    border: 2px solid var(--light-grey, #DEDEDE);
    padding: 10px;
    width: 100%;
}

.inner_bloc{
    display: flex;
    flex-direction: column;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    align-self: stretch;
    border-radius: 8px;
}
.inner_bloc_light{
    display: flex;
    padding: 8px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    align-self: stretch;   
    border-radius: 8px;
}

.infoBloc_greenTricolore_empty .inner_bloc{background: var(--d-9-d-9-d-9, #80C7A0);}
.infoBloc_greenTricolore_empty .inner_bloc_light{background: rgba(128, 199, 160, 0.40);}

.infoBloc_orangeTricolore_empty .inner_bloc{background: var(--d-9-d-9-d-9, #E76);}
.infoBloc_orangeTricolore_empty .inner_bloc_light{background: rgba(238, 119, 102, 0.40);}

.infoBloc_blueTricolore_empty .inner_bloc{background: var(--d-9-d-9-d-9, #0070EF);}
.infoBloc_blueTricolore_empty .inner_bloc_light{background: rgba(0, 112, 239, 0.40);}

.fixe_taille{
    width: -webkit-fill-available !important;
}

/* Style jauge */

/* ==========================================
   CHROME/WEBKIT ONLY: reset total + styles
   (exclut Firefox via not (-moz-appearance))
   ========================================== */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {

  input[type="range"].jauge {
    /* 🔥 RESET TOTAL */
    all: unset;

    /* 🔧 on remet juste ce qu'il faut pour que ce soit un input range utilisable */
    -webkit-appearance: none;
    appearance: none;

    display: block;     /* évite des surprises inline */
    width: 100%;        /* ou auto si tu préfères, mais 100% est souvent plus stable */
    height: 18px;       /* hitbox (thumb = 18px) */

    cursor: pointer;
  }

  /* Track */
  input[type="range"].jauge::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 6px;
    background: linear-gradient(
      to right,
      #0070EF 0%,
      #0070EF var(--value, 0%),
      rgba(0, 112, 239, 0.20) var(--value, 0%),
      rgba(0, 112, 239, 0.20) 100%
    );
  }

  /* Thumb */
  input[type="range"].jauge::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;

    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #80C7A0;
    border: 0;
    margin-top: 0; /* important: pas d'offset fragile */
  }

    input[type="range"].jauge::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;

    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #80C7A0;
    border: 0;

    margin-top: -4px; /* ✅ ajustement fin, stable */
    }
}


    /* Encart supplémentaire d'information plafond */

    .encart_info_plafond{
        display: none;
        padding: 10px 20px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
        align-self: stretch;        
    }

    .encart_prelevement{
        display: flex;
        padding: 10px 20px;
        flex-direction: column;
        gap: 10px;
        align-self: stretch;
        border-radius: 10px;
        background: var(--white, #FFF);
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.20);
    }

    .encart_prelevement_container{
        display: flex;
        flex-direction: row;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .encart_prelevement_container div{
        display: flex;
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }    

    .greenCell{
        border-radius: 8px;
        border: 2px solid var(--d-9-d-9-d-9, #80C7A0);
        background: var(--white, #FFF);        
        padding: 10px;
        text-align: center;

    }
    .orangeCell{
        border-radius: 8px;
        border: 2px solid var(--d-9-d-9-d-9, #E76);
        background: var(--white, #FFF);        
        padding: 10px;
        text-align: center;
    }

    .greenCell p{color: var(--d-9-d-9-d-9, #80C7A0);font-size: 16px;font-family: 'work_sansregular', 'Arial', sans-serif;}
    .orangeCell p{color: var(--d-9-d-9-d-9, #E76);font-size: 16px;font-family: 'work_sansregular', 'Arial', sans-serif;}    

    .greenCell p span{font-size: 16px;font-family: 'work_sanssemibold', 'Arial', sans-serif;}
    .orangeCell p span{font-size: 16px;font-family: 'work_sanssemibold', 'Arial', sans-serif;}        

    .greyText{color: var(--middle-grey, #878787);font-family: 'work_sansregular', 'Arial', sans-serif;font-size: 14px;}
    
    .encart_txt_split{
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }

    .delimitateur{
        background: var(--light-grey, #D9D9D9);
        width: 100%;
        height: 2px;
    }

    .reverse_calc_result{
        border-radius: 10px;
        background: linear-gradient(90deg, #80C7A0 0%, #0070EF 100%);
        padding: 10px;
        color: #fff;
    }    

    .reverse_calc_result p{
        border-radius: 10px;
        padding: 8px;
        color: var(--white, #FFF);
        font-family: 'work_sansregular', 'Arial', sans-serif;
        font-size: 18px;
    }       

    .blue_encart{
        border-radius: 10px;
        background: #0070EF ;
        padding: 10px;
        color: #fff;
    }        

    .blue_encart p{
        border-radius: 10px;
        padding: 8px;
        color: var(--white, #FFF);
        font-family: 'work_sansregular', 'Arial', sans-serif;
        font-size: 18px;
    }       

.infoBloc_orangeTricolore_light{
    display: flex;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;    
    border-radius: 8px;
}

.evolution{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;    
}

.infoBloc_orangeTricolore_light p{
    color: var(--white, #FFF);
    font-family: 'work_sanssemibold', 'Arial', sans-serif;
    font-size: 18px;
}

.infoBloc_orangeTricolore_light{
    border: unset;
    background: rgba(238, 119, 102, 0.20);
}

.infoBloc_orangeTricolore_light input{
    background: unset;
    border: unset;
}

.orange_light{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;  
}

.orange_light div{
    width: 100%;
}

.orange_light p{
    color: #000;
    font-family: 'work_sanssemibold', 'Arial', sans-serif;
    font-size: 16px;
}

.orange_light p span{
    text-transform: uppercase;
    text-align: center;
}

.bloc_note{
    display: flex;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 10px;
    background: rgba(212, 212, 212, 0.20);
    margin-top: 20px;
}

.bloc_note p{
    color: var(--dark-grey, #333);
    font-size: 16px;
    font-family: 'work_sansregular', 'Arial', sans-serif;
}

.moyenne_protege{
    display: flex!important;
    flex-direction: column!important;
}

p{
    position: initial;
}
.infobulle:hover + .infobulle__content{
    display: block!important;
}
.infobulle__content{
    display: none!important;
    width: fit-content;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.30);
    position: absolute;
    color: #333;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 5px 10px;
    z-index: 10;
}

.form-error {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: #c0392b;
	color: #fff;
	padding: 12px 18px;
	border-radius: 6px;
	font-size: 14px;
	box-shadow: 0 4px 10px rgba(0,0,0,.25);
	z-index: 9999;
}

.hide {
	display: none;
}


/* RESPONSIVE DESIGN SIMULATEUR */

@media screen and (max-width: 1820px){
	.sim_container_calcule{
		grid-template-columns: 1fr!important; /* 1 seule colonne */
	}
	.step1,
    .step2,
    .step3 {
        grid-area: auto !important; /* laisse Grid gérer l'ordre */
    }
}

@media screen and (max-width: 1050px){
    .sim_container_steps_composer, .sim_container_steps_sousBloc, .encart_info_plafond, .encart_info_plafond{
        width: 100%;    
    }

    .container_infoBloc_tricolore, .container_infoBloc_tricolore_empty {
        flex-direction: column;
    }
}

@media screen and (max-width: 840px){
    .container_bloc_tricolore, .calc_inline, .evolution{
        flex-direction: column;
    }
    
}