.key_nbs {
    text-align: center;

    &:not(.note_moyenne) {

        &:not([data-color]),
        &:not([data-color="#ffffff"]),
        &:not([data-color="#d9d9d9"]) {
            * {
                color: var(--white) !important;
            }
        }
    }

    .top,
    .chiffre__prefix,
    .chiffre__suffix {
        color: #000;
        font-size: 30px;
        line-height: 1;
        margin-bottom: 12px;
        font-weight: var(--bold);

        @media (min-width: 1200px) {
            font-size: 64px;
        }
    }

    .chiffre__label {
        margin: 0;
    }
}

.key_nbs.note_moyenne {
    padding: 0 !important;
    margin-bottom: 40px !important;

    .wrapper_key_nbs_supp {
        background-size: 45%;
        background-position: left;
        background-repeat: no-repeat;
        position: relative;

        @media (max-width: 1199px) {
            background-image: none !important;
        }

        @media (min-width: 1200px) {

            &:after {
                background: var(--main-color-2-transparent);
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 45%;
                height: 100%;
                z-index: 0;
            }
        }

        .container {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            padding: 50px 0;

            @media (max-width: 1199px) {
                flex-direction: column-reverse;
                gap: 30px;
            }

            .key_nbs_note {
                flex: 1;
                position: relative;
                
                @media (min-width: 1200px) {
                    text-align: right;
                    right: 130px;

                    * {
                        color: var(--white);
                    }
                }

                span {
                    font-size: 60px;
                    font-weight: var(--bold);
                    line-height: 1.2;

                    @media (min-width: 1200px) {
                        font-size: 100px;
                        text-align: right;
                    }
                }

                hr {
                    width: 150px;
                    height: 5px;
                    border: none;
                    background: var(--dark);

                    @media (min-width: 1200px) {
                        background: var(--white) !important;
                        margin-left: auto;
                        margin-right: 0;
                    }
                }
            }

            .key_nbs_content_right {
                flex: 1;
                position: relative;

                .titre {
                    color: var(--main-color-1) !important;
                }

                .surtitre {
                    font-family: var(--title-font);
                    font-size: 70px;
                    line-height: 70px;
                    font-weight: var(--bold);
                    color: var(--grey-light) !important;
                    position: absolute;
                    top: 0;
                    left: 50%;
                    transform: translate(-50%, -35%);
                    z-index: -1;
                }

                * {
                    color: var(--main-color-2);
                }

                h3 {
                    font-family: var(--title-font);
                }

                .bouton {
                    margin: auto;
                }
            }
        }
    }
}