/* ==========================================================================
   Contact modal — complète signup-modal.css (même fenêtre, mêmes champs)
   ========================================================================== */

.contact-modal-overlay .signup-modal {
  max-width: 600px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}

/* Nom et email côte à côte (l'un sous l'autre sur mobile) */
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
@media (max-width: 560px) {
  .contact-row { grid-template-columns: 1fr; }
}

/* Liste des sujets */
.signup-field select {
  width: 100%;
  padding: 14px 44px 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238B93A7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text, #F0F2EB);
  font: inherit;
  font-size: 15px;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s;
}
.signup-field select:invalid { color: var(--muted, #8B93A7); }
.signup-field select:focus {
  outline: none;
  border-color: var(--accent, #a94ef7);
}
.signup-field select option { background: #181C24; color: #F0F2EB; }

.signup-field textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text, #F0F2EB);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  box-sizing: border-box;
  resize: vertical;
  transition: border-color .2s;
}
.signup-field textarea:focus {
  outline: none;
  border-color: var(--accent, #a94ef7);
}

/* Question de sécurité et bouton Envoyer sur la même ligne */
.contact-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 8px;
}
.contact-foot .signup-btn-primary {
  width: auto;
  min-width: 170px;
  margin-top: 0;
  padding: 14px 28px;
}
@media (max-width: 480px) {
  .contact-foot .signup-btn-primary { width: 100%; }
}

.contact-captcha {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 14px;
  color: var(--muted, #8B93A7);
}
.contact-captcha b {
  color: var(--text, #F0F2EB);
  font-weight: 600;
  white-space: nowrap;
}
.contact-captcha input {
  width: 84px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text, #F0F2EB);
  font-size: 15px;
  text-align: center;
  box-sizing: border-box;
  transition: border-color .2s;
}
.contact-captcha input:focus {
  outline: none;
  border-color: var(--accent, #a94ef7);
}


/* Champ piège pour les robots */
.contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
