.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-font-color);
  overflow: hidden;
  background: url("/assets/tourbe-installee-1-bdd00687.webp") no-repeat center center;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}
  
.hero h1 {
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px var(--shadow-color);
  transition: transform 0.3s ease;
}

.hero h2 {
  margin-bottom: 0;
}

.hero .overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--light-font-color);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero .overlay h1,
.hero .overlay h2 {
  text-shadow: 2px 2px 4px var(--shadow-color);
}

.cta-header {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.phone-contact {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  color: var(--light-font-color);
  text-align: center;
  text-shadow: 2px 2px 4px var(--shadow-color);
}

.phone-contact p {
  margin: 0;
  font-weight: bold;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--light-font-color);
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .hero {
    height: 80vh;
  }
}

@media (max-width: 768px) {
  /* Vos règles responsive ici */
}

@media (max-width: 490px) {
  .hero .overlay {
    align-items: flex-start;
    text-align: left;
    padding: 32px 16px;
    width: 100vw;
  }

  .hero .overlay .underline-center {
    margin: 10px 0 30px;
  }

  .phone-contact {
    text-align: left;
  }
}
