/* =========================================
   PAGE CONTACT
   ========================================= */

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--nav-height) + 56px) 24px 60px;
}

main {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

main > h1 {
  font-family: var(--font-display);
  font-size: 64px;
  text-align: center;
  color: var(--primary);
  line-height: 1.15;
}

/* ---- Formulaire ---- */
.container {
  width: 100%;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 32px 36px;
  border: 1px solid #e0e0e0;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#contact-form label {
  font-weight: bold;
  font-size: 14px;
  color: var(--text-dark);
  display: block;
}

#contact-form input[type="text"],
#contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
  margin-bottom: 4px;
}

#contact-form input[type="text"]:focus,
#contact-form textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(15, 110, 168, 0.15);
}

#contact-form textarea {
  min-height: 130px;
}

#contact-form input[type="submit"] {
  display: block;
  margin: 0 auto;
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 36px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-md);
}

#contact-form input[type="submit"]:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .container {
    padding: 22px 18px;
  }
  main > h1 {
    font-size: 48px;
  }
}

@media (max-width: 400px) {
  main > h1 {
    font-size: 38px;
  }
  .container {
    padding: 18px 14px;
  }
}
