.ha-etapes {
  --color-primary: #3854ff;
  --color-purple: #9024f5;
  --color-dark: #333333;
  --color-white: #ffffff;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Raleway', sans-serif;

  background: #ffffff;
  padding: 80px 40px;
}

.ha-etapes__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.ha-etapes__header {
  text-align: center;
  margin-bottom: 60px;
}

.ha-etapes__titre {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text, #3D3D3D);
  margin: 0 0 20px 0;
}

.ha-etapes__sous-titre {
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  color: var(--color-text, #3D3D3D);
  margin: 0;
}

.ha-etapes__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.ha-etapes__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-purple) 100%);
  transform: translateX(-50%);
}

.ha-etapes__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.ha-etapes__step--right {
  grid-template-columns: 1fr 1fr;
}

.ha-etapes__step--right .ha-etapes__number-wrapper {
  order: 2;
}

.ha-etapes__step--right .ha-etapes__content {
  order: 1;
}

.ha-etapes__number-wrapper {
  display: flex;
  justify-content: center;
}

.ha-etapes__number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
  border-radius: 50%;
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 2;
  position: relative;
}

.ha-etapes__content {
  padding: 30px 40px;
  background: #ffffff;
  border: 1px solid var(--color-gray-200, #E5E5E5);
  border-radius: 16px;
}

.ha-etapes__step--left .ha-etapes__content {
  text-align: right;
}

.ha-etapes__step--right .ha-etapes__content {
  text-align: left;
}

.ha-etapes__step-titre {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text, #3D3D3D);
  margin: 0 0 15px 0;
}

.ha-etapes__step-description {
  font-family: var(--font-secondary);
  font-size: 0.95rem;
  color: var(--color-text, #3D3D3D);
  margin: 0;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 1024px) {
  .ha-etapes__step {
    grid-template-columns: 1fr;
  }

  .ha-etapes__step--right {
    grid-template-columns: 1fr;
  }

  .ha-etapes__step--right .ha-etapes__number-wrapper {
    order: 1;
  }

  .ha-etapes__step--right .ha-etapes__content {
    order: 2;
  }

  .ha-etapes__number-wrapper {
    justify-content: flex-start;
    padding-left: 20px;
  }

  .ha-etapes__line {
    left: 24px;
    width: 2px;
  }

  .ha-etapes__content {
    padding: 25px 30px;
    margin-left: 120px;
  }

  .ha-etapes__step--left .ha-etapes__content,
  .ha-etapes__step--right .ha-etapes__content {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .ha-etapes {
    padding: 60px 20px;
  }

  .ha-etapes__titre {
    font-size: 2rem;
  }

  .ha-etapes__timeline {
    gap: 40px;
  }

  .ha-etapes__number {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .ha-etapes__content {
    margin-left: 80px;
  }
}
