@import url("https://use.typekit.net/dpw3nxw.css");

@font-face {
    font-family: "ITC";
    src: url("../fonts/ITCAvantGardeStd-Bk.ttf");
}

/* ▒▒▒▒▒▒▒▒▒▒ CHARTE GRAPHiQUE ▒▒▒▒▒▒▒▒▒▒ */
:root {
    --main-color: hsl(169, 100%, 18%);
    --alt-color: hsl(111, 32%, 67%);
    --def-color: hsl(0, 0%, 100%);
}


/* ▒▒▒▒▒▒▒▒▒▒ BALISES NATIVES ▒▒▒▒▒▒▒▒▒▒ */
html {
    scroll-behavior: smooth;
}
html, body {
    margin:0;
    padding:0;
    font-size: 16px;
    background-color: var(--main-color);
}
body {
    font-family: "ITC", Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
}
h2 {
    font-family: "korolev", sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    letter-spacing:normal;
}
h3 {
    font-family: "korolev", sans-serif;
    font-weight: bold;
    font-size: 2rem;
    letter-spacing:normal;
}
h4 {
    font-weight: bold;
    font-size: 1.2rem;
}
a {
    color: var(--def-color);
    text-decoration: none;
}
ul li {
    letter-spacing:normal;
}
textarea {
    display:block;
}
::placeholder {
    font-style: italic;
    color:lightgrey;
}

/* ▒▒▒▒▒▒▒▒▒▒ HEADER ▒▒▒▒▒▒▒▒▒▒ */

header {
    position:relative;
    width:100%;
    height: 125px;
    padding:10px;
    box-sizing: border-box;
    position: fixed;
    background-color: var(--def-color);
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 100%;
    column-gap: 10px;
    z-index: 100;
}
/* LOGO */
header figure {
    margin:0 0 0 20px;
    padding:0;
    height:100%;
    display: flex;
    align-items: center;
}
header figure img {
    height:65px;
}
header figure img#logoFull {display:inline-block;}
header figure img#logoIco {display:none;}

/* MENU */
header nav input[type=checkbox] {
    display:none;
}
header nav label {
    display:none;
}
header nav.menu_principal {
    margin:0;
    padding:0;
}
header nav.menu_principal ul {
    margin:0;
    padding:0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: flex-end;
    list-style:none;
}
header nav.menu_principal ul li {
    margin-right:20px;
    padding:0 10px;
}
header nav.menu_principal ul li a {
    display: block;
    width:100%;
    height:100%;
    font-size: 1.1rem;
    padding: 10px 0 5px 0;
    color: var(--main-color);
    transition: color 0.2s;
}
header nav.menu_principal ul li a.selected {
    color: var(--alt-color);
    border-bottom: 1px solid var(--alt-color);
}
header nav.menu_principal ul li a:hover {
    color: var(--alt-color);
}
header nav.menu_principal ul li.sep {
    height:40px;
    margin-right:40px;
    border-right:1px solid var(--main-color);
}
header nav.menu_principal ul img#connexion {
    height:50px;
}

/* VERSION VERTE */
header.ve {
    background-color: var(--main-color);
}
header.ve nav.menu_principal ul li a {
    color:var(--def-color);
}
header.ve nav.menu_principal ul li a.selected {
    color: var(--alt-color);
    border-bottom: 1px solid var(--alt-color);
}
header.ve nav.menu_principal ul li a:hover {
    color: var(--alt-color);
}
header.ve nav.menu_principal ul li.sep {
    border-right:1px solid var(--def-color);
}
header.ve nav.menu_principal ul img#connexion {
    filter:brightness(100) contrast(1);
}

/* VERSION TRANSPARENTE */
header.tr {
    background: none;
}


/* ▒▒▒▒▒▒▒▒▒▒ MAIN ▒▒▒▒▒▒▒▒▒▒ */

main {
    
}
section {
    position:relative;
    min-height:100vh;
    overflow: hidden;
}
section hr {
    width:50%;
    margin:40px 0;
    border-width: 0 0 1px 0;
    border-color:var(--def-color);
    border-style: solid;
}

/* ▒▒▒▒▒▒▒▒▒▒ SECTION VIDEO ▒▒▒▒▒▒▒▒▒▒ */

section#video {
    height:100vh;
}
section#video video {
    height:100%;
    width:100%;
    object-fit: cover;
}
section#video h1 {
    position:absolute;
    width:100%;
    top:40%;
    font-weight: normal;
    font-size: 5rem;
    text-align: center;
    color: var(--def-color);
}
section#video h1 span {
    font-weight: bold;
}

