#header {
    width: 100%;
}

#menu {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#menu > li {
    background: transparent;
    filter: var(--filter-shadow);
    text-align: center;
}

#menu > li > a {
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
    font-size: var(--smallTxt);
    background-color: transparent;
}

#menu > li > a:hover {
    background: url("../assets/backgrounds/img_titre_bleu_clair.png") no-repeat;
    background-size: 100% 100%;
}

#header_title {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#header_title > h1 {
    font-weight: bold;
    line-height: 60px;
    font-weight: normal;
    font-size: 60px;
}

#header_title > h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: normal;
}

#header_title > h2 > img {
    width: 150px;
    margin-top: 10px;
}

#header_menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

#header_logo {
    width: 200px;
    background: white;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

#header_logo > img {
    width: 100%;
}

#header_syndicat_logo {
    width: 175px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    height: 60px;
    padding: 5px;
}

#header_syndicat_logo > img {
    width: 100%;
}

.burger-menu {
    display: none;
}

#header_image_container {
    height: 500px;
    background: url("../assets/backgrounds/background_header.jpg");
    background-size: cover;
    background-position-x: center;
    background-position-y: bottom;
    overflow: hidden;
}

#header_image_container > img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(50%);
}


@media screen and (max-width:999px) {
    #header_menu {
        display: none;
    }

    .burger-menu {
        width: 100%;;
        height: 50px;
        background: rgba(255, 255, 255, 0.8);
        display: flex;
        cursor:pointer;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        padding: 0 12px;
        top: 0;
        left: 0;
        z-index: 9999;
        font-size: var(--bigTxt);
        font-weight: bold;
    }


    .bar {
        transition:0.4s;
    }

    .bar-1 {
        width:4em;
        display: block;
        width: 40px;
        border-top: 3px solid var(--primary);
        padding-top:6px;
        cursor:pointer;
        transition:0.4s;
    }
 
    .bar-2 {     
        width:4em;
        display: block;
        width: 40px;
        border-top: 3px solid var(--primary);
        padding-top:5px;  
        display:fixed;
        transition:0.4s;
    }
 
    .bar-3 {  
        width:4em;
        display: block;
        width: 40px;
        border-top: 3px solid var(--primary);
        padding-top:5px;
        transition:0.4s;
    }


    .change .bar-1 {
        -webkit-transform: rotate(-45deg) translate(-5px, 5px);
        transform: rotate(-45deg) translate(-5px, 8px);
    }
    
    .change .bar-2 {
        opacity:0;
    }
    
    .change .bar-3 {
        -webkit-transform: rotate(45deg) translate(-5px, 5px);
        transform: rotate(45deg) translate(-5px, -5px);
    }

    #mobileMenu {
        width: 100vw;
        height: 100vh;
        background: var(--primary);
        color: white;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #mobileMenu > ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    #mobileMenu > ul > li > a {
        color: white;
        font-size: var(--bigTxt);
    }

    #header_title > h1 {
        font-size: 40px;
    }
}#introduction {
    margin-top: 45px;
}

#decorative_blue {
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 200px;
}

#intro_phrase {
    text-align: center;
    margin-bottom: 30px;
}

#introduction_rows {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.intro_row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

.intro_row_logo {
    width: 150px;
}

.intro_row_logo > img {
    width: 100%;
}

.intro_row_text {
    flex: 1;
    font-size: var(--smallTxt);
}

.intro_row_link {
    margin-top: 9px;
    text-decoration: underline;
}

@media screen and (max-width:999px) {
    .intro_row {
        flex-direction: column;
    }

    #decorative_blue {
        display: none;
    }
}#diagnostic > .container {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#diag_title {
    color: white;
    font-weight: bold;
    display: inline;
    padding: 20px 30px;
    margin: 0 auto;
    background: url('../assets/backgrounds/fond_h2_diag.png');
    background-size: 100% 100%;
}

#diag_step_container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 75px;
    margin-top: 30px;
}

.step_item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 250px;
}

.step_logo {
    height:  120px;
}

.step_logo > img {
    height: 100%;
}

.step_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step_title {
    font-weight: bold;
}

.step_title > span {
    color: var(--tertiaryVariant);
    font-size: var(--title);
}

.step_text {
    font-size: var(--smallTxt);
}

#diag_sentence {
    margin-top: 35px;
    text-align: center;
}

#diag_banner {
    color: white;
    background: var(--tertiaryVariant);
    padding: 10px 40px;
    margin-top: 15px;
    position: relative;
}

#umbrella_decoration {
    position: absolute;
    width: 70px;
    bottom: -2px;
    left: -23px;
    transform: translate(-50%, 0);
}

