@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html, body{
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

:root {
    --bouton: #00C356;
    --hover: #5ADC3E;
    --text: #363643;
}

section{
    margin: 100px auto 0 auto !important;
    z-index: 1;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: var(--text);
}


.ball {
    position: absolute;
    border-radius: 100%;
    opacity: 0.4;
    z-index: -5;
    overflow: hidden;
}

.header{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100px;
    align-items: center;
    justify-content: space-between;
}

.navbar{
    background-color: #FBFBFB;
    position: fixed;
    top: 0;
    width: 100vw;
    opacity: 1;
    z-index: 2;
    border-bottom: 1px solid #cacaca;
}

.logo img, .devis-button{
    width:280px;
    display: flex;
    justify-content: center;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

section, .header{
    margin: 0 auto;
    width: 1650px;
}


.menu{
    display: flex;
    gap: 61px;
}

.menu a{
    text-decoration: none;
    color: #363643;
    font-size: 18px;
}

.thin{
    font-weight: 500;
}

.thinner{
    font-weight: 400;
}

.italic{
    font-style: italic;
}

.bold{
    font-weight: 700;
}

.green{
    color: var(--bouton);
}

.citation{
    font-size: 60px;
    line-height: 95%;
    letter-spacing: -0.2rem;
    margin-bottom: 15px;
}

.center{
    padding-left: 14%;
    padding-right: 14%;
    display: flex;
    flex-direction: column;
    gap: 0px;
    text-align: center;
}

h1{
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.center h1{
    margin-top: 70px;
}

h2{
    font-size: 28px;
    letter-spacing: -0.08rem;
}

.solution{
    margin-bottom: 70px;
}

button{
    font-family: "Montserrat", sans-serif;
    border: 2px solid var(--bouton);
    background-color: var(--bouton);
    padding: 15px 15px;
    color: white;
    font-size: 20px;
    font-weight: 600;
    border-radius: 54px;
    cursor: pointer;
}

.card1{
    border-radius: 34px;
    display: flex;
    height: 672px;
    background-color: #D9D9D950;
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0);
    transition: box-shadow ease-in-out 0.7s;
    position: relative;
    overflow: hidden;
    grid-area: 1 / 1 / 2 / 3; 
}

.card1:hover{
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.3);
}

.card1 h2{
    margin-left: 50px;
    margin-bottom: 50px;
    margin-top: auto;
    align-items: flex-end;
    font-size: 64px;
    letter-spacing: -0.17rem;
    width: 550px;
    line-height: 95%;
}

.video-bg__media {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 110%;
  min-height: 110%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(10px);
}

.cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-column-gap: 43px;
    grid-row-gap: 43px;
}


.card2{
    display: flex;
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.1);
    height: 221px;
    border-radius: 34px;
    background-color: white;
    grid-area: 2 / 1 / 3 / 2;
}

.card3{
    display: flex;
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.1);
    border-radius: 34px;
    height: 221px;
    background-color: white;
    grid-area: 2 / 2 / 3 / 3;
}

.white {
    color: #fff;
}

.confiance{
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.confiance button{
    margin-top: 15px;
}

.confiance h3{
    text-align: center;
    font-size: 28px;
    margin-block-start: 30px;
    margin-block-end: 15px;
}

.medium{
    font-weight: 600;
    letter-spacing: -0.1rem;
}

.infinite-loop{
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1000px;
    overflow: hidden;
    display: flex;
    max-height: 93px;
    flex: 0 0 100%;
}

.group {
    display: flex;
    gap: 50px;
    padding-right: 50px;
    will-change: transform;
    animation: scrolling 25s linear infinite;
    max-height: 80px;
}

@keyframes scrolling {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-100%);
    }
}

.infinite-loop img{
    justify-content: center;
    align-items: center;
    max-height: 80px;
}

.flex{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.pourquoi{
    margin-top: 83px;
}

.pourquoi h2{
    font-size: 54px;
    letter-spacing: -0.17rem;
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.buttons{
    display: flex;
    gap: 15px;
    align-items: center;
}

.arrow-btn img{
    max-width: 30px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none; 
    -ms-user-select: none;
    user-select: none;
}

.arrow-btn{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--bouton);
    background-color: var(--bouton);
    transition: all ease-out 0.2s;
    cursor: pointer;
}

#left-arrow:hover img{
    content: url("img/LeftArrowHover.png");
}

#right-arrow:hover img{
    content: url("img/RightArrowHover.png");
}

.arrow-btn:hover{
    border: 1px solid var(--hover);
    background-color: transparent;
}

.faq-container {
    position: relative;
    width: 100%;
    /* overflow: hidden; */
}

.faq-cards{
    display: flex;
    flex-direction: row;
    gap: 25px;
    width: fit-content;
    transition: transform 0.5s ease;
}

.semibold{
    font-weight: 600;
}


.hidden{
    max-height: 0;
    opacity: 0 !important;
}

.faq-card .default{
    margin-top: 0;
    margin-bottom: 0;
}

.faq-card .hidden {
    font-size: 48px;
    max-width: 1000px;
    width: 1000px;
}

.faq-card {
    width: 500px;
    height: 400px;
    display: flex;
    flex-direction: column;
    border-radius: 34px;
    background-color: #D9D9D9;
    margin-top: 29px;
    transition: width 0.7s,
                background-color 0.7s;
    transition-timing-function: cubic-bezier(1, 0.01, 0.01, 1);
    overflow: hidden;
    flex: 0 0 auto;
    opacity: 1;
}

