/* ANIMATION  *//* Conteneur général */
.swiper-container {
	width: 100%;
	max-width: 1920px;
	max-height: 840px;
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}

/* Chaque slide */
.swiper-slide {
	width: 100%;
	height: auto;
	aspect-ratio: 1920 / 840;
	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: 840px;
}

.swiper-slide img {
	width: 100%;
	height: auto;
	min-height: 50vh;
	max-height: 840px;
	object-fit: cover;
	display: block;
}

/* 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%;/*bottom:5%;right:calc(50% - 300px);*/z-index:101;}
.caption_text {line-height: 1.8em; /*background:rgba(253,189,0,0.8); border-radius:0.5em; padding:25px 25px 35px 25px;*/}
.caption_link {margin:10px 0 0 0; font-size:1.2em;}
/*
.caption {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 20px 40px;
  border-radius: 10px;
  max-width: 80%;
  text-align: center;
}

.caption_text {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.caption_link .btn_lien {
  display: inline-block;
  background: #0d5087;
  padding: 10px 20px;
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
*/
/* 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: 70px !important;
	top: 50%;
	transform: translateY(-50%);
	z-index: 11 !important;
}

/* Image pour le bouton "next" */
.swiper-button-next {
  	background: url(../img/public/slider_arrows_next.png) 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.png) 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_bleuclair) !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: 35px !important;
	}
}
@media screen and (max-width : 600px) {	
	.swiper-button-next,
	.swiper-button-prev {bottom: -15px !important; top: auto !important;}
}
@media screen and (max-width : 480px) {	
	.caption {top: 8%; width:80%;}
}
