/* section-1.css */

.hero-section {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 60px 80px;
  color: white;
  background-color: transparent;
  overflow: hidden;
  box-sizing: border-box;
  gap: 20px;
  padding-top: 60px;
  margin-top: var(--header-height, 20px); /* décale toute la section sous le header */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
}

.hero-left {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-left: 60px;
}

.hero-left h1 {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

.hero-right {
  flex: 1;
  max-width: 500px;
  padding-top: 80px;
}

.hero-right p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.hero-highlight {
  display: block;
  width: 40px;
  height: 4px;
  background-color: #a78bfa;
  margin-bottom: 15px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  background-color: #a78bfa;
  color: rgb(255, 255, 255);
  font-weight: bold;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.hero-button::after {
  content: '>';
  margin-left: 10px;
  font-weight: bold;
  color: white;
}

.hero-button:hover {
  background-color: #c4b5fd;
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 10px 20px 40px;
    margin-top: 30px;
    min-height: 100vh;
  }

  .hero-left {
    justify-content: center;
    padding-bottom: 0;
    padding-left: 0;
    margin-top: -110px; /* remonte le bloc de titre beaucoup plus */
  }

  .hero-left h1 {
    font-size: 2.7rem;
    margin-bottom: 20px;
  }

  .hero-right {
    max-width: 100%;
    padding-top: 0;
  }

  .hero-button {
    margin-top: 20px;
    justify-content: center;
  }
}