@charset "utf-8";

@font-face {
font-family: 'ecriturePrimaire';
src: url('AlegreyaSansSC-Light.otf');
}
@font-face {
font-family: 'ecritureBold';
src: url('AlegreyaSans-Bold.otf');
}
@font-face {
font-family: 'Garet-Book';
src: url('Garet-Book.otf');
}

html{
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;

}
body{
	font-family: 'ecriturePrimaire';
	min-height: 100%;
	position: relative;
	font-size: 1rem;
	width: 100vw;
	max-width: 2200px;
	display: flex;
	flex-direction: column;
	align-items: center;
	/*
	background-color: #437888;*/
background-color: #17596c;
}
#container{
	font-size: 1.2rem;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #fff;
}
@media screen and (max-width: 1275px){
	#container{
		font-size: 1.1rem;
	}
}
.tailleCorps{
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0rem 1rem;
	width: 1296px;
}
@media (max-width: 1270px){
.tailleCorps {
    width: 980px;
}}
@media (max-width: 400px){
.tailleCorps {
  padding: 0rem 0.5rem;
}}
@media (max-width: 325px){
.tailleCorps {
	width: 300px;
  padding: 0rem 0rem;
}}/*
@media (max-width: 980px){
.tailleCorps {
   
    width: 700px;
}}
@media (max-width: 680px){
.tailleCorps {
    
    width: 320px;
}}*/
.tailleCorps2{
	padding: 0rem 1rem;
	max-width: 1450px;
}
.color_base{
	color: #000;
}
.margingInt{
	padding: 0.3rem;
}
.margingIntCotes{
	padding: 0rem 0.3rem;
}
.marginTop05rem{
	margin-top: 0.5rem;
}
.marginTop1rem{
	margin-top: 1rem;
}
.marginTop2rem{
	margin-top: 2rem;
}
.marginTop3rem{
	margin-top: 3rem;
}
.marginTop5rem{
	margin-top: 5rem;
}
.marginBottom05rem{
	margin-bottom: 0.5rem;
}
.marginBottom1rem{
	margin-bottom: 1rem;
}
.marginBottom2rem{
	margin-bottom: 2rem;
}
.marginBottom3rem{
	margin-bottom: 3rem;
}
.marginBottom4rem{
	margin-bottom: 4rem;
}
.paddingInt{
	padding: 0.3rem;
}
.paddingIntCotes{
	padding: 0rem 0.3rem;
}
.texteJustify{
	text-align: justify;
}
.texteCenter{
	text-align: center;
}
.texteGras{
	font-weight: bold;
}
.texteItalique{
	font-style: italic;
}
a{
	transition: .25s ease-in-out;
}
a:hover{
	transition: .25s ease-in-out;
	color: #ce0000;
}
.couleurSecondaire{
	color: #5cc9e0;
}
.couleurPrimaire{

}
.couleurTertiaire{
	color: #ff6600ff;
}

																							/*Header*/
.menu{
	display: flex;
	justify-content: center;
	width: 100%;
}
.menu ul{
	display: flex;
	color: #1c1b21;
}
.menu ul li{
	padding: 0rem 0.5rem;
	font-weight: normal;
	transition: .25s ease-in-out;
	display: flex;

}
.menu ul li a.active{
background-color: #e5e5e5;
color: #ce0000;
}
.menu ul li:hover{
	transition: .25s ease-in-out;
}
.menu ul li a{
	padding: 8px;
  color: #636363;
  border: 1px solid;
  box-shadow: 5px 5px 5px rgba(0,0,0,0.7);
  border-radius: 8px;
}

.menu ul li a:hover {
  color: #ce0000;
}
#bandeauHeader{
	/*border-width: 1px;
	border-color: #ce0000;
	border-style: solid;
	border-right-style: none;
	border-left-style: none;
	border-top-style: none;
	*/
	display: flex;
}
																							/*FIN Header*/



																							/*Index*/
