@import url("https://use.typekit.net/rmh4lnb.css");
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body{
    background-color: var(--my-liblue);
    width: 100vw;
    height: 1000vh;
    overflow: hidden;
    overflow-y: scroll;
    margin: 0;
    padding: 0;
}
html{
    scroll-behavior: smooth;
}

/* COLORS */
:root{
    --my-black: #0E1121;
    --my-liblue: #F3F6FC;
    --my-green: #B6D7A3;
    --my-blue: #84b1c1;
    --my-yellow: #F3D378;
    --my-purple: #9E6764;
    --my-violet: #B9AED6;
    --my-salmon: #EE9F8B;
}

/* FONTS */
h1{
    font-family: "cy", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 7vh;
    color:var(--my-black);
}
h2{
    font-family: "cy", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 4vh;
    color:var(--my-black);
    margin-bottom: 0;
}
p{
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:var(--my-black);
}

/* SEC GARDE */
.garde{
    background-color: var(--my-liblue);
    width: 100vw;
    height: 100vh;
}
.garde-index{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 0;
    left: 0;
    z-index: 10;
    width: calc(50vw - 10vh);
    height: calc(100vh - 10vh);
    margin: 5vh;
    /* background-color: rgba(0, 255, 255, 0.42); */
}
.garde-text{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 50%;
}
.garde-text h1{
    font-size: 13vh;
    font-weight: 700;
    line-height: 12vh;
    margin-bottom: 2vh;
}
.garde-text h1::after {
    text-transform: uppercase;
    font-size: 15vh;
    font-weight: 900;
    content: "◂";
    /* margin-left: 2vh; */
    color: var(--my-salmon);
}
.garde-text h1 > span{
    font-size: 9vh;
    font-weight: 700;
    line-height: 12vh;
}
.garde-text p{
    width: 75%;
    font-size: 2vh;
    line-height: 2.5vh;
    font-weight: 300;
}
.logo-img{
    /* background-color: var(--my-blue); */
    width: 18vw;
    height: 7vh;
    object-fit: cover;
    object-position: -2.5vw;
}
.btn-scroll{
    /* background-color: var(--my-salmon); */
    display: flex;
    width: 3.5vw;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    position: relative;
}
.btn-scroll img{
    width: 100%;
    margin: auto;
}

/* SEC TEST */
.test-sec{
    width: 100vw;
    height: 100vh;
    display: flex;
}
.test-left{
    width: 70vw;
    height: 100vh;
}
.test-right{
    width: 30vw;
    height: 600vh;
    position: absolute;
    right: 0;
    top: 100vh;
}
.texting{
    width: 80%;
    padding-left: 10%;
    padding-right: 10%;
    height: 100vh;
    font-size: 2.5vh;
}
.texting p{
    mix-blend-mode: luminosity;
}
.texting h1{
    font-size: 15vh;
    margin: 0;
    font-weight: 800;
    mix-blend-mode: luminosity;
}
.texting h2{
    position: relative;
    bottom: 60vh;
    left: 20vh;
    font-size: 40vh;
    color: rgba(14, 17, 33, 0.144);
}
.text-one{
    background-color: var(--my-green);
}
.text-two{
    background-color: var(--my-blue);
}
.text-three{
    background-color: var(--my-yellow);
}
.text-four{
    background-color: var(--my-purple);
}
.text-five{
    background-color: var(--my-violet);
}
.text-six{
    background-color: var(--my-salmon);
}

/* MAP */
.sec-map{
    width: 100vw;
    height: auto;
    background-color: var(--my-liblue);
    transform: translateY(1175vh);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10vh;
    padding-bottom: 10vh;
}

.titre {
    position: absolute;
    width: 80vw;
    height: 10vh;
    top: -10vh; 
}

.titre h1{
    margin: 0;
}
.sec-map img{
    object-fit: contain;
    height: 60%;
    width: 60%;
}
.pin {
    position: absolute;
    width: 0.8%;
    aspect-ratio: 1/1;
    background-color: #E20000;
    border: 1.5px solid #ffffff;
    border-radius: 100%;
    cursor: pointer;
    z-index: 5;
}
.info{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 20vh;
    min-width: 20vw;
    /* justify-content: space-between; */
    /* display: flex; */
    background-color: white;
    border: 1px solid #ccc;
    padding: 1vw;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    /* pointer-events: none; */
    z-index: 10;
    display: none;
}
.pin:hover .info{
    opacity: 1;
    display: block;
}
.info:hover{
    opacity: 1;
    display: block;
}
.info-content{
    display: flex;
    align-items: start;
    gap: 2vw;
}
.info-content img{
    width: 50%;
    aspect-ratio: 1/1;
    object-fit: contain;
  }
  .info-text{
    display: flex;
    flex-direction: column;
  }
  .info h1{
    font-family: "cy", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 2vh;
    color:var(--my-black);
    margin: 0;
  }
