/*
 Theme Name:   teranga
 Theme URI:    https://monsite.com
 Description:  Description de mon thème enfant
 Author:       Idriss
 Author URI:   https://wpmarmite.com
 Template:     twentyseventeen
 Version:      1.0.0
*/

@font-face {font-family: 'MetropolisExtraLight'; src: url('fonts/Metropolis-ExtraLight.otf');}
@font-face {font-family: 'Metropolis'; src: url('fonts/Metropolis-Regular.otf');}
@font-face {font-family: 'MetropolisSemiBold'; src: url('fonts/Metropolis-SemiBold.otf');}
@font-face {font-family: 'MetropolisBold'; src: url('fonts/Metropolis-Bold.otf');}
@font-face {font-family: 'MetropolisBlack'; src: url('fonts/Metropolis-Black.otf');}
@font-face {font-family: 'GT SemiBold'; src: url('fonts/galderglynn\ titling\ rg.ttf');}
@font-face {font-family: 'GT Bold'; src: url('fonts/galderglynn\ titling\ bd.ttf');}
@font-face {font-family: 'GT Black'; src: url('fonts/galderglynn\ titling\ bl.ttf');}

* {
    margin: 0;
}

html {
    margin-top: 0px !important;
    scroll-behavior: smooth;
} 

/*
HEADER 
*/

header {
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

header img {
    margin-left: 2%;
}

header a {
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.25);
    font-family: Metropolis;
    text-decoration: none;
    font-size: 20px;
    line-height: 20px;
    color: #FFFFFF;
    transition: 0.3s;
}

.header a.background--light {
    color: #FA8567;
}

header div {
    width: 382px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 2%;
}

@media (max-width: 890px) {
    header {
        height: 90px;
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
    }

    header a {
        font-size: 16px;
        line-height: 16px;
    }

    header div {
        width: 284px;
        margin-right: 0;
    }
}

/*
HOME
*/

.home {
    width: 100%;
    height: 100vh;
    position: relative;
}

.home .wp-block-group__inner-container {
    width: 100%;
    height: 100%;
}

.home figure {
    width: 100%;
    height: 100%;
}

.home img {
    width: 100%;
    height: 100%;
}

.home .home_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.home h1 {
    width: auto;
    font-family: GT Black ;
    font-size: 72px;
    line-height: 86px;
    padding: 28px 16px;
}

.home_title1 {
    color: #FFFFFF;
    background-color: #FA8567;
}

.home_title2 {
    text-align: right;
    color: #FA8567;
    background-color: #FFFFFF;
}

/*
PRESTATIONS
*/

.nos_prestations {
    width: 100%;
    background: #FA8567;
    padding: 10px 0 10px 0;
}

.prestations_title {
    margin-top: 10px;
    position: relative;
}

.title_underline {
    width: 232px;
    height: 2px;
    background: #FFFFFF;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.nos_prestations h2 {
    font-family: GT Bold;
    font-size: 42px;
    line-height: 50px;
    color: #FFFFFF;
    text-align: center;
}

@media (max-width: 800px) {
    .nos_prestations h2 {
        font-size: 30px;
        line-height: 36px;
    }
}

.prestations {
    width: 100%;
    height: auto;
    margin: 80px 0 ;
    display: flex;
    justify-content: center;
    align-items: center;
}

.prestations .wp-block-group__inner-container {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
    width: 1126px;
}

.prestation {
    position: relative;
    width: 1126px;
    height: 449px;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1195px) {
    .prestation {
        width: 920px;
    }
}

@media (max-width: 950px) {
    .prestation {
        width: 550px;
        height: 560px;
    }
}

@media (max-width: 585px) {
    .prestation {
        width: 420px;
        height: 630px;
    }
}

@media (max-width: 450px) {
    .prestation {
        width: 315px;
        height: 630px;
    }
}

.prestation .wp-block-group__inner-container {
    height: 100%;
    width: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.prestation ul {
    position: absolute;
    top: 50%;
    left: 45px;
    transform: translateY(-50%);
    width: 578px;
    height: 276px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

@media (max-width: 1195px) {
    .prestation ul {
        width: 468px;
        left: 20px;
    }
}

@media (max-width: 585px) {
    .prestation ul {
        width: 350px;
        padding: 0 0 0 10px;
    }
}

@media (max-width: 450px) {
    .prestation ul {
        width: 275px;
        padding: 0 0 0 10px;
    }
}

.prestations_img {
    position: relative;
    height: 100%;
    width: 406px;
}

.prestations_img .wp-block-group__inner-container {
    width: auto;
}

@media (max-width: 950px) {
    .prestation .wp-block-group__inner-container {
        flex-direction: column;
    }

    .prestations_img {
        height: 152.4px;
        width: 100%;
    }

    .prestation ul {
        top: 90px;
        transform: translateY(0);
    }
}

.wp-block-image {
    margin: 0;
}

.wp-block-image img {
    width: 100%;
    height: 100%;
}

.prestations_img1 {
    position: absolute;
    top: 0;
    left: 0;
}

.prestations_img2 {
    position: absolute;
    top: 50%;
    left: 0;
}

@media (max-width: 950px) {
    .prestations_img1 {
        top: 0;
        left: 0;
        width: 275px;
        height: 152.4px;
    }
    
    .prestations_img2 {
        top: 0;
        left: 50%;
        width: 275px;
        height: 152.4px;
    }
}

@media (max-width: 585px) {
    .prestations_img {
        height: 232.76px;
        width: 100%;
    }

    .prestations_img1 {
        width: 100%;
        height: 100%;
    }
    
    .prestations_img2 {
        display: none;
    }
}

@media (max-width: 450px) {
    .prestations_img {
        height: 174.57px;
        width: 100%;
    }
}

.prestation h3 {
    position: absolute;
    top: 27px;
    left: 31px;
    font-family: GT Bold;
    font-size: 32px;
    line-height: 29px;
    text-align: center;
    text-decoration-line: underline;
    color: #FA8567;
}

@media (max-width: 585px) {
    .prestation h3 {
        font-size: 25px;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
    }
}

.prestation li {
    font-family: Metropolis;
    font-size: 12px;
    line-height: 16px;
    color: #000000;
}

#bureaux {
    z-index: 5;
}

#commerces {
    z-index: 4;
}

