/* === STRUCTURE GLOBALE === */
.retour-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  width: 90%;
  max-width: 1400px;
  margin: 120px auto 100px;
  color: white;
  position: relative;
  z-index: 5;
}

/* === COLONNE GAUCHE === */
.retour-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === COLONNE DROITE === */
.retour-right {
  flex: 1;
  background: rgba(12, 22, 45, 0.6);
  backdrop-filter: blur(10px);
  margin-top: -20px;
  padding: 50px 30px;
  border-radius: 35px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.3);
}

/* === TITRES === */
.section-title {
  font-size: 2rem;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: 1px;
  margin-top: -30px;
}

/* === PROJETS === */
.projets-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

/* ⭐️ ANIMATION SCROLL → projet-container */
.projet-container {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.projet-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.projet-card {
  background: rgba(12, 22, 45, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  overflow: hidden;
  max-width: 95%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(255,255,255,0.1);
}

.projet-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.projet-card h3 {
  margin: 15px 0 5px;
  font-size: 1.3rem;
}

.projet-card p {
  font-size: 1rem;
  color: #e0e0e0;
  padding: 0 15px 20px;
}

/* === AVIS CLIENTS === */
.avis-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  max-height: 650px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

#avis-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.avis-container {
  overflow-y: visible !important;
}


.avis strong {
  color: #6da8ff;
  font-size: 1.1rem;
}

.avis p {
  margin: 0;
  line-height: 1.5;
  font-size: 1rem;
  color: #eee;
}

/* === FORMULAIRE === */
.form-title {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 1.6rem;
  text-align: center;
}

.avis-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.avis-form input,
.avis-form textarea {
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  font-family: 'Cormorant Garamond', serif;
}

.btn-envoyer {
  font-family: 'Cormorant Garamond', serif;
  background-color: white;
  color: rgba(8, 18, 46, 0.9);
  font-size: 1.1rem;
  padding: 12px 30px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  align-self: center;
  transition: all 0.3s ease;
}

.btn-envoyer:hover {
  background-color: #13284b;
  color: white;
  transform: translateY(-3px);
}

/* ANIMATION SCROLL POUR LES PROJETS */
.projet-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.projet-card.visible {
  opacity: 1;
  transform: translateY(0);
}


/* === RESPONSIVE === */
@media (max-width: 1000px) {
  .retour-wrapper {
      flex-direction: column;
      gap: 60px;
      margin-top: 100px;
  }

  .retour-right {
      width: 100%;
  }

  .projets-container {
      width: 100%;
      align-items: center;
  }
}

/* ID avis-container */
#avis-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

