@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');


html, body {
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
}

h1 {
    font: 900 2.2rem 'Muli';
    line-height: 45px;
    color:#2B2B2B;
}

h2 {
    font: 900 1.9rem 'Muli';
    line-height: 30px;
    color:#2B2B2B;
}

h3 {
    font: 700 1.3rem 'Muli';
    color: #8A8A8A;
    text-align: center;
    margin: 50px 0;
}

h4 {
    font: 500 1rem 'Muli';
    margin: 0;
}


p {
    font: 500 1.1rem 'Muli';
    color: #2b2b2b;
    line-height: 26px;
}

.bouton1 {
    background-color: #2EA8DD;
    border: none;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    font: 700 1.1rem "Muli";
    text-transform: uppercase;
    transition: all ease 0.2s;
}

.bouton1:hover {
    background-color: #ffffff;
    color: #2B2B2B;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bouton2 {
    border: solid 1px #2B2B2B;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: #2b2b2b;
    font: 700 1.1rem "Muli";
    text-transform: uppercase;
    transition: all ease 0.2s;
}

.bouton2:hover {
    background-color: #2B2B2B;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bouton3 {
    text-decoration: none;
    border: none;
    cursor: pointer;
    color: #2EA8DD;
    font: 700 1.1rem "Muli";
    margin: 10px 0;
    border-bottom: solid 3px;
    transition: all ease 0.2s;
}

.bouton3:hover {
    color: #2B2B2B;
    border-bottom: solid 3px #2EA8DD;
}



input:focus, textarea:focus, select:focus {
    outline: none;
}

input[type=text], input[type=email], select, textarea {
    background: none;
    color: #ffffff;
    padding: 2% 0;
    border: none;
    border-bottom: solid 2px #2EA8DD;
    margin: 1% 0;
    width: 100%;
    font: 400 1rem "Muli";
}

textarea {
    max-width: 100%;
    min-width: 100%;
}

label {
    color: #ffffff;
    font: 400 0.7rem "Muli";
}


select option {
    color: #2B2B2B;
}

select option[value="0"] {
    color: #999999;
}



ul {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
    font: 600 1.1rem "Muli";
    margin: 2% 0;
    color: #2b2b2b;
}


h1 span, h2 span, h3 span, p span {
    color: #2EA8DD;
}

/* HEADER ========================================================= */

header.laptop {
    display: none;
}


header.mobile {
    background-color: #ffffff;
    box-shadow: 0px -8px 15px #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 20px 0;
    z-index: 2;
}

header.mobile .bouton1 {
    width: 15%;
    text-align: center;
}

/* logo header */
header.mobile>a img {
    width: 100px;
    height: 100px;
    margin: 0 20px;
}



/* hamburger */
button.burger {
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 20px;
    z-index: 1;
}

button.burger span.line {
    display: block;
    background-color: #2B2B2B;
    width: 50px;
    height: 4px;
    margin: 10px 0;
    border-radius: 10px;
}


/* croix */
button.croix {
    background: none;
    border: none;
    cursor: pointer;
    display:none;
    z-index: 1;
}

button.croix span.line {
    display: block;
    position: relative;
    right: 23px;
    background-color: #2B2B2B;
    width: 50px;
    height: 4px;
    border-radius: 10px;
}

button.croix span.line:first-child {
    transform: rotate(45deg);
    position: relative;
    top: 3px;
}

button.croix span.line:nth-child(2) {
    transform: rotate(-45deg);
}


/* slide burger */
div#menu {
    position: fixed;
    display: none;
    top: 0;
    right: 0;
    background-color: #ffffff;
    width: 70%;
    height: 100%;
    font: 700 1rem "Muli";
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

/* nav burger */
div#menu nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 50%;
    height: 30%;
}

div#menu nav a {
    color: #2B2B2B;
    text-decoration: none;
    text-transform: uppercase;
    transition: all ease 0.2s;
}

div#menu nav a:hover {
    color: #2EA8DD;
}



/* INTRO =========================================================*/

/* slider */
div#banniere {
    background-color: #2B2B2B;
    position: relative;
    width: 100%;
    height: 200px;
    margin-top: 120px;
}

div#banniere img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}



section#intro {
    margin: 50px 0;
    padding: 0 5%;
}

