:root {
    --projet-width: 160px;
    --projet-height: 160px;
}

.layout-projets {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1120px;
}

.layout-projet {
    position: relative;
    width: var(--projet-width);
    height: var(--projet-height);
    padding: 5px;
}

.layout-projet figure {
    width: 100%;
    height: 100%;
}

.layout-projet figure:empty {
    border: 1px dashed #d3d3d3;
}

.layout-projet figure:empty {
    border: 1px dashed #ebeaea;
}

.layout-projet figure:empty:before {
    content: '+';
    font-family: 'montserrat-regular';
    font-size: 14px;
    color: #bababa;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.layout-projet figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.layout-projet figure a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.layout-societe {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    align-items: center;
    margin-bottom: 50px;
}

.layout-societe p:nth-child(1) {
    font-family: 'montserrat-medium';
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
    display: none;
}

.layout-societe h1 {
    position: relative;
    display: flex;
    font-family: 'montserrat-semi-bold';
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--noir);
    line-height: 1;
    margin-top: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.layout-societe h1 span {
    display: inline-block;
    position: relative;
    vertical-align: top;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    color: inherit;
    line-height: 1;
    margin: 0 5px;
}

.layout-societe h1 del {
    position: relative;
    vertical-align: top;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    color: inherit;
    line-height: 1;
    text-decoration: none;
}

.layout-societe h1 del:before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: var(--noir);
}

.layout-societe p:nth-child(3) {
    font-family: 'montserrat-medium';
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-top: 15px;
}

@media screen and (max-width:1160px) {

    .layout-projets {
        max-width: calc(6 * var(--projet-width));
    }
}

@media screen and (max-width:1000px) {

    .layout-projets {
        max-width: calc(5 * var(--projet-width));
    }
}

@media screen and (max-width:840px) {

    .layout-projets {
        max-width: calc(4 * var(--projet-width));
    }
}

@media screen and (max-width:680px) {

    .layout-projets {
        max-width: calc(3 * var(--projet-width));
    }
}

@media screen and (max-width:520px) {

    .layout-projets {
        max-width: calc(2 * var(--projet-width));
    }
}

@media screen and (max-width:360px) {

    .layout-projets {
        max-width: calc(1 * var(--projet-width));
    }
}