
/***** banner *****/
.banner               { position: relative; z-index: 1; padding: 190px 0 0; display: grid; grid-template-columns: repeat(2, 202px) repeat(2, 1fr) repeat(2, 246px); grid-template-rows: repeat(4, 1fr); grid-column-gap: 40px; margin-bottom: 100px;  }
.banner .photo1       { grid-area: 1 / 1 / 3 / 3; }
.banner .texte        { grid-area: 1 / 3 / 3 / 7; }
.banner .photo2       { grid-area: 3 / 1 / 5 / 4; position: relative; top: 30px; left: 150px; }
.banner .photo3       { grid-area: 2 / 5 / 5 / 7; transform: scale(1); transform-origin: top right; align-self: flex-end; justify-self: flex-end; }
.banner img           { border-radius: 5px; display: block; object-fit: cover;}

@media (max-width: 1700px) {
.banner .photo2       { left: 70px; }
}
@media (max-width: 1550px) {
.banner .home_titre_main { font-size: 45px; line-height: 55px; }
.banner                  { grid-column-gap: 20px; margin-bottom: -120px; padding-top: 200px;}
.banner .photo1          { transform: scale(0.8); transform-origin: left; position: relative; top: -40px;}
.banner .photo2          { transform: scale(0.8); transform-origin: top left; top: -50px;}
.banner .photo3          { transform: scale(0.7); transform-origin: top right; }
}


@media (max-width: 1300px) {
.banner .home_titre_main { font-size: 36px; line-height: 46px; margin-bottom: 5px; }
.banner                  { grid-column-gap: 0px; grid-template-columns: repeat(2, 180px) repeat(2, 1fr) repeat(2, 246px); padding-top: 170px;  }
.banner .texte           { margin-left: 0; }
.banner .photo2          { transform: scale(0.7); left: 20px; }
.banner .photo3          { transform: scale(0.6); }
.banner .photo1          { transform: scale(0.8); }
}


@media (max-width: 1000px) {

.banner                  { grid-template-columns: repeat(2,  minmax(0, 1fr)); grid-template-rows: auto auto auto; grid-column-gap: 20px; grid-row-gap: 20px; padding-top: 150px; margin-bottom: 50px;}
.banner .home_titre_main { font-size: 40px; line-height: 40px; }
.banner img              { width: 100%; height:auto; object-fit: cover;}
.banner .texte           { grid-area: 1 / 1 / 2 / 3; margin-left: 0;}
.banner .photo1          { grid-area: 2 / 2 / 3 / 3; align-self: flex-start; position: relative; top: 0; left: 0; transform: scale(1); align-self: flex-end; }
.banner .photo2          { grid-area: 2 / 1 / 3 / 2; align-self: flex-start; position: relative; top: 0; left: 0; transform: scale(1); }
.banner .photo3          { grid-area: 3 / 2 / 4 / 3; align-self: flex-start; position: relative; top: 0;  transform: scale(1); width: 120%; }
}

@media (max-width: 700px) {
.banner                      { padding-top: 100px; margin-bottom: 40px;}
.banner .home_titre_main     { font: var(--home-titre-main-mobile); }
}
@media (max-width: 400px) {
.banner                      { grid-column-gap: 10px; grid-row-gap: 10px; padding-top: 90px; }
.banner img                  { min-height: 120px; }
}


/* Waves services */
.wave_top { 
    position: absolute;
    top: -240px;
    width: 100vw;
  z-index: -1;
}

.wave_bottom {
  position: absolute;
  bottom: -300px;
  width: 100vw;
  z-index: -1;
}

/* Services */
.services_wrapper                { margin-bottom: 80px;  position: relative; top:0; }
.services_content                { width: 100vw; position: relative; background: var(--dark-color); color: var(--white); margin: 0 0 80px 0; }
.services_content .sous_titre    { color: var(--white);}
.services_content .texte_grid     { margin: 80px auto; }

@media (max-width: 700px) {
.services_wrapper                { top: -20px; margin-bottom: 40px; }
.services_content .texte_grid    { margin: 40px auto; }
.services_content                { margin: 0 0 40px 0; }
}


/*slider*/

.service_slide                      { margin: 80px auto; position: relative; }
.service_slide .swiper-slide        { position: relative; overflow: hidden; width: 100%; /*transition: all .4s ease-in-out;*/ }

