.team {
    text-align: center;

    &[data-color="#ffffff"] {
        .team__item {
            background: var(--grey) !important;
        }
    }

    .logos {
        display: flex;
        background: var(--white);
        border-radius: 20px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        padding: 0 20px;
        margin-bottom: 40px;

        .logo {
            height: 120px;
            width: 120px;
            display: flex;
            align-items: center;

            img {
                height: 100%;
                width: 100%;
                object-fit: contain;
            }
        }
    }

    .team__list {

        .team__item {
            background: var(--white);
            display: flex;
            align-items: center;
            padding: 15px;
            border-radius: 20px;
            gap: 20px; 
            flex-direction: column;

            @media (min-width: 992px) {
                flex-direction: row;
            }

            .team__portrait {
                width: 80px;
                height: 80px;
                flex-shrink: 0;

                img {
                    border-radius: 100px;
                }
            }

            &>* {
                height: fit-content;
            }

            .team__infos {
                text-align: left;

                *:not(.bouton) {
                    color: var(--blue);
                }

                .team__email {
                    margin-top: 10px;
                }

                .team__name {
                    margin: 0 0 5px 0;
                    height: fit-content;
                    display: flex;
                    gap: 5px;

                    * {
                        font-size: 20px;
                        line-height: 25px;
                    }

                    .nom {
                        color: var(--red) !important;
                        text-transform: uppercase;
                    }
                }

                .team__poste {
                    margin: 0 !important;
                }
            }
        }
    }

    .section__btn {
        &>.bouton {
            margin: auto;
        }
    }
}