/* --- Fond animé avec formes irrégulières --- */
body {
  position: relative;
  background: white;
  overflow: hidden;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
}

.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.blob {
  position: absolute;
  background: #ff4d4d;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blobFloat 20s infinite ease-in-out;
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.1));
}

.blob1 {
  width: 280px;
  height: 220px;
  background: linear-gradient(135deg, #ff4d4d, #ffcc00);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.blob2 {
  width: 240px;
  height: 200px;
  background: linear-gradient(135deg, #00ccff, #66ff66);
  bottom: 15%;
  right: 10%;
  animation-delay: 5s;
}

.blob3 {
  width: 200px;
  height: 180px;
  background: linear-gradient(135deg, #cc66ff, #ff99cc);
  top: 50%;
  left: 65%;
  animation-delay: 10s;
}

@keyframes blobFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -20px) scale(1.05);
  }
}

/* --- Section contact --- */
.contact-section {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 100px auto;
  padding: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8em;
  color: #970A0A;
}

/* --- Formulaire --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-weight: 600;
  color: #444;
  font-size: 1em;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #970A0A;
  box-shadow: 0 0 5px rgba(151, 10, 10, 0.3);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* --- Bouton --- */
.contact-form button {
  background-color: #970A0A;
  color: white;
  border: none;
  padding: 14px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #b31212;
  transform: scale(1.02);
}
