/* ============================================
   Page de contact – SNFOLC45
   À coller dans Apparence > Personnaliser > CSS additionnel
   ============================================ */

/* Conteneur général de la page contact */
.page-id-813 .entry-content {
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* En-tête avec logo et titre */
.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-header img.logo-contact {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
}

.contact-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.contact-header p {
  font-size: 15px;
  color: #555;
}

/* Carte blanche autour du formulaire */
.wpcf7 {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem 2.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Labels */
.wpcf7 label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  margin-top: 1.1rem;
}

/* Champs texte, email, select, textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #222;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

.wpcf7 textarea {
  min-height: 130px;
  resize: vertical;
}

/* Bouton d'envoi */
.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 13px;
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s;
}

.wpcf7 input[type="submit"]:hover {
  background: #a93226;
}

.wpcf7 input[type="submit"]:active {
  background: #922b21;
  transform: scale(0.99);
}

/* Message de confirmation après envoi */
.wpcf7-response-output {
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  margin-top: 1rem !important;
  border: none !important;
  text-align: center;
}

.wpcf7 .wpcf7-mail-sent-ok {
  background: #eafaf1;
  color: #1e8449;
}

.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-validation-errors {
  background: #fdf2f2;
  color: #c0392b;
}

/* Responsive mobile */
@media (max-width: 480px) {
  .wpcf7 {
    padding: 1.5rem 1.25rem;
  }
}
