* {
    margin: 0;
    padding: 0;
}

/* bandeau header avec logos */

body {
    overflow: hidden;
}   

header {
    width: 100%;
    background-color: #222;
} 

header div:nth-child(1) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: wrap;
    height: 100%;
    min-height: 80px;
}

header > div:nth-child(1) > p {
    display: inline-block;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2vw;
    font-weight: 700;
    font-style: italic;
    color: white;
    text-transform: uppercase;
    transform: rotate(-2.38deg);
    margin: 10px 0 0 20px;
}

.facebook {
    width: 6.607vw;
}

.instagram {
    width: 6.294vw;
}

.google_ads {
    width: 7.276vw;
}

.visite_online {
    width:  7.767vw;
}

.paru_vendu {
    width: 6.160vw;
}

.bfm_immo {
    width: 9.151vw;
}

.plan_immobilier {
    width: 9.196vw;
}

.Portail_National_Leader {
    width: 8.660vw;
}

header > div > img {
    margin: 10px 0 10px 20px;
}

header > div:nth-child(2) {
    position: relative;
}

header div:nth-child(2) p {
    color: white;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    position: absolute;
    right: 84px;
    z-index: 1;
    top: 17px;
}

.bgBlackBiais {
    position: absolute;
    background-color: #222;
    width: 273px;
    height: 52px;
    right: 66px;
    z-index: 0;
    transform: skew(-10deg);
    top: -1px;
}





/* Mise en page de la bulle centrale */

@media (-webkit-min-device-pixel-ratio: 1) {
    .bulle_boom {
        background-image: url(../../../Images/Commercial/forme_boom.png);
    }
}

@media (-webkit-min-device-pixel-ratio: 2) {
    .bulle_boom {
        background-image: url(../../../Images/Commercial/forme_boom_2x.png);
    }
}

.bulle_boom {
    width: 38vw;
    background-size: contain;
    background-repeat: no-repeat;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    z-index: 1;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 42vw;
    position: absolute;
    background-position: center;
    left: 30%;
    top: 11%;
}

.bulle_boom > h1 {
    text-transform: uppercase;
    font-size: 2.829vw;
    line-height: 2.7vw;
    margin-left: 4vw;
}

.bulle_boom > h1 > span:nth-child(2) {
    color: #f6a431;
    position: relative;
    font-size: 1.743vw;
    font-style: italic;
    display: inline-block;
}

.bulle_boom > h1 > span:nth-child(3) {
    color: white;
    position: relative;
    font-size: 2.235vw;
    margin: 0 0 0 20px;
    font-style: italic;
    display: inline-block;
}

.bulle_boom > h1 > span:nth-child(3)::before {
    content: '';
    background-color: #f6a431;
    width: 6.7vw;
    height: 2.8vw;
    display: inline-block;
    position: absolute;
    z-index: -1;
    transform: skewX(-10deg);
    top: -2px;
    left: -10px;
}

.bulle_boom > p {
    font-weight: 700;
    text-transform: uppercase;
    width: 11.7vw;
    font-size: 0.974vw;
    margin: 10px 0 0 3.6vw;
}



.footer img {
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    max-width: 850px;
    z-index: -1;
}






/* Mise en page de la bulle Qualité */

@media (-webkit-min-device-pixel-ratio: 1) {
    .bulle_qualite {
        background-image: url(../../../Images/Commercial/forme_qualite.png);
    }
}

@media (-webkit-min-device-pixel-ratio: 2) {
    .bulle_qualite {
        background-image: url(../../../Images/Commercial/forme_qualite_2x.png);
    }
}

.bulle_qualite {
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 10%;
    left: 8%;
    width: 19vw;
    height: 19vw;
}

.bulle_qualite > h2 {
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    transform: rotate(-6.5deg);
    margin: 3.9vw 1vw 0 0px;
    font-size: 2.1vw;
    font-style: italic;
}

