/* Global CSS */

@font-face {
    font-family: "Montserrat";
    src: url("/static/Montserrat-Regular.ttf");
    font-weight: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("/static/Montserrat-Medium.ttf");
    font-weight: 500;
}

* {
    font-family: 'Montserrat', 'sans-serif';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    --global-small-text: 1.05em;
}

html {
    height: 100%;
    width: 100%;
}

body {
    min-height: 100vh;
    width: 100%;
}

.container {
    padding: 0 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 768px) {
    .container,.home-banner-container {
        width: 750px;
    }
}
@media (min-width: 992px) {
    .container,.home-banner-container {
        width: 970px;
    }
}
@media (min-width: 1200px) {
    .container,.home-banner-container {
        width: 1170px;
    }
}

.hide {
    display: none;
}

.mapboxgl-popup-close-button:focus {
    outline: none;
}

section h1 {
    font-size: 28px;
    font-weight: 400;
    width: 100%;
    text-align: left;
    margin: auto;
}

section h1.small {
    font-size: 20px;
    letter-spacing: -0.01em;
}

.red {
    color: #C71212;
}

.text-center {
    text-align: center;
}

section h1 .red {
    font-weight: 600;
}

.section-gray {
    background: rgba(236, 238, 243, 0.5);
}

.section-dark {
    background: rgba(20, 20, 20, 1);
}

@media (min-width: 768px) {
    section h1 {
        font-size: 34px;
        max-width: 884px;
        text-align: center;
    }
    section h1.small {
        font-size: 30px;
    }
}

/* Main page carousel */

.home-banner {
    width: 100%;
    height: 700px;
    position: relative;
    background: url('/static/illustration-small/shutterstock_1514099012.jpg') center;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.home-banner#produit {
    background: url('/static/illustration/shutterstock_2162366853.jpg');
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-banner#technologie {
    background: url('/static/illustration/shutterstock_568414117.jpg');
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-banner#societe {
    background: url('/static/illustration/shutterstock_1936528570.jpg') right;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right 50% bottom 25%;
}

.home-banner#blog {
    background: url('/static/illustration/shutterstock_1936528570.jpg') right;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right 50% bottom 25%;
}

.home-banner::before {
    position: absolute;
    z-index: 1;
    content: '';
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    /* background: rgba(0, 0, 0, .6); */
    background: rgba(0, 0, 0, .5);
    display: block;
}

@media (min-width:768px) {
    .home-banner::before {
        position: absolute;
        z-index: 1;
        content: '';
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
        /* background: rgba(0, 0, 0, .6); */
        background: linear-gradient(90.11deg, #141414 31.17%, rgba(0, 0, 0, 0) 84.58%);
        display: block;
    }
    
    .home-banner#produit::before {
        background: 
        linear-gradient(90.11deg, #141414 50%, rgba(0, 0, 0, 0) 100%);
    }
}

.home-banner-container {
    overflow: hidden;
    z-index: 2;
    padding: calc(1.6em + 15px);
    margin-right: auto;
    margin-left: auto;
}

.home-banner-container > div {
    padding: 40px 0;
    position: relative;
    height: 100%;
}

.banner-text {
    color: white;
    font-weight: 500;
    font-size: 2em;
}

.banner-subtext {
    font-weight: 600;
}

.glider {
    overflow-x: hidden;
    display: block;
    height: 100%;
}

.glider-contain {
    position: static;
}

.glider p {
    font-weight: 600;
    font-size: 2em;
    color: #C71212;
}

.glider-dots {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
}

.glider-dot {
    height: 5px;
    width: 5px;
    margin: 6px;
    transition: width .1s;
}

.glider-dot.active {
    background: #ccc;
    width: 20px;
}

@media (min-width: 768px) {
    .home-banner-container > div {
        padding: 70px 0;
    }
    .glider p {
        font-size: 2.5em;
    }
    .banner-text {
        font-size: 2.5em;
    }
}

/* First section */

.section-desc {
    width: 100%;
    margin: 20px 0;
    font-size: 1.1em;
    font-weight: 500;
    display: block;
    text-align: left;
}

section {
    padding: 5em 0;
}

.features {
    width: 100%;
    padding: 4em 1em 1em 1em;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 1.5em;
}

/* Gestion de l'affichage grand écran */

.FeatureMedia .lg {
    display: none;
}

.FeatureModal {
    display: none;
    position: fixed;
    z-index: 6;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
}

.FeatureModal.active {
    display: flex;
}

.FeatureModalContent {
    padding: 15px;
    position: relative;
    height: 600px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform .5s;
}

.FeatureModal.active .FeatureModalContent {
    transform: scale(1);
}

.ModalClose {
    top: 0;
    right: 0;
    position: absolute;
    z-index: 7;
}

.FeatureModal video {
    width: 100%;
    height: 100%;
}

/* Gestion affichage petits écrans */

.FeatureMedia .small {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: auto;
    min-height: 225px;
}

.FeatureMedia .small .video {
    width: 100%;
    display: none;
}

.FeatureMedia .small .video.show {
    display: block;
}

.FeatureImage {
    min-height: 200px;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: block;
}

.FeatureMedia .small .FeatureImage {
    width: 100%;
    min-height: 225px;
}

.FeatureImage.hide {
    display: none;
}

.FeatureImage[image="1"] {
    background-image: url('/static/video/vignette3.jpg');
}
.FeatureImage[image="2"] {
    background-image: url('/static/video/vignette2.jpg');
}
.FeatureImage[image="3"] {
    background-image: url('/static/video/vignette1.jpg');
}
.FeatureImage[image="4"] {
    background-image: url('/static/video/vignette2.jpg');
}
.FeatureImage[image="5"] {
    background-image: url('/static/illustration/shutterstock_1936528570_crop.png');
}
.FeatureImage[image="6"] {
    background-image: url('/static/video/vignette1.jpg');
}

.FeatureMedia .FeatureImage::before {
    position: absolute;
    z-index: 1;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .3);
}
.FeatureMedia .FeatureImage::after {
    position: absolute;
    z-index: 2;
    content: '';
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-image: url('/static/video/play.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.feature-text {
    font-weight: bold;
    margin: 20px 0;
    text-align: center;
    font-size: var(--global-small-text);
}

.features-btn {
    background: none;
    border: 2px rgba(0, 0, 0, .1) solid;
    border-radius: 2px;
    padding: .3em .7em;
    letter-spacing: 0;
    font-weight: 500;
    cursor: pointer;
    color: black;
    text-decoration: none;
}

@media (min-width: 768px) {
    .section-desc {
        margin: 20px auto;
        max-width: 80%;
        text-align: center;
    }

    .feature-text {
        font-size: 1.2em;
    }

    .features {
        grid-template-columns: repeat(3, 1fr);
        padding: 4em 0em 1em 0em;
    }

    .FeatureMedia .lg {
        display: block;
    }
    .FeatureMedia .small {
        display: none;
    }
}

/* Second section */

#second-section {
    background: rgba(236, 238, 243, 0.5);
}