/* ▒▒▒▒▒▒▒▒▒▒ SECTION TOP ▒▒▒▒▒▒▒▒▒▒ */

section.top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 150px 20px 50px 20px;
}
section.top#catalogue {
    display: block;
}

/* ▒▒▒▒▒▒▒▒▒▒ SECTIONS ART ▒▒▒▒▒▒▒▒▒▒ */

section.art {
    display: flex;
    align-items: center;
}
section.art article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 1fr 2fr;
    padding: 0 50px;
}
section.art article div {
    display: flex;
}
section.art article div.titre {
    grid-area: titre;
    align-items: flex-end;
}
section.art article div.illus {
    grid-area: illus;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
section.art article div.texte {
    grid-area: texte;
    align-items: center;
}
section.art article div.cta {
    grid-area: cta;
    align-items: flex-start;
}
section.art article div.texte p {
    font-size: 1.3rem;
}
section.art article div.texte p span {
    font-weight: bold;
}
section article div.cta a {
    display: inline-block;
    box-sizing: border-box;
    margin-top:100px;
    padding:15px 30px;
    height:60px;
    font-size: 1.4rem;
    border-radius:30px;
    transition: 0.2s;
}

/* ▒▒▒▒▒▒▒▒▒▒ SECTION VERTE ▒▒▒▒▒▒▒▒▒▒ */

section.ve {
    background-color: var(--main-color);
    color: white;
}
section.ve article a {
    background-color: var(--main-color);
    color:  white;
    border: 2px solid white;
}
section.ve article a:hover {
    background-color: white;
    color: var(--main-color);
    border:2px solid var(--main-color);
}

/* ▒▒▒▒▒▒▒▒▒▒ SECTION BLANCHE ▒▒▒▒▒▒▒▒▒▒ */

section.bl {
    background-color: white;
    color: var(--main-color);
}
section.bl article a {
    background-color: white;
    color:var(--main-color);
    border:2px solid var(--main-color);
}
section.bl article a:hover {
    background-color: var(--main-color);
    color: white;
    border:2px solid white;
}

/* ▒▒▒▒▒▒▒▒▒▒ SECTION GAUCHE ▒▒▒▒▒▒▒▒▒▒ */

section.ga article {
    position:absolute;
    height:100%;
    grid-template-areas: 
        "illus titre"
        "illus texte"
        "illus cta";
}
section.ga article div.illus {
    margin: 40px;
}

/* ▒▒▒▒▒▒▒▒▒▒ SECTION DROITE ▒▒▒▒▒▒▒▒▒▒ */

section.dr article {
    position:absolute;
    height:100%;
    grid-template-areas: 
        "titre illus"
        "texte illus"
        "cta illus";
}
section.dr article div.illus {
    margin: 40px;
}

/* ▒▒▒▒▒▒▒▒▒▒ SECTION NEUTRE ▒▒▒▒▒▒▒▒▒▒ */

section.neu article {
    display: block;
    padding: 0 50px;
}
section.neu article span {
    font-size: 0.9rem;
}


/* ▒▒▒▒▒▒▒▒▒▒ ID SECTIONS ▒▒▒▒▒▒▒▒▒▒ */

section#engagement_expertise div.illus {
    background-image:url("../images/photo-engagement-expertise.png");
}
section#solutions_durables div.illus {
    background-image:url("../images/photo-solutions-durables.png");
}
section#beeup_engagement div.illus {
    background-image:url("../images/photo-beeup.png");
}
section#notre_savoir_faire {
    background-image: url("../images/fnd-savoir_faire.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: -25vw 0vh;

}
section#notre_savoir_faire div.illus {
    background-image:url("../images/photo-savoir_faire.png");
    background-position: right center;
    margin-right:-50px;
    /* transform: translateX(90px); */
}
section#equipe_a_vos_cotes {
    background-image: url("../images/fnd-equipe_a_vos_cotes.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: -25vw 0vh;
}
section#equipe_a_vos_cotes div.illus {
    background-image:url("../images/illu-notre_equipe.svg");
    background-position: right center;
    margin-right:-50px;
}