@media screen and (max-width:999px) {
    #diag_step_container {
        flex-direction: column;
        width: 100%;
        gap: 25px;
        margin-bottom: 25px;
    }

    .step_item {
        min-width: 100%;
        text-align: center;
    }

    .step_content {
        min-width: 100%;
    }

    #diag_banner{
        text-align: center;
    }

    #umbrella_decoration {
        display: none;
    }
}#reasons > .container {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#reason_title {
    color: white;
    font-weight: bold;
    display: inline;
    padding: 20px 30px;
    margin: 0 auto;
    background: url('../assets/backgrounds/fond_h2_diag.png');
    background-size: 100% 100%;
}

.reason_desc {
    margin-top: 20px;
    font-weight: bold;
    text-align: center;
}

#reasons_items {
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 12px;
    margin-top: 20px;
}

.reason_icon {
    height: 130px;
}

.reason_icon > img {
    height: 100%;
}

.reasons_item {
    display: flex;
    flex: 1;
    flex-direction: column;
    background: #5bc5f290;
    height: 490px;
    padding: 15px;
    padding-bottom: 0;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 15px;
}

.reason_sub_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 21px;
    height: 50%;
    max-height: 220px;
}

.reason_txt {
    font-size: var(--smallTxt);
}


@media screen and (max-width:999px) {
    #reasons_items {
        flex-direction: column;
    }

    .reasons_item {
        width: 100%;
        padding: 15px 0;
    }

    .reason_txt {
        padding: 0 10px;
    }
}#decorative_blue_reversed {
    position: absolute;
    left: -40px;
    top: -50px;
    width: 200px;
    transform: scale(-1, 1);
}

#eligibility > .container {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

#eligibility_title {
    color: white;
    font-weight: bold;
    display: inline;
    padding: 20px 30px;
    margin: 0 auto;
    background: url('../assets/backgrounds/fond_h2_diag.png');
    background-size: 100% 100%;
    margin-bottom: 20px;
}

#eligibility_row {
    margin-top: 25px;
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
}

.eligibility_item {
    width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.eligibility_icon {
    width: 60px;
}

.eligibility_icon > img {
    width: 100%;
}

.eligibility_txt > a {
    border-bottom: 3px solid var(--tertiaryVariant);
    padding-bottom: 3px;
    font-weight: bold;
    color: var(--primary);
}

@media screen and (max-width:999px) {
    #eligibility_row {
        flex-direction: column;
        gap: 45px;
    }

    .eligibility_item {
        width: 100%;
    }

    #decorative_blue_reversed {
        display: none;
    }
}#carousel {
    margin-top: 45px;
    text-align: center;
}

#preco_text {
    font-weight: bold;
    margin-top: 25px;
    font-size: var(--bigTxt);
    margin-bottom: 15px;
}

#preco_orange {
    color: var(--tertiary);
}

#top_carousel_header {
    width: 100%;
    height: 160px;
    background: url('../assets/backgrounds/vague_bleu_fonce.png') no-repeat;
    background-size: 100% 100%;
    color: white;
    text-align: center;
    font-size: var(--regular);
    display: flex;
    align-items: center;
    justify-content: center;
}

#top_carousel_header > span {
    margin-top: 60px;
}

#control_sentence {
    margin-bottom: 75px;
    color: white;
    font-weight: bold;
}

/* CAROUSEL CSS */

.carouselContainer {
    padding-bottom: 25px;
    display: flex;
    height: 450px;
    background: var(--primaryVariant);
}

.carousel {
    width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    height: 100%;
    position: relative;
}

#carousel_mascot {
    position: absolute;
    z-index: 999;
    width: 140px;
    right: 0;
    bottom: 0;
}

.carouselImage {
    width: 60%;
    background: url('../assets/carousel/background_carousel.png') no-repeat;
    height: 100%;
    background-size: auto 100%;
    background-position: center;
    position: relative;
}

.sectionsContainer {
    background-color: white;
    border-radius: 12px;
    width: 375px;
    height: 250px;
    position: relative;
    padding-bottom: 45px;
}

#decorative_blue_man {
    position: absolute;
    width: 50px;
    bottom: -30px;
    right: -55px;
    transform: translate(-50%, 0);
}

.controls {
    position: absolute;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-size: 106% 100%;
    background-position: left;
    right: 0;
    height: 450px;
    width: 475px;
    z-index: 0;
}

section {
    display: grid;
    place-items: center;
}

.sp-carousel {
display: flex;
gap: 15px;
margin: auto auto;
position: relative;
overflow-x: hidden;
width: 100% !important;
}

