/* ===========================
   Page Contact
=========================== */

.contact-page .container {
  max-width: 760px;
}

/* ─── En-tête de page ─── */
.page-header {
  margin-bottom: 16px;
}

.page-header__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: normal;
  font-style: italic;
  letter-spacing: 0.03em;
}

/* ─── Notices ─── */
.contact-notice {
  padding: 16px 20px;
  margin-bottom: 36px;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border-left: 2px solid currentColor;
}

.contact-notice--success {
  color: #3a6644;
  background-color: rgba(58, 102, 68, 0.06);
}

.contact-notice--error {
  color: #7a3030;
  background-color: rgba(122, 48, 48, 0.06);
}

/* ─── Formulaire ─── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__row {
  width: 100%;
}

/* Ligne avec deux champs côte à côte */
.contact-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ─── Labels ─── */
.contact-form__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact-form__required {
  color: var(--color-muted);
  text-transform: lowercase;
  font-weight: 300;
}

/* ─── Inputs ─── */
.contact-form__input,
.contact-form__textarea {
  width: 100%;
  background: transparent;
  border: none;
  border: 1px solid var(--color-border);
  padding: 10px;
  outline: none;
  font-size: 1rem;
  color: var(--color-black);
  transition: border-color 0.25s ease;
  resize: none;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-bottom-color: var(--color-black);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--color-border);
}

/* ─── Bouton envoi ─── */
.contact-form__submit {
  margin-top: 8px;
}

/* Réutilisation du style global .btn-text (défini dans front-page.css) */
.contact-form__submit .btn-text {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-bottom: 1px solid var(--color-black);
}

/* ─── Responsive ─── */
@media (max-width: 560px) {
  .contact-form__row--split {
    grid-template-columns: 1fr;
  }

}