#nomSite{
	font-size: 7rem;
	font-family: 'ecritureBold';
	width: 100%;
	line-height: 1;
	text-align: center;
}
@media screen and (max-width: 1030px){
	#nomSite{
		font-size: 5rem;
	}
}
@media screen and (max-width: 750px){
	#nomSite{
		font-size: 4rem;
	}
}
@media screen and (max-width: 605px){
	#nomSite{
		font-size: 2.3rem;
	}
}
#contactHeader{
	padding-right: 0.3rem;
	width: 100%;
	text-align: right;
	font-size: 1rem;
}
#phraseNomSite{
	font-size: 1.7rem;
	letter-spacing: 0.09rem;
	font-weight: bold;
	color: #e7e7e7;
	text-align: center;
	padding: 0rem 0.3rem;
}
@media screen and (max-width: 750px){
	#phraseNomSite{
		font-size: 1.2rem;
	}
}
#agencementVilles{
	display: flex;
	flex-direction: column;
	align-items: center;
}
.h2Index{
	font-size: 1.9rem;
	font-family: 'ecritureBold';
	text-decoration: underline;
	margin: 2rem 0rem 1rem 0rem;
	color: #e7e7e7;
	text-align: center;
	padding: 0rem 0.3rem;
}

#carteAccueil img{
	border-radius: 10%;
}
/*
#carteAccueil{
	width: 100%;
	height: 32rem;
	background-image: url("/images/map.jpg");
	background-repeat: no-repeat;
	background-size: contain;
	border-radius: 10%;
	margin: 0rem 2rem;
}
*/
#listeVilles{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}
@media screen and (max-width: 979px){
	#listeVilles{
	width: 798px;
	}
}
@media screen and (max-width: 795px){
	#listeVilles{
	width: 632px;
	}
}
@media screen and (max-width: 630px){
	#listeVilles{
	width: 532px;
	}
}
@media screen and (max-width: 530px){
	#listeVilles{
	width: 316px;
	}
}
.VignettesVille{
	text-align: center;
	width: 300px;
	margin: 0.5rem;
	border-style: solid;
	border-color: #fff;
	border-width: 1px;
	border-radius: 5px;
	color: #fff;
	font-weight: bold;
	letter-spacing: 0.05rem;
	font-size: 1.7rem;
}
.VignettesVille img {
  max-width: 100%;
  height: auto;
  width: 100%; /* Assure que l'image prend toute la largeur de son conteneur */
}
@media screen and (max-width: 979px){
	.VignettesVille{
	width: 250px;
	font-size: 1.5rem;
}
}
@media screen and (max-width: 795px){
	.VignettesVille{
	width: 300px;
	font-size: 1.7rem;
}
}
@media screen and (max-width: 630px){
	.VignettesVille{
	width: 250px;
	font-size: 1.5rem;
}
}
@media screen and (max-width: 530px){
	.VignettesVille{
	width: 300px;
	font-size: 1.7rem;
}
}
/*
@media screen and (max-width:400px){
	.VignettesVille{
		width: 280px;
		margin: 0.2rem;
	}
}*/
.VignettesVille:hover{
	transition: .25s ease-in-out;
	background-color: #5cc9e0;
	color: #fff;
}
#texteIndex{
	font-family: 'Garet-Book';
	text-align: justify;
	border: 1px solid white;
	padding: 0.5rem 0.5rem;
	font-size: 1.1rem;
}
@media screen and (max-width: 600px){
	#texteIndex{
		font-size: 0.8rem;
	}
}
.encadreEnumerations{
	display: flex;
	margin:1rem 0rem;
}
.pucesEnumerations{
	font-size: 3rem;
	font-weight: bold;
	width: 40px;
	margin: 0rem 0.3rem 0rem 0rem;
	padding: 0rem 0.3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	border-width: 1px;
	border-color: #fff;
	border-style: solid;
}
.puceFondBlanc{
	background-color: #e7e7e7;
	color: #17596c;
}
.agencementRegles{
	font-family: 'Garet-Book';
	border-width: 1px;
	border-color: #fff;
	border-style: solid;
	width: 100%;
	font-size: 1.2rem;
}
@media screen and (max-width:600px){
	.agencementRegles{
		font-size: 0.8rem;
	}
}
.agencementRegles p{
	display: flex;
	align-items: center;
	text-align: justify;
	padding: 0rem 0.3rem;
}
.agencementRegles h3{
	text-align: center;
	color: #17596c;
	background-color: #e7e7e7;
	margin-bottom: 0.5rem;
	letter-spacing: 0.45rem;
	font-size: 2rem;
	font-weight: bold;
	border-bottom: 1px solid #fff;
}
@media screen and (max-width:600px){
	.agencementRegles h3{
		font-size: 1.5rem;
		letter-spacing: 0.35rem;
	}
}
@media screen and (max-width:500px){
	.agencementRegles h3{
		font-size: 1.3rem;
	}
}
#listeVilles a div.VignettesVille img{
	width: 100%;
	height: 100px;
	border-bottom: 1px solid #fff;
	border-radius: 2px;
}
.agencementContactIndex{
	font-size: 1.2rem;
	border-width: 1px;
	border-color: #fff;
	border-style: solid;
	width: 100%;
	margin: 0.5rem 0rem;
	padding: 0rem 0rem 0.5rem 0rem;
	background-color: #437888;
}
@media screen and (max-width:600px){
	.agencementContactIndex{
		font-size: 0.8rem;
	}
}
.agencementContactIndex p{
	font-family: 'Garet-Book';
	display: flex;
	align-items: center;
	text-align: justify;
	justify-content: center;
	padding: 0rem 0.3rem;
}
.agencementContactIndex h3{
	color: #17596c;
	text-align: center;
	margin-bottom: 0.5rem;
	letter-spacing: 0.45rem;
	font-size: 2rem;
	font-weight: bold;
	border-bottom: 1px solid #fff;
}
@media screen and (max-width: 600px){
	.agencementContactIndex h3{
		font-size: 1.5rem;
	}
}
.tailleCorps div.agencementContactIndex p.liensContact{
	justify-content: center;
	font-size: 1.1rem;
}
@media screen and (max-width: 600px){
	.tailleCorps div.agencementContactIndex p.liensContact{
		font-size: 0.8rem;
	}
}
.traitSeparateur{
	margin: 0.5rem 4rem;
	border-bottom: 1px solid #e7e7e7;
}
																							/*FIN index*/


																							/* VILLE */
