/* ═══════════════════════════════════════════════════════════════════════════
   SECTION : Trois Étapes — "Un appel accessible, c'est aussi simple que ça"
   Figma node: 1285-1425 — v1.3.0
   ═══════════════════════════════════════════════════════════════════════════ */

.elioz-trois-etapes {
  background: var(--color-white, #ffffff);
  padding: 50px 64px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  font-family: var(--font-body, 'Lexend', sans-serif);
}

.elioz-trois-etapes .trois-etapes__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.elioz-trois-etapes .badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  background: #F9DAEA;
  border: 1px solid #ffffff;
  border-radius: 100px;
}
.elioz-trois-etapes .badge-pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #C41952;
  flex-shrink: 0;
}
.elioz-trois-etapes .badge-pill__label {
  font-size: 14px;
  font-weight: 500;
  color: #C41952;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.elioz-trois-etapes .trois-etapes__titles {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.elioz-trois-etapes .trois-etapes__h2 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.05;
  color: #1C1468;
}
.elioz-trois-etapes .trois-etapes__subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  color: #656B9F;
}

.elioz-trois-etapes .trois-etapes__steps {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: 890px;
}

.elioz-trois-etapes .trois-etapes__steps::before,
.elioz-trois-etapes .trois-etapes__steps::after {
  content: '';
  position: absolute;
  top: 38px;
  width: calc(33.33% - 122px);
  border-top: 2px dashed #C5C8E8;
  pointer-events: none;
}
.elioz-trois-etapes .trois-etapes__steps::before { left:  calc(16.67% + 16px); }
.elioz-trois-etapes .trois-etapes__steps::after  { right: calc(16.67% + 16px); }

.elioz-trois-etapes .etape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  width: 245px;
  flex: 0 0 245px;
  text-align: center;
}
.elioz-trois-etapes .etape + .etape { margin-left: 158px; }

.elioz-trois-etapes .etape__icon-wrap {
  position: relative;
  width: 77px;
  height: 77px;
  flex-shrink: 0;
}
.elioz-trois-etapes .etape__circle {
  width: 77px;
  height: 77px;
  border-radius: 50%;
  background: #EEF0FF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.elioz-trois-etapes .etape__circle svg {
  width: 32px;
  height: 32px;
}

.elioz-trois-etapes .etape__num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1000F0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  line-height: 1;
}

.elioz-trois-etapes .etape__texts {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.elioz-trois-etapes .etape__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  color: #1C1468;
}
.elioz-trois-etapes .etape__desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #656B9F;
  min-height: 40px;
}

.elioz-trois-etapes .trois-etapes__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  background: #1C1468;
  color: #ffffff;
  border-radius: 1000px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body, 'Lexend', sans-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  min-width: 406px;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.elioz-trois-etapes .trois-etapes__cta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}
.elioz-trois-etapes .trois-etapes__cta svg {
  width: 24px; height: 24px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .elioz-trois-etapes { padding: 50px 40px 80px; }
  .elioz-trois-etapes .etape { width: 200px; flex: 0 0 200px; }
  .elioz-trois-etapes .etape + .etape { margin-left: 60px; }
  .elioz-trois-etapes .trois-etapes__steps::before { left: calc(16.67% + 12px); width: calc(33.33% - 112px); }
  .elioz-trois-etapes .trois-etapes__steps::after  { right: calc(16.67% + 12px); width: calc(33.33% - 112px); }
}

@media (max-width: 768px) {
  .elioz-trois-etapes { padding: 48px 20px 64px; gap: 32px; }
  .elioz-trois-etapes .trois-etapes__h2       { font-size: 30px; }
  .elioz-trois-etapes .trois-etapes__subtitle { font-size: 17px; line-height: 28px; }

  .elioz-trois-etapes .trois-etapes__steps {
    flex-direction: column;
    align-items: center;
    max-width: 340px;
  }
  .elioz-trois-etapes .trois-etapes__steps::before,
  .elioz-trois-etapes .trois-etapes__steps::after { display: none; }

  .elioz-trois-etapes .etape {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    flex: none;
    text-align: left;
  }
  .elioz-trois-etapes .etape + .etape { margin-left: 0; }

  .elioz-trois-etapes .etape:not(:last-child) {
    position: relative;
    padding-bottom: 32px;
  }
  .elioz-trois-etapes .etape:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 38px;
    top: 77px;
    bottom: 0;
    border-left: 2px dashed #C5C8E8;
  }

  .elioz-trois-etapes .etape__icon-wrap { flex-shrink: 0; }
  .elioz-trois-etapes .etape__texts     { text-align: left; }

  .elioz-trois-etapes .trois-etapes__cta {
    min-width: 0;
    width: 100%;
    justify-content: center;
    font-size: 17px;
    padding: 16px 20px;
  }
}

@media (max-width: 480px) {
  .elioz-trois-etapes                    { padding: 40px 16px 56px; }
  .elioz-trois-etapes .trois-etapes__h2  { font-size: 25px; }
  .elioz-trois-etapes .badge-pill__label { font-size: 11px; letter-spacing: 0.03em; }
}
