/* ====== Contact (simple & propre) ====== */
.contact-wrapper{
  max-width: 760px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.contact-card{
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(106,56,188,.08);
  padding: 1.25rem;
}

.contact-title{
  margin: 0 0 .5rem 0;
  text-align: center;
  color: #6A38BC;
  font-weight: 600;
}

.contact-subtitle{
  text-align: center;
  color: #555;
  margin: 0 0 1rem 0;
  font-size: .95rem;
  font-weight: 400;
}

/* Formulaire */
.contact-form{
  display: grid;
  gap: 1rem;
}

.contact-form .row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px){
  .contact-form .row{ grid-template-columns: 1fr 1fr; }
}

.contact-form label{
  font-weight: 500;
  color: #333;
}

.contact-input,
.contact-textarea{
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  font: inherit;
  font-weight: 400;
}
.contact-textarea{ min-height: 140px; resize: vertical; }

.contact-input:focus,
.contact-textarea:focus{
  border-color: #6A38BC;
  box-shadow: 0 0 0 3px rgba(106,56,188,.15);
}

/* Bouton */
.btn{
  display: inline-block;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary{
  background: #6A38BC;
  color: #fff;
  border-color: #6A38BC;
}
.btn-primary:hover{ filter: brightness(.95); }

/* Messages */
.alert{ 
  padding: .75rem 1rem; 
  border-radius: 8px; 
  margin: .75rem 0; 
  font-weight: 500;
}
.alert-success{ background:#e7f8ee; color:#1f7a3e; border:1px solid #ccefdc; }
.alert-error{   background:#fdeaea; color:#8a1c1c; border:1px solid #f6caca; }