.SP-slider {
height: auto;
transition: opacity 0.5s ease-in-out;
flex: 0 0 100%;
}

.SP-slider > .reviewer-name {
font-size: large;
}
.bd-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;

}
.order-landing__data {
    text-align: center;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: none !important;
    padding-top: 12px;
}

.carousel-dots {
    margin-top: 15px;
    display: flex;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    margin: 0 5px;
    cursor: pointer;
    display: flex;
}

.dot.active {
    background: var(--pale_orange) !important;
}

.dot:hover {
background-color: #aaa;
}

.bi {
color: #000;
}

.order-landing__data {
    width: 100%;
    display: flex;
}

.SP-slider .slide {
flex: 1;
text-align: center;
transition: filter 0.3s;
}

.SP-slider .slide:not(.active) {
filter: blur(5px); /* Adjust the blur strength as needed */
}

.carousel-dots {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.carousel-dots .dot {
    display: inline-block;
    margin: 0 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    background: #d9d9d9;
}

.activeImageDot {
    height: 33px !important;
    width: 33px !important;
}

.pastille {
    position: absolute;
    color: white;
    border-radius: 100%;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--pale_orange);
    font-size: var(--smallTxt);
    user-select: none;
    transition: 200ms;
    font-weight: bold;
    text-align: center;
}

.dot {
    cursor: pointer;
}

.dot:hover {
    background-color: var(--pale_orange);
}

.cardDot {
    left: 50%;
    top: -50%;
    transform: translate(-50%, 100%);
    z-index: 105;
    font-weight: bold;
    font-size: 50px;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tileText {
    margin: 0 auto;
    font-size: var(--bigTxt);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.tileText > img {
    width: 150px;
}

.subtileText {
    margin: 0 auto;
    font-size: var(--regular);
}



@media screen and (max-width:999px) {
    
    #top_carousel_header {
        padding: 0 15px;
    }

    .carousel {
        width: 100%;
        flex-direction: column;
        height: auto;
    }

    .carouselContainer {
        height: auto;
        padding-bottom: 15px;
    }

    .carouselImage {
        width: 100%;
        min-height: 280px;
        margin-top: 25px;
    }

    .dot {
        display: none;
    }

    .controls {
        position:relative;
        height: auto;
        width: 100%;
        flex: none;
        margin-top: 35px;
    }

    .sectionsContainer {
        margin-bottom: 0;
    }

    #decorative_blue_man {
        display: none;
    }
}#annuaire > .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 45px;
    font-weight: bold;
}

#img_annuaire {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
    font-size: var(--bigTxt);
    font-weight: bold;
}

#img_annuaire > img {
    max-width: 85px;
}#contact > .container {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

#contact_title {
    color: white;
    font-weight: bold;
    display: inline;
    padding: 20px 30px;
    margin: 0 auto;
    background: url('../assets/backgrounds/fond_h2_diag.png');
    background-size: 100% 100%;
    margin-bottom: 20px;
}

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

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

#contactForm {
    margin-top: 35px;
    font-weight: normal;
    font-size: var(--smallTxt);
    width: 100%;
}

#decorative_azure {
    position: absolute;
    right: -100px;
    bottom: -30px;
    width: 200px;
}

input{
    background-color: transparent;
}

.textInputs > input {
    flex: 1;
    border: 0px solid transparent;
    border-bottom: 2px solid var(--tertiary);
    border-radius: 0;
    color: var(--primary);
    padding: 10px;
}

::placeholder {
    color: var(--primary);
    opacity: 1;
  }
  
  ::-ms-input-placeholder {
    color: var(--secondary);
  }

#saveBtn {
    background: var(--tertiary);
    color: white;
    border: 0;
    font-weight: bold;
    padding: 10px 40px;
    filter: var(--filter-shadow);
    transition: 200ms;
}

#saveBtn:hover {
    color: var(--tertiary);
    background: white;
}

input[type=checkbox], input[type=radio] {
    margin: 0;
}

input::-webkit-input-placeholder,
input::-moz-placeholder, 
input:-ms-input-placeholder  { /* Edge 12 -18 */
  color: var(--primary) !important;
}

#mandatory {
    font-style: italic;
    font-size: var(--smallTxt);
}

#check {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

#askDiag {
    width: 130px;
}

@media screen and (max-width:999px) {
    .textInputs {
        flex-direction: column;
    }

    #check{
        flex-direction: column;
    }


    #check > div {
        flex-direction: row;
        display: flex;   
        gap: 12px;
    }

    .choiceRow {
        flex-direction: column;
    }

    #contactFormSection > .container {
        width: 100%;
    }

    .textInputs > input {
        width: 100%;
    }

    #decorative_azure {
        display: none;
    }
}#more > .container {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

