
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #111111;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}


/* Fond animé avec particules */
.stars, .stars2, .stars3 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.stars {
  background: radial-gradient(3px 3px at 50px 100px, rgba(255,255,255,0.8), transparent),
              radial-gradient(2px 2px at 120px 60px, rgba(255,255,255,0.6), transparent),
              radial-gradient(1px 1px at 200px 140px, #fff, transparent);
  background-size: 300px 200px;
  animation: float 15s ease-in-out infinite;
}

.stars2 {
  background: radial-gradient(2px 2px at 80px 180px, rgba(114,82,81,0.8), transparent),
              radial-gradient(1px 1px at 160px 30px, rgba(114,82,81,0.6), transparent);
  background-size: 250px 150px;
  animation: float 20s ease-in-out infinite reverse;
}

.stars3 {
  background: radial-gradient(1px 1px at 30px 80px, rgba(17,31,59,0.7), transparent),
              radial-gradient(2px 2px at 180px 120px, rgba(17,31,59,0.5), transparent);
  background-size: 200px 120px;
  animation: float 25s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 60px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  min-height: 100vh;
}

/* Section héro */
.hero-section {
  text-align: left;
  padding: 100px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 999999999999;
    color: aqua;
}

.main-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  margin-bottom: 30px;
  background: linear-gradient(45deg, #ffffff, #e2e8f0, #725251);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -3px;
  position: relative;
  line-height: 1.1;
  z-index: 99999999999999999;
    color: aqua;
}

.title-word {
  display: inline-block;
  animation: titleBounce 2s ease-in-out infinite;
  margin-right: 15px;
  z-index: 99999999999999;
  color: aqua;
}

.title-word:nth-child(1) { animation-delay: 0s; }
.title-word:nth-child(2) { animation-delay: 0.2s; }
.title-word:nth-child(3) { animation-delay: 0.4s; }

@keyframes titleBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.subtitle {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  animation: fadeInSlide 1s ease-out 0.5s both;
  max-width: 400px;
  line-height: 1.5;
}

@keyframes fadeInSlide {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 0.8; transform: translateY(0); }
}

/* Section contact */
.contact-section {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 60px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 50px 40px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  animation: cardSlideUp 1s ease-out 0.3s both;
  margin-left: 0;
}

@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(50px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(114,82,81,0.3), transparent);
  animation: rotate 4s linear infinite;
  z-index: -1;
}



.card-header {
  text-align: center;
  margin-bottom: 50px;
}

.pulse-icon {
  font-size: 3rem;
  color: #725251;
  margin-bottom: 20px;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.1); filter: brightness(1.2); }
}

.card-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.input-group {
  position: relative;
  animation: inputSlideIn 0.6s ease-out both;
}

.input-group:nth-child(1) { animation-delay: 0.1s; }
.input-group:nth-child(2) { animation-delay: 0.2s; }
.input-group:nth-child(3) { animation-delay: 0.3s; }

@keyframes inputSlideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #725251;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 2;
}

.message-group .input-icon {
  top: 25px;
  transform: translateY(0);
}

.form-input {
  width: 100%;
  padding: 20px 20px 20px 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  resize: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  border-color: #725251;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(114, 82, 81, 0.2);
  transform: translateY(-2px);
}

.form-input:focus ~ .input-icon {
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.message-group .form-input:focus ~ .input-icon {
  transform: translateY(0) scale(1.1);
}

/* Labels flottants */
.form-label {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0;
}

.message-group .form-label {
  top: 25px;
  transform: translateY(0);
}

.focused .form-label,
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
  top: -10px;
  left: 20px;
  font-size: 0.85rem;
  color: #725251;
  background: linear-gradient(135deg, #111f3b, #725251);
  padding: 2px 8px;
  border-radius: 8px;
  transform: translateY(0);
}

/* Bouton de soumission */
.submit-btn {
  padding: 18px 40px;
  background: linear-gradient(135deg, #725251, #8b6b6a);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(114, 82, 81, 0.4);
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(114, 82, 81, 0.6);
  background: linear-gradient(135deg, #8b6b6a, #725251);
}

.submit-btn:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Informations de contact */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  animation: infoSlideUp 0.6s ease-out both;
}

.info-item:nth-child(1) { animation-delay: 0.4s; }
.info-item:nth-child(2) { animation-delay: 0.5s; }
.info-item:nth-child(3) { animation-delay: 0.6s; }

@keyframes infoSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.info-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(114, 82, 81, 0.5);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.info-item i {
  color: #725251;
  font-size: 1.5rem;
  padding: 12px;
  background: rgba(114, 82, 81, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.info-item:hover i {
  background: rgba(114, 82, 81, 0.4);
  transform: scale(1.1);
}

.info-item span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 40px;
  }

  .hero-section {
    text-align: center;
    padding: 60px 0 40px;
  }

  .subtitle {
    max-width: none;
  }

  .contact-section {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 20px;
    gap: 40px;
  }

  .contact-card {
    padding: 40px 30px;
    border-radius: 20px;
  }

  .hero-section {
    padding: 50px 0 30px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .form-input {
    padding: 18px 18px 18px 55px;
  }

  .form-label {
    left: 55px;
  }

  .focused .form-label,
  .form-input:focus + .form-label,
  .form-input:not(:placeholder-shown) + .form-label {
    left: 18px;
    font-size: 0.8rem;
  }

  .main-title {
    font-size: 2.5rem;
    text-align: center;
    color: aqua;
    z-index: 99999999999999999999;
  }

  .hero-section {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  .contact-card {
    padding: 30px 20px;
  }

  .hero-section {
    padding: 40px 0 20px;
  }

  .contact-form {
    gap: 25px;
  }

  .submit-btn {
    padding: 16px 35px;
    font-size: 1rem;
  }
}