#second-section h1 {
    text-align: center;
}

.medias {
    width: 100%;
    padding: 2em 0em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.media {
    margin: 10px 0;
    flex: 0 0 calc(25% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media img {
    width: 80%;
}

@media (min-width: 768px) {
    .media {
        flex: 0 0 calc(20% - 20px);
    }
}

/* Third section */

.third-section {
    background: #141414;
    padding: 0;
}



.screens {
    height: 100%;
    color: white;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 1fr;
}

.screens-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.screens-image#screens-home {
    background-image: url('/static/illustration-small/shutterstock_1921375130.jpg');
}

.screens-image#screens-societe {
    background-image: url('/static/illustration-small/shutterstock_1514099012.jpg');
}

.screens-image#screens-produit1 {
    background-image: url('/static/illustration-small/shutterstock_1783490738.jpg');
}

.screens-image#screens-produit2 {
    background-image: url('/static/illustration-small/shutterstock_1936528570.jpg');
}

.screens-image#screens-techno1 {
    background-image: url('/static/illustration-small/shutterstock_1514099012.jpg');
}

.screens-image#screens-techno2 {
    background-image: url('/static/illustration-small/shutterstock_2078664664.jpg');
}

.screens-text {
    width: 100%;
    padding: 3em 1.5em;
}

.screens-title {
    width: 100%;
    margin: 0;
    font-size: 2.2em;
    text-align: left;
}

.screens-text p {
    margin: 30px 0;
    color: rgba(255, 255, 255, .8);
    font-weight: 100;
    font-size: var(--global-small-text);
    max-width: 50ch;
    margin-bottom: 50px;
}

.screens-btn {
    background: none;
    border: 2px rgba(255, 255, 255, .1) solid;
    border-radius: 2px;
    padding: .6em 1.2em;
    letter-spacing: 0;
    font-size: .8em;
    cursor: pointer;
    color: white;
    text-decoration: none;
}

@media (min-width: 768px) {
    .screens {
        grid-template-columns: repeat(2, 1fr);
    }
    .screens-text {
        padding: 5em;
    }
    
}

@media (min-width: 1200px) {
    .screens-text {
        padding: 8em;
    }
}

/* Fourth section */

.obstacles {
    width: 100%;
    padding: 2em 0em 4em 0;
    display: grid;
    grid-template-columns: repeat(1,1fr);
    grid-gap: 1em;
}

.obstacle img {
    width: 100%;
}

