@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;              /* 👈 plus grand */
  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-projets {
  display: inline-block;
  margin-top: 20px;
  color: #007BFF;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bouton-projets:hover {
  color: #0056b3;
  transform: translateY(-2px);
}

.img1{
	position: absolute;
  width: 35vw; /* 50% de la largeur de la fenêtre */
  height: auto; /* conserve les proportions */
  max-width: 50%;
  text-align: justify;
}
