.schema {
    &[data-color="#0f398f"] {
        .icon {
            img {
                filter: brightness(0) saturate(100%) invert(99%) sepia(1%) saturate(544%) hue-rotate(172deg) brightness(118%) contrast(100%);
            }

            &:before {
                border-right: 1.5px dashed rgba(255, 255, 255, 0.2) !important;
                border-bottom: 1.5px dashed rgba(255, 255, 255, 0.2) !important;
            }

            &:after {
                border: 1px solid rgba(255, 255, 255, 0.2) !important;
            }
        }
    }

    .section__title {
        p {
            max-width: 480px;
        }
    }

    .schema__elements {
        display: flex;
        justify-content: space-between;
        padding-top: 20px;

        @media (max-width: 991px) {
            flex-direction: column;
            gap: 40px;
        }

        .schema__element {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;

            &#schema__first_col {
                .icon {
                    &:before {
                        left: 40px;
                        bottom: 12px;
                    }
                }
            }

            &#schema__second_col {
                .schema__surtitre {
                    color: var(--green);
                }

                .icon {
                    &:before {
                        right: 38px;
                        bottom: 10px;
                        transform: scale(-1, 1);
                    }
                }
            }

            .icon {
                position: relative;
                margin-bottom: 30px;

                img {
                    opacity: 0.2;
                }

                @media (min-width: 992px) {
                    &:before {
                        content: '';
                        position: absolute;
                        border-right: 1.5px dashed rgba(5, 10, 37, 0.2);
                        border-bottom: 1.5px dashed rgba(5, 10, 37, 0.2);
                        height: 60px;
                        width: 185px;

                        @media (min-width: 1200px) {
                            width: 228px;
                        }

                        @media (min-width: 1400px) {
                            width: 276px;
                        }
                    }
                }

                &:after {
                    content: '';
                    position: absolute;
                    width: 48px;
                    height: 48px;
                    border: 1px solid rgba(5, 10, 37, 0.2);
                    border-radius: 50%;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                }
            }

            .schema__image {
                border-radius: var(--border-radius);
            }

            .schema__content {
                background: var(--white);
                max-width: 360px;
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 20px;
                padding: 20px 15px 20px 15px;
                border-radius: var(--border-radius);
                margin-top: -40px;

                >*:not(.schema__title) {
                    margin: 0;
                }

                .schema__title {
                    margin: -10px 0 0 0 !important;
                }

                .schema__surtitre {
                    text-transform: uppercase;
                    color: var(--light-blue);
                    font-weight: var(--bold);
                }

                h3 {
                    font-weight: var(--semibold);
                }
            }
        }
    }
}