/* Final invitation. Main loads this last; every selector stays inside #contact.
   Full-width ivory field, editorial photograph and one connected reading path. */
#contact {
  --contact-ink: #211f1a;
  --contact-muted: #595347;
  --contact-gold: #806027;
  background: #f1ede3;
  color: var(--contact-ink);
  padding-block: clamp(48px, 7vw, 100px);
  border-top: 1px solid #c6b99f;
  text-align: left;
}
#contact > .a-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-areas: "photo title" "photo steps";
  gap: 28px clamp(32px, 5vw, 72px);
  max-width: 1240px;
  align-items: start;
}
#contact > .a-wrap > * { min-width: 0; }
#contact .contact-editorial-photo {
  grid-area: photo;
  margin: 0;
  align-self: start;
  background: #211f1a;
  color: #f1ede3;
}
#contact .contact-editorial-photo img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
#contact .contact-editorial-photo figcaption {
  padding: 20px 24px;
  border-bottom: 3px solid #b79554;
  font-size: 13px;
  line-height: 1.6;
  color: #e4dccb;
}
#contact #contact-title {
  grid-area: title;
  color: var(--contact-ink);
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 560;
  text-align: left;
  margin: 0;
  max-width: 17ch;
}
#contact #contact-title .a-dim {
  color: inherit;
  -webkit-text-fill-color: currentColor;
  background: none;
}
#contact .a-reasons__cta { grid-area: steps; margin: 0; text-align: left; }
#contact .a-steps {
  display: block;
  padding: 0;
  margin: 0 0 28px;
  max-width: none;
  list-style: none;
  text-align: left;
}
#contact .a-steps > li {
  position: relative;
  display: block;
  padding: 0 0 28px 52px;
  margin: 0;
  min-height: 60px;
  padding-top: 3px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--contact-ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 450;
}
#contact .a-steps > li:last-child { padding-bottom: 0; min-height: 32px; }
#contact .a-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px; top: 34px; bottom: 5px;
  width: 1px;
  background: #a88a52;
}
#contact .a-steps > li > span {
  display: grid;
  place-items: center;
  position: absolute;
  left: 0; top: 0;
  width: 32px; height: 32px;
  padding: 0; margin: 0;
  border: 1px solid #98763a;
  border-radius: 50%;
  color: #6e501c;
  background: #f1ede3;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
#contact .a-reasons__cta .a-relance__note {
  color: var(--contact-muted);
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  max-width: 50ch;
  margin: 0;
}
#contact .a-reasons__cta .a-relance__note + .a-relance__note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #c6b99f;
}
#contact .a-relance__note .a-link {
  display: inline-block;
  max-width: 100%;
  min-height: 44px;
  color: var(--contact-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
#contact .a-link:hover { color: #211f1a; }
#contact .a-link:focus-visible { outline: 3px solid #806027; outline-offset: 5px; }
/* These are static instructions: keep the complete invitation visible. */
#contact .a-rv { opacity: 1; transform: none; animation: none; transition: none; }
@media (max-width: 800px) {
  #contact > .a-wrap {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "photo" "steps";
    gap: 28px;
    max-width: 680px;
  }
  #contact .contact-editorial-photo { margin: 0; }
  #contact #contact-title { font-size: clamp(34px, 6.4vw, 46px); max-width: 22ch; }
}
@media (max-width: 420px) {
  #contact > .a-wrap { padding-inline: 20px; }
  #contact .contact-editorial-photo figcaption { padding: 14px 18px; }
  #contact .a-steps > li { padding-left: 46px; font-size: 16px; }
  #contact .a-reasons__cta .a-relance__note { font-size: 14px; }
}

#contact .contact-editorial-photo picture {display:block}
#contact .contact-booking {display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:14px 24px;margin:0 0 20px;background:#211f1a;color:#fff9ec;border:1px solid #211f1a;font-size:17px;line-height:1.4;text-decoration:none}
#contact .contact-booking:hover {background:#493b22;color:#fff9ec}
#contact .contact-booking:focus-visible {outline:3px solid #806027;outline-offset:5px}
@media(min-width:801px) and (max-width:1200px){#contact .contact-editorial-photo {width:min(100%,360px);justify-self:center}}
@media(max-width:800px){#contact > .a-wrap {grid-template-areas:"title" "steps" "photo"}#contact .contact-editorial-photo {width:min(100%,340px);justify-self:center}}

/* Keep the list, action and note on a single left edge. */
#contact .a-reasons__cta .a-steps { margin-bottom: 28px; }
#contact .a-reasons__cta .contact-booking {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  background: var(--contact-ink);
  border-color: var(--contact-ink);
  color: #fff9ec;
}
#contact .a-reasons__cta .contact-booking:hover { background: #493b22; }

/* Neutralise la grille héritée : les marges locales font autorité. */
#contact .a-reasons__cta { justify-items: start; gap: 0; }
