@charset "utf-8";
/* CSS Document */

#accueil{
	width:100%;
	float:left;
}
#logo{
	width: 100%;
	height:auto;
    max-width: 336px;
	margin: 232px auto 0;
    display: table;  
}
@media screen and (max-width: 880px){
	#logo {
		max-width: 240px;
		margin: 160px auto 0;
	}
}
@media screen and (max-width: 580px){
	#logo {
		max-width: 204px;
		margin: 160px auto 0;
	}
}

#logo source,
#logo img{
	display: block;
    width: 100%;
    height: auto;
}
#accueil{
	float: left;
}

#cnt-acc{
	width:100%;
	max-width:668px;
	margin:107px auto 0;
}
#evenements-acc {
    width: 100%;
    float: left;
    position: relative;
    text-align: center;
    border-left: 2px solid #FFF;
    border-right: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    margin-top: 45px;
    box-sizing: border-box;
    padding: 0 15px;
}
#border-eve-gch{
	position: absolute;
	border-top:2px solid;
	left:0;
	top:0;
	width:15%;
}
#border-eve-drt{
	position: absolute;
	border-top:2px solid;
	right:0;
	top:0;
	width:15%;
}
@media screen and (max-width: 680px){
	#border-eve-gch,
	#border-eve-drt{
		width:5%;
	}
}
#eve1, #eve2, #eve3{
	margin-top:10px;
}
#eve1{
    margin-top: -25px;
    width: 70%;
    margin-left: 15%;
}
@media screen and (max-width: 680px){
	#eve1{
		width: 90%;
		margin-left: 5%;
	}
}
#eve2{
	font-size:29px;
	font-family: 'robotothin';
}
#co{
	 transform-origin:center center;
	 animation: co-rotation 4s ease-in-out infinite;
}

@keyframes co-rotation{
    /* portion active : de 0% à X% -> faire 1 tour */
    /* X = spin / (spin + pause) * 100 */
    0%{
      transform: rotate(0deg);
    }
    /* fin de la rotation */
   25%{ /* exemple pour spin 2s + pause 1s => 2/(2+1)=66.666% */
      transform: rotate(180deg);
    }
    /* pause : rester immobile jusqu'à 100% */
    100%{
      transform: rotate(180deg);
    }
  }
#liste-evenements-acc{
	float: left;
	width:100%;
}
#services{
	float:left;
	width:100%;
	margin-top:90px;
	display:table;
    text-align: center;
}
#services img{
	max-width:200px;
	display:inline-table;
}
@media screen and (max-width: 680px){
	#services img{
		max-width:150px;
	}
}
@media screen and (max-width: 580px){
	#services img{
		max-width:120px;
	}
}
@media screen and (max-width: 480px){
	#services img{
		max-width:80px;
	}
}
#services img:nth-child(2){
	margin-left:7%;
}
#services img:nth-child(3){
	margin-left:7%;
}

#btn-eve{
	bottom:-22px;
	position:relative;
}
#equipe{
	text-align: center;
	display: table;
}
.equipier{
	margin-top:40px;
	display:inline-grid;
	max-width:275px;
	width:33.33%;
}
.equipier:nth-child(n+2){
	margin-left:45px;
}
@media screen and (max-width: 580px){
	.equipier:nth-child(n+2){
	margin-left:0;
	}
}
@media screen and (max-width: 580px){
	.equipier{
		width:100%;
	}
}
.img-eqp{
	width:100%;
	max-width:227px;
	background: #FFF;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
}
.img-eqp img{
	width:100%;
	height: auto;
	float: left;
	display: block;
}
.nom-eqp{
	width:100%;
	margin-top:30px;
	font-family: 'robotoblack';
	float: left;
	text-transform: uppercase;
	letter-spacing:4px;
	font-size:20px;
}
.dsc-eqp{
	width:100%;
	margin-top:28px;
	font-family: 'robotothin';
	float: left;
	font-size:16px;
	line-height: 26px;
}
#evenements{
	text-align: center;
	display: table;
}
#cnt-evenements{
	width: 100%;
	overflow-x: hidden;
}
#img-evenements{
	float: left;
	height: 725px;
	text-align: center;
	width:100%;
	overflow-x: hidden;
	display: flex;
	justify-content: center;
	gap: 20px;
	overflow: hidden; /* pour éviter que les images débordent pendant l'animation */
}
@media screen and (max-width: 1080px){
	#img-evenements{
		height: auto;
	}
}


#img-evenements img{
	width:100%;
	max-width:345px;
	position: relative;
	top:40px;
	background-color:#FFF;
	display: inline-table;
	opacity: 0;
	transform: translateY(60px);
	transition: opacity 1s ease-out, transform 1s ease-out;
}



#img-evenements img:nth-child(2){
	top:90px;
}
@media screen and (max-width: 1080px){
	#img-evenements img{
		height: auto;
		top:0;
		position: inherit;
		width:32%;
	}
	#img-evenements img:nth-child(2),
	#img-evenements img:nth-child(3){
		top:inherit;
		margin:0;
	}
	#img-evenements img,
	#img-evenements img:nth-child(2),
	#img-evenements img:nth-child(3){
		top:inherit;
		margin-top:35px;
	}
}

/* Départs spécifiques selon la colonne */



#img-evenements .img-1 {
  transform: translate(-60px, 60px);
}
#img-evenements .img-2 {
  transform: translateY(60px);
}
#img-evenements .img-3 {
  transform: translate(60px, 60px);
}


/* Quand le conteneur devient visible */
#img-evenements.visible .img-1,
#img-evenements.visible .img-2,
#img-evenements.visible .img-3 {
  opacity: 1;
  transform: translate(0, 0);
}
@media screen and (max-width: 880px){
	#img-evenements .img-1,
	#img-evenements .img-2,
	#img-evenements .img-3 {
		  opacity: 1;
		  transform: translate(0, 0);
	}
}

@media screen and (max-width: 680px){
/* (Optionnel) décalage progressif pour un effet plus fluide */
#img-evenements.visible .img-1 { transition-delay: 0.1s; }
#img-evenements.visible .img-2 { transition-delay: 0.25s; }
#img-evenements.visible .img-3 { transition-delay: 0.4s; }
}

#liste-evenements{
	float:left;
	width:100%;
	text-align: center;
}
.evenement{
	float:left;
	width:100%;
}
.nom-evenement{
	width:100%;
	font-size:14px;
	margin-top:10px;
	font-family: 'robotothin';
	text-transform: uppercase;
	letter-spacing: 5px;
}
.description-evenement{
	margin-top:10px;
	font-size:14px;
	line-height: 28px;
	font-family: 'robotothin';
	letter-spacing: 1px;
}
.date-evenement{
	width:100%;
	font-size:17px;
	margin-top:15px;
	font-family: 'robotoblack';
	text-transform: uppercase;
	letter-spacing: 5px;
}

#contact{
	text-align: center;
}
#tel-ctt{
	font-family: 'robotoblack';
	font-size:15px;
	letter-spacing: 4px;
	text-align:center;
	display:inline-table;
	text-transform: uppercase;
	max-width: 230px;
	margin-left: auto;
	margin-right: auto;
}