/* BEEUP */
section#beeup {
    position:relative;
    display:flex;
    justify-content: center;
    align-items: center;
    background-image: url("../images/fnd-beeup-abeille.jpg");
    background-position: center;
    background-size: cover;
}
section#beeup h2 {
    padding-bottom: 300px;
    font-size: 14rem;
    font-family: "ITC", Arial, Helvetica, sans-serif;
}
section#beeup div.beeup {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("../images/fnd-abeille.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* BEEUP CARROUSEL */

section#carrousel {
    min-height:400px;
    padding:50px 0;
}

div.carrousel {
    width:100%;
    padding:0 50px;
}

div.produit {
    position:relative;
    display: grid;
    grid-template-areas: 
        "titre titre"
        "desc photo";
    /* grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr; */
    background-color: var(--def-color);
    color:var(--main-color);
    box-sizing: border-box;
    margin:50px 10px;
    padding:20px;
    min-width:400px;
    height:400px;
    border-radius: 25px;
}

div.titre {grid-area: titre;}
div.desc {grid-area: desc;}
div.photo {grid-area: photo;}

div.produit div h4 {
    margin: 10px 0;
}

div.produit div p {
    font-size: 0.9rem;
    padding-right: 10px;
    overflow: hidden;
}
div.produit div a {
    position:absolute;
    bottom:-20px;
    left:calc(50% - 90px);
    display: inline-block;
    box-sizing: border-box;
    margin-top:10px;
    padding:5px 10px;
    background-color: var(--def-color);
    color:var(--main-color);
    border:2px solid var(--main-color);
    height:40px;
    font-size: 1.3rem;
    border-radius:20px;
    transition: 0.2s;
}
div.produit div a:hover {
    background-color: var(--main-color);
    color:var(--def-color);
    border:2px solid var(--def-color);
}
div.produit div:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
}
div.produit div figure {
    margin:0;
}
div.produit div figure figcaption {
    font-size: 0.9rem;
    color:grey;
    font-style: italic;
}
div.produit div img {
    height:200px;
    padding:10px 0;
    border-radius: 20px;
    border:1px solid grey;
}
div.produit div span {
    position:absolute;
    display:block;
    right:5px;
    bottom:25px;
    width: 60px;
    height: 60px;
    border: 1px solid grey;
    border-radius: 50%;
    background-color: white;
    background-image: url("../images/fabrique-en-france-logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* TECH CARROUSEL */

.slide div.tech {
    box-sizing: border-box;
    margin:50px 10px;
    padding:20px;
    min-width:400px;
    height:400px;
    border-radius: 25px;
    background-color: var(--def-color);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}
.slide div.img1 {background-image: url(../images/tech_01.jpg);}
.slide div.img2 {background-image: url(../images/tech_02.jpg);}
.slide div.img3 {background-image: url(../images/tech_03.jpg);}
.slide div.img4 {background-image: url(../images/tech_04.jpg);}
.slide div.img5 {background-image: url(../images/tech_05.jpg);}
.slide div.img6 {background-image: url(../images/tech_06.jpg);}
.slide div.img7 {background-image: url(../images/tech_07.jpg);}
.slide div.img8 {background-image: url(../images/tech_08.jpg);}
.slide div.img9 {background-image: url(../images/tech_09.jpg);}

/* Brochure */
section#brochure {
    background-color: var(--def-color);
    min-height:200px;
}
section#brochure article {
    padding:20px;
    text-align: center;
}
section#brochure article div.cta {
    display:block;
    margin:0 auto;
}
section article div.cta a {
    margin-top:50px;
}

/* FORMULAIRES */
section#formulaire {
    position:relative;
    display:flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-image: url("../images/fnd-lafage-abstract.jpg");
    background-position: center;
    background-size: cover;
}
section#formulaire > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    max-width:800px;
    padding:50px 75px;
    margin:0 20px;
    background-color: var(--main-color);
    border-radius: 50px;
}

section#formulaire h2 {
    font-family: "ITC", Arial, Helvetica, sans-serif;
    font-weight: normal;
}

section#formulaire form {
    text-align: right;
}
section#formulaire form input, section#formulaire form textarea, section#formulaire form select {
    width:100%;
    margin:2px;
    padding:10px;
    font-family: arial;
    box-sizing: border-box;
    border:0;
    border-radius: 2px;
    font-size: 1.2rem;
}
section#formulaire form textarea {
    resize: none;
}
section#formulaire form div.g-recaptcha {
    width:100%;
    display: flex;
    justify-content: flex-end;
}
section#formulaire form input[type=submit] {
    display: inline-block;
    box-sizing: border-box;
    margin-top:40px;
    padding:10px 50px;
    width:auto;
    font-size: 1.2rem;
    background-color: var(--main-color);
    border: 1px solid var(--def-color);
    color:var(--def-color);
    border-radius:25px;
    transition: 0.2s;
    cursor:pointer;
}
section#formulaire form input[type=submit]:hover {
    background-color: var(--def-color);
    border: 1px solid var(--main-color);
    color:var(--main-color);
}

