/* =============================================================================
    con
   ========================================================================== */

.FAQ {
    
    display: flex;
    flex-direction: column;
    .richContentComponent.foldableComponent {
        background-color: var(--clear-blue);
        display: flex;
        flex-direction: column;
        padding: 16px;

        .componentHeader {
            cursor: pointer;

            &::marker {
                color: var(--rouge-ebra);
            }

            h3 {
                font-size: 2rem;
                display: inline-block;
            }
        }
        .componentContent {
            margin-top: 16px;

        }
        &:open .componentContent {
            border-top: 1px solid var(--bleu-ebra);
            padding-top: 16px;
        }
    }

}

.ContentDetailComponent {
    
    .detail {
        .top-content {
            margin-bottom: 36px;
            padding: 16px;
        }

        .main-content {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .richContentComponent {
            .left {
                float: left;
                margin-right: 8px;
                margin-bottom: 8px;
            }

            .right {
                float: right;
                margin-left: 8px;
                margin-bottom: 8px;
            }

            &.videoComponent {
                position: relative;

                .consentModule {
                    background-color: var(--black);
                    height: 100%;
                    border-radius: 8px;

                    p,
                    a,
                    .bold,
                    .consentModule_purpose {
                        color: var(--white);

                        span {
                            color: inherit;
                        }
                    }
                }

                iframe {
                    width: 100%;
                    aspect-ratio: 16 / 9;
                    border-radius: 8px;
                }
            }

            &.imagesComponent {
                .imageContent {
                    img {
                        width: 100%;
                    }
                }

            }
        }
    }
}
.detail_realisation {
    .richContentComponent {
        h2 {
            border-left: 0;
            padding-left: 0;
        }
    }
}
.DefineKeywordComponent [data-pagekey="nos-engagements"],
.DefineKeywordComponent [data-pagekey="ebra-story"] {
    padding-top: 100px;
    background: var(--gradient);
}

.DefineKeywordComponent [data-pagekey="ebra-story"] {
    h2 {
        margin: 0;
    }

    [data-model="Model3"] {
        .Model3 {
            justify-content: center;
            padding: 0 20px 30px;
            .content {
                padding: 0;
            }
        }
    }
}

.DefineKeywordComponent [data-pagekey="nos-engagements"] {
    .sectionTop {
        padding-top: 62px;
    }
    h1 {
        text-align: center;
    }
}

.DefineKeywordComponent [data-pagekey="nos-engagements"] {
    h1 {
        color: var(--white);
    }
}

.DefineKeywordComponent {
    .sectionSolutions {
        margin-top: 42px;

        >.GRDC_List_Model {
            margin-bottom: 24px;

            .title-sub {
                margin-bottom: 8px;
            }
        }
    }
}
@media screen and (max-width: 1000px) {
    .DefineKeywordComponent {
        .listPDF, 
        .title-sub {
            padding: 0 16px;
        }
    }
}


/* =============================================================================
    Didomi
   ========================================================================== */
#didomi-host .didomi-exterior-border {
    margin-top: 50vh !important;
    transform: translateY(-50%);
}

.didomi-display {
    cursor: pointer;

    &:hover {
        text-decoration: underline;
    }
}
#didomi-host button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
/* =============================================================================
    formulaire de contact
   ========================================================================== */
.FormComponent #wrapper {
    position: relative;
}

label>.oblig {
    color: var(--rouge-ebra);
}

.toBeCalledForm,
.contactForm {
    h1 {
        width: fit-content;
        background-color: var(--clear-blue);
        position: relative;
        padding: 22px 0;
        margin-bottom: 42px;
    }

    h1::before,
    h1::after {
        content: "";
        position: absolute;
        top: 0;
        background-color: var(--clear-blue);
        height: 100%;
        z-index: -1;
    }

    h1::before {
        border-radius: 0 80px 80px 0;
        width: 100px;
        right: -100px;
    }

    h1::after {
        width: 500px;
        left: -500px;
    }
}