.info p{
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5vh;
    color:var(--my-black);
}
.google-maps-link {
    color: var(--my-blue);
    text-decoration: none;
    font-family: "Lato", sans-serif;
    font-weight: bold;
    font-size: 1.5vh;
    position: relative;
  }
  
  .google-maps-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--my-blue);
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  
  .google-maps-link:hover::after {
    transform: scaleX(1); /* Soulignement animé au survol */
  }

.pin1{
    top: 26%;
    left: 40.9%;
}
.pin2{
    top: 28.8%;
    left: 34.3%;
}
.pin3{
    top: 37%;
    left: 49%;
}
.pin4{
    top: 39.6%;
    left: 64%;
}
.pin5{
    top: 46%;
    left: 70.2%;
}
.pin6{
    top: 72%;
    left: 55%;
}


/* CHOICES */
.sec-choices{
    width: 100vw;
    height: 100vh;
    /* background-color: burlywood; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5vw;
    transform: translateY(1180vh);
    margin-top: 20vh;
    margin-bottom: 30vh ;
}

.sec-choices img{
    width: 100%;
    height: 100%;
    bottom: -15vh;
    right: -110vh;
    position: absolute;
}
.choices-arround{
    /* background-color: gray; */
    height: 24%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.sec-choices h1{
    margin: 0;
    width: 80%;
    /* background-color: blanchedalmond; */
    transform: translateY(3vh);
}
.choice-brand{
    /* background-color: yellowgreen; */
    width: 80%;
    height: 5vh;
    display: flex;
    justify-content: left;
    gap: 3vh;
}
.btn-brands{
    /* background-color: cyan; */
    width: 15%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EE9F8B;
    border-radius: 5vh;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.btn-brands p{
    color: #ffffff;
    font-size: 2vh;
}
.btn-brands-line{
    position: absolute;
    width: 0%;
    height: 100%;
    opacity: 0;
    z-index: -1;
    border-bottom: 1px solid var(--my-black);
    transition: all 0.5s;
}
.btn-active{
    background-color: var(--my-purple);
}
.btn-brands:hover .btn-brands-line{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: -1;
    border-bottom: 1px solid var(--my-purple);
}
.btn-brands:hover{
    background-color: #ee9f8b00;
    border-radius: 0vh;
}
.btn-brands:hover p{
    color: var(--my-purple);
}
.choice-texts{
    /* background-color: steelblue; */
    min-height: 10%;
    width: 80%;
    padding-bottom: 5vh;
    transform: translateY(-10vh);
    position: relative;
}
#choice-heff{
    display: flex;
}
#choice-icc{
    display: none;
}
#choice-csl{
    display: none;
}
.choice-p{
    position: absolute;
    font-size: 1.75vh;
    width: 70%;
    font-size: 2.5vh;
    line-height: 3vh;
    font-weight: 300;
}


/* FAQ */
.sec-faq{
    background-color: yellow;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(1180vh);
}

/* POPUP */
.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }
  .popup-content {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .popup-content > span {
    position: absolute;
    right: 0.5vw;
    top: 0.25vw;
    cursor: pointer;
    font-size: 2em;
    color: white;
  }
  iframe {
    width: 100%;
    height: 100%;
  }
  #openChatbot {
    background-color: rgb(55, 59, 49);
    background-image: url("img/dialogflow.png");
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    width: 3.5vw;
    aspect-ratio: 1 / 1;
    right: 2vw;
    bottom: 2vw;
    border-radius: 100%;
  }
  #chatbotPopup {
    background-color: chartreuse;
    position: absolute;
    width: 22vw;
    height: 42vh;
    top: calc(-42vh + 1.5vw);
    left: -22vw;
    overflow: hidden;
  }

/* FOOTER */
footer{
    background-color: var(--my-salmon);
    height: 14vh;
    width: 100vw;
    transform: translateY(1180vh);
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}
footer .logo-img{
    width: 16vw;
    height: 6vh;
}


/* RESPONSIVE */

@media screen and (max-width: 745px) {
    body{
        overflow-x: hidden;
    }
    .garde-index{
        width: calc(100vw - 10vh);
    }
    .garde-text h2{
        font-size: 5vw;
    }
    .garde-text h1{
        font-size: 12vw;
        line-height: 12vw;
    }
    .garde-text h1 > span{
        font-size: 12vw;
        line-height: 12vw;
    }
    .garde-text h1::after {
        font-size: 14vw;
    }
    .btn-scroll{
        width: 10vw;
    }
    #frameOne{
        transform: translateY(53vw) scale(0.6) translateX(34vw);
    }
    .test-left{
        width: 100vw;
        height: 100vh;
    }
    .test-right{
        display: none;
    }
}
