.tuto_container {
  height: 100vh;
  width: 100vw;
  background-color: var(--colorv7);
}

.tuto__partie-haute {
  margin-top: 0.5rem;
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.tuto__partie-haute h2 {
  margin-top: 1rem;
  color: var(--colorv3);
}

.tuto__partie-haute h3 {
  margin-top: 1rem;
}

.tuto__partie-basse {
  height: 75%;
  width: 90%;
  margin: auto;
  background-color: var(--colorv7);
}

.tuto__card-container {
  background-color: rgba(255, 255, 255, 0.9);
  height: 90%;
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  padding: 1rem;
  box-sizing: border-box;
}

.tuto__card-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  gap: 1rem;
  box-sizing: border-box;
}

.tuto__card-container1,
.tuto__card-container2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1;
  max-width: 50%;
  height: 100%;
  gap: 1rem;
  box-sizing: border-box;
}

.tuto__card {
  position: relative;
  width: 100%;
  height: 30%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 1rem 1rem 1rem 60px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tuto__card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tuto__card img {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: auto;
}

.tuto__card h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.tuto__card p {
  font-size: 0.9rem;
}

.tuto__card::before {
  content: attr(data-number);
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 4rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.1);
  z-index: -1;
}

/* ✅ Responsive pour écran < 985px */
@media screen and (max-width: 985px) {
  .tuto__card-columns {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .tuto__card-container1,
  .tuto__card-container2 {
    flex: 1;
    max-width: 50%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .tuto__card {
    width: 100%;
    margin-bottom: 1rem;
    padding-left: 1rem;
  }

  .tuto__card img {
    display: none;
  }

  .tuto__card h4 {
    font-size: 1rem;
  }

  .tuto__card p {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 800px) {
  .tuto__card-columns {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.25rem;
  }

  .tuto__card-container1,
  .tuto__card-container2 {
    flex: 1;
    max-width: 50%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.25rem;
  }

  .tuto__card {
    width: 100%;
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
  }

  .tuto__card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
  }

  .tuto__card p {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 685px) {
  .tuto__card-columns {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.25rem;
  }

  .tuto__card-container1,
  .tuto__card-container2 {
    flex: 1;
    max-width: 50%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.25rem;
  }

  .tuto__card {
    width: 100%;
    margin-bottom: 0.55rem;
    padding-left: 0.75rem;
  }

  .tuto__card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
  }

  .tuto__card p {
    font-size: 0.65rem;
  }
}

@media screen and (max-width: 495px) {
  .tuto__card {
    width: 100%;
    margin-bottom: 0.55rem;
    padding-left: 0.75rem;
  }

  .tuto__card h4 {
    font-size: 0.65rem;
    margin-bottom: 0.55rem;
  }

  .tuto__card p {
    font-size: 0.6rem;
  }
}