#intro .bouton1 {
    display: block;
    margin: 0 auto;
    text-align: center;
}



/* SAVOIR FAIRE =========================================================*/

section#savoir-faire img {
    width: 100%;
    margin-top: 50px;
}


/* article 1 */
section#savoir-faire article:nth-child(1) {
    background-color: #EBEBEB;
    padding: 5%;
    margin-top: 50px;
}


/* article 2 */
section#savoir-faire article:nth-child(2) {
    padding: 5%;
    margin-bottom: 50px;
}





/* AVIS ========================================================= */

section#avis h2 {
    padding: 0 5%;
}


/* section pictos ****************** */
section#avis article:nth-child(2) {
    background-color: #2B2B2B;
    padding: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

figure {
    width: 40%;
    margin: 20px 0;
    text-align: center;
}

section#avis figure img {
    width: 40%;
    border-radius: 50px;
}

section#avis figcaption {
    font: 600 1rem 'Muli';
    color: #2EA8DD
}


/* section avis ****************** */

section#avis article:nth-child(3) {
    background-color: #ebebeb;
    padding: 5%;
}

/* note */
section#avis article:nth-child(3) div:first-child {
    margin: 0 auto;
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* avis */

section#avis article:nth-child(3) ul li img {
    border: solid 1px #cfcfcf;
    width: 100%;
    height: 100%;
    margin: 0;
}





/* div pour bouton + partage */
section#avis article:nth-child(3) div:nth-child(3) {
    display: flex;
    justify-content: space-between;
}

/* bouton partage */
section#avis article:nth-child(3) div:nth-child(3) img {
    border: solid 2px #2B2B2B;
    background-color: #ffffff;
    padding: 5px;
    transition: all ease 0.2s;
}

section#avis article:nth-child(3) div:nth-child(3) img:hover {
    border-color: #2EA8DD;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}





/* GALERIE =========================================================*/

section#realisations {
    padding: 5%;
}

section#realisations li img{
    width: 100%;
}

#realisations ul li span {
    display: none;
}



/* FOOTER =========================================================*/

/* section maps (hors footer) ****************** */
#maps iframe{
    width: 100%;
    height: 100%;
}


/* section contact ****************** */
#contact {
    background-color: #2EA8DD;
    padding: 5%;
}

#contact h4 {
    background: url(../img/grey-title-bar-coordonnees.png) no-repeat;
    color: #2EA8DD;
    padding: 10px;
}

#contact ul li img {
    width: 30px;
}

/* logo demeure champenoise */
#contact img:nth-child(3) {
    width: 100px;
    padding: 0 6%;
}

#contact .logos {
    margin-top: 15px;
}
#contact .logos * {
    vertical-align: top;
}
#contact .logos .qualibat {
    margin-top: 20px;
}



#social {
    font-size: 0;
    margin-left: 35px;
    margin-top: 20px;
}

#social a {
    display: inline-block;
    width: 36px;
    height: 36px;
    margin-right: 5px;
    margin-bottom: 5px;
    text-align: center;
    font-size: 28px;
    line-height: 38px;
    vertical-align: top;
    overflow: hidden;
    color: #2B2B2B;
}



/* section devis ****************** */
#devis {
    background-color: #2B2B2B;
    padding: 5%;
}

#devis h2 {
    color: #2EA8DD;
}

#devis h4 {
    background: url(../img/blue-title-bar-chiffrage.png) no-repeat;
    color: #2B2B2B;
    padding: 10px;
}


/* Captcha */
div.g-recaptcha {
    margin: 20px 0;
}

div.g-recaptcha iframe:nth-child(2) {
    display: none;
}



/* section footer ****************** */
#footer {
    background-color: #000000;
    text-align: center;
    padding: 2% 0;
}

#footer a, #footer span {
    color: #ffffff;
    text-decoration: none;
    font: 400 0.7rem "Muli";
}


/* ************************************************************************************************* */
/* ******************************************* TABLETTES ******************************************* */
/* ************************************************************************************************* */

