/* ------------------------------------ *\
  CONTENTS
\* ------------------------------------ */

/**
 * CONTENTS..............You’re reading it!
 * BLOC DE CONTACT ........................
 * REPÈRE DE PLAN .........................
*/

/* ------------------------------------ *\
  ==BLOC DE CONTACT
\* ------------------------------------ */
.contact {
  max-width: var(--max);
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
}

.contact-carte {
  background: var(--bleu-encre);
  color: var(--blanc);
  padding: clamp(26px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.contact-carte h2 {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.05;
  margin: 0;
}

.contact-carte address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.6;
}

.contact-carte a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-plan {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: var(--lavande);
}

.contact-plan img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-plan iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

/* ------------------------------------ *\
  ==REPÈRE DE PLAN
\* ------------------------------------ */
.plan-repere {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  margin: 0;
  transform: translate(-50%, calc(-100% - 22px));
  padding: 14px 20px;
  background: var(--blanc);
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  font-family: var(--font-medium);
  font-size: 15px;
  box-shadow: 0 4px 18px rgb(17 17 17 / 18%);
}

.plan-repere b {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: 1.1rem;
}

.plan-repere span {
  font-size: 12px;
  opacity: 0.65;
}

.plan-point {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid var(--blanc);
  box-shadow: 0 0 0 6px rgb(239 122 42 / 28%);
}

.plan-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 4px 9px;
  background: rgb(255 255 255 / 85%);
  font-size: 11px;
}

.plan-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
