/* Desktop */
@media screen and (min-width: 1440px){
    #assurance::after{
        top: 15%;
        transform: skewY(5deg);
    }
    #offres::after {
        top: 10%;
        transform: skewY(-4deg);
    }
    #menus::after {
        top: 24%;
        transform: skewY(3deg);
    }
    footer::after {
        top: 0;
    }
    #prestation {
        padding-top: 180px;
        padding-bottom: 170px;
        margin-bottom: -125px;
        margin-top: -135px;
    }
    #accordion::after{
        transform: skewY(-2deg);
    }
}
@media screen and (min-width: 900px) and (max-width: 1440px) {
    #banniere .caption {
        margin-top: -5rem;
    }
}

/* Mobile */
@media screen and (max-width: 1024px){  
    body,html{
        overflow-x: hidden;
        font-size: 14px;
        line-height: 23px;
        padding-top: 0;
    }
    
    
    .btn-devis{
      transform: translateY(-50%) translateX(76%) scale(1.2);
    }
    .btn-devis:hover{
      transform: translateY(-50%) translateX(-5%) scale(1.2);
    }
    
    
    #nav-icon1, #nav-icon2, #nav-icon3, #nav-icon4 {
        width: 30px;
        height: 25px;
        position: relative;
        margin: 0 auto;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        -o-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        cursor: pointer;
    }
    #nav-icon1 span, #nav-icon3 span, #nav-icon4 span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: #fff;
        border-radius: 0;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }
    #nav-icon1 span:nth-child(1) {
        top: 0px;
    }
    #nav-icon1 span:nth-child(2) {
        top: 11px;
    }
    #nav-icon1 span:nth-child(3) {
        top: 22px;
    }
    #nav-icon1.open span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    #nav-icon1.open span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }
    #nav-icon1.open span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        -o-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }
    header .navbar {
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .mobile{
        display: block !important;
    }
    .desktop{
        display: none !important;
    }
    header .navbar-brand img{
        width: 192px;
    }
    header .logo2{
        margin-left: 30px;
        height: 60px;
        width: 55px;
    }
    header .navbar-toggler{
        position: absolute;
        top: 13px;
        right: 5px;
        z-index: 1000;
    }
    header{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
    }
    header .navbar-expand-xl .navbar-nav .menu-item a{
        text-align: center;
        padding: 10px 15px;
        display: block;
    }
    header .navbar-expand-xl .navbar-nav .menu-item {
        margin: 0;
        text-align: center;
    }
    header .navbar-expand-xl .navbar-nav {
        margin-bottom: 1rem;
    }
    #banniere {
        overflow: hidden;
        padding: 0;
        margin-bottom: -100px;
        margin-top: 60px;
    }
    #banniere .box-img {
        width: 130%;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
    #banniere .box-img .titre {
        font-size: 18px;
        line-height: 24px;
    }
    #banniere .box-img .titre::after {
        width: 50px;
        height: 2px;
        margin-top: 10px;
    }
    #banniere .caption {
        font-size: 24px;
        line-height: 32px;
        margin-top: 1.5rem;
    }
    .btn-custom{
        font-size: 14px;
        line-height: 19px;
    }
    #assurance {
        padding: 180px 0 70px 0;
        margin-bottom: -135px;
    }
    #assurance::after{
        top: 19%;
    }
    #assurance .box-img {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }
    h1,h2 {
        font-size: 32px;
        line-height: 43px;
    }
    #assurance .logos {
        margin-left: 0;
        margin-top: 5px;
        margin-bottom: 25px;
    }
    #assurance .btn-custom {
        margin-top: 10px;
    }
    #offres .row {
        display: flex;
        flex-direction: column-reverse;
    }
    #offres {
        padding-top: 180px;
        padding-bottom: 200px;
        padding-left: 0;
        padding-right: 0;
    }
    #offres .text {
        font-size: 32px;
        margin-bottom: 20px;
    }
    #offres .text::before {
        width: 68px;
        height: 2px;
        margin-right: 15px;
        margin-top: 0;
    }
    #offres .content {
        margin-left: 1rem;
    }
    #menus ul{
        width: 100%;
    }
    #menus{
        padding: 140px 0 50px 0;
    }
    #menus ul li a{
        font-size: 16px;
    }
    footer .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    footer .content-right ul {
        margin: 20px 0 0 0;
        flex-direction: column;
        width: 100%;
    }
    footer .content-right {
        flex-direction: column;
    }
    footer .content-right li {
        margin: 0 0 1rem 0;
    }
    footer .content-right .logo2 {
       margin-top: 1rem;
        margin-left: 0;
    }
    footer p {
        font-size: 12px;
        line-height: 17px;
    }
    #intro.model-2 {
        padding-left: 15px;
        padding-right: 15px;
    }
    #intro.model-2 .text{
        font-size: 32px;
        margin-bottom: 30px;
        margin-left: 0;
        line-height: 40px;
    }
    #accordion {
        padding-top: 200px;
        padding-bottom: 80px;
        padding-left: 15px;
        padding-right: 15px;
    }
    #accordion .accordion{
        font-size: 15px;
        line-height: 20px;
        justify-content: space-between;
        padding-right: 40px;
        margin-bottom: 25px;
    }
    #accordion .accordion > div:nth-child(2){
        width: calc(100% - 35px);
    }
    #accordion .accordion .num{
        margin-right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 15px;
    }
    #accordion .panel .content .titre{
        font-size: 18px;
    }
    #accordion .accordion .plus {
        width: 25px;
        height: 25px;
    }
    #accordion .accordion .plus::after{
        font-size: 25px;
    }
    #accordion .accordion.active .plus::after {
        width: 11px;
        height: 2px;
    }
    #intro.model-2 .text::before {
        width: 50px;
        height: 3px;
        margin-right: 10px;
        margin-top: 0;
    }
    #intro {
        padding-left: 15px;
        padding-right: 15px;
    }
    #intro .logos{
        margin-left: 0;
    }
    #intro .titre {
        font-size: 20px;
        line-height: 31px;
    }
    #services::after {
        top: 7%;
    }
    #services h2 {
        margin-left: 0;
    }
    #services .text {
        font-size: 30px;
        line-height: 35px;
        margin-bottom: 50px;
        margin-left: 0;
    }
    #services {
        padding-left: 15px;
        padding-right: 15px;
    }
    #services .liste-services li{
        font-size: 15px;
        margin: 0 10px 15px 10px;
    }
    #services .liste-services{
        margin: 0;
    }
    #prestation .liste-prestation {
        flex-wrap: wrap;
    }
    #prestation::after{
        top: 10%;
    }
    #prestation {
        padding-top: 130px;
        padding-bottom: 100px;
        padding-left: 15px;
        padding-right: 15px;
    }
    #services .text::before{
        margin-top: 0;
    }
    #intro.contact .text, #intro.contact .content {
        margin-left: 0;
    }
    #formulaire::after{
        top: 150px;
    }
    #formulaire form ,#formulaire form .step2{
        width: 100%;
        margin: 0 auto;
    }
    #formulaire{
        padding-left: 0;
        padding-right: 0;
    }
    #formulaire form .titre {
        font-size: 25px;
        margin-bottom: 25px;
    }
    #formulaire form label span,#formulaire form .form-control {
        font-size: 15px;
    }
    #formulaire form .regime .wpcf7-form-control,#formulaire form .step2 .wpcf7-form-control {
        flex-direction: column;
    }
    #formulaire form .regime span.wpcf7-list-item label{
        height: 200px;
    }
    #formulaire form .regime .wpcf7-list-item-label{
        min-height: auto;
    }
    #formulaire form .step3 [type="radio"]:checked + span::after, #formulaire form .step3 [type="radio"]:not(:checked) + span::after{
        top: 0;
    }
    #formulaire form .step3 .CGU .wpcf7-list-item-label {
        font-size: 15px;
        display: block;
    }
    #formulaire form .step3 p{
        font-size: 18px;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
    #banniere .box-img {
        width: 100%;
        position: relative;
        left: 0;
        transform: inherit;
    }
    #offres .row {
        flex-direction: row;
    }
    footer .content-right {
        flex-direction: row;
    }
    #menus {
        padding: 100px 0 80px 0;
    }
    #services .liste-services li {
        width: 45%;
        height: 128px;
        margin: 0 15px 30px 15px;
    }
    #services .liste-services li {
        width: 45%;
        height: 128px;
        margin: 0 15px 30px 15px;
    }
    #services::after {
        top: 14%;
    }
    #formulaire form .regime .wpcf7-form-control, #formulaire form .step2 .wpcf7-form-control {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    #formulaire form .step2 span.wpcf7-list-item {
        margin: 15px 10px 0 10px;
    }
}
@media screen and (min-width: 414px) and (max-width: 736px) {
    #banniere .box-img {
        width: 100%;
        position: relative;
        left: 0;
        transform: inherit;
    }
    #offres .row {
        flex-direction: row;
    }
    footer .content-right {
        flex-direction: row;
    }
    #menus {
        padding: 100px 0 80px 0;
    }
    #services .liste-services li {
        width: 44%;
        height: 128px;
        margin: 0 15px 30px 15px;
    }
    #formulaire form .regime .wpcf7-form-control, #formulaire form .step2 .wpcf7-form-control {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    #formulaire form .step2 span.wpcf7-list-item {
        margin: 15px 10px 0 10px;
    }
}
@media screen and (max-width: 667px) {
    #menus ul li:nth-child(3)::after,#menus ul li:nth-child(8)::after {
        content: none;
    }
    #formulaire form .civilite, #formulaire form .social .wpcf7-form-control {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .image-droite .row { flex-direction: column-reverse;}
}