* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


				/* BODY / MAIN pour centrer contenu */
body, html{
    margin:0;
    padding:0;
    height:100%;
	font-family: 'Arial';
	font-size: 12px;
	color: #333;
}
a {
    color: #666666;          /* gris */
    text-decoration: none;   /* pas souligné */
    cursor: pointer;         /* main */
}

a:hover {
    color:  #ff2e8b;;          /* rose au survol */
}


.titre-center{
	font-family: 'Arial';
	font-size: 80px;
	color: #333;
	text-align: center;
	margin-bottom: 5px;
	cursor: pointer;
    max-width: 800px; /* Limite la largeur des titres */
    margin: 0 auto 0; /* Centrage horizontal */


}
.body-center {
	font-family: 'Arial';
	font-size: 12px;
	color: #333;
	text-align: center;
}
.body-left {
	font-family: 'Arial';
	font-size: 12px;
	color: #333;
	text-align: left;
}
.body-right {
	font-family: 'Arial';
	font-size: 12px;
	color: #333;
	text-align: right;
}
.small {
	font-family: 'Arial';
	font-size: 8px;
	color: #333;
	text-align: left;
}
.small-center{
	font-family: 'Arial';
	font-size: 8px;
	color: #333;
	text-align: center;
}
.small-right{
	font-family: 'Arial';
	font-size: 8px;
	color: #333;
	text-align: right ;
}
.center-medium{
	font-family: 'Arial';
	font-size: 18px;
	color: #333;
	text-align: center;
    margin-top: 20px;
    
}

.mot-clesrose{
	font-family: 'Arial';
	font-size: 40px;
	color: #F29FC5;
	text-align: center;
}
.mot-clesvert{
	font-family: 'Arial';
	font-size: 40px;
	color: #78D866;
	text-align: center;
}
.mot-clesjaune{
	font-family: 'Arial';
	font-size: 40px;
	color: #F99D1C;
	text-align: center;
}

.mot-clesbleu{
	font-family: 'Arial';
	font-size: 40px;
	color: #9dd1fa;
	text-align: center;
}
.mot-clesnoir{
	font-family: 'Arial';
	font-size: 40px;
	color: #333;
	text-align: center;
}

				/*header*/
/* Style pour desktop */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-color: #9dd1fa;
    padding: 0 40px;
    z-index: 1000;
    display: flex;
    align-items: center; /* Centre verticalement */
    justify-content: space-between;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center; /* Centre verticalement */
    height: 100%; /* Prend toute la hauteur du header */
}

.logo img {
    max-height: 250px; /* Taille originale */
    width: auto;
}

