/* Reset */
@font-face {
  font-family: 'ES Klarheit Kurrent';
  /* Donne un nom que tu utiliseras ensuite */
  src: url('fonts/ES\ Klarheit\ Kurrent/ESKlarheitKurrent-Bd.woff2') format('woff2'),
    url('fonts/ES\ Klarheit\ Kurrent/woff2') format('woff');
  font-weight: normal;
  font-style: normal;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
  background-color: #00b3ff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'ES Klarheit Kurrent', sans-serif;
  overflow: hidden;
  /* bloqué au départ */
  overflow-y: hidden;

}

.circle-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  cursor: pointer;
  z-index: 1000;
}

.circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid blue;
  border-radius: 50%;
  opacity: 1;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transition: opacity 0.5s ease;
}

.circle.small {
  width: 50px;
  height: 50px;
  animation-delay: 0.5s;
}

.circle.large {
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    border-width: 0px;
  }

  50% {
    opacity: 1;
    border-width: 3px;
  }

  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
    border-width: 1px;
  }
}

.hidden {
  opacity: 0 !important;
  animation: none !important;
}

.circle-container.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}


.intro {
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  transition: opacity 1s ease;
  z-index: 100;
}

.intro.hidden {
  opacity: 0;
  z-index: -2;
}

.video-arrow {
  position: absolute;
  rotate: -90deg;
  top: 60%;
  left: 52%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: #f6ca1a;
  z-index: 101;
  cursor: pointer;
  animation: bounce 1s infinite;
}

.scroll-arrow {
  position: absolute;
  bottom: -3%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: white;
  animation: bounceArrow 1.2s infinite ease-in-out;
  opacity: 0;
  pointer-events: none;
  /* Évite que ça gêne les clics */
  transition: opacity 0.5s ease-in-out;
  z-index: 9999;
  /* Très haut pour rester au-dessus */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.scroll-arrow.visible {
  opacity: 1;
  pointer-events: auto;
}

@keyframes bounceArrow {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}


@keyframes bounce {

  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

.next-step {
  position: absolute;
  top: 70%;
  left: 50%;
  padding-top: 2px;
  transform: translate(-50%, -50%);
  font-size: 2.2rem;
  font-weight: bold;
  z-index: 9999;
  transition: opacity 0.8s ease;
  background-color: #4200FF;
  color: white;
  font-family: 'ES Klarheit Kurrent', sans-serif;
  width: 400px;
  height: 70px;
  border-radius: 25px;
  border-width: 0px;
}

.next-step.visible {
  opacity: 1;
}

.image-sequence {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 50;
}

.white-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 10;
  opacity: 1;
  transition: opacity 1s ease;
  pointer-events: none;
}

.white-background.hidden {
  opacity: 0;

}


#sequence-frame {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.scene {
  position: relative;
}

.button {
  width: 5%;
  aspect-ratio: 1 / 1;
  background-color: blue;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 10;
}

.button#button01 {
  width: 10%;
  top: 58%;
  left: 52%;

}

.button#button02 {
  width: 10%;
  top: 40%;
}

.button#button03 {
  width: 10%;
  top: 52%;
  left: 72%;

}

.button#button04 {
  width: 10%;
  top: 49%;
  left: 29%;
}

.button#button05 {
  width: 9%;
  top: 32%;
  left: 39%;
}

.button#button06 {
  width: 9%;
  top: 35%;
  left: 60%;
}

.button#button07 {
  width: 9%;
  top: 35%;
  left: 72%;
}

.bulle {
  width: 25vw;
  /* largeur relative à l'écran */
  max-width: 90%;
  height: auto;
  padding: 1rem 5rem 1rem 2rem;
  background-color: white;
  border-radius: 1rem;
  position: absolute;
  left: 5%;
  top: 70%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
  border: 2px solid;
  overflow-y: auto;
  max-height: 80vh;
  pointer-events: none;
}

.bulle ul {
  list-style: circle;
  font-size: 0.8rem;
  padding-left: 0.5rem;
  padding-top: 1rem;
  line-height: 3;
  text-decoration: underline #d03159;
  /* pointer-events: none; */

}

.bulle h3 {
  font-size: 1.5rem;
  padding-left: 0.5rem;
  padding-top: 1rem;
  color: #d03159;
  /* pointer-events: none; */

}


.bulle.active {
  opacity: 0.9;
  pointer-events: auto;
}

.animated-details .details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}



.contact-section {
  position: absolute;
  top: 200%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4rem 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: white;
}

.contact-section p {
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: white;

}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;

}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  padding: 0.75rem;
  font-size: 1.1rem;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}


.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

/* Vidéo de fond */
.background-video {
  width: 100%;
  height: auto;
  object-fit: cover;
}


.map-cta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.map-cta.active {
  opacity: 1;
  pointer-events: auto;
}

.reset-container {
  position: fixed;
  top: 30px;
  left: 4%;
  transform: translateX(-50%);
  z-index: 10000;
}

.reset-button {
  padding: 5px 10px;
  font-size: 26px;
  cursor: pointer;
  border-style: none;
  background-color: #fff;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
  border-radius: 5px;
  font-weight: bold;
  color: blue;
}

.reset-button.visible {
  opacity: 1;
  pointer-events: auto;
}


.reset-anim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  /* plus haut que tout */
  pointer-events: none;
  background: transparent;
  /* ← empêche fond noir */
}

.reset-anim img {
  width: 100%;
  height: 100%;
}



/* Marquee container */
.marquee {
  position: absolute;
  top: 45%;
  left: 0;
  transform: translatey(-50%);
  width: 100%;
  height: 180%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Contenu du marquee */
.marquee-content {
  width: 200%;
  height: 100%;
  background-image: url('images/nuage-top.svg'), url(images/nuage-bottom.svg);
  background-repeat: repeat-x;
  background-size: contain;
  background-position: center top, center bottom;
  animation: scrollMarquee 300s linear infinite;
  top: 50%;
  position: absolute;
  opacity: 1;

}

/* Animation */
@keyframes scrollMarquee {
  from {
    transform: translate(-50%, -50%);
  }

  to {
    transform: translate(0, -50%);
  }
}