.faq-card h3 {
    opacity: 1;
    margin-top: auto;
    margin-left: 14px;
    font-size: 32px;
    max-width: 350px;
    letter-spacing: -0.15rem;
    margin-block-end: 0em;
    transform: scale(1);
    transform-origin: bottom left;
    transition: margin-bottom 0.7s,
                transform 0.7s,
                opacity 0.7s;
    transition-timing-function: cubic-bezier(1, 0.01, 0.01, 1);
}

.faq-card p {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.7s cubic-bezier(1, 0.01, 0.01, 1),
                transform 0.7s cubic-bezier(1, 0.01, 0.01, 1),
                max-height 0.7s cubic-bezier(1, 0.01, 0.01, 1);
    margin-left: 14px;
    font-size: 24px;
    letter-spacing: -0.1rem;
    margin-block-start: 0;
    margin-bottom: 25px;
    width: 1200px;
    transform: scale(0.7);
    transform-origin: bottom left;
}

#faq-card1:hover .hidden, #faq-card2:hover .hidden, #faq-card3:hover .hidden, #faq-card4:hover .hidden, #faq-card5:hover .hidden {
    opacity: 1 !important;
}


#faq-card1:hover p, #faq-card2:hover p, #faq-card3:hover p, #faq-card4:hover p, #faq-card5:hover p {
    opacity: 1;
    max-height: 60px;
    transform: scale(1);
}

#faq-card1:hover, #faq-card2:hover, #faq-card3:hover, #faq-card4:hover, #faq-card5:hover {
    width: 1200px;
    background-color: #CCF3DD;
}

#faq-card1:hover h3, #faq-card2:hover h3, #faq-card3:hover h3, #faq-card4:hover h3, #faq-card5:hover h3 {
    opacity: 0;
}

.footer{
    padding-left: 127px;
    padding-top: 50px;
    margin-top: 70px;
    width: 1920px;
    border-top: solid 1px #D9D9D9;
}

.grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    margin-bottom: 20px;
}

.logo-footer img{
    width: 280px;
}

.menu-footer, .right ul{
    margin-block-start: 0em;
    margin-block-end: 0em;
    padding-inline-start: 0px;
}

.right ul{
    margin-top: 20px;
    margin-bottom: 20px;
}

.menu-footer li, .menu-footer a, .right li,.right a{
    list-style-type: none;
    text-decoration: none;
    color: var(--text);
    transition: color ease-in-out 0.3s;
}

.menu-footer a:hover, .right a:hover{
    color: var(--bouton);
}




@media (max-width: 767px){
    .navbar .menu, .navbar .devis-button {
        display: none;
    }
    
    .burger {
        display: flex;
    }

    .navbar.open .menu{
        display: flex;
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        right: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 10px;
    }
    
    .navbar.open .menu a {
        margin: 8px 0;
    }


    .center{
        padding: 0 !important;
    }

    .center h1{
        margin-top: 40px;
    }

    .citation, .pourquoi h2{
        font-size: 28px;
        letter-spacing: -0.1rem;
    }

    section, .header{
        width: 90vw;
        padding: 0 20px;
    }

    h2{
        font-size: 18px;
        letter-spacing: -0.05rem;

    }

    .logo img{
        max-width: 150px;
    }

    .cards{
        display: flex;
        flex-direction: column;
    }

    .card1{
        height: auto;
        aspect-ratio: 16/9;
    }

    .card1 h2 {
        margin-left: 20px;
        margin-bottom: 20px;
        margin-right: 20px;
        font-size: 30px;
        letter-spacing: -0.05rem;
    }
    
    .solution {
        margin-bottom: 40px;
    }

    .video-bg__media {
        height: auto;
        width: 100vw;
        aspect-ratio: 16/9;
    }

    .infinite-loop{
        max-height: 50px;
        width: 100vw;
        margin-bottom: 15px;
    }
    
    .confiance {
        overflow: hidden;
    }
    
    .infinite-loop img{
        max-height: 50px;
    }

    .confiance h3 {
        font-size: 24px;
        margin-block-start: 15px;
        margin-block-end: 15px;
    }

    .card2, .card3{
        height: auto;
    }

    .buttonDefault{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .confiance button{
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .arrow-btn{
        height: 40px;
        width: 40px;
    }

    .arrow-btn img{
        max-width: 25px;
    }

    .faq-card{
        width: 90vw;
    }

    #faq-card1:hover, #faq-card2:hover, #faq-card3:hover, #faq-card4:hover, #faq-card5:hover {
        width: 90vw;
        background-color: #CCF3DD;
    }

   .faq-card p, .faq-card .hidden{
        width: 85vw;
   }

   #faq-card1 p, #faq-card2 p, #faq-card3 p, #faq-card4 p, #faq-card5 p{
        font-size: 20px;
   }

    #faq-card1:hover p, #faq-card2:hover p, #faq-card3:hover p, #faq-card4:hover p, #faq-card5:hover p {
        opacity: 1;
        max-height: 120px;
        transform: scale(1);
    }
   
   .faq-card .hidden{
        font-size: 30px;
   }

   

}