/* ============================
   HERO - Section d'accueil
   ============================ */

#hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(600px, 1fr) 2fr;
  align-items: stretch;
  padding: 0;
}

/* Hero Image */
.hero-image {
  order: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

/* Hero Content */
.hero-content {
  order: 1;
  background: radial-gradient(circle at top left, #255C43 30%, #517E6A 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4vw 5vw;
  color: var(--white);
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
}

.hero-text p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* White buttons */
.btn-white {
  background-color: var(--white);
  color: #255c43;
  border-color: var(--white);
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: #255c43;
}

/* ============================
   RESPONSIVE - Hero
   ============================ */

@media (max-width: 768px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 0;
  }

  .hero-image {
    order: 1;
    min-height: 300px;
  }

  .hero-content {
    order: 2;
    padding: 2rem 1.5rem;
    min-height: auto;
    justify-content: flex-start;
    padding-top: 3rem;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-cta {
    gap: 1rem;
  }

  .hero-cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  #hero {
    margin-top: 0;
  }

  .hero-image {
    min-height: 250px;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    padding-top: 2rem;
  }

  .hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .hero-text p {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .hero-content {
    padding: 3vw;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }
}