.nomVilleSurPhoto{
	font-size: 3rem;
	letter-spacing: 0.09rem;
	font-weight: bold;
	color: #e7e7e7;
}
@media screen and (max-width: 605px){
	.nomVilleSurPhoto{
		font-size: 2rem;
	}
}
@media screen and (max-width: 500px){
	.nomVilleSurPhoto{
		font-size: 1.5rem;
	}
}
.nomVilleActivite{
	/*padding: 0rem 2rem;*/
	border-top: 3px double #e7e7e7;
	border-bottom: 3px double #e7e7e7;
	display: flex;
justify-content: center;
}
.nomVilleActivite img{
	width: 90%;
	height: auto;
}
.nomVilleSurPhoto{
	text-align: center;
	width: 100%;
}
																							/*FIN VILLE*/



																							/* Ville menu*/
#menuVille{
	width: 100%;
}
#menuVille ul{
	width: 100%;
	color: #17596c;
}
#menuVille ul li{
	margin: 0.2rem 0rem;
}
.liensPrincipaux{
	background-color: #d2d3d5;
	text-align: center;
	font-size: 1.8rem;
	font-weight: bold;

}
@media screen and (max-width: 600px){
	.liensPrincipaux{
		font-size: 1.5rem;
	}
}
#menuVille ul li.liLibellesPrincipaux{
	border-width: 3px;
	border-style: solid;
	border-color: #fff;
}
#menuVille ul li.liLibellesPrincipaux a{
	display: block;
	width: 100%;
	padding: 0rem 0.3rem;
}
#menuVille ul li.liLibellesPrincipaux a:hover {
	color: #17596c;
	background-color: #e7e7e7;
}
#menuVille ul li.liLibellesPrincipaux ul{
	width: 100%;
	background-color: #17596c;
	color: #fff;
	font-size: 1.5rem;
	padding: 0rem 0.3rem;
}
/*
.sousMenu, .sousMenunu ul{
  display:none;
}
*/
.sousMenu, .sousMenu ul{
  display:none;
}
.sousMenu:not(:target) + ul{
    display: none;
    position: absolute;
    top: 0;
    padding: 0;
    z-index: 10;
}



																							/*FIN Ville menu*/



																							/* liste entreprise */
