/* ============================================================
   SOUHEL IMMO — Page Contact
   Réutilise styles.css + wizard.css (champs, page-header)
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

/* ---------- Carte du formulaire ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line-light);
  box-shadow: 0 40px 80px -56px rgba(35,33,28,0.4);
  padding: clamp(28px, 3.6vw, 48px);
}
.form-card .intro {
  font-size: 0.96rem; line-height: 1.75; color: var(--ink-soft);
  margin: 0 0 30px; max-width: 52ch;
}

/* Type de demande — chips radio */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label {
  cursor: pointer;
  border: 1px solid var(--line-light);
  padding: 10px 18px;
  font-size: 0.8rem; letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: all 0.3s var(--ease);
  border-radius: 100px;
  user-select: none;
}
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label:hover { border-color: var(--or-deep); color: var(--ink); }
.chips label:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.field.invalid .chips { /* highlight handled per-label */ }
.field.invalid .chips label { border-color: var(--err); }

.field textarea {
  font-family: var(--sans); font-weight: 300; font-size: 0.98rem;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line-light);
  padding: 13px 15px; border-radius: 0;
  min-height: 130px; resize: vertical;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
}
.field textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(201,168,76,0.12); }
.field.invalid textarea { border-color: var(--err); }

.contact-submit { margin-top: 8px; }
.contact-submit .btn { width: 100%; justify-content: center; }

/* Succès du formulaire */
.form-success { display: none; text-align: center; padding: clamp(24px, 4vw, 48px) 0; }
.form-success.active { display: block; animation: stepIn 0.6s var(--ease); }
.form-success .check {
  width: 72px; height: 72px; margin: 0 auto 26px;
  border-radius: 50%; border: 1px solid var(--line-gold);
  display: grid; place-items: center; color: var(--or-deep);
}
.form-success .check svg { width: 32px; height: 32px; }
.form-success h3 {
  font-family: var(--serif); font-weight: 400; letter-spacing: 0.03em;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0 0 16px; color: var(--ink);
}
.form-success p { font-size: 0.98rem; line-height: 1.75; color: var(--ink-soft); max-width: 42ch; margin: 0 auto; }

/* ---------- Aside coordonnées ---------- */
.contact-info { position: relative; }
.contact-info .spine-v {
  position: absolute; left: -1px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(to bottom, var(--or), transparent);
  opacity: 0.5;
}
.info-block { margin-bottom: 38px; padding-left: clamp(0px, 2vw, 28px); }
.info-block:last-child { margin-bottom: 0; }
.info-block h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.4rem; letter-spacing: 0.04em;
  margin: 0 0 22px; color: var(--ink);
}
.info-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .ico {
  width: 22px; height: 22px; flex: none; color: var(--or-deep); margin-top: 2px;
}
.info-row .ico svg { width: 100%; height: 100%; }
.info-row .meta .label {
  font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--or-deep); margin-bottom: 5px;
}
.info-row .meta .value { font-size: 0.98rem; line-height: 1.6; color: var(--ink); }
.info-row .meta .value a { transition: color 0.3s var(--ease); }
.info-row .meta .value a:hover { color: var(--or-deep); }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--line-light);
  font-size: 0.92rem; color: var(--ink);
}
.hours li:last-child { border-bottom: none; }
.hours li .day { color: var(--ink-soft); }
.hours li .closed { color: var(--err); opacity: 0.8; }

/* ---------- Carte ---------- */
.map-section { padding: 0; }
.map-frame {
  position: relative;
  height: clamp(360px, 50vh, 520px);
  border-top: 1px solid var(--line-dark);
  background:
    radial-gradient(60% 80% at 70% 40%, rgba(201,168,76,0.06), transparent 70%),
    repeating-linear-gradient(45deg, rgba(245,240,232,0.018) 0 2px, transparent 2px 22px),
    var(--anthracite-2);
}
.map-frame iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: grayscale(0.35) contrast(1.02);
}
.map-badge {
  position: absolute; left: clamp(20px, 5vw, 64px); top: clamp(20px, 4vw, 44px);
  background: var(--noir); color: var(--creme);
  padding: 22px 28px; max-width: 300px;
  border: 1px solid var(--line-gold);
  z-index: 2;
}
.map-badge .eyebrow { margin-bottom: 12px; white-space: nowrap; }
.map-badge .btn { margin-top: 20px; font-size: 0.66rem; padding: 0.85em 1.6em; }
.map-badge h4 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.25; margin: 0 0 10px; color: var(--creme); }
.map-badge p { font-size: 0.86rem; line-height: 1.6; color: var(--on-dark-soft); margin: 0; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info .spine-v { display: none; }
  .info-block { padding-left: 0; }
}
