.contact-page {
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(540px, 1.1fr);
  background: var(--white);
}

.contact-intro {
  padding: 78px clamp(42px, 6vw, 92px);
  color: var(--white);
  background: var(--blue);
}

.contact-intro > p {
  margin: 0 0 60px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-intro h1 {
  margin: 0;
  font-size: clamp(44px, 4.1vw, 68px);
  letter-spacing: -.065em;
  line-height: .92;
}

.contact-intro h1 > span {
  white-space: nowrap;
}

.contact-promise {
  max-width: 460px;
  margin-top: 90px;
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 18px;
}

.contact-direct {
  margin-top: 34px;
  color: var(--white);
  font-size: 14px;
}

.contact-direct a {
  color: var(--white);
  font-weight: 750;
  text-underline-offset: 5px;
}

.contact-promise span {
  background: var(--white);
}

.contact-promise p {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  line-height: 1.6;
}

.contact-map {
  max-width: 470px;
  margin-top: 72px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.map-france {
  position: relative;
  width: 170px;
  aspect-ratio: .92;
  background: rgba(255,255,255,.14);
  clip-path: polygon(47% 0, 75% 12%, 91% 34%, 83% 63%, 61% 83%, 49% 100%, 31% 84%, 9% 62%, 4% 32%, 26% 12%);
}

.map-pin {
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
}

.pin-lille { top: 17%; left: 59%; }
.pin-paris { top: 29%; left: 51%; }
.pin-lyon { top: 59%; left: 65%; }

.contact-map p {
  margin: 0;
  color: var(--white);
}

.contact-map strong,
.contact-map span {
  display: block;
}

.contact-map strong {
  font-size: 18px;
  letter-spacing: -.02em;
}

.contact-map span {
  margin-top: 9px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.5;
}

.contact-map > a {
  grid-column: 2;
  margin-top: -8px;
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.contact-panel {
  padding: 72px clamp(42px, 6vw, 90px);
}

.contact-panel form {
  max-width: 760px;
  margin: 0 auto;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.field {
  margin-bottom: 32px;
}

.field label,
.contact-panel legend {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.field label {
  margin-bottom: 12px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  font: 17px/1.4 Arial, Helvetica, sans-serif;
}

.field textarea {
  min-height: 120px;
  padding: 16px;
  border: 1px solid var(--ink);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.contact-panel fieldset {
  margin: 2px 0 34px;
  padding: 0;
  border: 0;
}

.contact-panel legend {
  margin-bottom: 16px;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-grid label {
  position: relative;
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
}

.choice-grid span {
  padding: 10px 13px;
  display: block;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.choice-grid input:checked + span {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.choice-grid input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.form-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.form-end p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.form-end button {
  padding: 15px 18px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  font: 700 13px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

.form-end button span {
  margin-left: 30px;
  color: #91a2ff;
}

.form-end button:hover,
.form-end button:focus-visible {
  background: var(--blue);
}

.form-end button:disabled {
  cursor: wait;
  opacity: .62;
}

.form-success {
  margin: 28px 0 0;
  padding: 16px;
  color: #0d4718;
  background: #e8f9e8;
  font-size: 14px;
}

.form-success.is-error {
  color: #661616;
  background: #fff0f0;
  border-left: 4px solid #b42318;
}

@media (max-width: 900px) {
  .contact-page {
    grid-template-columns: 1fr;
  }

  .contact-intro,
  .contact-panel {
    padding: 52px 24px;
  }

  .contact-promise {
    margin-top: 52px;
  }

  .contact-intro h1 > span {
    white-space: normal;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-end {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .contact-map {
    grid-template-columns: 120px 1fr;
  }
  .map-france { width: 120px; }
}
