/* --- SECTION CONTACT --- */
html, body {
  width: 100%;
  overflow-x: hidden;
}

.contact-section {
  text-align: center;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  align-items: start;
  text-align: left;
  padding-left: 25px;
  padding-right: 25px; /* espace intérieur pour les traits */
  position:relative;
  overflow: hidden;
   z-index: 1;
}

.map-container iframe {
  width: 100%;
  max-width: 100%;
  height: 300px;
  display: block;
}

* {
  box-sizing: border-box;
}
/* === TRAITS ORANGES === */
.contact-grid::before,
.contact-grid::after,
.contact-grid::marker {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #ff6600;
  border-radius: 2px;
}

/* Trait gauche */
.contact-grid::before {
  left: 0px;
}

/* Trait du milieu */
.contact-grid::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Trait droite */
.contact-form::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0px;
  width: 3px;
  background-color: #ff6600;
  border-radius: 2px;
  z-index: 0;
}

/* --- COLONNE GAUCHE --- */
.contact-info {
  background-color: #292929;
  border-radius: 20px;
  padding: 20px;
  color: white;
  /* border-right: 3px solid #ff6600; */
}

.contact-info h3 {
  color: #ff6600;
  margin-bottom: 20px;
}

.contact-info p {
  margin: 8px 0;
  font-size: 1.1em;
}

.contact-info a {
  text-decoration:none;
  color: white;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.social-logo {
  height: 35px;
  width: 35px;
  margin-bottom:-10px;
  margin-right: 10px;
}

.map-container {
  margin-top: 25px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* --- COLONNE DROITE --- */
.contact-form h3 {
  color: #ff6600;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 15px;
}

select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

select:focus {
  border-color: #006fbf;
  outline: none;
}

option[disabled] {
  color: #777;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  transition: border 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: #006fbf;
  outline: none;
}

textarea {
  resize: none;
}

/* --- BOUTON --- */
.btn {
  background-color: #ff6600;
  color: black;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1em;
  cursor: pointer;
  font-weight: bold;
  align-self: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: #000;
  color: #ff6600;
  transform: translateY(-2px);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .contact-grid::before,
  .contact-grid::after,
  .contact-form::after {
    display: none; /* On retire les traits sur mobile */
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .contact-grid {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    padding: 0 2px;
    margin: 0 auto;
    overflow-x: hidden;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    max-width: 100%;
	text-align: center;
  }

}

@media (max-width: 600px) {
  .contact-info .email {
    font-size: 0.85em;   /* réduction ciblée */
  }
}