/* FORMULAIRE Connexion */
section#formulaire > div.connexion {
    display: block;
    max-width:400px;
    margin-bottom:20px;
}
section#formulaire > div.connexion h2 {
    margin:0;
}
section#formulaire > div.connexion span {
    display: block;
    padding-top:10px;
    text-align: left;
}
section#formulaire > div.connexion span a {
    font-size: 1rem;
    font-style: italic;   
}

/* MENTIONS LÉGALES + CGV */
section#mentions_legales article, section#cgv article {
    font-size: 1rem;
    max-width:1000px;
    margin:0 auto;
}

/* ▒▒▒▒▒▒▒▒▒▒ SECTION ARGU (Notre Savoir Faire) ▒▒▒▒▒▒▒▒▒▒ */

section#argu {
    
}
section#argu article {
    display: flex;
    flex:auto;
    align-items: center;
    justify-content: center;
}
section#argu article div {
    margin:0 50px;
    max-width:300px;
    text-align: center;
    flex-direction: column;
    align-items: center;
}
section#argu article div h4 {
    
}
section#argu article div img {
    
}
section#argu article div hr {
    margin:0;
}
section#argu article div p {
    font-size: 0.9rem;
}

/* ▒▒▒▒▒▒▒▒▒▒ SECTION NOUS RETROUVER ▒▒▒▒▒▒▒▒▒▒ */

section#nous_retrouver {
    height:auto;
    background-color: white;
}
section#nous_retrouver h2 {
    padding: 0 50px;
    font-size: 3rem;
    font-weight: normal;
    color: var(--main-color);
}
section#nous_retrouver iframe {
    width:100%;
    height:90vh;
    border:0;
}

/* ▒▒▒▒▒▒▒▒▒▒ FOOTER ▒▒▒▒▒▒▒▒▒▒ */

footer {
    height: 280px;
    background-color: var(--main-color);
    padding:10px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 35% repeat(3, 15%) 20%;
    grid-template-rows: 100%;
    color: white;
    border-top:1px solid white;
    grid-template-areas: "flogo fprod fsoci fcoor ftop";
}
footer div {
    padding: 50px 20px 20px 20px;
}
footer div.flogo {grid-area: flogo;}
footer div.fprod {grid-area: fprod;}
footer div.fsoci {grid-area: fsoci;}
footer div.fcoor {grid-area: fcoor;}
footer div.ftop {grid-area: ftop;}

footer div:first-child img {
    width:300px;
}
footer div h3 {
    margin:0 0 20px 0;
    font-size: 1.5rem;
    text-transform: capitalize;
}
footer div p {
    padding:30px 0 0 45px;
    font-size: 0.6rem;
}
footer div ul {
    list-style: none;
    margin:0;
    padding:0;
}
footer div ul li {
    margin:0;
    padding:0;
    font-size: 1rem;
}
footer div:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
}
footer img#goTop {
    height:50px;
}

/* ▒▒▒▒▒▒▒▒▒▒ TABLETTE ▒▒▒▒▒▒▒▒▒▒ */

@media (max-width:1200px) and (min-width:940px) {
    /* header {
        height: auto;
        display: block;
        z-index: 1;
    } */
    header figure {
        margin:0 0 0 20px;
        padding:0;
        height:100%;
    }
    header figure img#logoFull {display:none;}
    header figure img#logoIco {display:inline-block;}
}

/* ▒▒▒▒▒▒▒▒▒▒ SMARTPHONE ▒▒▒▒▒▒▒▒▒▒ */

