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

#image-overlay,
.image-overlay-line,
.image-overlay-text {
  display: none !important;
}

.wrapper {
  position: relative;
  width: 100%;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.content {
  position: relative;
  width: 100%;
  z-index: 2;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.content .section {
  width: 100%;
  height: 100vh;
}

.content .section.hero {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-text {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: bold;
  letter-spacing: 0.2em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  text-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  gap: 0.2em;
  align-items: center;
  justify-content: center;
}

.hero-text-part {
  display: inline-block;
}

/* Mobile: retour à la ligne et texte plus grand */
@media (max-width: 768px) {
  .hero-text {
    flex-direction: column;
    white-space: normal;
    font-size: clamp(2rem, 10vw, 5rem);
    gap: 0.1em;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
  }
  
  .hero-text-part {
    display: block;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}

/* Petits mobiles */
@media (max-width: 480px) {
  .hero-text {
    font-size: clamp(1.5rem, 8vw, 4rem);
    padding: 0 15px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 380px) {
  .hero-text {
    font-size: clamp(1.2rem, 7vw, 3.5rem);
    padding: 0 12px;
  }
}

.image-container {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  perspective: 500px;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
