.container-tableau-de-bord {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  align-self: stretch;
}

.steps {
  display: flex;
  gap: 15px;
  align-items: center;
}

.step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 45px;
  min-width: 45px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #DAD4F6;
  background: none;
  cursor: pointer;
  font-family: var(--font-heading, "Houschka Head"), sans-serif;
  color: #4D2AA3;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition: padding 0.2s, width 0.2s, background 0.2s;
}

.step-btn[aria-selected="false"] {
  width: 45px;
}

.step-btn[aria-selected="true"] {
  width: auto;
  padding: 0 20px;
  background: #DAD4F6;
}

.panel {
  display: flex;
  align-items: flex-start;
  gap: 70px;
}

.panel-content {
  display: flex;
  padding: 50px 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 0 0;
  align-self: stretch;
}

.panel-content h3 {
  font-size: 30px;
  font-weight: 600;
}

.panel-content p {
  font-size: 20px;
}

.media {
  width: 540px;
  height: 400px;
  flex-shrink: 0;
  overflow: hidden;
}

.media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cta-tutoriel {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .container-tableau-de-bord { 
    gap: 30px;
    align-items: stretch;
  }
  .steps {
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
  }
  .steps::-webkit-scrollbar {
    display: none;
  }
  .step-btn {
    height: 38px;
    min-width: 38px;
    font-size: 18px;
  } 
  .panel {
    flex-direction: column;
    gap: 20px;
  }
  .panel-content {
    padding: 0;
    gap: 12px;
  }
  .panel-content h3 {
    font-size: 22px;
  }
  .panel-content p {
    font-size: 16px;
  }
  .media {
    width: 100%;
    height: 265px;
    border-radius: 30px;
  }
  .cta-tutoriel {
    margin-top: 30px;
  }
}
