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

body {
  user-select: none; /* Désactive la sélection de texte */
  -webkit-user-select: none; /* Pour les navigateurs basés sur WebKit */
  -moz-user-select: none; /* Pour Firefox */
  -ms-user-select: none; /* Pour Internet Explorer/Edge */
  font-size: 16px;
  font-family: 'Ruda';
  word-wrap: break-word;
  letter-spacing: 0.5px;
  word-spacing: normal;
  line-height: 25px;
}

hr {
  border-top: 1px solid rgb(200, 200, 215);
}

header{
  background-image: url(images/02/cropped-DSC02871-1-scaled-1-1536x1022.jpg);
  background-size: cover; /* L'image prend toute la place sur le div */
  background-position: center; /* Centre l'image */
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 90vh; /* Hauteur minimale */
  width: 100%; /* Prend toute la largeur */
  overflow: hidden;
  position: relative;
  z-index: -1;
}

.titre {
  color: rgb(255, 255, 255);
  padding-left: 4%;
  font-size: 50px;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.08em;
  padding-top: 75vh;
}

h2.categorie {
  padding-left: 5%;
  font-size: 26px;
  text-transform: uppercase;
}

menu{
  list-style-type: none;
  overflow: hidden;
  background-color: rgb(255, 255, 255);
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top:0;
  padding:12px;
  z-index: 1;
}

menu div{
  padding-left: 10%;
  display: flex;
  flex-wrap: wrap;
  overflow: auto;
  gap: 8px;
}

menu div li {
  float: none;
}

menu div li a {
  display: block;
  color: rgb(67, 65, 76);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

menu div li a:hover {
  color: rgb(200, 200, 215)
}

.selectionne {
  color: rgb(132, 127, 143);
}

div.intro {
  margin:5%
}

div.profil{
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1%;
}

div.profil img {
  width: 25%;
  height: auto;
}

div.profil p {
  color: white;
  text-align: justify;
  font-size: 100%;
  line-height: 1.5;
  
}

article {
  padding-left: 4%;
  padding-right: 4%;
}

h2{
  font-size: 26px;
}

.caroussel {
  position: relative;
  width: 80%;
  margin: 0 auto;
  height: 250px;
  overflow: hidden;
}

.mySlides {
  display: none;
}

.logoEntreprises {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  height: 200px;
}

.logoEntreprises img {
  width: 200px;
  height: auto;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  font-size: 24px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  z-index: 2;
}

.prev {
  left:0;
}

.next {
  right: 0;
}

.prev:hover, .next:hover {
  color: rgba(207, 199, 215, 0.8);
}

.dot {
  cursor: pointer;
  height: 5px;
  width: 5px;
  margin: 0 3px;
  background-color: rgb(207, 199, 215);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #6e6a7d;
}

.imageDefile {
  object-fit:contain;
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
}

.imageDefile img.image1 {
  background-image: url(images/02/MULTILAQUE_Photos_HD-42-1.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-width: 100%;
  min-height: 760px;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.imageDefile img.image2 {
  background-image: url(images/02/L1060165-1536x1024.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-width: 100%;
  min-height: 760px;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.imageDefile img.image3 {
  background-image: url(images/02/Le_Talent-1024x683.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-width: 100%;
  min-height: 760px;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.imageDefile img.image4 {
  background-image: url(images/02/Poetique-industrielle-scaled.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-width: 100%;
  min-height: 760px;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

@media screen and (max-width: 800px){
  .titre {
    font-size: 45px;
    padding-top: 55vh;
  }
  div.profil{
    background-color: black;
    display: block;
    justify-content: center;
    align-items: center;
  }

  div.profil img {
    width: 60%;
    height: auto;
    margin-left:20%;
  }

  div.profil p {
    font-size: 14px;
  }
}

footer {
  margin-left:10%;
}

footer div div img {
  display: block;
  float: left;
  margin: 10px;
  height: 3%;
  width: 3%;
  object-fit: cover;
  transition: 0.5s;
}

footer div div img:hover {
  filter: opacity(0.5);
}