.bulle_qualite > p:nth-child(2), .bulle_qualite > p:nth-child(3), .bulle_qualite > p:nth-child(4)   {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.bulle_qualite > p:nth-child(2) {
    transform: rotate(-6.5deg);
    width: 11.5vw;
    font-size: 1vw;
    margin: 0.3vw 0 0 1vw;
}

.bulle_qualite > p:nth-child(3) {
    transform: rotate(-6.5deg);
    position: absolute;
    top: 11.45vw;
    left: 5.2vw;
    color: white;
    font-size: 1.1vw;
}

.bulle_qualite > p:nth-child(4) {
    color: white;
    transform: rotate(-6.5deg);
    position: absolute;
    top: 10.7vw;
    left: 13.6vw;
    font-size: 1.1vw;
}

a {
    text-decoration: none;
    color: white;
}







/* Mise en page de la bulle Découverte */

@media (-webkit-min-device-pixel-ratio: 1) {
    .bulle_decouverte {
        background-image: url(../../../Images/Commercial/forme_decouverte.png);
    }
}

@media (-webkit-min-device-pixel-ratio: 2) {
    .bulle_decouverte {
        background-image: url(../../../Images/Commercial/forme_decouverte_2x.png);
    }
}

.bulle_decouverte {
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 55%;
    left: 8%;
    width: 18vw;
    height: 17vw;
}

.bulle_decouverte > h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    font-size: 1.8vw;
    transform: rotate(-11.7deg);
    margin: 3.6vw 2.1vw 0 0;
}

.bulle_decouverte > p:nth-child(2) {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: italic;
    color: white;
    margin: 1.2vw 0 0 3vw;
    transform: rotate(-11.7deg);
    font-size: 1.5vw;
}

.bulle_decouverte > p:nth-child(3) {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    margin: 1.5vw 0.1vw 0 0;
    transform: rotate(-12.5deg);
    font-size: 2.1vw;
}




/* Mise en page de la bulle Liberté */

@media (-webkit-min-device-pixel-ratio: 1) {
    .bulle_liberte {
        background-image: url(../../../Images/Commercial/forme_liberte.png);
    }
}

@media (-webkit-min-device-pixel-ratio: 2) {
    .bulle_liberte {
        background-image: url(../../../Images/Commercial/forme_liberte_2x.png);
    }
}

.bulle_liberte {
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 25%;
    right: 8%;
    width: 18vw;
    height: 17vw;
}

.bulle_liberte > h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    margin: 3vw 0 0 0;
    transform: rotate(-4deg);
    font-size: 2.3vw;
}

.bulle_liberte p:nth-child(2), .bulle_liberte p:nth-child(4) {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: italic;
}

.bulle_liberte p:nth-child(2) {
    font-size: 3.7vw;
    margin: 0.3vw 0 0 -5vw;
    transform: rotate(-4deg);
}

.bulle_liberte p:nth-child(3) {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 900;
    font-style: italic;
    position: absolute;
    font-size: 1.1vw;
    top: 6.3vw;
    right: 1.6vw;
    transform: rotate(-4deg);
    color: white;
    width: 5vw;
    text-transform: uppercase;
}

.bulle_liberte p:nth-child(4) {   
    font-size: 1.3vw;
    width: 10.3vw;
    text-align: center;
    transform: rotate(-2.9deg);
}






/* Mise en page ligne de conditions */

.conditions {
    position: absolute;
    bottom: 7px;
    left: 8%;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 14px;
    z-index: 1;
}




/* Particules d'arrière plan */

@media (-webkit-min-device-pixel-ratio: 1) {
    main::before {
        background-image: url(../../../Images/Commercial/Particules.png);
    }
}

@media (-webkit-min-device-pixel-ratio: 2) {
    main::before {
        background-image: url(../../../Images/Commercial/Particules_2x.png);
    }
}

main::before {
    content: '';
    width: 100%;
    height: 103.8vh;;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
    position: absolute;
    background-position: center;
}




/* Apparition des poppins POPIN1 */

.popin1 {
    display: none;
}

.backgroundPopin {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    display: block;
    z-index: 10;
}

