* {
    margin: 0;
  }
  
  body {
    font-family: 'Manrope', sans-serif;
    font-size: 1em;
    background-color: #ffffff;
  }

  body, html {
    overflow-x: hidden; /* À utiliser avec précaution et comme solution temporaire */
}
  
  a {
    color: #242424;
    text-decoration: none;
  }
  
  
  h1 {
    font-size: 3.5em;
    color: #242424;
    font-family: 'Montserrat', sans-serif;
  }

  
.tabl1 {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            align-items: center;
            flex-wrap: nowrap;         
            overflow: hidden;          
            padding-bottom: 6%;
            box-sizing: border-box;
            position: relative;

        }


.tabl1 img{
  z-index: 10;
}
        
        .carre-contenu h3 {
            font-size: 1em;
            text-align: center;
            
            box-sizing: border-box;
        }
 

        /* Styles pour les textes qui apparaissent */
        .hover-text {
            position: absolute;
            top: 37%;
            opacity: 0;
            transition: opacity 0.3s ease;
            background-color: rgba(255, 204, 0, 0.1);
            padding: 4%;
            border-radius: 2%;
            text-align: center;
            max-width: 40%;
        }

        /* Texte central (image 3) */
        .hover-text-center {
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
        }

        /* Texte à droite (image 1) */
        .hover-text-right {
            right: 20%;
            transform: translateY(-50%);
            width: 40%;
        }

        /* Textes gauche et droite (image 2) */
        .hover-text-left {
            left: 5%;
            transform: translateY(-50%);
            width: 30%;
            padding: 3%;
            
        }

        .hover-text-right-small {
            right: 5%;
            transform: translateY(-50%);
            width: 30%;
            padding: 3%;
            
        }

        .hover-text.show {
            opacity: 1;
        }

        .hover-text h2 {
            color: #FFCC00;
            margin-bottom: 3%;
            font-size: 1.8em;
        }

        .hover-text h3 {
            color: #FFCC00;
            margin-bottom: 2%;
            font-size: 1.4em;
        }

        .hover-text p {
            color: #242424;
            font-size: 1.1em;
            line-height: 1.6;
        }

        /* États de survol pour chaque image */
        .tabl1.show-text-right .carre-contenu:not(.left-item) {
            opacity: 0;
        }

        .tabl1.show-text-center .carre-contenu:not(.center-item) {
            opacity: 0;
        }

        .tabl1.show-text-left .carre-contenu:not(.right-item) {
            opacity: 0;
        }
 




.centre img {
  display: flex;
  justify-content: center;
  width: 90%;
  height: 76%;
}



main2 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 80px;
}


.accueil-introduction {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  position: relative;
  width: 500px;
  height: 500px;
}



.image-wrapper {
  width: 400px;  /* base fixe */
  height: 125px;
  position: absolute;
  overflow: hidden;
  
  transform-origin: center;
  z-index: 2;
}

.image-wrapperr {
  position: absolute;
  width: 388px;
  height: 100px;
 z-index: 2;

}

.image-wrapperr.center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vh;
  height: 80vh;

  max-width: 800px;
  max-height: 800px;
  z-index: 1;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
 
}

.image-wrapperr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
 
}

#imageSuperposed {
  transition: opacity 0.5s ease-in-out;
}

#imageSuperposed.hidden {
  opacity: 0;
}

#imageSuperposed.visible {
  opacity: 1;
}

.center {
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  z-index: 0;
}
.center .image-superposed {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%; 
  height: 50%;
  transition: opacity 0.3s ease;
}

.image-superposed-hover {
  width: 20%; 
  height: 20%; 
}

.image-centre{
  position: absolute;
  z-index: -1;
}

.top-left {
  top: 1%;
  left: -80%;
}


.top-right {
  top: 1%;
  right: -80%;
}

