.header .slider{
    position: relative;
}


.header .slider li > div{
    position: absolute;
    top: 15vw;
    left: 5vw;
    /* transform: translate(-50%, -50%); */
    width: 30%;
}


section.intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 5vw 10vw;
    background-color: black;
    position: relative;
}



section.intro  .splide__slide img {
    vertical-align: bottom;
    height: 100%;
    width: 100%;
    object-fit: cover;
}


section.intro .colonne_01{
    width: 50%;
    padding-right: 5vw;
    position: relative;
}

section.intro .colonne_02{
    width: 50%;
    padding-left: 5vw;
    position: relative;
}

section.intro  .splide__pagination {
    bottom: -30px;
    padding-right: 5vw;
} 

section.accessoire {
    display: flex; 
    flex-wrap: wrap;
    position: relative;
    background-color: var(--color3);    
}

section.accessoire .image {
    width: 50%;
    padding-right: 5vw;
    /* position: absolute; */
}


section.accessoire .galerie {
    /* display: none; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
}

section.accessoire .contenu {
    width: 50%;
    padding-left: 5vw;
}

section.accessoire .galerie img{
    aspect-ratio: 1/1;
    object-fit: cover;
}

section.accessoire .galerie > img:nth-child(1){
    grid-column: 2 / 3;
}


section.accessoire .carrousel_logo {
    position: relative;
    margin-top: 5vw;
    display: none;
}

section.accessoire .image img{
    width: 100%;
    object-fit: cover;
    /* height: 75vw; */
    height: 100%;
}

section.accessoire .contenu {
    width: 50%;
    padding-left: 5vw;
    padding-top: 25vw;
    padding-right: 10vw;
    padding-bottom: 10vw;
}
 
section.accessoire .splide__slide{
    text-align: center;
}

section.accessoire .splide__arrow--prev {
    left: -25px;
}


section.accessoire .splide__arrow--next {
    right: -25px;
}

.banniere > img {
    position: absolute;
    height: 55vh;
    width: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);    
}

.carte_vehicule .contenu h4{
    margin-bottom: 0;
}

.banniere{
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    position: relative;
    height: 55vh;    
}

.banniere > div {
    padding: 0 5vw;
}



section.services {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    background-color: var(--color3);    
}

section.services .image {
    width: 50%;
    padding-right: 5vw;
    /* position: absolute; */
}


section.services .galerie {
    /* display: none; */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
}

section.services .contenu {
    width: 50%;
    padding-left: 5vw;
}

section.services .galerie img{
    aspect-ratio: 1/1;
    object-fit: cover;
}

section.services .galerie > img:nth-child(1){
    grid-column: 2 / 3;
}

section.services .image img{
    width: 100%;
    object-fit: cover;
    max-height: 75vw;
    height: 100%;
}

section.services .contenu {
    width: 50%;
    padding-left: 5vw;
    padding-top: 25vw;
    padding-right: 10vw;
    padding-bottom: 10vw;
}


.faq h2{
    margin: 0;
}

.answer{
    display: none;
}

h2.question a{
    color: var(--color1);  
}

div.faq{
    border-top: 1px solid var(--color3);
    padding: 25px;
}

section.faq > div:last-of-type{
    border-bottom: 1px solid var(--color3);
}

section.faq{
    padding: 5vw 10vw;
}

h2.question a::after {
    content: "+";
    transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); 
    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); 
    height: max-content; 
}

h2.question a.open::after{
    transform: rotate(45deg);
       
}

div.faq > h2 > a {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

div.faq > h2{
    display: flex;
    font-size: 25px;
}

section.faq > h2{
    padding-bottom: 5vw;
}

section.contact{
    background-color: black;
    display: flex;
    flex-wrap: wrap;    
    padding: 5vw;    
    position: relative;
}

section.contact .contenu {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    padding: 0 5vw;
    justify-content: space-between;  
    position: relative;  
}

section.contact .contenu .contenu_contact{
    width: 100%;
}

section.contact .contenu .coord {
    width: 45%;
}

section.contact .contenu .heures  {
    width: 45%;
}

.contact .formulaire{
    width: 50%;
    padding: 0 5vw;    
    position: relative;
}

div.coord p{
    margin: 0;
}

.boite_heures > h4{
    padding-bottom: 5px;
    cursor: pointer;
    margin: 5px 0 5px 0;
    border-top: 1px solid white;
    padding-top: 5px;
    display: flex;
    justify-content: space-between;    
    font-size: 24px;
}

.boite_heures > h4::after{
    content: "+";
}

 div.heures > div:last-child{
    border-bottom: 1px solid white;
 }

  div.heures > div:first-child > h4{
    border: none!important;
 }

 div.coord h4{
    padding-bottom: 10px;
    font-size: 24px;
    margin: 5px 0 5px 0;
    border-bottom: 1px solid white;
    padding-top: 10px;
 }

div.info_heures{
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

div.info_heures.open{
    max-height: 300px;
}


.info_heures h4,
.info_heures p{
    margin:0;
}

#gform_submit_button_1{
    font-family: var(--main-font);
    background-color: var(--color1);
    color: white;
    padding: 20px 40px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    font-size: 90%;
    border-radius: 0;
    margin-bottom: 15px;
}
.gform_wrapper textarea,
.gform_wrapper input{
    padding: 25px!important;
}

.coord a{
    color: white;
}

.contact .social img{
    filter: invert(1);
    max-width: 15px;    
}

.boite_social{
    display: flex;
    gap: 5%;
    margin-top: 30px;

}

section.accessoires_cpt{
    background-color: #0d0d0d;
    padding: 5vw 10vw;
    text-align: center;
    color: white;
    position: relative;
}

.img_pneu_bg{
    position: absolute;
    top: 0;
    left: 0;
    right: 0b; 
    right: 0;
    bottom: 0;
    height: 100%;
    width: 199%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.1); 
}

