.ha-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #ffffff;
  overflow: hidden;
  margin-top: 0 !important;
  margin-block-start: 0 !important;
  padding: 170px 0 160px;
}

.ha-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ha-hero__gradient-orb {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(56, 84, 255, 0.12) 0%, rgba(144, 36, 245, 0.06) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ha-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(56, 84, 255, 0.04) 1px, transparent 1px); background-size: 24px 24px;
  pointer-events: none;
}

.ha-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.ha-hero__content {
  flex: 1;
  max-width: 650px;
}

.ha-label {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3854ff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.ha-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text, #3D3D3D);
  margin: 0 0 1.5rem;
}

.ha-hero__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text, #3D3D3D);
  margin: 0 0 1rem;
  max-width: 580px;
}

.ha-hero__accent {
  font-family: 'Raleway', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #3854ff;
  margin: 0 0 2rem;
}

.ha-hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ha-btn {
  padding: 12px 32px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.ha-btn--primary {
  background: linear-gradient(135deg, #3854ff 0%, #9024f5 100%);
  color: #ffffff;
  border: 1px solid transparent;
}

.ha-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 84, 255, 0.3);
}

.ha-btn--outline {
  background: transparent;
  color: var(--color-primary, #3854ff);
  border: 1px solid rgba(56, 84, 255, 0.3);
}

.ha-btn--outline:hover {
  border-color: var(--color-primary, #3854ff);
  background: var(--color-gray-100, #f8f8f8);
}

.ha-hero__visual {
  flex: 0 0 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ha-hero__svg {
  width: 100%;
  height: auto;
  max-width: 400px;
  opacity: 0.85;
}

/* Animations d'entrée */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ha-hero .ha-label {
  animation: fadeInUp 0.6s ease forwards;
}

.ha-hero__title {
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.ha-hero__subtitle {
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.ha-hero__accent {
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.ha-hero__buttons {
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.ha-hero__visual {
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .ha-hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .ha-hero__content {
    max-width: 100%;
  }

  .ha-hero__subtitle {
    max-width: 100%;
  }

  .ha-hero__buttons {
    justify-content: center;
  }

  .ha-hero__visual {
    flex: 0 0 auto;
  }

  .ha-hero__svg {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .ha-hero {
    min-height: auto;
    padding: 50px 0 100px;
  }

  .ha-hero__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ha-hero__visual {
    display: none;
  }
}

/* Pages internes : supprimer le plein écran + réduire padding */
body:not(.home) .ha-hero {
  min-height: 50vh !important;
  padding-top: 120px !important;
  align-items: flex-start !important;
}
