@media (max-width: 768px) {
  /* Grilles 2 et 3 colonnes → 1 colonne */
  div[style*="grid-template-columns:repeat(3,1fr)"],
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:1fr 2fr"],
  div[style*="grid-template-columns:1fr 1fr;"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  /* Padding réduit sur mobile */
  div[style*="padding:6rem 8vw"],
  div[style*="padding:4rem 8vw"],
  div[style*="padding:7rem 8vw"] {
    padding: 3rem 5vw !important;
  }

  /* Étapes numérotées */
  div[style*="grid-template-columns:48px 1fr"] {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
  }
}
/* ── BLOC FORMULAIRE JETPACK - habillage CycleMove ── */

/* Labels */
.wp-block-jetpack-contact-form label,
.contact-form label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2d1a26;
  margin-bottom: 0.4rem;
}

/* Champs texte, email, tel */
.wp-block-jetpack-field-text input,
.wp-block-jetpack-field-email input,
.wp-block-jetpack-field-telephone input,
.wp-block-jetpack-field-name input,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: #2d1a26 !important;
  background: #ffffff !important;
  border: 1px solid rgba(138,15,48,.12) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  width: 100% !important;
}

.wp-block-jetpack-field-text input:focus,
.wp-block-jetpack-field-email input:focus,
.wp-block-jetpack-field-telephone input:focus,
.contact-form input:focus {
  border-color: #8a0f30 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Zone de texte (message) */
.wp-block-jetpack-field-textarea textarea,
.contact-form textarea {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  color: #2d1a26 !important;
  background: #ffffff !important;
  border: 1px solid rgba(138,15,48,.12) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  min-height: 110px !important;
  width: 100% !important;
}

.wp-block-jetpack-field-textarea textarea:focus,
.contact-form textarea:focus {
  border-color: #8a0f30 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Bouton d'envoi */
.wp-block-jetpack-contact-form button[type="submit"],
.wp-block-button__link.contact-form button,
.contact-form .button,
.wp-block-jetpack-contact-form .wp-block-button__link {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  background-color: #8a0f30 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 14px 32px !important;
  width: 100% !important;
  letter-spacing: 0.03em !important;
}

.wp-block-jetpack-contact-form button[type="submit"]:hover {
  background-color: #5e0920 !important;
}

/* Espacement entre les champs */
.wp-block-jetpack-contact-form > * {
  margin-bottom: 1.4rem !important;
}
.btn-cm {
  transition: background-color 0.25s ease;
}

.btn-cm:hover {
  background-color: #5e0920 !important;
  color: #ffffff !important;
}
.btn-cm-link {
  transition: border-color 0.25s ease, color 0.25s ease;
}

.btn-cm-link:hover {
  border-bottom-color: #8a0f30 !important;
  color: #5e0920 !important;
}