.container {
    max-width: 100vw;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

.section {
    width: 100%;
    padding: 2rem;
}

/* .container-fluid {
    padding: 1rem!important;
} */

/****************************/
/* sectionTitles            */
/****************************/

#sectionTitles {
    min-height: 10vh;
    background-color: #e6e1e1;
    position: relative;
    overflow: hidden;
}

#sectionTitles .circles {
    position: absolute;
    height: 10vh;
    width: 10vh;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #c7c7c7;
}

#sectionTitles .circle-top-right {
    top: -5vh;
    right: -5vh;
}

#sectionTitles .circle-bottom-right {
    bottom: -5vh;
    right: -5vh;
}

#sectionTitles .titles {

    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(0, 2fr);
    gap: 20px;
    overflow: hidden;
    align-items: start;
}

#sectionTitles .titles > * {
    min-width: 0; /* Permet aux éléments de rétrécir en dessous de la taille du contenu */
    overflow-wrap: break-word; /* Casse les mots longs */
    word-wrap: break-word; /* Support navigateurs anciens */
}

#sectionTitles .titles .column-1, #sectionTitles .titles .links {
    display: flex;
    /* justify-content: end; */
    min-width: 0;
}

#sectionTitles .titles .links {
    padding-left: 1rem;
}

#sectionTitles .titles .column-1 > div {
    min-width: 0;
    max-width: 100%;
}

/* Gestion des titres longs */
#sectionTitles .titles h1,
#sectionTitles .titles h2 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

#sectionTitles .titles .column-2 {
    align-self: center;
    margin: 0.2rem;
}

/* Gestion des images pour qu'elles respectent toujours leur colonne */
#sectionTitles .titles img {
    width: 100%;
    height: auto;
    max-height: 250px;
    max-width: 100%; /* Assure que l'image ne dépasse jamais sa colonne */
    object-fit: contain;
    object-position: right;
}

#sectionTitles .titles .btn {
    color: white;
    border: none;
    padding: 10px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: inline-block;
    cursor: text !important;
    
}

#sectionTitles .titles .btn-blue {
    background-color: var(--app-light-blue);
}

#sectionTitles .titles .btn-green {
    background-color: var(--app-light-green);
}

#sectionTitles .titles .btn-orange {
    background-color: var(--app-light-orange);
}

#sectionTitles .titles .btn-purple {
    background-color: var(--app-light-purple);
}

#sectionTitles .titles .btn-red {
    background-color: var(--app-light-red);
}

#sectionTitles .titles .btn-yellow {
    background-color: var(--app-light-yellow);
}

#sectionTitles .titles h1 {
    font-size: 3rem;
    font-family: 'Poppins-bold', sans-serif;
    font-weight: bold;
    padding: 10px 0px;
    text-transform: capitalize;
    margin: 0;
}

#sectionTitles .titles .h1-blue {
    color: var(--app-dark-blue);
}

#sectionTitles .titles .h1-green {
    color: var(--app-dark-green);
}

#sectionTitles .titles .h1-orange {
    color: var(--app-dark-orange);
}

#sectionTitles .titles .h1-purple {
    color: var(--app-dark-purple);
}

#sectionTitles .titles .h1-red {
    color: var(--app-dark-red);
}

#sectionTitles .titles .h1-yellow {
    color: var(--app-dark-yellow);
}

#sectionTitles .titles h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    font-family: "Bell MT", Times, serif;
}

#sectionTitles .titles h6 {
    padding: 10px 0px;
    font-size: 1rem;
    margin: 0;
    color : #777777;
}

.links {
    display: flex;
    justify-content: center;
}

#sectionTitles .link {
    color: black;
    border: none;
    padding: 5px 60px 5px 30px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 2px;
}

#sectionTitles .link-btn i {
    padding: 0px 5px 0px 0px;
}

/****************************/
/* RESPONSIVE sectionTitles */
/****************************/

@media (max-width: 1280px) {

    #sectionTitles .titles {
        grid-template-columns: minmax(0, 8fr) minmax(0, 2fr);
        gap: 10px;
    }
}