/* contenu des cartes images */
.service_slide .swiper-slide .image { position: relative; background: rgba(70,196,188,0.0); border-radius: 5px; transition: all .3s ease-in-out; font-size: 0; line-height: 0;}
.service_slide .swiper-slide img    { position: relative; width: 100%; height: 100%; object-fit: cover; transition: all .3s ease-in-out; overflow: hidden; border-radius: 5px; filter: brightness(0.6); z-index: -1;}


/* Service slide inner texte */
.service_slide .swiper-slide .texte                { position: absolute; left: 0; bottom: 0; padding: 0 20px 20px 30px; width: 95%; color: var(--dark-color); transform: translateY(calc(100% - 45px)); transition: all .3s ease-in-out;}
.service_slide .swiper-slide .texte.long          { transform: translateY(calc(100% - 70px));}
.service_slide .swiper-slide .texte:before         { position: absolute; left: 0; bottom: 0; height: 100%; width: 150%; transition: all .4s ease-in-out; content: "";}
.service_slide .swiper-slide .texte *              { position: relative;}

.service_slide .texte .mini_titre                  { display: block; font: 700 20px / 26px "Lora", serif; color: var(--white);  transition: all ease-in-out .3s; z-index: 20; text-transform: none; margin-bottom: 5px; /*bottom: 30px; padding-right: 30px;*/ } 
.service_slide .swiper-slide p                     { margin: 10px 0 0 0; visibility: hidden; opacity: 0; transition: all .3s ease-in-out;}
.service_slide .swiper-slide p a                   { color: var(--dark-color); border-bottom: 1px solid var(--dark-color); position: relative; z-index: 20;}

.service_slide .swiper-slide a.arrow_visit         { opacity: 0; width: 100%; height: 100%; position: absolute; bottom: 0; right: 0; transition: all .3s ease-in-out;}
.service_slide .swiper-slide a.arrow_visit:after   { width: 41px; height: 41px; background: url('../images/arrow_visit.svg') center no-repeat; position: absolute; top: 20px; right: 20px; content: "";}


/* boutons slider */
.slide-btn                                 { position: absolute; width: 90vw; top: 50%; left:50%; transform: translate(-50%, -50%); z-index: 2;}
.slide-btn .swiper-button-next,
.slide-btn .swiper-button-prev            { background-color: #fff; width: 50px;height: 50px;border-radius: 50px;display: inline-block;vertical-align: middle; box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px; transition: opacity .3s ease-in-out; }
.slide-btn .swiper-button-next:after      { content:""; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); background: url('../images/slide_btn_next.svg') 18px 50% no-repeat; width:100%; height: 100%;  }
.slide-btn .swiper-button-prev:after      { content:""; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); background: url('../images/slide_btn_prev.svg') 15px 50% no-repeat; width:100%; height: 100%; }
.slide-btn .swiper-button-disabled        { opacity: 0.3;}



@media (min-width:1201px) {
.service_slide .swiper-slide:hover img                               { filter: brightness(0.5);}
.service_slide .swiper-slide:hover .image                            { background: rgba(70,196,188,0.78);}
.service_slide .swiper-slide:hover .texte                            { transform: translateY(0);}
.service_slide .swiper-slide:hover .mini_titre                       { color: var(--dark-color);}
.service_slide .swiper-slide:hover .texte:before                     { height: 100%;}
.service_slide .swiper-slide:hover p                                 { visibility: visible; opacity: 1;}
.service_slide .swiper-slide:hover a.arrow_visit                     { opacity: 1; }
}

