/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: black;
  font-family: 'Segoe UI', sans-serif;
  position: relative;
}

/* VIDÉO CENTRÉE & RESPONSIVE */
.bgVideo {
  height: 100vh;
  width: auto;
  /*transform: scaleX(1.4);  zoom horizontal (20% de chaque côté = ~1.4x) */
  object-fit: cover;
}

/* OVERLAY EN HAUT PAR DESSUS */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.overlay2 {
  position: absolute;
	margin-top:6em;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 20;
}

.overlay2 h1{
 color : orange;
	text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.9);
	animation: fadeIn 1.5s ease forwards;
  animation-delay: 1.5s;
}


/* CONTENU INTRO */
.intro {
  background-color: rgba(0, 0, 0, 0.0);
  padding: 2rem 3rem;
  border-radius: 1rem;
  color: white;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 2s;
  pointer-events: auto;
  z-index: 20;
}


.intro2 {
  background-color: rgba(0, 0, 0, 0.0);
  padding: 2rem 3rem;
  border-radius: 1rem;
  color: white;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
  animation-delay: 1.5s;
  pointer-events: auto;
  z-index: 20;
}


.intro h1 {
  font-size: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


.video-cropper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
}



.cta-button {
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background-color: orange;
  color: black;
  font-weight: bold;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: darkorange;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .intro h1 {
    font-size: 1.5rem;
  }
	
	
	.intro2 h1 {
    font-size: 1.6rem;
  }
	.bgVideo {
  height: 100vh;
  width: auto;
  /*transform: scaleX(1.4);  zoom horizontal (20% de chaque côté = ~1.4x) */
  object-fit: scale-down;
}
	
	
	
}
