@charset "UTF-8";

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

html, body {
  height: 100%;
  font-family: Helvetica, Arial, sans-serif;
  background: white;
  color: blue;
}

/* === HERO (fond avec parallaxe) === */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 100%;
  height: 120%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: transform;
  z-index: 1;
}

/* === GIF flottant === */
.scroll-gif {
  position: fixed;
  top: 50%;
  right: 5%;
  width: 700px;
  height: auto;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

/* === CONTENU === */
.content {
  background: white;
  padding: 80px 0;
}

.text-block {
  width: 50%;
  padding: 40px;
  margin-left: 5%;
  text-align: justify;
}

.text-block h1 {
  margin-bottom: 20px;
  color: blue;
}

.text-block p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.bouton-projet {
	  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;     
  display: inline-block;
  margin-top: 20px;
  color: blue;
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 16px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.bouton-projet:hover {
  color: white;
  background: blue;
  transform: translateY(-2px);
}



.img1 {
  position: absolute;
  width: 35vw;
  height: auto;
  max-width: 50%;
  text-align: justify;
  z-index: 1;
}

#langBtn {
  position: fixed;      /* 👈 reste toujours visible à l’écran */
  top: 20px;            /* distance depuis le haut */
  right: 20px;          /* distance depuis la droite */
  z-index: 1000;        /* au-dessus de tout le reste */
  background: white;
  border: 1px solid blue;
  color: blue;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

#langBtn:hover {
  background: blue;
  color: white;
}