.obtacle-image {
    min-height: 180px;
    width: 100%;
    max-width: 320px;
    margin: auto;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.obtacle-image[Image="1"] {
    background-image: url('/static/illustration/shutterstock_1740269096_crop.jpg');
}

.obtacle-image[Image="2"] {
    background-image: url('/static/illustration-small/shutterstock_2135160479.jpg');
}

.obtacle-image[Image="3"] {
    background-image: url('/static/illustration-small/shutterstock_1178406460.jpg');
}

.obtacle-image[Image="4"] {
    background-image: url('/static/illustration-small/shutterstock_1788715877_crop.jpg');
}

.obstacle-title {
    font-weight: 500;
    font-size: 1.2em;
    margin: 15px 0;
}

.obstacle-text {
    font-size: var(--global-small-text);
}

.obstacle-btn {
    background: none;
    border: 2px rgba(0, 0, 0, .1) solid;
    border-radius: 2px;
    padding: .3em .7em;
    letter-spacing: 0;
    font-weight: 500;
    cursor: pointer;
    color: black;
    text-decoration: none;
}

@media (min-width: 768px) {
    .obstacles {
        grid-template-columns: repeat(4,1fr);
    }
}

/* Fifth section */

#fifth-section {
    background: rgba(236, 238, 243, 0.5);
}

.avantages {
    margin: 3em 0;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 1em;
}

.avantage img {
    width: 100%;
}

.avantage-image {
    min-height: 250px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.avantage-image#av-i1 {
    background-image: url('/static/illustration-small/shutterstock_2078664664.jpg');
}

.avantage-image#av-i2 {
    background-image: url('/static/illustration-small/shutterstock_1106924009.jpg');
}

.avantage-image#av-i3 {
    background-image: url('/static/illustration-small/shutterstock_2055904322.jpg');
}

.avantage {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.avantage-title {
    display: block;
    margin: 14px 0;
    font-size: 1.3em;
    font-weight: 800;
    
}

.avantage-desc {
    width: 90%;
    margin: 5px 0;
    font-size: var(--global-small-text);
}

.avantage-btn {
    background: none;
    border: 2px rgba(0, 0, 0, .1) solid;
    border-radius: 2px;
    padding: .3em .7em;
    letter-spacing: 0;
    font-weight: 500;
    cursor: pointer;
    color: black;
    text-decoration: none;
}

.button-div {
    text-align: left;
    padding: 35px 0;
}

@media (min-width: 768px) {
    .avantages {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Sixth section */

#sixth-section {
    background: #141414;
    padding: 0;
}

.control {
    height: 100%;
    color: white;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 1fr;
}

.control-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: url('/static/illustration/shutterstock_568414117.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

.control-text {
    width: 100%;
    padding: 3em;
}

.control-title {
    width: 100%;
    margin: 0;
    font-size: 2.2em;
    text-align: left;
}

.control-text p {
    margin: 30px 0 10px 0;
    color: rgba(255, 255, 255, .8);
    font-weight: 100;
    font-size: var(--global-small-text);
    max-width: 50ch;
    margin-bottom: 50px;
}

.control-list {
    list-style: none;
}

.control-list-check {
    margin-right: 10px;
    min-width: 30px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px rgba(255, 255, 255, .5) solid;
    border-radius: 100%;
}

.control-list li {
    margin: 9px 0;
    display: flex;
    align-items: center;
}

.control-btn {
    background: white;
    color: black;
    font-weight: 800;
    padding: .8em 1.3em;
    font-size: .7em;
    text-decoration: none;
    line-height: 30px;
    cursor: pointer;
}

.control-list-div-produit {
    padding: 20px 0;
}

.control-list-div-produit li {
    margin: 20px 0;
}

@media (min-width: 768px) {
    .control {
        grid-template-columns: repeat(2, 1fr);
    }
    .control-text {
        padding: 5em;
    }
}

@media (min-width: 1200px) {
    .control-text {
        padding: 8em;
    }
    .control-btn {
        font-size: var(--global-small-text);
    }
}

/* Footer */

.footer1 {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.footer1 img {
    width: 250px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .footer-links {
        flex-direction: row;
    }
    .footer-links a {
        margin: 0px 15px;
    }
}

.footer-links a {
    color: black;
    text-decoration: none;
    margin: 5px 15px;
    font-weight: 500;
}

.footer2 {
    background: rgba(236, 238, 243, 0.5);
    padding: 15px 0 100px 0;
    color: #777777;
    text-align: center;
}

.footer2 a {
    text-decoration: none;
    color: #777777;
}

.mention-legales {
    padding: 150px 10px;
}

.mention-legales h1 {
    padding: 25px 0;
    text-align: left;
    max-width: 900px;
    margin: auto;
}

.mention-legales h2 {
    padding: 15px 0;
    text-align: left;
    max-width: 900px;
    margin: auto;
}

.mention-legales p {
    display: block;
    padding: 13px 0;
    max-width: 900px;
    margin: auto;
}