@media (max-width:940px) {

    header {
        height: auto;
        display: block;
        z-index: 1;
    }
    header.tr {
        background-color: var(--main-color);
    }

    /* LOGO */

    header figure {
        margin:0 0 0 20px;
        padding:0;
        height:100%;
    }
    header figure img {
        height:50px;
    }

    /* BURGER */

    header nav label {
        position:absolute;
        top:10px;
        right:10px;
        display:block;
        width:50px;
	    height:50px;
        background-image: url('../images/menu-burger.svg');
        background-size: cover;
        cursor:pointer;
        transition: 0.25s;
    }
    header.ve nav label {
        filter: grayscale(1) brightness(100);
    }
    header nav input[type=checkbox]:checked + label {
        background-position:-50px;
    }
    header nav input[type=checkbox]:checked ~ ul {
        transition: 0.25s;
        height:400px;
        opacity:1;
    }

    /* MENU */

    header nav.menu_principal ul {
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        height:0;
        opacity:0;
        overflow:hidden;
    }
    header nav.menu_principal ul li {
        width: auto;
        margin:10px 0;
	    padding: 0 ;
        text-align: right;
    }
    header nav.menu_principal ul li a {
        display: block;
        padding:10px 0 5px 0;
        width:100%;
        height:auto;
        font-size: 1.8rem;
        color: var(--main-color);
        transition: color 0.2s;
    }
    header nav.menu_principal ul li a.selected {
        border-bottom: 1px solid var(--main-color);
    }
    header nav.menu_principal ul li a:hover {
        color: var(--alt-color);
    }
    header nav.menu_principal ul li a.selected:hover {
        border-bottom: 1px solid var(--alt-color);
    }
    header nav.menu_principal ul li.sep {
        display:none;
    }

    /* SECTIONS */
    section {
        min-height:auto;
    }
    section.top {
        min-height: 100vh;
    }

    /* VIDEO */

    section#video h1 {
        font-size: 3rem;
        transform: translateY(-50px);
    }

    /* CARTE */
    section#nous_retrouver h2 {
        margin:0;
        padding:40px 20px 20px;
        font-size: 2.5rem;
    }

    /* SECTION ART */

    section.art article {
        display:block;
    }

    section.ga article, section.dr article {
        position:static;
    }
    section.ve article, section.bl article {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 2fr 2fr 1fr;
        grid-template-areas: 
            "titre"
            "illus"
            "texte"
            "cta";
        padding: 0 20px;
    }
    section.ve article.ec-card, section.bl article.ec-card {
        padding: 0;
    }
    section article div.titre {
        justify-content: center;
    }
    section article div.titre h2 {
        text-align: center;
    }
    section article div.illus {
        height:200px;
    }
    section article div.cta {
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }
    section article div.cta a {
        margin-top:20px;
    }

    section#argu article {
        flex-direction: column;
    }
    section#argu article div {
        margin:50px 0;
    }

    /* Sections IDs */
    section#notre_savoir_faire article, section#equipe_a_vos_cotes article {
        display: block;
        grid-template-rows: 1fr 3fr 1fr 1fr;
        /* height:100vh; */
    }
    section#notre_savoir_faire div.titre {padding-top: 120px;}
    section#equipe_a_vos_cotes div.titre {padding-top: 50px;}
    section#notre_savoir_faire div.illus, section#equipe_a_vos_cotes div.illus {
        height:300px;
        width:100%;
    }
    section#notre_savoir_faire h2, section#equipe_a_vos_cotes h2 {
        margin:0;
    }
    section#notre_savoir_faire div.texte, section#equipe_a_vos_cotes div.texte {
        padding: 0;
    } 
    
    /* BeeUp */
    section#beeup {
        background-size: auto 100%;
    }
    section#beeup h2 {
        font-size: 6rem;
        padding-bottom: 200px;
        margin-top: 150px;
    }
    div.carrousel {
        padding:0;
    }

    /* Produits */
    div.produit {
        grid-template-rows:1fr 10fr;
        min-width:350px;
        height: 400px;
        margin:50px 0;
    }
    div.produit div h4 {
        font-size: 1rem;
    }
    div.produit div p {
        font-size: 1rem;
    }
    div.produit div img {
        width:150px;
        height: auto;
    }
    div.produit div span {
        right: 20px;
        bottom:-20px;
    }

    /* Formulaire */

    section#formulaire > div {
        display:block;

        margin:0;
        padding: 50px 20px;
    }
    section#formulaire h2 {
        margin-top:0;
    }
    section#formulaire form {
        margin-top:25px;
    }

    /* FOOTER */

    footer {
        grid-template-columns: 100%;
        grid-template-rows: repeat(3, 1fr) 2fr 0%;
        grid-template-areas:
            "fprod"
            "fsoci"
            "fcoor"
            "flogo"
            "ftop";
    }
    footer div {
        padding:20px;
    }
    footer div.ftop {
        display:none;
    }

}