/* ============ Contact — page (infos, formulaire, carte) ============
   Layered on top of tokens.css + site.css. Réutilise les patterns
   .mh-hero, .sec--*, .btn-* ; classes spécifiques en .ct-*.
   ===================================================================== */

/* ----- INFOS — 3 colonnes ----- */
.ct-info { padding: 120px 64px; background: var(--mf-paper); }
.ct-info__wrap { max-width: 1280px; margin: 0 auto; }
.ct-info__head {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: end; margin-bottom: 64px;
}
.ct-info__head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 4.6vw, 64px); line-height: 1.06;
  margin: 18px 0 0; letter-spacing: -0.005em;
}
.ct-info__head h2 em {
  font-style: italic; color: var(--mf-gold);
}
.ct-info__lede {
  font-family: var(--font-subhead); font-style: italic;
  font-size: 19px; line-height: 1.6;
  color: var(--mf-ink-3); max-width: 50ch; margin: 0;
}

.ct-info__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ct-card {
  position: relative;
  padding: 40px 32px 36px;
  background: var(--mf-white);
  border: 1px solid rgba(176,138,62,0.18);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color var(--t-med), transform var(--t-med);
}
.ct-card:hover {
  border-color: var(--mf-gold);
  transform: translateY(-3px);
}
.ct-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border: 1px solid var(--mf-gold);
  color: var(--mf-gold);
  font-size: 28px;
  margin-bottom: 8px;
}
.ct-card__label {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--mf-gold);
}
.ct-card__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 26px; line-height: 1.15; color: var(--mf-ink);
  margin: 0;
}
.ct-card__title em { font-style: italic; color: var(--mf-gold); }
.ct-card p {
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  color: var(--mf-ink-3); margin: 0;
}
.ct-card__list {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 4px;
}
.ct-card__list a,
.ct-card__list span {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 16px;
  color: var(--mf-ink); text-decoration: none;
  transition: color var(--t-fast);
}
.ct-card__list a:hover { color: var(--mf-gold); }
.ct-card__list i { font-size: 18px; color: var(--mf-gold); }

/* ----- FORM — section sombre ----- */
.ct-form { padding: 140px 64px; background: var(--mf-ink); color: var(--mf-paper); }
.ct-form__wrap {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 96px;
  align-items: start;
}
.ct-form__intro h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 4.6vw, 60px); line-height: 1.06;
  color: var(--mf-paper); margin: 18px 0 24px;
  letter-spacing: -0.005em;
}
.ct-form__intro h2 em {
  font-style: italic;
  background: var(--foil-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ct-form__intro p {
  font-family: var(--font-subhead); font-style: italic;
  font-size: 19px; line-height: 1.6;
  color: var(--mf-paper-3); margin: 0 0 28px;
}
.ct-form__intro .mh-label { margin-bottom: 0; }
.ct-form__hours {
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid rgba(176,138,62,0.22);
  display: grid; gap: 18px;
}
.ct-form__hours .row {
  display: grid; grid-template-columns: 110px 1fr; gap: 24px;
  align-items: baseline;
}
.ct-form__hours .k {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: #CFAF66;
}
.ct-form__hours .v {
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; color: var(--mf-paper);
  line-height: 1.4;
}

/* ----- FORM fields ----- */
.ct-form__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px;
}
.ct-field { display: flex; flex-direction: column; gap: 10px; }
.ct-field--full { grid-column: 1 / -1; }
.ct-field label {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: #CFAF66;
}
.ct-field label .req { color: var(--mf-red); margin-left: 4px; }
.ct-field input,
.ct-field select,
.ct-field textarea {
  appearance: none;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(207,175,102,0.35);
  padding: 14px 0 12px;
  font-family: var(--font-body); font-size: 17px;
  color: var(--mf-paper);
  transition: border-color var(--t-fast);
  border-radius: 0;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-bottom-color: var(--mf-gold);
}
.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: rgba(245,241,234,0.35);
  font-style: italic;
}
.ct-field select {
  background-image: linear-gradient(45deg, transparent 50%, #CFAF66 50%),
                    linear-gradient(135deg, #CFAF66 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 8px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
  cursor: pointer;
}
.ct-field select option {
  background: var(--mf-ink); color: var(--mf-paper);
}
.ct-field textarea {
  resize: vertical; min-height: 140px;
  border: 1px solid rgba(207,175,102,0.35);
  padding: 16px 18px;
}
.ct-form__consent {
  grid-column: 1 / -1;
  display: flex; align-items: flex-start; gap: 12px;
  font-family: var(--font-body); font-size: 14px; line-height: 1.55;
  color: var(--mf-paper-3);
  margin-top: 8px;
}
.ct-form__consent input {
  appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--mf-gold);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  transition: background var(--t-fast);
}
.ct-form__consent input:checked {
  background: var(--mf-gold);
}
.ct-form__consent input:checked::after {
  content: '';
  position: absolute; left: 4px; top: 0px;
  width: 5px; height: 10px;
  border: solid var(--mf-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ct-form__actions {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center;
  margin-top: 16px;
}
.ct-form__note {
  font-family: var(--font-body); font-size: 13px;
  color: var(--mf-paper-3); margin: 0;
}

/* ----- MAP ----- */
.ct-map {
  position: relative;
  background: var(--mf-paper);
  padding: 0;
}
.ct-map__head {
  max-width: 1280px; margin: 0 auto;
  padding: 100px 64px 56px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  align-items: end;
}
.ct-map__head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 4.6vw, 60px); line-height: 1.06;
  margin: 18px 0 0; letter-spacing: -0.005em;
}
.ct-map__head h2 em {
  font-style: italic; color: var(--mf-gold);
}
.ct-map__lede {
  font-family: var(--font-subhead); font-style: italic;
  font-size: 19px; line-height: 1.6;
  color: var(--mf-ink-3); max-width: 50ch; margin: 0;
}

.ct-map__frame {
  position: relative;
  width: 100%; height: 560px;
  background: #1f1f1f;
  overflow: hidden;
  border-top: 1px solid rgba(176,138,62,0.22);
  border-bottom: 1px solid rgba(176,138,62,0.22);
}
.ct-map__frame iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.96);
  transition: filter var(--t-slow);
}
.ct-map__frame:hover iframe {
  filter: grayscale(1) contrast(1.1) brightness(1);
}