/* tablette et + */
@media (min-width: 768px) {

h1 {
    font-size: 2.9rem;
}

h2 {
    font-size: 2.2rem;
    font-weight: 800;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

p {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 35px;
}

option {
    font-size: 1.3rem;
}



.bouton1 {
    font-size: 1.3rem;
    display: inline-block;
    width: 50%;
}

.bouton2 {
    font-size: 1.3rem;
}

.bouton3 {
    font-size: 1.3rem;
}


input[type=text], input[type=email], select, textarea {
    font: 400 1rem "Muli";
}

label {
    font: 400 1rem "Muli";
}


/* hauteur banniere */
div#banniere {
    height: 300px;
}



/* description images galerie */

#realisations ul li {
    margin: 0;
    display: flex;
    align-items: flex-end;
}

#realisations ul li span {
    display: block;
    opacity: 1;
    color: #ffffff;
    background-color: rgba(46, 168, 221, 0.8);
    font-size: 1rem;
    line-height: 25px;
    padding: 30px 50px;
    opacity: 0;
    transition: all ease 0.2s;
}

#realisations ul li:hover span {
    opacity: 1;
}


}


/* que tablette */
@media (min-width: 768px) and (max-width: 992px) {

/* AVIS ========================================================= */
/* pictos ****************** */

/* tableau des pictos */
section#avis article:nth-child(2) {
    width: 100%;
    display: grid;
    padding: 5% 0;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: auto auto auto;
    align-items: baseline;
}

        section#avis article:nth-child(2) :nth-child(2) {
            grid-column: 3;
        }

        section#avis article:nth-child(2) :nth-child(3) {
            grid-column: 2;
            grid-row: 2;
        }

        section#avis article:nth-child(2) :nth-child(4) {
            grid-column: 1;
            grid-row: 3;
        }

        section#avis article:nth-child(2) :nth-child(5) {
            grid-column: 3;
            grid-row: 3;
        }


section#avis figure {
    width: 100%;
}

section#avis figcaption {
    font-size: 1.3rem;
}


/* avis ****************** */

/* tableau des avis */
section#avis article:nth-child(3) ul {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto;
    column-gap: 15px;
    row-gap: 15px;
}

        section#avis article:nth-child(3) :nth-child(3) {
            grid-column-start: 1;
            grid-column-end: 3;
        }

/* 1 avis */
section#avis article:nth-child(3) ul li {
    margin: 0;
}

section#avis article:nth-child(3) ul li img {
    height: auto;
}

section#avis article:nth-child(3) ul li:nth-child(3) img {
    display: none;
}

/* div bouton + partage */
section#avis article:nth-child(3) div:nth-child(3) {
    margin-top: 30px;
}


/* REALISATIONS ========================================================= */

section#realisations ul {
    height: 1500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
}

        #realisations ul li:nth-child(1) {
            background: url(../img/lamblin_habitat_peinture-interieur1.jpg) no-repeat;
            background-size: cover;
            background-position: center;
        }

        #realisations ul li:nth-child(2) {
            background: url(../img/lamblin_habitat_peinture-interieur2.jpg) no-repeat;
            background-size: cover;
            background-position: center;
        }

        #realisations ul li:nth-child(3) {
            background: url(../img/lamblin_habitat_peinture-interieur3.jpg) no-repeat;
            background-size: cover;
            background-position: center;
            grid-column-start: 1;
            grid-column-end: 3;
            grid-row-start: 2;
            grid-row-end: 4;
        }

        #realisations ul li:nth-child(4) {
            background: url(../img/lamblin_habitat_peinture-interieur4.jpg) no-repeat;
            background-size: cover;
            grid-column-start: 1;
            grid-column-end: 3;
            grid-row-start: 5;
            grid-row-end: 7;
        }

        #realisations ul li:nth-child(5) {
            background: url(../img/lamblin_habitat_peinture-interieur5.jpg) no-repeat;
            background-size: cover;
            background-position: center;
        }

        #realisations ul li:nth-child(6) {
            background: url(../img/lamblin_habitat_peinture-interieur6.jpg) no-repeat;
            background-size: cover;
            background-position: center;
        }

section#realisations ul img {
    display: none;
}
}


.video {
    text-align: center;
    margin-bottom: 30px;
}




/* *************************************************************************************************** */
/* ******************************************* LAPTOP ******************************************* */
/* *************************************************************************************************** */

