:root {
    --primary-color: #579459;
    --secondary-color: #ffffff;
    --accent-color: #e67e22;
    --text-light: #ffffff;
    --color-hover:#c56613;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}


.bann-contact{
  height: 400px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/contact.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.bann-contact::before{
  background-color: rgba(0, 0, 0, 0.5); /* Noir avec 50% d'opacité */
  z-index: -1;
}
.bann-contact span{
  color: #ffffff;
  font-weight: bold;
  font-size: xx-large;
}


.main-contact{
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 5px;
}

.container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 10px auto;
    padding: 20px;
}


/*Style de la div Map*/
/* Container principal */
/* Container principal */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  padding: 10px;
}

/* Map */
.map-container {
  flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: auto; /* Ajustement automatique */
    display: flex;
}

.map-container iframe {
  width: 100%;
  height: 100%; /* Prend toute la hauteur du parent */
  border: none;
}

/* Formulaire */
.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 22px;
  color: #333;
}

/* Labels */
.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
  font-size: 14px;
  text-align: start;
}

/* Champs de saisie */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  background: #f9f9f9;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #007bff;
  background: #fff;
  outline: none;
}

/* Zone de texte */
.contact-form textarea {
  height: 120px;
  resize: none;
}

/* Bouton */
.contact-form button {
  width: 100%;
  background: var(--primary-color);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .map-container {
    height: 400px; /* Fixe une hauteur sur mobile */
}
}













.bloc {
    flex: 1;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.titre-bloc {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.description {
    color: #666;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 1.2em;
    width: 30px;
}

.mail-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mail-link:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}

.section-container-contact {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px 20px;
    text-align: center;
}

.titre-principal {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.sous-titre {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 500;
}

.description {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/*formulaire*/