.nomActivitePageListeEntreprises{
	font-size: 3rem;
	letter-spacing: 0.09rem;
	font-weight: bold;
	color: #e7e7e7;
	padding: 0rem 2rem;
	border-top: 3px double #e7e7e7;
	border-bottom: 3px double #e7e7e7;
	margin-top: 1rem;
	text-align: center;
}
@media screen and (max-width: 700px){
.nomActivitePageListeEntreprises{
	font-size: 2rem;
}
}
@media screen and (max-width: 600px){
	.nomVillePageListeEntreprises{
		padding: 0rem 1.5rem;
	}
}
@media screen and (max-width: 400px){
	.nomVillePageListeEntreprises{
		font-size: 2rem;
	}
}
.nomVillePageListeEntreprises{
	letter-spacing: 0.09rem;
	font-size: 1.5rem;
	color: #e7e7e7;
	text-align: center;
}
.agencementVignettesPro{
	flex-wrap: wrap;
	display: flex;
	/*justify-content: flex-start;*/
	justify-content: center;
	width: 100%;
}
@media screen and (max-width: 979px){
	.agencementVignettesPro{
	width: 800px;
}
}
@media screen and (max-width: 795px){
	.agencementVignettesPro{
	width: 632px;
}
}
@media screen and (max-width: 630px){
	.agencementVignettesPro{
	width: 532px;
}
}
@media screen and (max-width: 530px){
	.agencementVignettesPro{
	width: 316px;
}
}
.cadreEntreprises{
	border-width: 1px;
	border-style: solid;
	border-color: #fff;
	text-align: center;
	width: 300px;
	font-size: 1.3rem;
	margin: 0.5rem;
}
@media screen and (max-width: 979px){
	.cadreEntreprises{
	width: 250px;
}
}
@media screen and (max-width: 795px){
	.cadreEntreprises{
	width: 300px;
}
}
@media screen and (max-width: 630px){
	.cadreEntreprises{
	width: 250px;
}
}
@media screen and (max-width: 530px){
	.cadreEntreprises{
	width: 300px;
}
}
.NomEntreprise{
	background-color: #5cc9e0;
}
.cadreEntreprises div img{
	width: 100%;
	height: 168px;
	border-radius: 10px;
	border-style: solid;
	border-color: #fff;
	border-width: 1px;
	border-radius: 5px;
	color: #fff;
}
/*pour mettre les images des entreprises de la liste en centré sur fond
.cadreEntreprises div img {
    width: 100%;
    height: 168px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
    border-style: solid;
    border-color: #fff;
    border-width: 1px;
    border-radius: 5px;
    color: #fff;
    background-color: #f5f5f5;*/
}
@media screen and (max-width: 979px){
	.cadreEntreprises div img{
	height: 150px;
}
}
@media screen and (max-width: 795px){
	.cadreEntreprises div img{
	height: 168px;
}
}
@media screen and (max-width: 630px){
	.cadreEntreprises div img{
	height: 150px;
}
}
@media screen and (max-width: 530px){
	.cadreEntreprises div img{
	height: 168px;
}
}
.infosVille{
	font-size: 1rem;
}
.cadreEntreprises div ul{
	text-align: left;
	font-size: 1.2rem;
}
.lienVert{
	background-color: #b3d236;
	color: #17596c;
}
.lienVert:hover{
	background-color: #b3d236;
}

.competencesEntreprise{
	background-color: #437888;	
}
.libelleCompetencesEntreprise{
	background-color: #d2d3d5;	
}
.puceVignettesEntrepreneurs{
	font-size: 0.8rem;
}
.descriptionMetier{
	font-family: 'Garet-Book';
	text-align: justify;
	font-size: 1rem;
}
div.descriptionMetier h2{
	font-family: 'ecriturePrimaire';
	font-size: 1.5rem;
	border-top: 1px solid #e7e7e7;
	border-bottom: 1px solid #e7e7e7;
	text-align: center;
	margin: 2rem 0rem;
}
@media screen and (max-width: 600px){
	div.descriptionMetier h2{
	font-size: 1.2rem;
}
}
.titreH2{
	margin: 0rem 1rem;
	background: linear-gradient(to right, #17596c, #5cc9e0, #17596c);
}
.descriptionMetier div ul{
	margin: 0.3rem 0rem 1rem 0rem;
}
.descriptionMetier div ul li{
	margin-left: 1rem;
	text-align: left;
}

.section{
	font-size: 1.9rem;
	font-family: 'ecritureBold';
	text-decoration: underline;
	margin: 2rem 0rem 1rem 0rem;
	color: #e7e7e7;
	text-align: center;
}
@media screen and (max-width: 500px){
	.section{
	font-size: 1.5rem;
}
}
																							/* FIN page liste entreprise */


/* === Styles pour la page présentation entreprise === */
.nomEntreprisePageEntreprise {
	font-weight: bold;
  text-align: center;
  font-size: 2.2rem;
}

.nomVillePageEntreprise {
  text-align: center;
  font-size: 1.3rem;
}

#agencementDescription {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.titreDescription {
  text-align: center;
  width: 100%;
  color: #17596c;
  background-color: #e7e7e7;
  margin-bottom: 0.5rem;
  letter-spacing: 0.45rem;
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 3px solid #fff;
  padding: 0 0.2rem;
}

