/* === STRUCTURE GÉNÉRALE === */
.container-contact {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.top-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.form-section {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.form-section form {
  display: flex;
  flex-direction: column;
}

.form-section input,
.form-section textarea {
  margin-bottom: 10px;
  padding: 10px;
  resize: none;
  width: 100%;
  box-sizing: border-box;
}

/* === CARTES DE VISITE === */
.cartes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.carte {
  width: 100px !important;
  height: auto !important;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.carte:hover {
  transform: scale(1.1);
  z-index: 10;
}

/* === ZOOM PLEIN ÉCRAN AU CLIC === */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.image-modal img {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
}

.image-modal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* === SECTION "COMMENT ÇA MARCHE" === */
.how-it-works {
  margin-top: 40px;
}

.how-it-works .columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.how-it-works .columns > div {
  flex: 1;
  min-width: 300px;
}

/* === PIED DE PAGE === */
footer {
  text-align: center;
  margin-top: 40px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .top-section {
    flex-direction: column;
    align-items: center;
  }

  .cartes-container {
    justify-content: center;
  }

  .how-it-works .columns {
    flex-direction: column;
    align-items: stretch;
  }

  .form-section {
    max-width: 100%;
  }
}
