/* ========================= */
/* HERO */
/* ========================= */

.contact-hero {

  position: relative;

  height: var(--hero-height);
  min-height: var(--hero-min-height);

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  overflow: hidden;

  background:
    url('../img/hero/hero-contact.png')
    center center / cover no-repeat;

  background-color: #2b211c;
}

.contact-overlay {

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.52),
      rgba(0, 0, 0, 0.38)
    );
}

.contact-hero-content {

  position: relative;
  z-index: 2;

  color: white;

  width: min(860px, 92%);

  padding: 20px;
}

.contact-hero-content .section-tag {

  display: inline-block;
  margin-bottom: 17px;
  margin-top: 60px
  
}

.contact-hero-content h1 {

  font-size: clamp(2.8rem, 6vw, 5.2rem);

  font-weight: 300;

  line-height: 1.08;

  margin-bottom: 26px;

  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.45);
}

.contact-hero-content p {

  color: rgba(255, 255, 255, 0.78);

  font-size: 1.1rem;

  line-height: 1.85;
}

/* ========================= */
/* INFO CARDS */
/* ========================= */

.contact-intro {

  padding: 100px 20px 0;
}

.contact-intro-inner {

  width: min(1100px, 92%);
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.contact-info-card {

  background: white;

  border-radius: 26px;

  padding: 36px 30px;

  display: flex;
  align-items: center;
  gap: 20px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

  transition: 0.3s ease;
}

.contact-info-card:hover {

  transform: translateY(-5px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.info-icon {

  flex-shrink: 0;

  width: 52px;
  height: 52px;

  background: #f5ede3;

  border-radius: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #c9915a;
}

.info-text {

  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {

  font-size: 0.72rem;

  text-transform: uppercase;
  letter-spacing: 2px;

  color: #9d8d80;

  font-weight: 500;
}

.info-value {

  font-size: 0.97rem;

  font-weight: 500;

  color: #2e2621;

  text-decoration: none;

  transition: color 0.2s;
}

a.info-value:hover {

  color: #c9915a;
}

/* ========================= */
/* FORMULAIRE */
/* ========================= */

.contact-form-section {

  padding: 100px 20px 140px;
}

.contact-form-container {

  width: min(1100px, 92%);
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1.5fr;

  gap: 80px;

  align-items: start;
}

/* --- Colonne gauche --- */

.form-left {

  position: sticky;
  top: 120px;
}

.form-left .section-tag {

  display: inline-block;
  margin-bottom: 20px;
}

.form-left h2 {

  font-size: clamp(2rem, 3.5vw, 3rem);

  font-weight: 300;

  line-height: 1.15;

  margin-bottom: 28px;

  color: #2e2621;
}

.form-left p {

  color: #5d5148;

  line-height: 1.9;

  font-size: 1rem;
}

.form-decoration {

  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 48px;
}

.deco-line {

  flex: 1;

  height: 1px;

  background: linear-gradient(
    to right,
    #d6a36a,
    transparent
  );
}

.deco-dot {

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #c9915a;

  opacity: 0.5;
}

.deco-dot:first-of-type {
  opacity: 1;
}

/* --- Colonne droite : formulaire --- */

.form-right {

  background: white;

  border-radius: 32px;

  padding: 52px;

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.form-row {

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

.form-group {

  display: flex;
  flex-direction: column;

  gap: 8px;

  margin-bottom: 24px;
}

.form-group label {

  font-size: 0.78rem;

  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 1.5px;

  color: #8f7b70;
}

.form-group input,
.form-group select,
.form-group textarea {

  width: 100%;

  padding: 15px 18px;

  border: 1.5px solid #ece5dc;

  border-radius: 14px;

  background: #faf7f4;

  font-family: 'Outfit', sans-serif;
  font-size: 0.97rem;

  color: #2e2621;

  outline: none;

  transition: 0.25s ease;

  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {

  color: #c4b5a8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

  border-color: #c9915a;

  background: white;

  box-shadow: 0 0 0 4px rgba(201, 145, 90, 0.1);
}

.form-group select {

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%23c9915a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-position: right 16px center;

  cursor: pointer;
}

.form-group textarea {

  resize: vertical;

  min-height: 140px;

  line-height: 1.7;
}

.form-submit {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;

  padding: 17px 30px;

  border: none;
  border-radius: 999px;

  background: #c9915a;

  color: white;

  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;

  cursor: pointer;

  transition: 0.3s ease;

  margin-top: 8px;
}

.form-submit:hover {

  background: #dba36a;

  transform: translateY(-3px);

  box-shadow: 0 15px 40px rgba(201, 145, 90, 0.35);
}

.form-submit:active {

  transform: translateY(0);
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media (max-width: 980px) {

  .contact-intro-inner {

    grid-template-columns: 1fr;
  }

  .contact-form-container {

    grid-template-columns: 1fr;

    gap: 48px;
  }

  .form-left {

    position: static;
  }

  .form-decoration {

    display: none;
  }

}

@media (max-width: 640px) {

  .contact-hero-content h1 {

    font-size: 2.6rem;
  }

  .contact-hero-content p br {

    display: none;
  }

  .form-right {

    padding: 32px 24px;
  }

  .form-row {

    grid-template-columns: 1fr;
  }

  .contact-intro {

    padding: 70px 20px 0;
  }

  .contact-form-section {

    padding: 70px 20px 100px;
  }

}