.description {
  border: 3px solid #fff;
  width: 100%;
  margin-top: 3rem;
}

.description p {
  text-align: justify;
  padding: 0 0.3rem;
  font-family: 'Garet-Book';
  font-size: 1.1rem;
  margin: 1.2rem 0;
}

#agencementDescription div.description p br {
  display: block;
  margin-bottom: 1em;
}

.coordoneesDescription {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 0.3rem 0;
}

.coordoneesDescription a {
  flex: 1;
}

@media (max-width: 768px) {
  .coordoneesDescription a {
    display: block;
    margin: 10px 0;
    width: 100%;
  }
}

.coordoneesDescription a div {
  width: 100%;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #5cc9e0;
  border: 1px solid #fff;
  transition: .35s ease-in-out;
}

.coordoneesDescription div:hover {
  background-color: #b3d236;
  color: #17596c;
}

.coordoneesDescription > a:nth-child(1) {
  margin: 0 0.5rem 0 1rem;
}

.coordoneesDescription > a:nth-child(2) {
  margin: 0 1rem 0 0.5rem;
}

#btnSiteWeb {
  background-color: #5cc9e0; /* Couleur bleue pour le distinguer des autres boutons */
  color: white;
  text-decoration: none;
  padding: 5px 25px;
  border-radius: 4px;
  margin: 20px auto; /* Utiliser auto pour les marges horizontales */
  display: block; /* Changer en block au lieu de inline-block */
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: fit-content; /* Pour que la largeur s'adapte au contenu */
  max-width: 290px; /* Largeur maximale */
}

#btnSiteWeb:hover {
  background-color: #b3d236; /* Bleu plus foncé au survol */
}

.numero-visible {
  font-weight: bold;
  color: #fff; /* Couleur verte, vous pouvez changer selon votre design */
  transition: all 0.3s ease;
}

#btnAppeler div {
  transition: all 0.3s ease;
}

#photoID {
  width: 200px;
  height: 125px;
  float: right;
  border-radius: 10px;
  margin: 1.2rem 0.3rem 1rem 2rem;
  border: 1px solid #fff;
  padding: 0.3rem;
}

.agencementListe {
  width: 100%;
  display: flex;
  padding: 0.3rem;
  font-family: 'Garet-Book';
  font-size: 1.1rem;
}

.colonneListe {
  flex: 1;
  border: 1px solid #fff;
  margin: 0 0.2rem;
  padding: 0 0.3rem;
}

.colonneListe ul {
  padding: 0.3rem;
}

.colonneListe ul li {
  list-style-type: disc;
  margin-left: 0.7rem;
}

/* === Styles optimisés pour le Carousel === */
.carousel-section {
  margin: 2rem 0;
  width: 100%;
}

.carousel-container {
  max-width: 1000px;
  margin: 2rem auto;
  border-radius: 5px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding-bottom: 0;
}

.carousel-header {
  background-color: #e7e7e7;
  padding: 0.5rem;
  border-bottom: 3px solid #fff;
}

.carousel-title {
  color: #17596c;
  text-align: center;
  letter-spacing: 0.45rem;
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

/* Image principale */
.carousel-main {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0;
}

.carousel-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-color: #f5f5f5;
  margin-bottom: 0;
}

.carousel-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

/* Contrôles et miniatures - MODIFIÉS POUR AFFICHER SOUS L'IMAGE */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background-color: #f7f7f7;
  position: relative;
  z-index: 1;
  border-top: 1px solid #e0e0e0;
}

.carousel-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: rgba(43, 43, 43, 0.6);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  margin: 0 0.5rem;
}