@media (max-width: 1100px) {
.service_slide .texte .mini_titre.long   { bottom: 20px; } 
}
@media (max-width:1000px) {
.service_slide .swiper-slide .texte { padding: 0 0 20px 20px; transform: translateY(calc(100% - 40px)); }
.service_slide .texte .mini_titre   { font-size: 16px; }

.swiper-scrollbar-drag              { background: var(--light-color); height: 2px; border-radius: 5px;}
.scrollbar                          { background-color: #004A47; margin: 30px auto 0 auto; width: 100%;}
.slide-btn                          { display: none;}
.service_slide                      { margin-top: 30px;}
}


@media (max-width:700px) {
.service_slide                                     { margin: 20px auto 40px auto; }
.scrollbar                                         { margin-top: 15px;}
}



/* Aménagements équestres */

.services_content .service_exclusif                                     { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 250px 1fr; grid-column-gap: 50px; grid-row-gap: 0px; margin: 80px auto; }
.services_content .service_exclusif img                                 { border-radius: 5px; object-fit: cover; }

.services_content .service_exclusif .service_exclusif_titre             { grid-area: 1 / 2 / 2 / 4; position: absolute; top: 60px; left: -80px; max-width: 450px; align-self: flex-end; }
.services_content .service_exclusif .service_exclusif_titre .mini_titre { color: var(--main-color); margin-bottom: 5px; }
.services_content .service_exclusif .photo1                             { grid-area: 1 / 3 / 2 / 5; position: absolute; right: -60px; }
.services_content .service_exclusif .photo2                             { grid-area: 2 / 1 / 3 / 3; justify-self: flex-start; }
.services_content .service_exclusif .service_exclusif_texte             { grid-area: 2 / 3 / 3 / 5; position: absolute; left: -250px; }
.services_content .service_exclusif .service_exclusif_texte .link       { margin-top: 15px; }


@media (max-width: 1400px) {
.services_content .service_exclusif                                     { grid-column-gap: 40px; }
.services_content .service_exclusif .photo1                             { grid-area: 1 / 3 / 2 / 5; position: absolute; right: 0px; }
.services_content .service_exclusif .service_exclusif_titre             { grid-area: 1 / 1 / 2 / 3; position: absolute; left: 0; max-width: 450px; align-self: flex-end; }
.services_content .service_exclusif .photo2                             { grid-area: 2 / 1 / 3 / 2; }
.services_content .service_exclusif .service_exclusif_texte             { grid-area: 2 / 2 / 3 / 5; left: 0; }
}

@media (max-width: 1050px) {
.services_content .service_exclusif                                     { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto auto; grid-column-gap: 0px; grid-row-gap: 0px; margin: 40px 0; }
.services_content .service_exclusif .photo1                             { display: none; }
.services_content .service_exclusif .service_exclusif_titre             { grid-area: 1 / 1 / 2 / 2; align-self: flex-end; position: relative; top: 0; left: 0; }
.services_content .service_exclusif .service_exclusif_texte             { grid-area: 2 / 1 / 3 / 2; position: relative; top: 0; left: 0;}
.services_content .service_exclusif .photo2                             { grid-area: 3 / 1 / 4 / 2; margin-top: 30px;}
.services_content .service_exclusif img                                 { width: 100%; height: auto; }
}


/* atouts et about */

.atouts             { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; position: static; margin: 80px auto; }
.atouts .texte      { display: block; background: #fff; color: #000; border-radius: 5px; padding: 65px; }
.atouts .sous_titre { color: #000; }
.atouts .link       { margin-top: 15px; }

.bloc_liste         { position: relative; display: block; display: flex; align-items: center; flex-direction: column; background-color: var(--main-color); border-radius: 10px; justify-content: center; font-size: 26px; color: #fff; }
.bloc_liste img     { position: absolute; top: -20%; right: -10%; }


@media (max-width: 1200px) {
.atouts                   { gap: 40px; }
.bloc_liste               { font-size: 20px; width: 90%; }
.bloc_liste .ul_list li   { padding: 15px 0 7px 33px; }
.bloc_liste img           { width: 110px; height: auto; top: -10%; }
}
@media (max-width: 1000px) {
.atouts                   { grid-template-columns: 1fr; gap: 20px; position: relative; z-index: 2; }
.atouts .texte            { padding: 30px; }
.bloc_liste               { width: 100%; font-size: 18px; padding: 30px 0;}
.bloc_liste img           { width: 80px; top: 84%; right: 10%; }
}
@media (max-width: 700px) {
.atouts                   { margin: 40px auto; }
.atouts .texte            { padding: 20px; }
.bloc_liste               { width: 100%; font-size: 16px; padding: 20px 0; }
}

/* Réalisations */

.real_grid                                  { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin: 80px auto; }
.real_grid .texte .link                     { margin-top: 15px; }
.real_grid .swiper                          { max-width: 430px; width: 100%;  height: auto; }
.real_grid .swiper-slide                    { display: flex;align-items: center;justify-content: center;border-radius: 5px;font-size: 22px;font-weight: bold;color: #fff; }
.real_grid .swiper .real_slide_pagination   { position: relative; left: 90%; top: 10px;  width: 100% !important; display: flex; align-items: center;  }
.real_grid .swiper .real_slide_pagination .swiper-pagination-bullet-active { background-color: var(--main-color);  width: 10px; height: 10px; }
@media (max-width: 1000px) {
.real_grid                                  { grid-template-columns: 100%; gap: 30px; justify-content: center;}
}

@media (max-width: 700px) {
.real_grid                                  { margin: 40px 0;}
.real_grid .realisations                    { width: 80%; margin: 0 auto;}
.real_grid .swiper                          { height: 400px; }
}