/*
 * PRATINIUM — custom-contact-v153.css
 * Correctif contact : CTA Envoyer rétabli, Document joint compact,
 * message urgent mis à jour.
 */

body.page-contact .contact-rich .pf-contact-note,
body#contact .contact-rich .pf-contact-note {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-top: 28px !important;
  padding: 20px 20px !important;
  min-height: 0 !important;
  color: rgba(232, 222, 178, .92) !important;
  line-height: 1.55 !important;
}

body.page-contact .contact-rich .pf-contact-note strong,
body#contact .contact-rich .pf-contact-note strong {
  color: #f4c95d !important;
  font-weight: 700 !important;
}

/* Document joint : hauteur réellement réduite */
body.page-contact .contact-form .form-group:has(input[type="file"]),
body#contact .contact-form .form-group:has(input[type="file"]),
body.page-contact .contact-form .pf-contact-file-compact-v153,
body#contact .contact-form .pf-contact-file-compact-v153 {
  margin-bottom: 16px !important;
  min-height: 0 !important;
}

body.page-contact .contact-form .form-group:has(input[type="file"]) .custom-file,
body#contact .contact-form .form-group:has(input[type="file"]) .custom-file,
body.page-contact .contact-form .form-group:has(input[type="file"]) .custom-file-input,
body#contact .contact-form .form-group:has(input[type="file"]) .custom-file-input,
body.page-contact .contact-form .form-group:has(input[type="file"]) .custom-file-label,
body#contact .contact-form .form-group:has(input[type="file"]) .custom-file-label,
body.page-contact .contact-form .pf-contact-file-compact-v153 .custom-file,
body#contact .contact-form .pf-contact-file-compact-v153 .custom-file,
body.page-contact .contact-form .pf-contact-file-compact-v153 .custom-file-input,
body#contact .contact-form .pf-contact-file-compact-v153 .custom-file-input,
body.page-contact .contact-form .pf-contact-file-compact-v153 .custom-file-label,
body#contact .contact-form .pf-contact-file-compact-v153 .custom-file-label,
body.page-contact .contact-form .pf-contact-file-compact-v153 input[type="file"],
body#contact .contact-form .pf-contact-file-compact-v153 input[type="file"] {
  height: 44px !important;
  min-height: 44px !important;
  line-height: 42px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page-contact .contact-form .form-group:has(input[type="file"]) .custom-file-label,
body#contact .contact-form .form-group:has(input[type="file"]) .custom-file-label,
body.page-contact .contact-form .pf-contact-file-compact-v153 .custom-file-label,
body#contact .contact-form .pf-contact-file-compact-v153 .custom-file-label {
  display: flex !important;
  align-items: center !important;
  border-radius: 9px !important;
}

body.page-contact .contact-form .form-group:has(input[type="file"]) .custom-file-label::after,
body#contact .contact-form .form-group:has(input[type="file"]) .custom-file-label::after,
body.page-contact .contact-form .pf-contact-file-compact-v153 .custom-file-label::after,
body#contact .contact-form .pf-contact-file-compact-v153 .custom-file-label::after {
  height: 44px !important;
  min-height: 44px !important;
  line-height: 42px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page-contact .contact-form .form-group:has(input[type="file"]) + small,
body#contact .contact-form .form-group:has(input[type="file"]) + small,
body.page-contact .contact-form .form-group:has(input[type="file"]) .form-text,
body#contact .contact-form .form-group:has(input[type="file"]) .form-text {
  margin-top: 4px !important;
  line-height: 1.2 !important;
}

/* CTA Envoyer : visible, à droite, sans être capturé par le masquage honeypot */
body.page-contact .contact-form .form-footer,
body#contact .contact-form .form-footer,
body.page-contact .contact-form .submit,
body#contact .contact-form .submit,
body.page-contact .contact-form .pf-contact-submit-visible-v153,
body#contact .contact-form .pf-contact-submit-visible-v153 {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  margin-top: 18px !important;
  padding-top: 18px !important;
}

body.page-contact .contact-form button[type="submit"],
body#contact .contact-form button[type="submit"],
body.page-contact .contact-form input[type="submit"],
body#contact .contact-form input[type="submit"],
body.page-contact .contact-form .pf-contact-submit-v153,
body#contact .contact-form .pf-contact-submit-v153 {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 150px !important;
  height: 56px !important;
  padding: 0 34px !important;
  background: linear-gradient(135deg, #f8ca5f 0%, #efa91d 55%, #c98207 100%) !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #071425 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  box-shadow: 0 14px 34px rgba(230, 161, 26, .28), inset 0 1px 0 rgba(255,255,255,.28) !important;
}

@media (max-width: 767px) {
  body.page-contact .contact-form .form-footer,
  body#contact .contact-form .form-footer,
  body.page-contact .contact-form .submit,
  body#contact .contact-form .submit {
    justify-content: stretch !important;
  }

  body.page-contact .contact-form button[type="submit"],
  body#contact .contact-form button[type="submit"],
  body.page-contact .contact-form input[type="submit"],
  body#contact .contact-form input[type="submit"] {
    width: 100% !important;
  }
}
