.espace-nav{
  background-color: transparent;
  height: 120px;
}

.devis-section {
  display: flex;
  justify-content: space-between;
  padding: 40px 80px;
  gap: 40px;
  font-family: 'Inter', sans-serif;
  position: relative; /* Assurez-vous que le parent est positionné */
}

.texte-gauche {
  flex: 1;
  max-width: 45%;
  position: sticky;
  top: 20px; /* Ajustez cette valeur selon vos besoins */
  align-self: flex-start; /* Aligne l'élément en haut du conteneur flexible */
}

.titre-devis {
  text-align: left;
  margin-bottom: 40px;
  font-size: 48px;
  font-family: 'Inter-Medium', sans-serif;
  color: #0F1319;
}

.titre-secondaire {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 30px;
}

.texte-paragraphe {
  font-size: 20px;
  line-height: 1.5;
  color: #333;
}


/* Formulaire */
.formulaire-devis {
  flex: 1;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  border: 2px solid #F4541E;
  padding: 20px;
  border-radius: 20px;

}

.formulaire-devis label {
  margin-bottom: 6px;
  font-weight: 600;
}

.formulaire-devis input,
.formulaire-devis textarea {
  margin-bottom: 20px;
  padding: 10px 15px;
  font-size: 16px;
  border: 1px solid #F4541E;
  border-radius: 6px;
  resize: vertical;
}

.formulaire-devis textarea {
  min-height: 120px;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 4px;
}

.small-text {
  font-size: 12px;
  color: #555;
}

.formulaire-devis button {
  background-color: #F4541E;
  color: white;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.formulaire-devis button:hover {
  background-color: #F58D4B;
}

/* Responsive */
@media (max-width: 1200px) {


  .devis-section {
    flex-direction: column;
    gap: 80px;
  }

  .texte-gauche,
  .formulaire-devis {
    max-width: 100%;
  }
}

@media (max-width: 930px) {
  .espace-nav{
    height: 88px;
  }

  .devis-section {
    flex-direction: column;
    padding: 40px 40px;
    gap: 80px;
  }
}


/* Upload de fichiers */
.file-upload-container {
  margin-bottom: 20px;
}

.file-input {
  display: none;
}

.file-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: #FFFDFB;
  border: 2px solid #F4541E;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.file-label:hover {
  background-color: #F4541E;
  color: white;
}

.file-label i {
  font-size: 20px;
}

.file-info {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.file-count {
  font-size: 14px;
  color: #0F1319;
  font-weight: 500;
}

.file-size-info {
  font-size: 12px;
  color: #666;
}

.file-list {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: #FDE2D2;
  border-radius: 6px;
  font-size: 14px;
}

.file-item-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.file-item-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-item-size {
  color: #666;
  font-size: 12px;
  white-space: nowrap;
}

.file-remove {
  background: none;
  border: none;
  color: #F4541E;
  cursor: pointer;
  font-size: 18px;
  padding: 0 4px;
  transition: color 0.2s ease;
}

.file-remove:hover {
  color: #d63600;
}

.file-error {
  color: #f44336;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.file-error.show {
  display: block;
}

/* Drag & Drop */
.file-upload-container.highlight {
  background-color: #FDE2D2;
  border-radius: 8px;
  padding: 10px;
  transition: all 0.3s ease;
}

/* Message de statut pour le formulaire */
.form-message {
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
  display: none;
}

.form-message.success {
  background-color: #4CAF50;
  color: white;
}

.form-message.error {
  background-color: #f44336;
  color: white;
}