
body {
    font-family: 'PT Sans', sans-serif;
    color: var(--font_2)
}

a {
    text-decoration: none;
}

.frozen{
    overflow:hidden
}
.loading {
    position: fixed;
    z-index: 15;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#preloader {
    display: block;
    position: fixed;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 70px;
    max-width: 720px;
    height: max-content;
    z-index: 5;
}

#preloader::before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: var(--black);
    z-index: -1;
}

#preloader.disabled {
    display: none;
}



header {
    display: block;
    position: relative;
    width: 100%;
    height: 25vh;
    background: var(--font);
    /*background-image: url(img/bg.jpg);*/
    background-position: 50% 50%;
    background-size: cover;
    overflow: hidden;
    border-bottom: 3px solid var(--bleu);
}

header::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 35%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.27) 0%, transparent 100%);
}

header::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.27) 0%, transparent 100%);
}

header .drap {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .27);
}

header .welcome {
    position: absolute;
    top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 30px;
    margin: auto;
    color: white;
    text-shadow: 0 1px 4px var(--black_shadow);
    text-align: center;
    height: max-content;
    width: max-content;
    text-transform: uppercase;
    z-index: 2;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

.services {
    display: block;
    position: relative;
    /*max-width: 1080px;*/
    margin: auto;
}

.services .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.services .list div {
    flex: 0 0 50%;
    width: 50%;
    height: 220px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .3s ease-out;

}

.services .list div span[data-src] {
    display: block;
    position: absolute;
    background-color: var(--font);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all .3s ease-out;
}

.services .list div:hover span[data-src] {
    transform: scale3d(1.1, 1.1, 1.1);
}

.services .list div span[data-src]:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    transition: all .3s ease-out;
    opacity: .7;
    z-index: 1;
}

.services .list div:hover span[data-src]:before {
    opacity: 0.2;
}

.services .list div:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    background: var(--bleu);
    transition: all .3s ease-out;
}

.services .list div:hover:after {
    width: 100%;
}

.services .list div .title-link {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    color: white;
    font-size: 1.2em;
    z-index: 1;
    height: max-content;
    margin: auto;
    width: max-content;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 8px var(--text_shadow);
    font-family: 'Roboto', sans-serif;

}

.services .list div .title-link h2 {
    font-weight: normal;
    font-size: 21px;
    margin-bottom: 8px;

}

.services .list div .title-link h5 {
    font-size: 14px;
    opacity: .6;

}

.services .list div:hover .title-link h5 {
    opacity: 1;
}


.content {
    display: flex;
    position: relative;
    width: 100vw;
    min-height: max-content;
}

.content * {
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.content .left-panel,
.content .right-panel {
    flex: 0 0 50%;
    display: block;
    position: relative;
    min-width: 0;
    overflow: hidden;
    max-height: 510px;
}

.content .left-panel {

}

.content .left-panel span {
    display: block;
    position: relative;
    width: 250px;
    height: 85px;
    line-height: 85px;
    background: var(--bleu);
    text-align: center;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    margin-left: auto;
    overflow: hidden;

}

.content .left-panel span:not(:first-of-type) {
    border-top: 1px solid var(--span_lines);
}

.content .left-panel span:after {
    content: 'afficher';
    text-transform: uppercase;
    display: block;
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: var(--font_2);
    color: white;
    font-weight: bold;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.content .left-panel span:hover {
    border-color: var(--font_2);
    background: var(--bleu_2);
}

.content .left-panel span:hover:after {
    left: 0;
}

.content .right-panel {
    padding: 20px 50px;
    color: var(--font_2);
}

.content .right-panel b {
    display: block;
    height: 8px;
}

.content .right-panel:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--font_2);
    opacity: 0.05;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.content .right-panel .titre {
    font-size: 3.3vw;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 14px;
}

.content .right-panel .sous-titre {
    font-size: 1em;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

.content .right-panel .description {
    text-transform: none;
    text-align: justify;
    font-size: 1.02em;
    word-spacing: 1px;
    line-height: 1.2;
}

body[data-device="tablet"] .content .right-panel,
body[data-device="mobile"] .content .right-panel {
    display: none;
}

body[data-device="tablet"] .content .left-panel,
body[data-device="mobile"] .content .left-panel {
    display: block;
    width: 100vw;
    flex: unset;
}

body[data-device="tablet"] .content .left-panel span,
body[data-device="mobile"] .content .left-panel span {
    height: 50px;
    line-height: 50px;
    font-size: 13px;
    min-width: 130px;
    width: 20%;

}


#card-displayer {
    display: block;
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    background: var(--font);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(8px);
    overflow: hidden;
}

#card {
    display: none;
    position: absolute;
    left: 10%;
    right: 30%;
    top: 20%;
    color: white;
    text-shadow: 0 2px 8px var(--text_shadow);
}

#card h2 {
    margin-bottom: 23px;
    font-size: clamp(18px, 3.5vw, 24px);
    top: 0;
    transition: all .5s ease-out;
    position: relative;
}
#card h5 {
    font-size: clamp(14px, 2.5vw, 18px);
    top: 0;
    transition: all .8s ease-out;
    position: relative;
}

#card.off h2{
    top: 40vh;
}
#card.off h5{
    top: 60vh;
}


#cardSet{
    transition: all .5s ease-in-out;
    left: 0;
    display: block;
    position: relative;
}

#cardSet.off{
    left: -150%;
}

.brands {
    display: block;
    position: relative;
    padding: 50px 0 20px;
}

.presentation {
    display: block;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 50px;
    cursor: pointer
}

.presentation h2 {
    font-weight: normal;
    font-size: clamp(1.5em, 4vw, 6em);
    font-family: 'Roboto', sans-serif;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 4px;
}

.presentation h5 {
    color: var(--bleu);
    font-weight: bold;
    font-size: clamp(1em, 1.5vw, 1.2em);
}

.presentation h5 i {
    color: var(--font);
    position: relative;
    transition: all .3s ease-out;
    left: 0;
}

.presentation:hover h5 i {
    left: -10px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    width: 60%;
    margin: auto;
    max-width: 720px;
}

.images {
    flex: 1 1 25%;
    width: 25%;
    padding-top: 25%;
    background-position: 50% 50%;
    background-size: 75%;
    background-repeat: no-repeat;
    border-right: 1px solid var(--line_brands);
    border-bottom: 1px solid var(--line_brands);
    box-sizing: border-box;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    opacity: .6;
}

.images[data-brand="4"],
.images[data-brand="8"] {
    border-right: none;
}

.images[data-row="down"] {
    border-bottom: none;
}

.disabled {
    display: none;
    pointer-events: none;
}

.hidden {
    position: absolute;
    z-index: -5;
    opacity: 0;
    width: 0;
    height: 0;
}


@media only screen and (max-width: 1028px) {
    #card {
        display: block;
    }

    .grid {
        width: 90%
    }

    header .welcome {
        display: block;
    }
}

@media only screen and (max-width: 460px) {

    #card {
        left: 25px;
        top: 60px;
        right: 140px
    }

    .services .list,
    .services .list div {
        display: block;
        width: 100%
    }

    .services .list div {
        height: 130px
    }

    .brands {
        padding: 40px 0 20px
    }

    .presentation {
    }

    .images {
        flex: 1 1 50%;
        width: 50%;
        border: none;
    }

}




