/* Reinitialisation et fond de page */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #C8E0E3;
  color: #333;
  line-height: 1.6;
}

/* Barre de navigation */
.onglets {
  display: flex;
  align-items: center; /* centre verticalement tout */
  justify-content: space-between; 
  background-color: #0F4F54; /* même couleur que sur accueil/qui sommes-nous */
  padding: 0 2rem;
  height: 60px; /* barre fixe */
  box-sizing: border-box;
}

.logo-container {
  display: flex; /* logo + texte en ligne */
  align-items: center;
  gap: 0.5rem; /* espace entre logo et texte */
}

.onglets .logo {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: 'Playwrite NZ', cursive;
  font-size: 1rem;
  color: #FFFFFF;
  font-weight: bold;
}

/* liens navigation */
.onglets ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.onglets ul li {
  margin-left: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-link.active {
  color: #71EBF5;
}

.onglets ul li a:not(.nav-link.active):hover {
  color: #FFFFFF;
}

/* Conteneur principal en deux colonnes */
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 8%;
  gap: 4rem;
}

/* Partie gauche */
.contact-info {
  flex: 1;
  color: #1f4f55;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.coordonnees h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
}

.coordonnees p {
  margin: 0.5rem 0;
}

/* Partie droite : formulaire de contact */
.form-card1 {
  flex: 1;
  display: flex;
  justify-content: center;
}


.form {
  display: flex;
  flex-direction: column;
  align-self: center;
  font-family: inherit;
  gap: 10px;
  padding: 2em;
  background-color: #007178;
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.form-heading {
  text-align: center;
  margin: 0 0 1em;
  color: #E9F6F7;
  font-size: 1.5em;
  background-color: transparent;
}

.form-field {
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 0.6em;
  border: none;
  outline: none;
  background-color: #d9dcdd;
  box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
}

.input-field,
textarea.input-field {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  color: #000000;
  padding-inline: 1em;
  font-family: inherit;
  resize: vertical; /* Permet de redimensionner verticalement le textarea si nécessaire */
}

.input-field::placeholder,
textarea.input-field::placeholder {
  color: #788387;
  opacity: 1;
}

.sendMessage-btn {
  cursor: pointer;
  margin: 1em 0;
  padding: 1em;
  border-radius: 10px;
  border: none;
  outline: none;
  background-color: transparent;
  color: #E9F6F7;
  font-weight: bold;
  outline: 1px solid #E9F6F7;
  transition: all ease-in-out 0.3s;
}

.sendMessage-btn:hover {
  background-color: #d9dcdd;
  color: #000;
  box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
}

@media (max-width: 900px) { /* pour structure sur mobile */
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
}