/* === BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  background-color: #070115;
}

/* === TOP BANNER === */
.top-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2vw;
  background-color: #070115;
  border-bottom: 1px solid #DAA520;
  height: 10vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.left-group {
  display: flex;
  align-items: center;
  gap: 1vw;
}

.logo-banner {
  height: 70%;
  width: auto;
}

/* === PAGE === */
.page {
  
  will-change: transform, opacity;
  background-image: url('imgs/videofreeze.png');
  background-color: #070115;
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  padding-top: 10vh; /* espace pour la bannière */
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: -2;
}

.intro-box {
  
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1.5vw;
  border-radius: 10px;
  width: fit-content;
  max-width: 100%;
  color: white;
}

.intro-box h1, .intro-box p {
  margin: 0; /* évite que les marges internes ne gonflent la box */
}


.bg-video {
    position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}
.bg-video.ready {
  opacity: 1;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 1s ease;
}

.section {
  height: 100dvh;
  overflow: hidden;
}

.logo {
  position: absolute;
  top: 2%;
  left: 2%;
  width: 8vw;
  height: auto;
  z-index: 1;
}

.form-box {
  position: absolute;
  bottom: 10%;
  background-color: rgba(0, 0, 0, 0.6);
  left: 5%;
  padding: 1.5vw;
  border-radius: 10px;
  color: white;
  z-index: 1;
}

.form-box h2 {
  font-size: 1.2vw;
  margin-bottom: 1vw;
  color: #DAA520;
}

.form-box input {
  padding: 0.6vw;
  font-size: 1vw;
  width: 19vw;
  border: none;
  margin-bottom: 1vw;
  border-radius: 5px;
}

.form-box button {
  padding: 0.6vw 1vw;
  font-size: 1vw;
  margin-bottom: 1vw;
  background-color: #DAA520;
  color: white;
  border: none;
  border-radius: 5px;
  margin-left: 1vw;
  cursor: pointer;
}

.scroll-indicator {
  position: absolute;
  bottom: 2%;
  left: 2%;
  font-size: 2vw;
  color: white;
  cursor: pointer;
  z-index: 1;
}

.scroll-arrow-right {
  bottom: 98%;
  right: 80%;
  font-size: 2.5vw;
  color: white;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s;
}

.scroll-arrow-right:hover {
  transform: translateY(5px);
}

.fp-watermark {
  display: none !important;
}

.intro-text {
  position: absolute;
  top: 20%;
  left: 5%;
  right: 30%;
  max-width: 90%;
  z-index: 10;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.intro-text h1 {
  font-size: 2.8vw;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1vw;
}

.intro-text p {
  font-size: 1.6vw;
  font-weight: 400;
}

.arrow-scroll {
  position: absolute;
  bottom: 2%;
  right: 5%;
  width: 4%;
  height: auto;
  transform: rotate(90deg);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s;
  filter: hue-rotate(45deg) brightness(1.5);
}

.arrow-scroll:hover {
  transform: rotate(90deg) translateX(5px);
}

.contact-btn {
  font-size: 1vw;
  text-decoration: none;
  color: white;
  margin-right:2%;
  background: transparent;
  border: 2px solid #DAA520;
  padding: 0.6vh 1.2vw;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: #DAA520;
  color: #070115;
}

.linkedin-btn img {
  height: 28px;
  width: auto;
  margin-left: 1vw;
  transition: transform 0.2s ease;
}

.linkedin-btn img:hover {
  transform: scale(1.1);
}

.contact-box {
  position: absolute;
  top: 10vh;
  left: 0;
  width: 50%;
  height: 90vh;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 2vw;
  overflow-y: auto;
  border-top-right-radius: 10px;
  border-bottom-right-radiu	s: 10px;
  z-index: 10;
}

.contact-box {
  color: white;
}

.contact-box h2,
.contact-box h3 {
  color: #DAA520;
  margin-bottom: 1vh; /* espace sous le titre */
  margin-top: 2vh;     /* espace au-dessus pour les titres suivants */
}

.contact-box p {
  font-size: 1vw;
  line-height: 1.6;
  margin-bottom: 1.5vh; /* espace entre les paragraphes */
}



/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .top-banner {
    flex-direction: row;
    justify-content: space-between;
    padding: 2vh 5vw;
  }

  .logo-banner {
    height: 40px;
  }

  .form-box, .intro-text, .contact-box {
    left: 5%;
    width: 90%;
    padding: 4vw;
  }

  .form-box h2,
  .form-box input,
  .form-box button,
  .intro-text h1,
  .intro-text p {
    font-size: 4vw;
  }

  .arrow-scroll {
    width: 10vw;
  }

  .contact-box {
    width: 100%;
    top: 10vh;
    height: auto;
    border-radius: 0;
  }
  
  
}


.dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 5;
  animation: revealOverlay 1.8s ease-out forwards;
  pointer-events: none;
}

@keyframes revealOverlay {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