@media (max-width: 1100px) {
    
    #sectionTitles .links {
        margin-bottom: 1rem;
    }

}

@media (max-width: 1024px) {

    #sectionTitles .circles {
        height: 7vh;
        width: 7vh;
    }

    #sectionTitles .circle-top-right {
        top: -3.5vh;
        right: -3.5vh;
    }

    #sectionTitles .circle-bottom-right {
        bottom: -3.5vh;
        right: -3.5vh;
    }

    #sectionTitles .titles h1 {
        font-size: 2rem;
    }

    #sectionTitles .titles h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {

    #sectionTitles .titles {
        grid-template-columns: 1fr; 
        text-align: center;
    }

    #sectionTitles .titles .column-1, #sectionTitles .titles .links {
        justify-content: center;
    }

    #sectionTitles .titles img {
        max-height: 200px;
        width: auto;
        margin: 0 auto;
    }

    #sectionTitles .links {
        flex-direction: column!important;
    }

    #sectionTitles .app-btn {
        align-self: center!important;
    }

    #sectionTitles .link-btn {
        align-self: center!important;
    }

    #sectionTitles .link {
        align-self: center!important;
        padding: 5px 20px 5px 20px;
    }

}

@media (max-width: 480px) {

    #sectionTitles .titles h1 {
        font-size: 1.8rem;
    }

    #sectionTitles .titles h2 {
        font-size: 1.5rem;
    }

    #sectionTitles .circle {
        height: 7vh;
        width: 7vh;
    }

    #sectionTitles .circle-top-right {
        top: -3.5vh;
        right: -3.5vh;
    }

    #sectionTitles .circle-bottom-right {
        bottom: -3.5vh;
        right: -3.5vh;
    }
}

/****************************/
/* sectionContent           */
/****************************/

#sectionContent {
    display: flex;
    padding: 0px;
}

#sectionContent .sidebar {

    border-radius: 10px;
    width: 25%;
    min-width: 250px;
    background-color: #c7c7c7;
    z-index: 1000;
    margin: 10px 20px;
    padding: 20px 0px;
    transition: all 0.3s ease;
    position: relative;
    margin: -6rem 0.75rem;
    z-index: 0;

    ul {
        text-transform: uppercase;
        list-style: none;
        margin: 20px 0px;
        padding: 0px 16px;
    }

    ul li {
        margin: 10px 0px;
    }

    ul a {
        text-decoration: none;
        color: black;
        padding: 5px 10px;
        border-radius: 10px;
        transition: all 0.3s ease;
        display: block;
    }

    ul .a-blue:hover {
        background-color: var(--app-light-blue);
    }

    ul .a-green:hover {
        background-color: var(--app-light-green);
    }

    ul .a-orange:hover {
        background-color: var(--app-light-orange);
    }

    ul .a-purple:hover {
        background-color: var(--app-light-purple);
    }

    ul .a-red:hover {
        background-color: var(--app-light-red);
    }

    ul .a-yellow:hover {
        background-color: var(--app-light-yellow);
    }

    h3 {
        color: white;
        font-size: 1.5rem;
        font-weight: bold;
        text-align: center;
        text-transform: uppercase;
        padding: 20px 0px;
        border-radius: 10px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% + 20px);
        max-width: none;
    }

    .h3-blue {
        background-color: var(--app-light-blue);
    }

    .h3-green {
        background-color: var(--app-light-green);
    }

    .h3-orange {
        background-color: var(--app-light-orange);
    }

    .h3-purple {
        background-color: var(--app-light-purple);
    }

    .h3-red {
        background-color: var(--app-light-red);
    }

    .h3-yellow {
        background-color: var(--app-light-yellow);
    }

    .h3-solution {
        background-color: var(--app-dark-green);
        margin: 30px 0px 60px 0px;

        a {
            color: white;
        }
    }

    .h3-type {
        background-color: var(--app-main-light-color);
    }
}

