@charset "UTF-8";
/* CSS Document */


@font-face {
  font-family: "Switzer";
  src: url("font/Switzer-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("font/Switzer-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
body {
  margin: 0;
  overflow: hidden;
   font-family: "Switzer", sans-serif;
}


.navbar-custom {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 24px;
  display: flex;              /* OBLIGATOIRE */
  align-items: center;
  gap: 50px;                  /* 👈 espace entre clo et about */
  z-index: 100;
font-size: 18px;
}

.navbar-custom .nav-links {
  display: flex;              /* OBLIGATOIRE */
}

.navbar-custom a {
  display: inline-block;
  text-decoration:none;
  color: black;
}
.navbar-custom a:hover{
  display: inline-block;
  text-decoration:underline;
transition: 0.2s;
}


/* SCENE 3D */
.scene {
  width: 100vw;
  height: 100vh;
  perspective: 1600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CAROUSEL */
.carousel {
  position: relative;
  width: 600px;
  height: 400px;
  transform-style: preserve-3d;
}



/* CARD */
.card {
  position: absolute;
  width: 280px;
  height: 180px;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  transform-origin: center center;
  cursor: pointer;
  overflow: hidden;
border-radius: 0 !important;
background: none;
 
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  width: 90vw;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
border:none;


}

.modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.close {
  position: absolute;
  top: -35px;
  right: 0;
  font-size: 32px;
  cursor: pointer;
}
	
.card video {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 🔥 important */
  display: block;
}


  .carousel {
    transform: none;
  }
@media (max-width: 768px) {
  .scene {
    width: 100vw;
    height: 90vh;
    perspective: 2400px; /* garder assez pour voir la profondeur */
  }

  .carousel {
   width: 220px;   /* ↓ réduit la taille globale */
  height: 350px;    /* 🔥 important : plus de hauteur pour la roue verticale */
    transform-style: preserve-3d;
  }
	
	

}

.footer {
  position: absolute;   /* ou relative selon ton layout */
  bottom: 20px;
  left: 1%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 18px;
  color: black;
}
.footer a {
  text-decoration: none;
  color: black;
  transition: color 0.2s;
 
}

.footer a:hover {
  color: black;
text-decoration: underline;
}

  .about-section {
    min-height: 100vh;
	width: auto;
	 align-content: center;
    align-items: center;
    padding: 60px 15px;
  }
  .about-image img {
    max-width: 100%;
  
  }
  .about-text h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
  }

.about-image img {
  border-radius: 0 !important;
}

.scene {
  touch-action: none;
}

.card {
  will-change: transform;
}

.modal-content {
 
  padding: 0;
}

#videoFrame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.tilt-card {
  perspective: 1000px;
  display: inline-block;
}

.tilt-card img {
  width: 100%;
  transition: transform 0.1s ease;
  transform-style: preserve-3d;
  will-change: transform;
}