.carousel-nav-btn:hover, 
.carousel-nav-btn:focus {
  background-color: rgba(92, 201, 224, 0.7);
  transform: scale(1.05);
  outline: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.carousel-thumbnails {
  display: flex;
  justify-content: center;
  flex: 1;
  padding: 0.5rem 0;
}

.thumbnail {
  margin: 0 0.5rem;
}

.img_miniature {
  width: 120px;
  height: 80px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  border: 3px solid #fff;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.img_miniature:hover {
  transform: translateY(-3px);
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
}

.img_miniature.selected {
  border-color: #5cc9e0;
  box-shadow: 0 0 5px rgba(92, 201, 224, 0.7);
}

.img_miniature:focus {
  outline: 2px solid #5cc9e0;
  outline-offset: 2px;
}

/* Message "pas d'images" */
.no-image-message {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  background-color: #f5f5f5;
  color: #666;
  font-size: 1.2rem;
  text-align: center;
  padding: 1rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  justify-content: center;
  align-items: center;
}

.modal.show {
  opacity: 1;
  display: flex;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#modalImage {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
}

.close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 1100;
  padding: 0;
  margin: 0;
}

.close-modal:hover,
.close-modal:focus {
  color: #5cc9e0;
  transform: scale(1.1);
  outline: none;
}

.modal-nav-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.modal-nav-btn.prev {
  left: -70px;
}

.modal-nav-btn.next {
  right: -70px;
}

.modal-nav-btn:hover,
.modal-nav-btn:focus {
  background-color: rgba(92, 201, 224, 0.7);
  transform: translateY(-50%) scale(1.1);
  outline: none;
}

.modal-counter {
  margin-top: 1rem;
  color: #fff;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  font-size: 1rem;
}

/* Media Queries */
@media screen and (max-width: 1100px) {
  .modal-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .modal-nav-btn.prev { left: -50px; }
  .modal-nav-btn.next { right: -50px; }
}

@media screen and (max-width: 900px) {
  .carousel-container {
    max-width: 95%;
  }
  
  .carousel-image-wrapper {
    height: 350px;
  }
}

@media screen and (max-width: 768px) {
  .carousel-image-wrapper {
    height: 300px;
  }
  
  .modal-nav-btn.prev { left: 10px; }
  .modal-nav-btn.next { right: 10px; }
  
  .modal-nav-btn {
    background-color: rgba(0, 0, 0, 0.5);
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }
  
  .img_miniature {
    width: 90px;
    height: 60px;
  }
}

@media screen and (max-width: 630px) {
  .carousel-title {
    font-size: 1.7rem;
    letter-spacing: 0.25rem;
  }
  
  .thumbnail {
    display: none;
  }
  
  .carousel-nav-btn {
    margin: 0 1rem;
  }
}

@media screen and (max-width: 500px) {
  .titreDescription {
    font-size: 1.5rem;
    letter-spacing: 0.25rem;
  }
  
  #photoID {
    float: none;
    margin: 1.2rem auto 1rem;
    display: block;
  }
  
  .description {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .description p {
    font-size: 1rem;
  }
  
  .agencementListe {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .carousel-image-wrapper {
    height: 250px;
  }
  
  .carousel-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  
  .close-modal {
    top: -30px;
    font-size: 2rem;
  }
  
  .agencementListe {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 400px) {
  .titreDescription, .carousel-title {
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
  }
  
  .nomEntreprisePageEntreprise {
    font-size: 1.7rem;
  }
  
  .nomVillePageEntreprise {
    font-size: 1.3rem;
  }
}

/* Accessibilité tactile améliorée */
@media (hover: none) {
  .carousel-nav-btn,
  .modal-nav-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  .carousel-main-image {
    min-height: 250px;
  }
}

/* Animation pour les transitions */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* Animation pour le chargement des images */
.img-loading {
  position: relative;
}

.img-loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid rgba(92, 201, 224, 0.3);
  border-top-color: #5cc9e0;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}



                    				      						/*menu hamburger*/
#menuToggle{
position: fixed;
top: 19px;
left: 10px;
z-index: 7;
-webkit-user-select: none;
user-select: none;
width: 100%;
}
@media screen and (min-width: 1001px){
  #menuToggle{  
  	display: none;
  }
}
#menuToggle a{
padding: 5px;
transition: .25s ease-in-out;
}
#menuToggle a:hover{
transition: .25s ease-in-out;
background-color: #cdc2c6;
}
#menuToggle input{
display: block;
width: 40px;
height: 32px;
position: absolute;
top: -7px;
left: -5px;
cursor: pointer;
opacity: 0;
z-index: 7;
-webkit-touch-callout: none;
}
#menuHamb{
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
width: 100%;
margin: -168px 0px 0px -10px;
padding-top: 125px;
padding-bottom: 1rem;
list-style-type: none;
-webkit-font-smoothing: antialiased;
/* to stop flickering of text in safari */
transform-origin: 0% 0%;
transform: translate(0, -100%);
transition: transform 0.5s;
line-height: 1.3;
font-size: 1.3rem;
background-color: #fff;
border-width: 1px;
border-color: #ce0000;
border-style: solid;
border-right-style: none;
border-left-style: none;
border-top-style: none;
}
#menuHamb a{
width: 100%;
text-align: center;
color: #636363;
}
@media screen and (max-width: 800px){
#menuHamb a{
font-size: 1.3rem;
}
}
#menuHamb a:hover{
-webkit-box-shadow:inset 0px 0px 0px 1px #ce0000;
-moz-box-shadow:inset 0px 0px 0px 1px #ce0000;
box-shadow:inset 0px 0px 0px 1px #ce0000;
background-color: #636363;
color: #e5e5e5;
}
#menuToggle input:checked ~ .ulHamburger{
transform: none;
}

