/* LP Verdier — formulaire Contact intégré, carte compacte et ajouts AS existants. */
.jv-contact-grid { align-items: start; }
.jv-contact-grid > .panel { min-width: 0; }
.jv-contact-address {
  position: relative;
  min-height: 264px;
  padding-inline-end: calc(44% + 32px);
}
.jv-contact-map {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: calc(44% - 10px);
  height: 180px;
  overflow: hidden;
  border: 1px solid #dbe4e9;
  border-radius: 10px;
  background: #edf2f3;
}
.jv-contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.jv-contact-gps {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  margin-top: 4px;
  color: #83122e;
  font-weight: 700;
  text-decoration: none;
}
.jv-contact-gps::before { content: "📍"; font-size: 1.15em; }
.jv-contact-gps:hover { text-decoration: underline; }
.jv-contact-inline { margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid #dbe4e9; }
.jv-contact-inline h3 { margin: 0 0 9px; color: #20343e; font-size: 1.35rem; line-height: 1.3; }
.jv-contact-inline p { line-height: 1.6; }
.jv-contact-intro { margin: 0 0 20px; color: #536670; }
.jv-contact-inline fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.jv-contact-inline .field { margin: 0 0 16px; }
.jv-contact-inline .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.jv-contact-inline input, .jv-contact-inline textarea { box-sizing: border-box; width: 100%; min-width: 0; }
.jv-contact-inline textarea { resize: vertical; min-height: 130px; }
.jv-contact-inline .muted { font-size: .9rem; color: #536670; }
.jv-contact-inline .notice { margin: 16px 0; overflow-wrap: anywhere; }
.jv-contact-inline [hidden], .jv-requester-block [hidden] { display: none !important; }
.jv-contact-inline :focus-visible, .jv-contact-gps:focus-visible, .jv-requester-block :focus-visible, .jv-bulletin-clauses :focus-visible { outline: 3px solid #1277a6; outline-offset: 3px; }
.jv-contact-actions { display: flex; justify-content: flex-end; }
/* The CMS uses the same form; only interaction is neutralised in its iframe. */
.jv-contact-preview .jv-contact-map iframe { pointer-events: none; }
.jv-contact-preview .jv-contact-inline input[readonly],
.jv-contact-preview .jv-contact-inline textarea[readonly] { cursor: default; }
.jv-requester-block { margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid #dbe4e9; }
.jv-bulletin-clauses { margin-top: 22px; padding-top: 18px; border-top: 1px solid #dbe4e9; }
.jv-contact-record { padding: 16px 0; border-top: 1px solid #dbe4e9; }
.jv-contact-record summary { cursor: pointer; font-weight: 600; }
.jv-contact-record .jv-contact-message { white-space: pre-wrap; overflow-wrap: anywhere; padding: 16px; background: #f4f7f8; }
.jv-contact-admin [hidden] { display: none !important; }
.jv-mail-test { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dbe4e9; }
.jv-mail-test .muted { margin-top: 10px; }
.jv-visually-hidden, .jv-form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

@media (max-width: 900px) {
  .jv-contact-grid { grid-template-columns: minmax(0, 1fr); }
  .jv-contact-address { min-height: 230px; padding-inline-end: calc(40% + 32px); }
  .jv-contact-map { width: calc(40% - 10px); height: 170px; }
}
@media (max-width: 540px) {
  .jv-contact-address { min-height: 0; padding-inline-end: 20px; }
  .jv-contact-map { position: static; transform: none; width: 100%; height: 150px; margin-top: 12px; }
  .jv-contact-inline .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .jv-contact-actions .button { width: 100%; }
}