.tr:hover {
  background: linear-gradient(#ffce1f, #ffcb10);
}


.bottom-right {
  bottom: 15%;
  right: -80%;
}

.br:hover {
  background: linear-gradient(#ffce1f, #ffcb10);
}


.bottom-left {
  bottom: 15%;
  left: -80%;
}

.bl:hover {
  background: linear-gradient(#ffce1f, #ffcb10);
}

.bottom-center {
  bottom: -24%;
  left: 50%;
  transform: translateX(-50%);
}

.bc:hover {
  background: linear-gradient(#ffce1f, #ffcb10);
}



.accueil-introduction {
  position: relative;
  width: 100%;
  height: 100%;
}

.ast{
  background-image: url('images/nightfactory.jpg');
  width: 100vw;
  object-fit: cover;
}

.ast0{
  padding-bottom: 3.5%;
  padding-top: 1%;
}

.ast h3{
  color: white;
  justify-content: center;
  text-align:justify;
  padding-left: 10%;
  padding-right: 10%;
  font-size: 1.2em;
  padding-top: 4%;
  padding-bottom: 4%;
  font-weight: lighter;
}



.accueil-valeurs h1{
  padding-top: 1%;
  padding-bottom: 2%;
  padding-left: 10%;
  font-weight:normal;
  font-size: 2em;
}

.accueil-valeurs h2{
  padding-left: 10%;
  padding-bottom: 1%;
}



.accueil-surmesure{
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #242424;
  width: 100%;
  height: auto;
  padding-top: 2.5%;
  padding-bottom: 5%;
}


.accueil-surmesure h1{
  color: #FFCC00;
  padding-bottom: 1%;
  padding-left: 10%;
  font-weight: normal;
  font-size: 2em;
}

.accueil-surmesure h2{
  color: white;
  padding-left: 10%;
  padding-bottom: 1%;
  font-size: 1.5em;
  text-align: justify;
}
.accueil-surmesure h3{
  color: white;
  padding-left: 10%;
  padding-right: 10%;
  font-weight: lighter;
  font-size: 1.2em;
  text-align: justify;
}

.fauxheader{
  padding-bottom: 0.5%;
}

.fauxheader img {
  width: 8%;
  height: 8%;
}

/* Cache par défaut la section mobile */
.mobile-accueil {
  display: none;
  padding: 2em 1em;
  background-color: #f9f9f9;
  padding-top: 30%;
}

.mobile-accueil h2 {
  text-align: center;
  color: #242424;
  margin-bottom: 2em;
  font-size: 1.8em;
}

.mobile-card {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 1.5em;
  padding: 1em;
  gap: 1em;
}

.mobile-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.mobile-card h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFCC00;
}

.mobile-card ul {
  margin-top: 0.5em;
  padding-left: 1.2em;
  font-size: 0.95em;
  color: #333;
}

/* Responsive : afficher version mobile uniquement */
@media screen and (max-width: 768px) {
  .accueil-introduction,
  .image-wrapper,
  .image-wrapperr,
  .ast,
  .accueil-valeurs,
  .accueil-surmesure,
  main2 {
    display: none !important;
  }

  .mobile-accueil {
    display: block;
  }
}

.mobile-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.mobile-card:nth-child(2) {
  animation-delay: 0.1s;
}
.mobile-card:nth-child(3) {
  animation-delay: 0.2s;
}
.mobile-card:nth-child(4) {
  animation-delay: 0.3s;
}
.mobile-card:nth-child(5) {
  animation-delay: 0.4s;
}
.mobile-card:nth-child(6) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-card:active {
  transform: scale(0.98);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/*Header*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  height: 150px;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 100;
  object-fit: contain;
  display: flex;
  align-items: center;
}

header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 55%;
  width: 45%;
  height: 1px;
  background-color: #FFCC00;
}

.cta {
  background: linear-gradient(#FFCC00, #ffd53c);
  color: rgb(0, 0, 0);
  border-radius: 30px;
  padding: 10px 20px;

  transition: background 0.3s ease;
}

a:hover {
  text-decoration: underline;
}

.logo-link img {
  height: 100px;
  width: auto;
  max-height: 100%;
  display: block;
}

.cta:hover {
  background: linear-gradient(#fddf70, #fde795);
  text-decoration: none;
}

nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

nav > div {
  display: flex;
  align-items: center;
  gap: 20px;
}


nav a {
  font-size: 1em;
  color: #242424;
  text-decoration: none;
  padding: 10px 15px;
  white-space: nowrap;
}


header img {
  width: 12%;
  height: 12%;
}

/* Responsive Header */
@media screen and (max-width: 1024px) {
  nav a:not([href="index.html"]):not(.cta) {
    display: none;
  }

  .cta {
    padding: 8px 16px;
 
  }

  nav a[href="index.html"] {

    padding: 8px 14px;
  }

  .logo-link img {
    height: 45px;
  }

  header {
    height: 65px;
  }
}

@media screen and (max-width: 768px) {
  .cta {

    padding: 6px 12px;
  }

  nav a[href="index.html"] {

    padding: 6px 12px;
  }

  .logo-link img {
    height: 40px;
  }

  header {
    height: 60px;
  }
}


/*Footer*/
footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 55%;
  width: 45%;
  height: 1px;
  background-color: #FFCC00;
}

footer {
  background-color: white;
  padding: 1% 4%;
  position: sticky;  
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

footer .B1 {
  width: 8%;
  height: 8%;
  padding-right: 6%;
}

.infooter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.infooter2 {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.B2 {
  width: 20%;
  height: auto;
}

.infooter h3 {
  color: #FFCC00;
  font-size: 1em;
  font-weight: normal;
}

.infooter h2 {
  font-weight: lighter;
  font-size: 0.9em;
}

.formulaire {
  color: #FFCC00;
}

.menfooter {
  display: flex;
  flex-direction: column;
  padding-left: 40px;
}

.lien-icone:hover {
  opacity: 0.5;
}

/* Responsive Footer - Au zoom, tout se met à la ligne */
@media screen and (max-width: 1024px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 30px;
  }
  
  footer::before {
    right: 40%;
    width: 60%;
  }
  
  .infooter {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
  }
  
  .infooter2 {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
  }
  
  footer .B1 {
    width: 60px;
    height: auto;
    padding-right: 0;
    margin-bottom: 10px;
  }
  
  .txtfoot {
    text-align: left;
    margin-bottom: 15px;
  }
  
  .menfooter {
    padding-left: 0;
    margin-top: 10px;
  }
  
  .lien-icone {
    margin-top: 15px;
    align-self: center;
  }
}

@media screen and (max-width: 768px) {
  footer {
    padding: 15px 20px;
  }
  
  .infooter h3 {
    font-size: 0.9em;
  }
  
  .infooter h2 {
    font-size: 0.8em;
  }
  
  .formulaire {
    font-size: 0.8em;
  }
  
  .B2 {
    width: 15px;
    height: auto;
  }
  
  .menfooter a {
    font-size: 0.8em;
  }
}


#cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #222;
  color: white;
  padding: 1rem;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.cookie-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-content p {
  margin: 0 0 0.5rem;
  text-align: center;
}

.cookie-content button {
  background: #00c896;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