#sectionContent .main {

    width: 75%;

    .block {

        margin: 10px 10px 40px 10px;
        padding: 20px;

        .header {
            display: flex;
            flex-direction: column;
            align-items: end;
            padding: 20px 20px 10px 20px;
            word-wrap: break-word;
            hyphens: auto;
        }

        h2 {
            font-family: 'Poppins-bold', sans-serif;
            color: #333;
            font-size: 2rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .subtitle {
            color: black;
            font-size: 1rem;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .cards {

            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 10px;
            margin-top: 10px;

            .card {

                text-align: center;
                border: none;
                border-radius: 10px;
                padding: 0.65rem;
                color: white;

                i {
                    font-size: 4rem;
                }

                h3 {
                    font-size: 2rem;
                    font-weight: bold;
                    letter-spacing: 1px;
                    padding-bottom: 20px;
                    text-transform: uppercase;
                }

                ul {
                    text-align: left;
                }

                p {
                    padding: 0px;
                }

            }

            .card-img {
                padding : 0px;
            }

            .card-img img {
                border-radius: 10px;
            }

            /* blue */
            .card-light-blue {
                background-color: var(--app-light-blue);
            }

            .card-medium-blue {
                background-color: var(--app-medium-blue);
            }

            .card-dark-blue {
                background-color: var(--app-dark-blue);
            }

            /* green */
            .card-light-green {
                background-color: var(--app-light-green);
            }

            .card-medium-green {
                background-color: var(--app-medium-green);
            }

            .card-dark-green {
                background-color: var(--app-dark-green);
            }

            /* orange */
            .card-light-orange {
                background-color: var(--app-light-orange);
            }

            .card-medium-orange {
                background-color: var(--app-medium-orange);
            }

            .card-dark-orange {
                background-color: var(--app-dark-orange);
            }

            /* purple */
            .card-light-purple {
                background-color: var(--app-light-purple);
            }

            .card-medium-purple {
                background-color: var(--app-medium-purple);
            }

            .card-dark-purple {
                background-color: var(--app-dark-purple);
            }

            /* red */
            .card-light-red {
                background-color: var(--app-light-red);
            }

            .card-medium-red {
                background-color: var(--app-medium-red);
            }

            .card-dark-red {
                background-color: var(--app-dark-red);
            }

            /* yellow */
            .card-light-yellow {
                background-color: var(--app-light-yellow);
            }

            .card-medium-yellow {
                background-color: var(--app-medium-yellow);
            }

            .card-dark-yellow {
                background-color: var(--app-dark-yellow);
            }

        }

        .grid {

            display: grid;
            grid-template-columns: 50% 50%;
            gap: 10px;
            margin-top: 10px;
            margin-bottom: 10px;

            .grid-column {

                text-align: center;
                border: none;
                border-radius: 10px;
                color: white;
                display: flex;
                flex-direction: column;
            }

            h6 {
                padding: 1rem 0 0 0;
                font-size: 1.2rem;
                margin: 0;
                color : #333;
                font-style : italic ;
            }

            .banners-container {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                flex-grow: 1;
            }

            .banners-container-top {
                justify-content: flex-start;
            }

            .banner {
                display: grid;
                grid-template-columns: 80% 20%;
                align-items: center;
                gap: 10px;
                position: relative;
                overflow: hidden;
                padding: 5px 5px;
                margin: 10px 0px 0px 0px;
                width: 100%;
                border-radius: 10px;
            }

            /* blue */
            .banner-light-blue {
                background-color: var(--app-light-blue);
            }

            .banner-medium-blue {
                background-color: var(--app-medium-blue);
            }

            .banner-dark-blue {
                background-color: var(--app-dark-blue);
            }

            /* green */
            .banner-light-green {
                background-color: var(--app-light-green);
            }

            .banner-medium-green {
                background-color: var(--app-medium-green);
            }

            .banner-dark-green {
                background-color: var(--app-dark-green);
            }

            /* orange */
            .banner-light-orange {
                background-color: var(--app-light-orange);
            }

            .banner-medium-orange {
                background-color: var(--app-medium-orange);
            }

            .banner-dark-orange {
                background-color: var(--app-dark-orange);
            }

            /* purple */
            .banner-light-purple {
                background-color: var(--app-light-purple);
            }

            .banner-medium-purple {
                background-color: var(--app-medium-purple);
            }

            .banner-dark-purple {
                background-color: var(--app-dark-purple);
            }

            /* red */
            .banner-light-red {
                background-color: var(--app-light-red);
            }

            .banner-medium-red {
                background-color: var(--app-medium-red);
            }

            .banner-dark-red {
                background-color: var(--app-dark-red);
            }

            /* yellow */
            .banner-light-yellow {
                background-color: var(--app-light-yellow);
            }

            .banner-medium-yellow {
                background-color: var(--app-medium-yellow);
            }

            .banner-dark-yellow {
                background-color: var(--app-dark-yellow);
            }

            .text-content {
                text-align: left;
                color: white;
                position: relative;
                z-index: 1;
                padding-left: 10px;
            }

            .text-content h3 {
                font-size: 2rem;
                font-weight: 600;
                margin: 0;
                text-transform: uppercase;
            }

            .text-content h4 {
                font-size: 1rem;
                font-weight: 600;
                margin: 0;
                text-transform: uppercase;
            }

            .icon-container {
                display: flex;
                align-items: center;
                justify-content: right;
                padding-right: 1rem;
            }

            .grid-img {
                padding : 0px;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-right: 10px;
            }

            .grid-img img {
                border-radius: 10px;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

    }

    .svg-container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }

    .svg {
        width: 80px;
        height: 80px;
        filter: brightness(0) invert(1);
    }

    .block-a {
        background-color: var(--app-background-color);
        padding-left: 0;
        padding-right: 0;
    }

    .block-a h6, .block-c h6 {
        text-align: center;
        padding: 0px;
        font-size: 1rem;
        margin: 0;
        color : #777777;
    }

    .block-b {
        background-color: #e6e1e1;
    }

    .block-c {
        background-color: var(--app-light-green);

        .large-btn {
            display: block;
            text-align: center;
        }

        .large-btn:hover {
            transform: scale(1.03);
        }
    }

    .block-c h6 {
        color: black !important;
    }

    .block-c .banner {
        background-color: none;
    }

    .block-d {
        padding: 10px 0px;
        margin: 10px 10px 10px 10px;

        p {
            margin: 0px;
        }

        h6 {
            margin: 0px;
        }

        ul {
            list-style: none;
            padding: 0;
            margin: 10px 0px 0px 0px;
        }

        ul li {
            position: relative;
            padding-left: 15px;
        }

        ul li:before {
            content: "✓";
            position: absolute;
            left: 0
        }

        .header {
            align-items: center;
        }

        .subtitle {
            color: #777777;
            text-transform: none;
        }

        .faq-item {
            margin: 0px 0px 20px 0px;
        }

        .faq-question {
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: white;
            font-weight: bold;
            padding: 20px 10px;
            margin: 0px 0px 1px 0px;
            width: 100%;
            border-radius: 10px;
            cursor: pointer;
        }

        /* blue */
        .faq-question-light-blue {
            background-color: var(--app-light-blue);
        }

        .faq-question-medium-blue {
            background-color: var(--app-medium-blue);
        }

        .faq-question-dark-blue {
            background-color: var(--app-dark-blue);
        }

        /* green */
        .faq-question-light-green {
            background-color: var(--app-light-green);
        }

        .faq-question-medium-green {
            background-color: var(--app-medium-green);
        }

        .faq-question-dark-green {
            background-color: var(--app-dark-green);
        }

        /* orange */
        .faq-question-light-orange {
            background-color: var(--app-light-orange);
        }

        .faq-question-medium-orange {
            background-color: var(--app-medium-orange);
        }

        .faq-question-dark-orange {
            background-color: var(--app-dark-orange);
        }

        /* purple */
        .faq-question-light-purple {
            background-color: var(--app-light-purple);
        }

        .faq-question-medium-purple {
            background-color: var(--app-medium-purple);
        }

        .faq-question-dark-purple {
            background-color: var(--app-dark-purple);
        }

        /* red */
        .faq-question-light-red {
            background-color: var(--app-light-red);
        }

        .faq-question-medium-red {
            background-color: var(--app-medium-red);
        }

        .faq-question-dark-red {
            background-color: var(--app-dark-red);
        }

        /* yellow */
        .faq-question-light-yellow {
            background-color: var(--app-light-yellow);
        }

        .faq-question-medium-yellow {
            background-color: var(--app-medium-yellow);
        }

        .faq-question-dark-yellow {
            background-color: var(--app-dark-yellow);
        }

        .faq-answer {
            color: white;
            display: none;
            background-color: var(--app-dark-green);
            border-radius: 10px;
            padding: 10px;
            margin: 0px 0px 15px 0px;
        }

        
    }

}


.sidebar-toggle-btn {
    position: fixed!important;
    left: 20px!important;
    top: 50vh!important;
    transform: translateY(-50%)!important;
    width: 40px!important;
    height: 40px!important;
    background-color: var(--app-main-dark-color)!important;
    color: white!important;
    border: none!important;
    border-radius: 50%;
    cursor: pointer!important;
    display: none!important;
    align-items: center!important;
    justify-content: center!important;
    font-size: 1.5rem!important;
    z-index: 10001!important;

    img {
        width: 20px!important;
        height: 20px!important;
    }
}


.sidebar-toggle-btn:hover {
    background-color: var(--app-main-light-color);
}


.sidebar-toggle-btn.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    transition: opacity 0.3s ease;
}




/*******************************/
/* RESPONSIVE sectionContent   */
/*******************************/

@media (max-width: 1400px) {

    #sectionContent .sidebar {
        margin: -6rem 0.75rem;
    }
}