/*Effet petites barres menu*/
#menuToggle span{
display: block;
width: 33px;
height: 4px;
margin-bottom: 5px;
position: relative;
background: #9d9d9d;
border-radius: 3px;
z-index: 6;
transform-origin: 4px 0px;
transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
      background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
      opacity 0.55s ease;
}
#menuToggle span:first-child
{
transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
transform-origin: 0% 100%;
}
#menuToggle input:checked ~ span
{
opacity: 1;
transform: rotate(45deg) translate(-2px, -1px);
background: #636363;
}
#menuToggle input:checked ~ span:nth-last-child(3)
{
opacity: 0;
transform: rotate(0deg) scale(0.2, 0.2);
}
#menuToggle input:checked ~ span:nth-last-child(2)
{
transform: rotate(-45deg) translate(0, -1px);
}
@media screen and (max-width: 1000px) {
.menu{
display: none;
}
}
                    				      						/*FIN menu hamburger*/

                        										  /*Footer*/
#bandeauFooter{
width: 100%;
border-width: 1px;
border-color: #fff;
border-style: solid;
border-right-style: none;
border-left-style: none;
border-bottom-style: none;
font-size: 0.8rem;
margin-top: 2rem;
padding: 0.3rem 1rem 0.3rem 1rem;
color: #fff;
}
#CGU{
	display: flex;
	justify-content: space-between;
}
@media screen and (max-width: 366px){
	#CGU{
	padding: 0.5rem 0.3rem 0.5rem 0.3rem;
	font-size: 0.9rem;
}
}
                       											   /*Fin Footer*/


                       							  			  /*formulaire contact*/

.formulaire_contact{
  font-size: 1.4rem;
  padding: 1rem 0rem 1rem 0rem;
  display: flex;
	justify-content: center;
	width: 100%;
}
@media screen and (max-width: 1200px){
	.formulaire_contact{
		justify-content: center;
	}
}
.formulaire_contact form{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.labelFormulaire{
	margin-top: 1rem;
}
@media screen and (max-width: 610px){
	.labelFormulaire{
	font-size: 1.1rem;
}
}
@media screen and (max-width: 410px){
	.labelFormulaire{
	font-size: 1rem;
}
}
.autreContact{
flex:4;
font-size: 1.3rem;
margin-bottom: 1rem;
display: flex;
flex-direction: column;
justify-content: center;
padding-left: 1rem;
text-align: center;
}
.autreContact p{
  margin-bottom: 1rem;
}
@media screen and (max-width: 500px){
  .autreContact p{
font-size: 1rem;
}
}
.inputedit{
  width: 100%;
  padding:0.5rem;
  border-width: 1px;
  border-color: #1d1d1d;
  border-style: solid;
  background-color: #c0c0c0;
  color:#0d0c0c;
}
.inputedit::placeholder{
	color: #fff;
	font-weight: bold;
}
@media screen and (max-width: 610px){
	.inputedit::placeholder{
	font-size: 1.1rem;
}
}
@media screen and (max-width: 410px){
	.inputedit::placeholder{
	font-size: 12px;
}
}

#valider{
  cursor: pointer;
  transition: .25s ease-in-out;
  color: #636363;
  margin-top: 1.5rem;
  padding:0rem 0.7rem 0rem 0.7rem;
  height: 2rem;
  font-size: 1.3rem;
  font-weight: bold;
  background-color: #c0c0c0;
}
@media screen and (max-width: 480px){
#valider{

  font-size: 1.1rem;
}}
#valider:hover{
  transition: .25s ease-in-out;
  color: #fff;;
  background-color: #636363;
}
#textareamessage{
  padding:0.5rem;
  color:#0d0c0c;
  min-height: 10rem;
}