@media (min-width: 992px) {

/* HEADER ========================================================= */

    p {
        font-size: 1.2rem;
        line-height: 28px;
    }

    header.mobile {
        display: none;
    }

    header.laptop {
        background-color: #ffffff;
        box-shadow: 0px -8px 15px #000000;
        width: 100%;
        height: 125px;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        z-index: 2;
}


    header.laptop nav {
        width: 35%;
        display: flex;
        justify-content: space-between;
    }

    header nav a {
        text-decoration: none;
        color: #2B2B2B;
        font: 700 1rem "Muli";
        transition: all ease 0.2s;
        margin: 0 10px;
    }

    header nav a:hover {
        color: #2EA8DD;
    }


    /* div avec les 2 boutons */
    header.laptop div:nth-child(3) {
        display: flex;
        justify-content: space-between;
    }

    header.laptop div:nth-child(3) a {
        text-align: center;
        margin: 0 2%;
    }


/* INTRO ========================================================= */

#intro h3 {
    padding: 0 100px;
}


/* SAVOIR FAIRE ========================================================= */

#savoir-faire article {
    display: flex;
}

#savoir-faire article:first-child img {
    margin-left: 30px;
}

#savoir-faire article:nth-child(2) {
    flex-direction: row-reverse;
}

#savoir-faire article>div, #savoir-faire article>img {
    width: 50%;
}

#savoir-faire article>img {
    object-fit: cover;
}



/* AVIS ========================================================= */

/* pictos ********************** */
section#avis article:nth-child(2) {
    padding: 0;
    flex-direction: row;
}

/* avis ********************** */
section#avis article:nth-child(3) ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

section#avis article:nth-child(3) ul li{
    width: 32%;
    height: 100%;
}



/* REALISATIONS ========================================================= */



#realisations ul li img {
    display: none;
}

#realisations ul {
    display: grid;
    height: 1000px;
    grid-template-columns: 2fr 1fr 2fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
}

        #realisations ul li:nth-child(1) {
            background: url(../img/lamblin_habitat_peinture-interieur1.jpg) no-repeat;
            background-size: cover;
            background-position: center;
        }

        #realisations ul li:nth-child(2) {
            background: url(../img/lamblin_habitat_peinture-interieur2.jpg) no-repeat;
            background-size: cover;
            grid-column: 1;
            grid-row: 2;
            background-position: center;
        }

        #realisations ul li:nth-child(3) {
            background: url(../img/lamblin_habitat_peinture-interieur3.jpg) no-repeat;
            background-size: cover;
            background-position: center;
            grid-column-start: 2;
            grid-column-end: 4;
            grid-row-start: 1;
            grid-row-end: 3;
        }

        #realisations ul li:nth-child(4) {
            background: url(../img/lamblin_habitat_peinture-interieur4.jpg) no-repeat;
            background-size: cover;
            grid-column-start: 1;
            grid-column-end: 3;
            grid-row-start: 3;
            grid-row-end: 5;
        }

        #realisations ul li:nth-child(5) {
            background: url(../img/lamblin_habitat_peinture-interieur5.jpg) no-repeat;
            background-size: cover;
            background-position: center;
        }

        #realisations ul li:nth-child(6) {
            background: url(../img/lamblin_habitat_peinture-interieur6.jpg) no-repeat;
            background-size: cover;
            background-position: center;
        }





/* FOOTER ========================================================= */

footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

    /* footer bande noir */
    footer div:last-child {
        grid-column-start: 1;
        grid-column-end: 3;
    }

}




/* *************************************************************************************************** */
/* ******************************************* DESKTOP ******************************************* */
/* *************************************************************************************************** */

@media (min-width: 1200px) {

    body {
        background-color: #EBEBEB;
    }

    #content {
        background-color: #ffffff;
        width: 1200px;
        margin: 0 auto;
        padding: 0;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    }


/* HEADER ========================================================= */

    header.laptop {
        justify-content: center;
    }

    header.laptop nav {
        width: 30%;
        margin: 0 5%;
    }


/* FOOTER ========================================================= */

    footer #contact {
        padding-left: 35%;
    }

    footer #devis {
        padding-right: 35%;
    }

}









.alert {
    font: 500 1.1rem 'Muli';
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}
.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}