@media (max-width: 1280px) {

    #sectionContent .sidebar {
        width: 20%;
        min-width: 200px;
        margin: -6rem 0.75rem;
    }

    #sectionContent .sidebar h3 {
        font-size: 1rem;
    }

    #sectionContent .sidebar ul {
        font-size: 0.9rem;
    }

    #sectionContent .main {
        width: 80%;
    }

    #sectionContent .main .svg {
        width: 60px;
        height: 60px;
    }

    #sectionContent .main .block .cards {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }

    #sectionContent .main .block .cards .card h3 {
        font-size: 1.8rem;
    }

    #sectionContent .main .block .grid {
        grid-template-columns: 50% 50%;
    }

    #sectionContent .main .block .grid .text-content h3 {
        font-size: 1.8rem;
    }

    #sectionContent .main .block .grid .text-content h4 {
        font-size: 0.9rem;
    }

    #sectionContent .main .block h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1100px) {

    #sectionContent .sidebar {
        margin: -3rem 0.75rem;
    }

    #sectionContent .main .block h2 {
        font-size: 1.6rem;
    }
    #sectionContent .main .block .grid .text-content h3 {
        font-size: 1.6rem;
    }

    #sectionContent .main .block .grid .text-content h4 {
        font-size: 0.8rem;
    }

}

@media (max-width: 1024px) {

    #sectionContent {
        padding-left: 0;
    }

    #sectionContent .main .block .cards {
        grid-template-columns: repeat(1, 1fr);
    }

    #sectionContent .main .block .grid {
        grid-template-columns: 100%;
        /* grid-template-columns: repeat(1, 1fr); */
    }

    #sectionContent .main .block .grid .grid-img {
        margin-right: 0;
    }

}

@media (max-width: 768px) {

    .sidebar-toggle-btn {
        display: flex !important;
    }

    #sectionContent .sidebar {
        position: fixed!important;
        top: 0!important;
        left: -100%!important;
        height: 100vh!important;
        width: 250px !important;
        max-width: 80vw !important;
        z-index: 9999!important;
        transition: left 0.3s ease-in-out!important;
        overflow-y: auto !important;
        margin: 0rem 0rem 0rem 0rem !important;
    }

    #sectionContent .sidebar h3 {
        width: 100%;
    }

    #sectionContent .sidebar.sidebar-open {
        left: 0!important;
    }

    #sectionContent .main {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .sidebar-overlay.active {
        display: block !important;
    }

}
