/* ============================================
   CONTACT-SPECIFIC CSS - Styles uniquement pour contact.html
   ============================================ */

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  outline: none;
  transition: all 0.3s;
  color: var(--text-main);
  font-weight: 500;
}

body.dark-mode .form-input {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.form-input:focus {
  border-color: var(--accent);
  background: transparent;
  transform: scale(1.01);
}

/* Placeholder en bleu pour meilleure lisibilité */
.form-input::placeholder {
  color: #091A30;
  opacity: 0.5;
}

body.dark-mode .form-input::placeholder {
  color: #94A3B8;
  opacity: 0.7;
}

/* Labels en bleu pour meilleure lisibilité */
.form-label {
  color: #091A30;
  display: block;
}

body.dark-mode .form-label {
  color: #B0C4DE;
}

/* Select avec icône déroulante */
.form-select-wrapper {
  position: relative;
  width: 100%;
}

.form-select-wrapper::after {
  content: '';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #091A30;
  pointer-events: none;
  transition: transform 0.3s ease;
}

body.dark-mode .form-select-wrapper::after {
  border-top-color: #FCF9EF;
}

.form-select-wrapper:focus-within::after {
  border-top-color: var(--accent);
}

.form-select-wrapper select {
  padding-right: 3rem;
  cursor: pointer;
}

/* Option du select */
.form-input option {
  background: var(--bg-main);
  color: var(--text-main);
  padding: 1rem;
}

/* ============================================
   RESPONSIVE FIXES - Contact Page
   ============================================ */

@media (max-width: 768px) {

  /* Grille formulaire */
  .grid.md\:grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Formulaire padding */
  .p-10,
  .md\:p-16 {
    padding: clamp(1.5rem, 5vw, 2rem) !important;
  }

  /* Cards arrondies */
  .rounded-\[60px\] {
    border-radius: clamp(24px, 6vw, 40px) !important;
  }

  /* Info contacts */
  .flex.items-center.gap-8 {
    gap: 1rem !important;
  }

  .w-16.h-16 {
    width: 3rem !important;
    height: 3rem !important;
    min-width: 3rem !important;
  }

  .w-16.h-16 i {
    width: 1.25rem !important;
    height: 1.25rem !important;
  }

  .text-2xl {
    font-size: clamp(1rem, 4vw, 1.25rem) !important;
  }
}

@media (max-width: 480px) {

  /* Hero titre */
  .text-6xl,
  .md\:text-9xl {
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }

  /* Espacement sections */
  .gap-24 {
    gap: 2rem !important;
  }

  /* Image hauteur */
  .h-\[480px\] {
    height: clamp(200px, 50vw, 300px) !important;
  }

  /* Bouton submit */
  .py-6 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .text-xl {
    font-size: 1rem !important;
  }
}