body {
  font-family: Arial, sans-serif;
  background: #F8F9F4;
  min-height: 100vh;
}

.hero {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 5%;
  gap: 0;
}

/* Partie image à gauche */
.hero .image {
  position: relative;
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 400px;
  background: #eaeaea;
}

.hero .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
}

/* Titre écrit sur l’image */
.hero .image h1 {
  white-space: nowrap; /* Force le texte sur une seule ligne */
  position: absolute;
  top: 50%; /* Centré verticalement */
  left: 50%;
  transform: translate(-50%, -120%);
  color: #fff;
  font-size: 2.8rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  background: transparent;
  padding: 12px 32px;
  border-radius: 12px;
  letter-spacing: 2px;
}

/* Partie texte à droite */
.hero .texte {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 32px;
  background: #fff;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.hero .texte h2 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 20px;
  font-weight: 600;
}

/* P + image côte à côte */
.hero .content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.hero .texte p {
  margin-top: 40px; /* Espace sous le h2 */
}
.hero .content p {
  flex: 2;
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.7;
  text-align: left;
}

.hero .content .side-image {
  flex: 1;
  margin-top: 40px;
  max-width: 250px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 20px 2%;
    min-height: initial;
  }
  .hero .image,
  .hero .texte {
    border-radius: 20px;
    min-height: 220px;
    padding: 20px;
  }
  .hero .image h1 {
    font-size: 2rem;
    padding: 8px 16px;
  }
  .hero .texte h2 {
    font-size: 1.4rem;
  }
  .hero .content {
    flex-direction: column;
  }
  .hero .content .side-image {
    max-width: 100%;
  }
}