#immeubles {
    z-index: 3;
}

#chantiers {
    z-index: 2;
}

#locaux {
    z-index: 1;
}

#locaux ul {
    height: 78px;
    top: 31%;
}

@media (max-width: 950px) {
    #locaux ul {
        top: 90px;
        transform: translateY(0);
    }
}

/*
HISTOIRE
*/

.teranga_underline {
    width: 122px;
    height: 2px;
    background: #FA8567;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.teranga_title {
    margin: 40px 0;
}

.teranga_title h2 {
    font-family: GT Bold;
    font-size: 42px;
    line-height: 50px;
    color: #000000;
    text-align: center;
    width: 100%;
}

.teranga {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 100px 0;
}

.teranga .wp-block-group__inner-container {
    width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 1315px) {
    .teranga .wp-block-group__inner-container {
        width: 90%;
    }
}

@media (max-width: 1019px) {
    .teranga .wp-block-group__inner-container {
        justify-content: center;
    }
}

.teranga_title {
    width: 100%;
    height: auto;
    position: relative;
}

.teranga_title .wp-block-group__inner-container {
    width: 100%;
}

.history {
    position: relative;
    margin: 30px;
}

.history .wp-block-group__inner-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history p {
    font-family: MetropolisSemiBold;
    font-size: 12px;
    line-height: 12px;
    text-align: justify;
    width: 399px;
    color: #000000;
}

@media (max-width: 530px) {
    .history p {
        width: 315px;
    }
}

@media (max-width: 405px) {
    .history p {
        width: 270px;
    }
}

.shadow {
    position: absolute;
    width: 411px;
    height: 428px;
    left: 34px;
    top: 40px;
    background: rgba(196, 196, 196, 0.19);
}

@media (max-width: 530px) {
    .shadow {
        width: 315px;
        height: 540px;
    }
}

@media (max-width: 405px) {
    .shadow {
        width: 270px;
        height: 636px;
        top: 15px;
        left: 15px;
    }
}

.lines {
    position: absolute;
    bottom: -60px;
    left: -34px;
    width: 375px;
    height: 291px;
}

@media (max-width: 405px) {
    .lines {
        width: 273px;
        height: 136px;
        bottom: -41px;
        left: -17px;
    }
}

.lines .wp-block-group__inner-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.line_1 {
    position: absolute;
    width: 4px;
    height: 100%;
    background: #FA8567;
    left: 0;
    top: 0;
}

.line_2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #FA8567;
}

.activity-zone {
    width: auto;
    margin: 30px;
}

.activity-zone .wp-block-group__inner-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-direction: column;
}

.activity-zone figure {
    margin: 10px 0;
}

.departments {
    width: 383px;
    height: auto;
}

.departments .wp-block-group__inner-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-direction: row;
}

.department1 .wp-block-group__inner-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    width: 174px;
}

.department2 .wp-block-group__inner-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    width: 174px;
}

.department {
    width: 103px;
    height: 24px;
}

.department .wp-block-group__inner-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.hdssem {
    width: 157px;
}

.seinesaintdenis {
    width: 174px;
}

.valdemarne {
    width: 146px;
}
.valdoise {
    width: 117px;
}
.paris {
    width: 81px;
}

.number-department {
    font-family: GT Bold;
    font-size: 18px;
    line-height: 22px;
    color: #FA8567;
}

.name-department {
    font-family: GT Bold;
    font-size: 14px;
    line-height: 17px;
    color: #131313;
}

@media (max-width: 420px) {
    .departments {
        width: 176px;
    }

    .departments figure {
        width: 200px;
    }

    .departments img {
        width: 100%;
    }

    .departments .wp-block-group__inner-container {
        flex-wrap: wrap;
        align-items: center;
    }
}

.advantages {
    position: relative;
}

.advantages .wp-block-group__inner-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.advantages .teranga_title {
    margin: 55px 0 71px 0;
}

