/* ==========================================================================
   PAGE CONTACT - DESIGN EDITORIAL
   ========================================================================== */

:root {
  --color-accent: #c49d79;
  --color-plum: #9a1c6a;
  --color-pink: #b82b70;
  --bg-light: #fdfbf7;
  --text-dark: #1a1614;
  --text-muted: #666666;
  --border-light: rgba(0, 0, 0, 0.1);
}

.contact-section {
  padding: 120px 0;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- EN-TÊTE DE LA PAGE --- */
.contact-header {
  text-align: center;
  margin-bottom: 80px;
}

.contact-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 54px;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.contact-header p {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: var(--text-muted);
}

/* --- MISE EN PAGE EN DEUX COLONNES --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;
  align-items: start;
}

/* --- COLONNE GAUCHE (COORDONNÉES) --- */
.contact-info {
  background-color: var(--bg-light);
  padding: 50px 40px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.info-block {
  margin-bottom: 40px;
}

.info-block:last-child {
  margin-bottom: 0;
}

.info-title {
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 15px;
  display: block;
}

.info-text {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.info-text strong {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 400;
  display: block;
  margin-bottom: 5px;
}

.info-link {
  color: var(--text-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.info-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* --- COLONNE DROITE (FORMULAIRE MINIMALISTE) --- */
.contact-form-container {
  padding-top: 10px;
}

/* Bloc de pré-remplissage du soin */
.soin-prefilled-alert {
  background-color: var(--bg-light);
  border-left: 2px solid var(--color-accent);
  padding: 20px 25px;
  margin-bottom: 40px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
}

.soin-prefilled-alert strong {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--color-accent);
  display: block;
  margin-top: 5px;
}

/* Lignes du formulaire */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.input-group {
  position: relative;
  margin-bottom: 30px;
}

.input-group label {
  display: block;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Style minimaliste : juste une bordure en bas */
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--border-light);
  background-color: transparent;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  transition: border-color 0.3s;
  border-radius: 0; /* Enlève les arrondis natifs d'Apple/iOS */
  outline: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
  color: #cccccc;
  font-weight: 300;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-bottom-color: var(--color-accent);
}

/* Bouton envoyer */
.btn-submit {
  display: inline-block;
  padding: 18px 50px;
  background-color: var(--text-dark);
  color: #ffffff;
  border: none;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: var(--color-accent);
}

/* --- MESSAGES D'ALERTE --- */
.alert {
  padding: 20px;
  margin-bottom: 40px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.alert-success {
  background-color: #f0f7f4;
  color: #2c5e43;
  border: 1px solid #d5e8df;
}

.alert-error {
  background-color: #fdf3f4;
  color: #8a313d;
  border: 1px solid #f6d8dc;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-info {
    order: 2; /* Fait passer les infos sous le formulaire sur mobile */
  }

  .contact-form-container {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contact-header h1 {
    font-size: 42px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .btn-submit {
    width: 100%;
    text-align: center;
  }
}
