/* Layout index : 2 blocs */
.home-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Bloc texte */
.card-project {
  width: 420px;
  max-width: 100%;
  font-size: 18px;
  line-height: 1.6;
}

/* Bloc image */
.card-image {
  width: 350px;
  height: 350px;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* Responsive tablette */
@media (max-width: 900px) {
  .home-wrapper {
    gap: 24px;
  }

  .card-project {
    width: 100%;
    font-size: 17px;
  }

  .card-image {
    width: 100%;
    max-width: 420px;
    height: 280px;
    margin: 0 auto;
  }
}

/* Responsive téléphone */
@media (max-width: 600px) {
  .card-project {
    font-size: 16px;
    line-height: 1.5;
  }

  .card-image {
    height: 220px;
  }
}