.formulaire_contact form ul li{
  text-align: center;
}
.asterisque{
  color:#c50303;
}
.error{
  color:#ec5f66;
}
.titre_form{
		font-size: 30px;
		font-weight: bold;
}
@media screen and (max-width: 1000px){
.titre_form{
  font-size: 1.2rem;
}}
#agencementContact{
	display: flex;
	justify-content: center;
	color: #fff;
	background-color: #17596c;
	padding: 0rem 2rem;
	margin-top: 2rem;
	width: 100%;
}
@media screen and (max-width: 1000px){
	#agencementContact{
		flex-direction: column;
	}
}
@media screen and (max-width: 410px){
#agencementContact{
	padding: 0rem 0.5rem;
}
}
#coordonees{
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: space-between;
	margin-right: 0rem;
	padding-top: 0rem;
}

@media screen and (max-width: 1050px){
	#coordonees{
font-size: 16px;
}
}

@media screen and (max-width: 1200px){
	#coordonees span{
		margin:	0.5rem 0rem 0rem 0rem;
}
}
#mapOrdi{
	padding-right: 4rem;
}
@media screen and (max-width: 1420px){
#mapOrdi{
	width: 30rem;
	padding-right: 0rem;
}
}
@media screen and (max-width: 1100px){
#mapOrdi{
	width: 27rem;
}
}
#coordonees iframe{
	width: 100%;
}
@media screen and (max-width: 1000px){
#mapOrdi{
	display: none;
}
}
#agencementCoordonnees{
	display: flex;
	flex-direction: column;
	font-size: 1.5rem;
}
#mapTel{
	margin: auto;
	margin-bottom: 1rem;
	display: none;
}
@media screen and (max-width: 1000px){
#mapTel{
	margin-bottom: 1rem;
	margin-top: 2rem;
	display: block;
}
}
@media screen and (max-width: 710px){
	#mapTel iframe{
		width: 30rem;
}
}
@media screen and (max-width: 610px){
	#mapTel iframe{
		width: 25rem;
}
}
@media screen and (max-width: 510px){
	#mapTel iframe{
		width: 20rem;
}
}
@media screen and (max-width: 410px){
	#mapTel iframe{
		width: 16rem;
}
}

.texteContact{
	border-radius: 10px;
	width: 100%;
}
                          /*fin formulaire contact*/
                          /* ajout test*/

/*pour formulaire*/
.corpGlobal{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 1650px;
	/*padding: 0rem 12rem;*/
}
@media screen and (max-width: 1700px){
	.corpGlobal{
	width: 1400px;
	}
}
@media screen and (max-width: 1420px){
	.corpGlobal{
	width: 1100px;
	}
}
@media screen and (max-width: 1200px){
	.corpGlobal{
	width: 1100px;
	}
}
@media screen and (max-width: 1100px){
	.corpGlobal{
	width: 1000px;
	}
}
@media screen and (max-width: 1000px){
	.corpGlobal{
	width: 900px;
	}
}
@media screen and (max-width: 1000px){
	.corpGlobal{
	margin-top: 2rem;
	}
}
@media screen and (max-width: 920px){
	.corpGlobal{
	width: 700px;
	}
}
@media screen and (max-width: 710px){
	.corpGlobal{
	width: 600px;
	margin-top: 3rem;
	}
}
@media screen and (max-width: 610px){
	.corpGlobal{
	width: 500px;
	}
}
@media screen and (max-width: 510px){
	.corpGlobal{
	width: 400px;
	}
}
@media screen and (max-width: 410px){
	.corpGlobal{
	width: 310px;
	}
}
.villes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 15px;
}

.ville-checkbox {
    flex: 0 0 calc(33.33% - 10px);
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .ville-checkbox {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .ville-checkbox {
        flex: 0 0 100%;
    }
}


                          /*fin ajout test*/