.FormComponent:has(.talentForm) {
    background: var(--gradient);

    .talentForm {
        .msg.info {

            .ico_EBA2[data-icon="info"],
            p {
                color: var(--white);
            }
        }

        .constrain_medium {
            display: flex;
            flex-direction: column;
            gap: 48px;
        }
    }

    .Model1 {
        .content {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        h1 {
            color: var(--white);
            font-weight: 400;

            span {
                font-weight: 700;
            }
        }

        .content-wrap {
            display: flex;
            gap: 48px;

            .illustration {
                width: 400px;
                aspect-ratio: 1 / 1;
                border-radius: 18px;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            .content-text {
                flex: 2;
                display: flex;
                flex-direction: column;
                justify-content: center;
                gap: 16px;

                p {
                    color: var(--white);
                    font-size: var(--f-m);
                }
            }
        }
    }

    .wrapper-form {
        display: flex;
        gap: 62px;

        >* {
            flex: 1;
        }

        .content-annonce {
            .content-title {
                color: var(--white);

                .title,
                .headline {
                    color: inherit;
                }

            }

            .annonces {
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
                ;
                gap: 24px;

                li {
                    padding: 3rem;
                    background: rgba(245, 247, 255, .1);
                    border-radius: 20px;
                    transition: all .2s ease-in-out;

                    &:hover {
                        background: linear-gradient(45deg, rgba(245, 247, 255, 0.12) 0%, rgba(245, 247, 255, 0) 100%), rgba(245, 247, 255, 0.1);
                    }

                    article {
                        position: relative;
                        color: var(--white);
                        display: flex;
                        flex-direction: column;
                        justify-content: space-between;
                        gap: 24px;
                        height: 100%;

                        a::after {
                            content: "";
                            position: absolute;
                            top: 0;
                            left: 0;
                            right: 0;
                            bottom: 0;
                        }

                        .top {
                            display: flex;
                            flex-direction: column;
                            gap: 12px;
                        }

                        h3 {
                            color: inherit;
                            font-size: var(--f-l);
                        }
                    }
                }
            }
        }

        form {
            .title {
                color: var(--white);
            }

            label {
                color: var(--white);
            }

            input:not([type="submit"]) {
                color: var(--white);
                background-color: transparent;
                border-color: var(--white);
            }

            textarea {
                border-radius: 18px;
                padding: 16px;
            }
        }
    }

}

.FormComponent .contentForm {
    display: grid;
    grid-template-columns: 1fr 235px;
    gap: 42px;

}

form {

    input[type="text"],
    input[type="password"],
    input[type="tel"],
    input[type="email"] {
        border: none;
        border-bottom: 1px solid var(--black);

        &:focus,
        &:focus-visible {
            outline: none;
            background-color: var(--grey-light);
        }
    }

    .field {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .field.check {
        flex-direction: row;
        align-items: flex-start;

        input {
            margin-top: 4px;
        }

        label {
            display: flex;
            flex-direction: column;

            small {
                font-size: var(--f-xxs);
            }
        }
    }

    label.error {
        color: var(--rouge-ebra);
        font-size: var(--f-xxs);
        font-weight: bold;

    }

    .inputField.error {
        outline: var(--rouge-ebra) 1px solid;
    }
}

.FormComponent {
    .description-form {
        font-size: var(--f-m);
        color: var(--bleu-ebra);
    }

    .col2 {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 18px;
        position: sticky;
        top: 110px;
        height: fit-content;

        .informations {
            background: var(--gradient);
            color: var(--white);
            padding: 32px 16px;
            border-radius: 0 18px 18px 0;

            ul {
                display: flex;
                flex-direction: column;
                gap: 18px;
            }

            li {
                display: flex;
                gap: 8px;

                .infos p,
                &.RS p {
                    font-weight: 700;
                }

                &.RS {
                    position: relative;
                    display: flex;
                    align-items: center;
                    a::after {
                        position: absolute;
                        content: "";
                        top: 0;
                        left: 0;
                        right: 0;
                        bottom: 0;
                    }
                }
            }

            .linkedin {
                background-color: var(--color03);
                width: 30px;
                aspect-ratio: 1 / 1;
                border-radius: 8px;
                display: flex;
                justify-content: center;
                align-items: center;
                color: var(--bleu-ebra);
                transition: color, background-color 0.2s ease-in-out;

                .icon_eba {
                    font-size: 1.6rem;
                }

                &:hover {
                    background-color: transparent;
                    color: var(--color03);
                    text-decoration: none;
                }
            }
        }
    }
}

.msg.info {
    display: flex;
    gap: 18px;
    border: var(--bleu-ebra) 1px solid;
    border-radius: 8px;
    padding: 16px;
    background-color: var(--grey-light);

    .ico_EBA2 {
        font-size: var(--f-l);
        color: var(--rouge-ebra);
    }

    p {
        font-size: var(--f-l);

    }

    .content-wrap {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
}

.preventDoubleSubmission .collapse>.formulaire {
    display: none;
}


.preventDoubleSubmission .collapse>.formulaire {
    display: none;
}



.preventDoubleSubmission .collapse.active>.formulaire {
    display: block;
}

.AuthenticationComponent {
    .show-menu.Mobile-Only {
        display: none !important;
    }
}

@media screen and (max-width: 1000px) {
    .contactForm {
        padding: 0 16px;
    }
    .FormComponent:has(.talentForm) {
        .Model1 {
            padding: 0 16px;
        }
        .wrapper-form {
            padding: 0 16px;

        }
    }
}
@media screen and (max-width: 800px) {
    form .double_field {
        flex-direction: column;
    }
    .FormComponent .contentForm {
        grid-template-columns: 1fr;
    }
    .FormComponent:has(.talentForm) {
        .Model1 {
            .content-wrap {
                flex-direction: column;
                .illustration {
                    width: 100%;
                    aspect-ratio: 16/9;
                }
            }
        }
        .wrapper-form {
            flex-direction: column;

        }
    }
}

.GRDC_newsletterSubscribe {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 18px;
}