
/* Police globale pour tout le site */
body {
  font-family: "DejaVu Sans", Arial, Helvetica, sans-serif;
  color: #333;                    /* couleur texte par défaut */
}

p {
  font-size: 1.1rem; /* 18px;  ou 1.125rem, 1.2rem, selon ton goût */
}

h2 {
  margin: 0px;
}

/* Menu */
header {
  position: sticky;  /* pour être au-dessus du hero */
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.3); /* noir à 50% de transparence */
  z-index: 100;
  margin-top: -49px; /* = hauteur du hero */
  padding: 	0px 0;
}

.menu {
  background: rgba(0, 0, 0, 0);  /* semi-transparent pour lisibilité */
}

.menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 120px;
  margin: 0;
  padding: 10px 0;
}

.menu a {
  text-decoration: none;
  color: white;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.6),
    0 0 12px rgba(0,0,0,0.4);
  font-weight: bold;
  font-size: 1.2em;
  transition: color 0.3s;
}


.menu a:hover {
  color: #ffd700;
}



/* Bannière / Hero */
.hero {
	position: relative;
	width: 100%;
	height: 270px;  /* Ajuste la hauteur selon ton besoin */ 
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	text-align: center;
}

/* Surcharge pour page */
.hero-index {
  background-image: url('../img/banniere.page.une.jpg');
}

/* Surcharge pour page 2 */
.hero-atelier {
  background-image: url('../img/banniere.page.deux.jpg');
}

/* Surcharge pour page 3 */
.hero-vision {
  background-image: url('../img/banniere.page.trois.jpg');
}

.hero-text {
  text-shadow:
    0 1px 2px rgba(0,0,0,0.6),
    0 0 12px rgba(0,0,0,0.4);
}

/* Texte des paragraphes en dessous */
.content {
	/* outline: 2px solid #140404; */
	max-width: 1200px;
	margin: 50px auto;
	padding: 0 0px;
}


.bloc-50 {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  padding: 40px;
  /* outline: 2px solid green; */
}


.bloc-100 {
  display: flex;
  align-items: flex-start;
  gap: 100px;
  padding: 30px;
  /* outline: 2px solid green; */
}


.bloc-texte {
  flex: 1;
  line-height: 1.85;
  text-align: justify;
  /* outline: 2px solid red;  */
}


.bloc-image {
    /* min-height: 00px; */
    display: flex;
    align-items: center; /* centrage vertical */
    /* outline: 2px solid blue;   */
}


/* .bloc-2 .bloc-image {
  margin-top: 50px;
} */

.bloc-photo {
  margin-top: 70px;
}

.slideshow-container {
/*  outline: 2px solid green;  */
  position: relative;      /* référence pour flèches et dots */
  width: 500px;      /*  largeur du slider */
  height: auto;
  margin: auto;
  overflow: hidden;        /* masque les slides non visibles */
}

.slideshow-container img {
  margin: 0;
  max-width: 100%;
  display: block;
 object-fit: cover;   /*  couvre le container sans déformer l'image */
}

.mySlides {
  display: none;           /* tous masqués par défaut */
}

.mySlides.active {
    display: block;
}

.mySlides img,
.mySlides video {
  display: block;
  width: 100%;
}


/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 140px;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 25px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  text-shadow: 0px 0px 8px rgba(0,0,0,0.6); /* ombrage léger */
  user-select: none;
/*  outline: 2px solid red; */
}

/* Position the "next button" to the right */
.next {
  right: 0px;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Légende */
.caption {
  color: black;
  font-size: 15px;
  padding: 10px 0px;
/*  position: absolute; */
  top: 0px;
  width: 100%;
  text-align: center;
  line-height: 1.65;
    min-height: 50px; /* ajuste selon ton besoin */
/*  outline: 3px solid green;  */
}

.longcaption {
  text-align: justify;
}

/* Signature */
.signature {
  color: black;
  font-size: 15px;
  padding: 12px 0px;
/*  position: absolute; */
  top: 0px;
  width: 100%;
  text-align: center;
  line-height: 1.85;
/*  outline: 3px solid green; */
}



#dots-slider1, #dots-slider2, #dots-slider3, #dots-slider4, #dots-slider5, #dots-slider6 {
  position: absolute;
/*  top: 310px; */
  top: 10px;
  width: 100%;
  text-align: center;
/*  outline: 2px solid blue; */
}


.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0px 8px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.5)
}
/*  transition: background-color 0.6s ease; */


.dot.active, .dot:hover {
  background-color: #ffd700; /* doré pour bien ressortir */
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 0.1s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}



.vision-text {
  max-width: 850px;
  margin: 0 auto;
  text-align: justify;
  padding: 5px;
}

.vision-text p {
  margin-bottom: 25px;
}


.contact-block {
  max-width: 600px;
  margin: 60px auto 80px;
  text-align: center;
}

.contact-block form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-block input,
.contact-block textarea {
  padding: 10px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.contact-block button {
  padding: 10px;
  background: #333;
  color: white;
  border: none;
  cursor: pointer;
}

.contact-block button:hover {
  background: #555;
}



.contact-email {
  margin-top: 30px;
  line-height: 1.8;
}



.content.filigrane {
  position: relative;
}

.content.filigrane::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url('../img/filigrane.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  /* background-size: contain; */
  background-size: 80%;

  opacity: 0.08; /* très léger */
  pointer-events: none;
  z-index: 0;
}

.content.filigrane > * {
  position: relative;
  z-index: 1;
}