.tabs_accessoires .splide__arrow{
    top: 32%;
}

section.accessoires_cpt h2{
    color: white;
    margin: 0 0 3vw 0;
    position: relative;
}

.tabs_nav{
    display: none;
    /*display: grid;*/
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 0 3vw 0;
    padding: 0 0 15px 0;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    align-items: end;
}

.tabs_nav .tab_item{
    padding: 0 20px 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    position: relative;
}
/*
.tabs_nav .tab_item.active{
    color: var(--color1);
} 
*/


.tabs_nav .tab_item.active::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background-color: var(--color1);
}

.tabs_nav_select_wrap{
    display: none;
}

#vehicules{
    display: none;
}

@media (max-width: 1400px){
    .tabs_nav{
        display: none;
    }



    .tabs_nav_select{
        width: 100%;
        margin: 0;
        padding: 15px 40px 15px 20px;
        background-color: transparent;
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.4);
        font-weight: bold;
        font-family: inherit;
        font-size: 100%;
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
    }

    .tabs_nav_select option{
        color: black;
    }

    .tabs_nav_select_wrap::after{
        content: "";
        position: absolute;
        top: 50%;
        right: 18px;
        width: 8px;
        height: 8px;
        border-right: 2px solid white;
        border-bottom: 2px solid white;
        transform: translateY(-70%) rotate(45deg);
        pointer-events: none;
    }
}

.tabs_nav .tab_item::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background-color: white
}


.tab_panel{
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tab_panel.active{
    display: block;
}

.tab_panel.active.fade-in{
    opacity: 1;
}

.slider_accessoires{
    position: relative;
    padding: 0 3vw;
}

.carte_accessoire{
    text-align: left;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.carte_accessoire .excerpt{
    flex-grow: 1;
}

.carte_accessoire .b1{
    align-self: flex-start;
    margin-top: auto;
}

.carte_accessoire img{
    width: 100%;

    object-fit: cover;
}

.carte_accessoire h3{
    color: white;
    margin: 20px 0 10px 0;
    font-size: 24px;
}

.carte_accessoire .excerpt p{
    color: white;


}

.slider_accessoires .splide__arrow{
    background: transparent;
    opacity: 1;
}

.slider_accessoires .splide__arrow svg{
    fill: white;
    width: 1.3em;
    height: 1.3em;
}

.slider_accessoires .splide__arrow--prev{
    left: 0;
}

.slider_accessoires .splide__arrow--next{
    right: 0;
}

section.vehicules{
    background-color: white;
    padding: 5vw 10vw;
    text-align: center;
}

section.vehicules h2{
    margin: 0 0 3vw 0;
}

.slider_vehicules{
    position: relative;
    padding: 0 3vw;
}

.carte_vehicule{
    text-align: left;
    background-color: var(--color1);
    color: white;
}

.carte_vehicule img{
    width: 100%;

    object-fit: cover;
    display: block;
    background-color: #e5e5e5;
    padding: 15px;
}

.carte_vehicule .contenu{
    padding: 15px;
}

.carte_vehicule .contenu p{
    margin: 0 0 10px 0;
}

.carte_vehicule .b1{
transition: all 500ms cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */

transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750); /* linear */
    border: 1px solid white;

}

.carte_vehicule .b1:hover{
    background-color: white;
    color: black;
}

.slider_vehicules .splide__arrow{
    background: transparent;
    opacity: 1;
}

.slider_vehicules .splide__arrow svg{
    fill: var(--color1);
    width: 1.3em;
    height: 1.3em;
}

.slider_vehicules .splide__arrow--prev{
    left: -25px;
}

.slider_vehicules .splide__arrow--next {
    right: -25px;
}

@media screen and (max-width:1300px){
    section.services .image img{
        max-height: 100%;
    }

   section.accessoires_cpt {
        padding: 5vw;
    }
}

@media screen and (min-width:1025px){
    .slide_mobile{
        display: none;
    }
}

@media screen and (max-width:1024px){
    .slide_desktop{
        display: none;
    }


    .header .slider li > div {
        position: relative;
        top: 0;
        left: 0;
        /* transform: translate(-50%, -50%); */
        width: 75%;
        padding: 5vw;
    }
    
    section.faq {
        padding: 5vw 5vw;
    }

    section.intro .colonne_01{
        width: 100%;
        padding-right: 0;
    }

    section.intro .colonne_02{
        width: 100%;
        padding-left: 0;
        padding-top: 10vw;        
    }    
    section.services .image,
    section.accessoire .image {
        width: 100%;
        padding-right: 0;

        height: 100vh;
    }    

    section.services .galerie,
    section.accessoire .galerie {
        /* display: none; */
        position: relative;
        grid-template-columns: 1fr 1fr 1fr 1fr;        
    }    

    section.services .galerie > img:nth-child(1),
    section.accessoire .galerie > img:nth-child(1) {
        grid-column: auto;
               
    }

    section.services .contenu,
    section.accessoire .contenu {
        width: 100%;  
        padding-top: 5vw;

    }

    section.contact .contenu{
        width: 100%;
        padding: 0;
    }

    .contact .formulaire{
        width: 100%;
        padding: 10vw 0 0 0;
    }
}

@media screen and (max-width:640px){
    section.services .galerie, section.accessoire .galerie {
        /* display: none; */
        position: relative;
        grid-template-columns: 1fr 1fr;
    }
}