.popin1 {
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.popin1 > div {
    position: relative;
    background-color: white;
    width: 75vw;
    z-index: 11;
    border-radius: 1vw;
}

.headerPopin1 {
    width: 100%;
    height: 3vw;
    background-color: black;
    color: white;
    font-size: 0.8vw;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1vw 1vw 0px 0px;
    position: relative;
}

.croix1 {
    position: absolute;
    right: 3vw;
    cursor: pointer;
    top: 1.3vw;
}

.croix1 div {
    width: 1.4vw;
    height: 0.3vw;
    background-color: white;
    position: absolute;
    border-radius: 0.2vw;
}

.croix1 div:nth-child(1) {
    transform: rotate(45deg);
}

.croix1 div:nth-child(2) {
    transform: rotate(-45deg);
}

.contentPopin1 {
    display: flex;
    height: 14vw;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 13;
}

    .contentPopin1::before {
        content: '';
        position: absolute;
        background-image: url(../../../Images/Commercial/popin/particulesPopin.jpg);
        z-index: 11;
        background-position: bottom;
        background-size: cover;
        width: 75vw;
        height: 14vw;
        background-repeat: no-repeat;
        border-radius: 1vw;
    }

@media (-webkit-min-device-pixel-ratio: 1) {
    .contentPopin1 div {
        background-image: url(../../../Images/Commercial/popin/bulle_popin1.jpg);
    }
}

@media (-webkit-min-device-pixel-ratio: 2) {
    .contentPopin1 div {
        background-image: url(../../../Images/Commercial/popin/bulle_popin1_2x.jpg);
    }
}

.contentPopin1 > div { 
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat; 
    width: 10vw;
    height: 10vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.9vw;
    margin: 0 2vw;
    position: relative;
    z-index: 20;
}

.contentPopin1 > div > p {
    width: 6.7vw;
}

.contentPopin1 > div > p > span {
    font-size: 0.5vw;
    width: 3.5vw;
    display: inline-block;
}




/* Apparition des poppins POPIN2 */



.backgroundPopin {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    display: none;
    z-index: 10;
}

.popin2 {
    display: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: absolute;
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.popin2 > div {
    position: relative;
    background-color: white;
    width: 75vw;
    z-index: 11;
    border-radius: 1vw;
}

.headerPopin2 {
    width: 100%;
    height: 3vw;
    background-color: black;
    color: white;
    font-size: 0.8vw;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1vw 1vw 0px 0px;
    position: relative;
}

.croix2 {
    position: absolute;
    right: 3vw;
    top: 1.3vw;
    cursor: pointer;
}

.croix2 div {
    width: 1.4vw;
    height: 0.3vw;
    background-color: white;
    position: absolute;
    border-radius: 0.2vw;
}

.croix2 div:nth-child(1) {
    transform: rotate(45deg);
}

.croix2 div:nth-child(2) {
    transform: rotate(-45deg);
}

.contentPopin2 {
    display: flex;
    height: 25vw;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 13;
}

    .contentPopin2::before {
        content: '';
        position: absolute;
        background-image: url(../../../Images/Commercial/popin/particulesPopin.jpg);
        z-index: 11;
        background-position: bottom;
        background-size: contain;
        width: 75vw;
        height: 25vw;
        background-repeat: no-repeat;
        border-radius: 1vw;
    }

@media (-webkit-min-device-pixel-ratio: 1) {
    .contentPopin2 > div {
        background-image: url(../../../Images/Commercial/popin/rect_popin2.png);
    }
}

@media (-webkit-min-device-pixel-ratio: 2) {
    .contentPopin2 > div {
        background-image: url(../../../Images/Commercial/popin/rect_popin2_2x.png);
    }
}

.contentPopin2 > div { 
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat; 
    width: 14vw;
    height: 17vw;
    display: flex;
    font-size: 0.9vw;
    margin: 0 1vw;
    position: relative;
    z-index: 20;
    flex-direction: column;
    padding-left: 1.8vw;
    padding-top: 3vw;
}

.contentPopin2 > div > h3 {
    margin-bottom: 1vw;
    color: #030303;
}

.contentPopin2 > div > div { 
    font-size: 0.8vw;
    text-transform: lowercase;
    font-weight: 500;
    margin-bottom: 0.2vw;
}

.contentPopin2 > div > div > div { 
    width: 0.35vw;
    height: 0.35vw;
    background-color: #f6a431;
    border-radius: 50%;
    display: inline-block;
    margin: 0 0.5vw 0 0;
}

.contentPopin2 > div > div > p { 
    display: inline-block;
}




/* affichage des popins */

.showPop1, .showPop2, .bgPop {
    display: flex;
}

.linkPop1, .linkPop2 {
    cursor: pointer;
}