/* ANIMATION  *//* Conteneur général */
.swiper-container {
	width: 100%;
	max-width: 1920px;
	max-height: 790px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

/* Chaque slide */
.swiper-slide {
	width: 100%;
	height: auto;
	aspect-ratio: 1920 / 790;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Ajout pour gérer les hauteurs */
	min-height: 50vh;
	max-height: 790px;
}

.swiper-slide img {
	width: 100%;
	height: auto;
	min-height: 50vh;
	max-height: 790px;
	object-fit: cover;
	display: block;
}

.animation_bg {
	width: 100%;
	height: 100%;
	z-index: 99;
	background: url(../img/public/animation_bottom.png) center bottom no-repeat;   
	background-size:100%;
	position: absolute;
}

div#animation a.a_caption {display:block;width:100%;height:100%;text-decoration:none;color:inherit;}
.caption {width:100%;max-width:500px;height:auto;display:table;position:absolute;bottom:22%;right:0;z-index:101;}
.caption_text {background:rgba(207,194,119,0.8); border-top-left-radius:0.5em; border-bottom-left-radius:0.5em; padding:30px 10% 30px 30px; line-height: 1.8em;}


.caption_link {color:#FFF;font-size:0.8em;display:table;border-radius:2em; border:1px solid #FFF;text-transform:uppercase;padding:10px 60px 10px 20px;margin:15px 0 0 20px;background: #7ba5b3 url(../img/public/fleche_blanche1.png) 92% center no-repeat;transition: background 0.5s;}

.caption:hover .caption_link {color:#FFF;background:#000  url(../img/public/fleche_blanche1.png) 94% center no-repeat;-webkit-transition: background 0.5s;transition: background 0.5s;}

/* Caption superposée */
/*
div#animation a.a_caption {display:block;width:100%;height:100%;text-decoration:none;color:inherit;}

.caption {width:50%;max-width:600px;height:auto;display:table;position:absolute;top:30%; right:5%;z-index:101;}
.caption_text {line-height: 1.8em;}
.caption_text p { display: table;padding: 8px 13px 5px 13px;background: rgba(255, 255, 255, 0.9);border-radius: 0.5em; margin:0 0 15px 0;}

.caption_link {margin:10px 0 0 0; font-size:1.2em;}
*/
/* Navigation flèches */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

.swiper-button-next,
.swiper-button-prev {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 60px !important;  /* ou la taille de ton icône */
	height: 60px !important;
	top: 50%;
	transform: translateY(-50%);
	z-index: 11 !important;
	border: 3px solid #FFF;
  border-radius: 8em;
}

/* Image pour le bouton "next" */
.swiper-button-next {
  background: url(../img/public/slider_arrows_next.svg) center left no-repeat;
  background-size: 100%;
  opacity: 0.8;
	right: 10px;
	left: auto;
}

/* Image pour le bouton "prev" */
.swiper-button-prev {
	background: url(../img/public/slider_arrows_prev.svg) center left no-repeat;
	background-size: 100%;
	opacity: 0.8;
	left: 10px;
	right: auto;
}
.swiper-button-next:hover, .swiper-button-prev:hover {opacity: 1;}

/* Supprime le contenu par défaut (la flèche SVG de Swiper) */
.swiper-button-next::after,
.swiper-button-prev::after {
	display: none;
}



/* Pagination */
.swiper-pagination-bullet {
	background: #bababa !important;
	width: 30px !important;
    height: 10px !important;
	border-radius: 15px !important;
    border: 1px solid #FFF;
	opacity:0.6 !important;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: var(--cg_bleu) !important;
	opacity:1 !important;
}

/* Responsive : sur petits écrans, on adapte */
@media screen and (max-width: 1920px) {
  .swiper-container {
    width: 100%;
  }

  .swiper-slide {
    aspect-ratio: 1920 / 840;
  }

}
@media screen and (max-width : 800px) {	
	.swiper-button-next,
	.swiper-button-prev {
		width: 30px !important;  /* ou la taille de ton icône */
		height: 30px !important;
	}
}
@media screen and (max-width : 650px) {	
	.caption{width:50%;}
	.caption_text {padding:10px;}
	.caption_text p.caption_title {font-size: 0.7em;}
}
@media screen and (max-width : 600px) {	
	.swiper-button-next,
	.swiper-button-prev {bottom: -15px !important; top: auto !important;}
}
@media screen and (max-width : 480px) {	
}