.advantages .teranga_underline {
    width: 295px;
}

.advantages p {
    width: 60%;
    font-family: MetropolisSemiBold;
    font-size: 12px;
    line-height: 12px;
    text-align: justify;
    margin: 0 0 143px 0;
    color: #000000;
    z-index: 2;
}

.advantages h3 {
    z-index: 0;
    position: absolute;
    font-family: GT Black;
    font-size: 64px;
    color: transparent;
    line-height: 77px;
    text-align: justify;
    -webkit-text-stroke: 1px #FA8567;
}

.quality1 {
    top: 110px;
    left: 0;
}

.quality2 {
    bottom: 70px;
    left: 0;
}

.quality3 {
    top: 180px;
    right: 20px;
}

.quality4 {
    bottom: 0;
    right: 0;
}

@media (max-width: 800px) {
    .teranga_title h2 {
        font-size: 30px;
        line-height: 36px;
    }

    .advantages .teranga_underline {
        width: 160px;
    }

    .advantages p {
        width: 90%;
    }

    .quality2 {
        display: none;
    }
    
    .quality3 {
        display: none;
    }
}

@media (max-width: 500px) {
    .advantages h3 {
        font-size: 46px;
        line-height: 50px;
    }

    .quality4 {
        bottom: 50px;
        right: 0;
    }
}

@media (max-width: 410px) {
    .teranga_title h2 {
        font-size: 25px;
        line-height: 32px;
    }
}

@media (max-width: 380px) {
    .teranga_title h2 {
        font-size: 20px;
        line-height: 30px;
    }
}

/*
CONTACT
*/

.contact {
    width: 100%;
    background: #8D8BD1;
    padding: 10px 0 30px 0;
}

.contact .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.contact_title {
    margin: 47px 0 53px 0;
    position: relative;
}

.contact h2 {
    font-family: GT Bold;
    font-style: normal;
    font-size: 42px;
    line-height: 50px;
    color: #FFFFFF;
    text-align: center;
}

@media (max-width: 800px) {
    .contact h2 {
        font-size: 30px;
        line-height: 36px;
    }

    .contact_title .title_underline {
        width: 120px;
    }
}

.wp-block-contact-form-7-contact-form-selector {
    background: #8D8BD1;
    width: 1200px;
    display: flex;
    justify-content: space-between;
}

.wpcf7 {
    width: 100%;
}

label {
    font-family: MetropolisBlack;
    font-style: normal;
    font-size: 14px;
    line-height: 14px;
    color: #8D8BD1;
    -webkit-text-stroke: 01px #FFFFFF;
}

input {
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 8px;
    background: #8D8BD1;
    height: 40px;
    width: 100%;
    font-family: Metropolis;
}

.contact p {
    margin: 15px 0;
}

select {
    height: 40px;
    width: 100%;
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 8px;
    background: #8D8BD1;
}

textarea {
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 8px;
    background: #8D8BD1;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wpcf7-submit {
    width: 180px;
    height: 55px;
    font-family: MetropolisSemiBold;
    font-size: 14px;
    line-height: 14px;
    text-transform: uppercase;
    color: #FFFFFF;
    background: #131313;
    border-radius: 5px;
    border: 0;
    filter: drop-shadow(0px 4px 1px rgba(0, 0, 0, 0.25));
}

.wpcf7-not-valid-tip {
    font-family: Metropolis;
    -webkit-text-stroke: 0  #FFFFFF;
}

.wpcf7-response-output {
    font-family: Metropolis;
}

::placeholder {
    font-family: Metropolis;
    -webkit-text-stroke: 0  #FFFFFF;
    color: rgba(19, 19, 19, 0.36);
}

@media (max-width: 1300PX) {
    .wp-block-contact-form-7-contact-form-selector {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .contact h2 {
        font-size: 25px;
        line-height: 32px;
    }
}

@media (max-width: 400px) {
    .contact h2 {
        font-size: 20px;
        line-height: 30px;
    }
}

@media (max-width: 380px) {
    .wpcf7-submit {
        width: 144px;
        height: 44px;
        font-size: 12px;
        line-height: 14px;
    }
}

/*
FOOTER
*/

footer {
    background-color: #131313;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
    padding: 40px 0 30px 0;
}

footer .menu {
    width: 320px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 41px 0 32px 0;
}

footer a {
    font-family: Metropolis;
    font-size: 20px;
    line-height: 20px;
    color: #FFFFFF;
    text-decoration: none;
}

.social {
    width: 285px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-family: Metropolis;
    font-size: 14px;
    line-height: 14px;
    color: #FFFFFF;
}

.footer_adress {
    font-family: MetropolisExtraLight;
    font-size: 18px;
    line-height: 18px;
    color: #FFFFFF;
    margin: 40px 0 29px 0;
}

@media (max-width: 500px) {
    footer a {
        font-size: 16px;
        line-height: 16px;
    }

    .social {
        width: 250px;
    }

    footer .menu {
        width: 260px;
    }

    .footer_adress {
        font-size: 14px;
        line-height: 14px;
    }
}