#more_title {
    color: white;
    font-weight: bold;
    display: inline;
    padding: 20px 30px;
    margin: 0 auto;
    background: url('../assets/backgrounds/fond_h2_diag.png');
    background-size: 100% 100%;
    margin-bottom: 20px;
}

#accordions {
    width: 100%;
    text-align: left;
}

#toggle-first {
    cursor: pointer;
}

.toggle-section {
    overflow: hidden;
}

.collapseTitle {
    font-size: var(--regular);
    font-weight: bold;
    color: white;
    padding: 10px 12px;
    border-radius: 20px;
    position: relative;
    margin-bottom: 26px;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid white;
    bottom: 12px;
    left: 18px;
    position: absolute;
}

.collapse-title-text {
    margin-left: 60px;
}

.collapse-text-content {
    padding: 0 65px;
    text-align: justify;
    font-weight: normal;
    font-size: var(--smallTxt);
}

.toggle-link {
    color: #64c0c1;
    text-decoration: underline;
    font-weight: bold;
}

@media screen and (max-width:999px) {
    .tellMeMoreContainer {
        width: 100%;
    }

    #accordions {
        margin: 0 15px; 
    }

    .arrow-down {
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid white;
        bottom: 50%;
        transform: translateY(50%);
        left: 9;
        position: absolute;
    }

    .collapseTitle {    
        padding-left: 55px;
        text-align: left;
        font-size: var(--smallTxt);
    }

    .collapse-title-text {
        margin-left: 0;
    }

    .collapse-text-content {
        padding: 0 10px;
    }
}#testimony > .container {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

#testimony_title {
    color: white;
    font-weight: bold;
    display: inline-block;
    padding: 20px 30px;
    margin: 0 auto;
    background: url('../assets/backgrounds/fond_h2_diag.png');
    background-size: 100% 100%;
    margin-bottom: 35px;
}

.testimony_card {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding-bottom: 15px;
}

.testimony_name {
    font-size: var(--smallTxt);
    color: rgb(188, 188, 188);
    margin-bottom: 12px;
    align-self: flex-end;
}

.testimony_text {
    text-align: left;
    font-weight: normal;
    font-size: var(--smallTxt);
}#contact_box_container {
    max-width: 800px;
    background: var(--primary);
    padding: 40px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#decorative_mayor_violet {
    width: 50px;
    bottom: -2px;
    left: -110px;
}

#decorative_businesswoman_blue {
    width: 52px;
    bottom: -2px;
    left: -55px;
}

#decorative_orange_worker {
    width: 60px;
    bottom: -2px;
    right: -43px;
}

#decorative_businessman_violet {
    width: 50px;
    bottom: -2px;
    right: -85px;
}



#contact_box_title {
    color: white;
    font-weight: bold;
    font-size: var(--title);
    margin-bottom: 25px;
}

#contact_box_descr {
    color: white;
    text-align: center;
}

#contact_box_row {
    width: 85%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

#contact_box_left {
    width: calc(50% - 4px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact_box_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.contact_box_icon {
    width: 30px;
}

.contact_box_icon > img {
    width: 100%;
}

.contact_box_text, .contact_box_text > a {
    color: white;
}

#contact_box_right {
    display: flex;
    width: calc(50% - 4px);
    flex-direction: column;
    gap: 12px;
    color: white;
    padding-left: 50px;
}

.azure_separator {
    background: var(--tertiary);
    width: 3px;
    height: 100px;
}


@media screen and (max-width:999px) {

    #contact_box_row {
        flex-direction: column;
        width: 100%;
    }

    #contact_box_left, #contact_box_right {
        width: 100%;
        padding-left: 0;
    }

    .azure_separator {
        width: 100%;
        height: 3px;
        margin: 12px 0;
    }

    #decorative_mayor_violet, #decorative_businesswoman_blue, #decorative_orange_worker, #decorative_businessman_violet {
        display: none;
    }
}#footer {
    margin-top: 50px;
}

#logos_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#bottom_footer {
    margin-top: 15px;
    padding: 15px 0;
    text-align: center;
    background: var(--primary);
}

#bottom_footer > a {
    color: white;
    font-size: var(--smallTxt);
}


@media screen and (max-width:999px) {
    #logos_row {
        flex-direction: column;
        gap: 12px;
    }

    #logos_row > img {
        width: 120px !important;
    }
}