.header-center p {
    font-size: 80px;
    color: white; /* Titre en blanc */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

nav {
    position: absolute;
    bottom: 20px;
    right: 40px;
}

/* Style pour mobile/Android */

/* Ajustements pour mobile/Android */
@media (max-width: 768px) {
    header {
        height: auto;
        min-height: 300px; /* Hauteur réduite pour un contenu plus resserré */
        display: block;
        text-align: center;
         padding: 5px 20px 10px; /* Padding réduit en haut (5px) et légèrement plus en bas (10px) */
        position: relative;
    }

    .logo {
        display: block;
        width: 100%;
        margin: 5px auto; /* Espace réduit en haut */
        text-align: center;
    }

    .logo img {
        max-height: 150px; /* Logo légèrement réduit pour gagner de la place */
        width: auto;
        margin: 0 auto;
    }

    .header-center {
        display: block;
        width: 100%;
        margin: 10px auto; /* Espace réduit entre logo et titre */
        text-align: center;
    }

    .header-center p {
        font-size: 32px !important; /* Titre légèrement réduit */
        color: white;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0;
    }

    nav {
        display: block;
        width: 100%;
        margin: 10px auto 0; /* Espace réduit au-dessus du menu */
        text-align: center;
        position: absolute;
        bottom: 5px; /* Positionné plus près du bas */
        left: 0;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px; /* Espace réduit entre les éléments */
        padding: 0;
        margin: 0 auto;
    }

    nav ul li a {
        font-size: 11px; /* Police légèrement réduite */
        color: white;
        text-transform: uppercase;
    }
}

/* Contenu sous header */
main{
    margin-top:100px;
    padding:40px;
}
.hero {
background-size: 600px;	 
  position: relative;
min-height: 800px;
  padding: 20px 20px;
  color: white;
  overflow: hidden; /* empêche tout débordement */
}

.hero::before {
	
  content: "";
  position: center;
  inset: 0;
  background: url("image.jpg") center/cover no-repeat;
	z-index: 10;
}



						/* flip */
.flip-container {
    perspective: 1000px;
    width: 1400px; /* Ajustez selon la taille de votre image */
    height: 1014px; /* Ajustez selon la taille de votre image */
    margin: 20px;
	position: relative; /* Assurez-vous que ce conteneur est positionné */
    z-index: 10; /* Donnez-lui un z-index élevé */
}

.flipper {
    transition: 2s;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 100%;
}

.flip-container:hover .flipper {
    transform: rotateY(180deg);
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.front {
    z-index: 2;
}

.back {
    transform: rotateY(180deg);
}







								/* Accordéons */

/* Centrer les accordéons */
.accordion-item {
    width: 100%;
    max-width: 800px; /* Largeur maximale pour éviter que le contenu ne soit trop large */
    margin: 0 auto; /* Centrage horizontal */
    text-align: center; /* Centrage du texte à l'intérieur */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    text-align: center;
    color: #333;
    font-size: 16px;
	max-width: 800px; /* Limite la largeur du contenu */
    margin: 0 auto; /* Centrage horizontal */
	margin-top: 0; /* Rapproche le contenu du titre */
    padding-top: 10px;

}

.accordion-content.active {
    max-height: 2000px;
    padding: 20px;
	padding: 0px 20px 20px; /* Réduisez le padding-top à 10px */
    margin: 0 auto; /* Centrage horizontal */
}

.accordion-content img {
    display: block;
    margin: 10px auto 0;
    max-width: 100%;/* Assure que l'image ne dépasse pas la largeur du conteneur */
    height: auto;
}
/* Centrer les vidéos et images dans les accordéons */
.accordion-content video,
.accordion-content img {
    display: block;
    margin: 0 auto; /* Centrer les vidéos et images */
    max-width: 100%; /* Assurer que les vidéos et images ne dépassent pas la largeur de leur conteneur */
}
				

  /*javascript*/
/* Style de base pour la fenêtre modale */
#fenetre {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto; /* Permet le défilement si le contenu est trop long */
}

/* Contenu de la fenêtre modale */
.contenu-fenetre {
    position: relative;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 600px; /* Largeur maximale pour les grands écrans */
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Bouton de fermeture */
.fermer-fenetre {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

/* Ajustements pour les tablettes et smartphones */
@media (max-width: 768px) {
    .contenu-fenetre {
        margin: 25% auto;
        width: 90%;
        padding: 15px;
    }
}


							/* Footer */

footer{
    width:100%;
    min-height:100px;
    background:#f29fc5;
    color:white;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    padding:40px 40px;
	position: relative; 
}
/* Colonnes */
.footer-col{
    flex:1;
    display:flex;
    align-items:center;    /* centre verticalement le texte dans la colonne */
    justify-content:center;/* centre horizontalement le texte */
    color:white;           /* texte blanc */
    font-size:14px;
    letter-spacing:1px;
    text-align:center;
}

/* Dividers blancs */
.divider{
    width:2px;             /* barre visible */
    min-width:2px;         /* empêche flex d’écraser la barre */
    background:#ffffff;    /* blanc franc */
    height:80%;            /* hauteur des dividers */
}


/* Responsive */
@media (max-width: 768px) {
    header {
        height: 100px;
    }

    .logo img {
        height: 200px;
        margin-top: -40px;
    }

    nav ul {
        gap: 10px;
    }

    nav ul li a {
        font-size: 12px;
    }

    .titre-center {
        font-size: 28px;
    }

    .footer-col {
        width: 100%;
        margin-bottom: 10px;
    }

    .divider {
        display: none;
    }
}