/* ===== CONTACT PAGE ===== */
.contact-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px; /* nav height */
}

/* ===== LEFT PANEL ===== */
.contact-left {
  background: var(--dark-2);
  border-right: 1px solid rgba(201,169,110,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}

.contact-left-inner {
  max-width: 480px;
}

.contact-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-title em {
  font-style: italic;
  color: var(--gold);
}

.contact-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.83rem;
  color: var(--text-light);
}

.cf-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-agent {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  border: 1px solid rgba(201,169,110,0.2);
  background: rgba(201,169,110,0.04);
}

.contact-agent img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gold);
}

.agent-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.agent-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.agent-phone {
  font-size: 0.82rem;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.agent-phone:hover { color: var(--gold-light); }

/* ===== RIGHT PANEL ===== */
.contact-right {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
}

.contact-form-wrap {
  width: 100%;
  max-width: 520px;
}

/* ===== STEPS ===== */
.steps {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(201,169,110,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s;
}

.step-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.step.active .step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.step.active .step-label { color: var(--gold); }

.step.done .step-num {
  background: rgba(201,169,110,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.step.done .step-label { color: var(--text-light); }

.step-line {
  flex: 1;
  height: 1px;
  background: rgba(201,169,110,0.2);
  margin: 0 0.8rem;
  margin-bottom: 1.2rem;
  transition: background 0.3s;
}

.step-line.done { background: var(--gold); }

/* ===== FORM STEPS ===== */
.form-step { animation: fadeUp 0.4s ease both; }
.form-step.hidden { display: none; }

.form-step-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
}

.form-step-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ===== FIELDS ===== */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.field input,
.field select,
.field textarea {
  background: var(--dark-2);
  border: 1px solid rgba(201,169,110,0.2);
  color: var(--white);
  padding: 0.75rem 1rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field select option {
  background: var(--dark-2);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.input-icon-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  pointer-events: none;
}

.input-icon-wrap input {
  padding-left: 2.4rem;
  width: 100%;
}

/* ===== RADIO ===== */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(201,169,110,0.15);
  transition: all 0.2s;
}

.radio-option:hover {
  border-color: rgba(201,169,110,0.4);
  background: rgba(201,169,110,0.04);
}

.radio-option input[type="radio"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  padding: 0;
  border: none;
  background: none;
}

/* ===== CHECKBOX ===== */
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== FORM NAV ===== */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-back {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  letter-spacing: 0.05em;
}

.btn-back:hover { color: var(--white); }

/* ===== SUCCESS ===== */
.success-wrap {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(201,169,110,0.12);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold);
  margin: 0 auto 1.5rem;
}

.success-info {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(201,169,110,0.08);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 0.8rem 1.4rem;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 1.5rem;
}

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

  .contact-left {
    padding: 3rem 2rem;
    border-right: none;
    border-bottom: 1px solid rgba(201,169,110,0.12);
  }

  .contact-right {
    padding: 3rem 2rem;
  }
}

@media (max-width: 480px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-features {
    grid-template-columns: 1fr;
  }
}

/* ===== FIELD ERRORS ===== */
.field-error {
  font-size: 0.75rem;
  color: #e07070;
  margin-top: 0.2rem;
}

/* Django adds id_ prefix — make sure icon input fills wrap */
.input-icon-wrap input[type="text"] {
  width: 100%;
  padding-left: 2.4rem;
}

/* ===== COORDONNÉES ===== */
.coord-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.coord-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(201,169,110,0.15);
  transition: border-color 0.2s;
}

.coord-item:hover {
  border-color: rgba(201,169,110,0.4);
}

.coord-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.coord-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.coord-value {
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.2s;
}

a.coord-value:hover {
  color: var(--gold);
}

.coord-social {
  display: flex;
  gap: 0.8rem;
}