.ct-map__pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 2;
}
.ct-map__pin .dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--mf-gold);
  box-shadow: 0 0 0 6px rgba(176,138,62,0.25),
              0 0 0 14px rgba(176,138,62,0.12);
  animation: ct-pulse 2.4s ease-in-out infinite;
}
@keyframes ct-pulse {
  0%, 100% {
    box-shadow: 0 0 0 6px rgba(176,138,62,0.25),
                0 0 0 14px rgba(176,138,62,0.12);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(176,138,62,0.18),
                0 0 0 22px rgba(176,138,62,0.06);
  }
}

.ct-map__card {
  position: absolute;
  left: 64px; bottom: 48px;
  z-index: 3;
  width: 360px; max-width: calc(100% - 32px);
  background: var(--mf-paper);
  border: 1px solid rgba(176,138,62,0.3);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-3);
}
.ct-map__card .mh-label { margin-bottom: 14px; }
.ct-map__card h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 24px; line-height: 1.15; color: var(--mf-ink);
  margin: 0 0 12px;
}
.ct-map__card h3 em { font-style: italic; color: var(--mf-gold); }
.ct-map__card p {
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  color: var(--mf-ink-3); margin: 0 0 18px;
}
.ct-map__card a {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--mf-ink); text-decoration: none;
  border-bottom: 1px solid var(--mf-gold);
  padding-bottom: 4px;
  transition: color var(--t-fast), gap var(--t-fast);
}
.ct-map__card a:hover { color: var(--mf-gold); gap: 14px; }
.ct-map__card a i { font-size: 16px; }

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .ct-info, .ct-form { padding: 110px 40px; }
  .ct-info__head, .ct-map__head { grid-template-columns: 1fr; gap: 18px; }
  .ct-info__grid { grid-template-columns: 1fr; gap: 18px; }
  .ct-form__wrap { grid-template-columns: 1fr; gap: 56px; }
  .ct-map__head { padding: 90px 40px 48px; }
  .ct-map__card { left: 40px; bottom: 36px; }
}

@media (max-width: 900px) {
  .ct-form__form { grid-template-columns: 1fr; }
  .ct-map__frame { height: 460px; }
}

@media (max-width: 680px) {
  .ct-info, .ct-form { padding: 80px 20px; }
  .ct-map__head { padding: 70px 20px 40px; }
  .ct-card { padding: 32px 24px 28px; }
  .ct-form__hours .row { grid-template-columns: 90px 1fr; gap: 16px; }
  .ct-map__frame { height: 380px; }
  .ct-map__card {
    left: 16px; right: 16px; bottom: 16px;
    width: auto; max-width: none;
    padding: 22px 22px 20px;
  }
  .ct-form__actions .btn-gold,
  .ct-form__actions .btn-ghost {
    width: 100%; text-align: center;
    padding: 14px 22px; font-size: 11.5px;
  }
}
