/* ===== VALSORIA ENTREPRISE FORM ===== */

/* Hero plein écran */
.vef-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 5% 40px 5%;
  box-sizing: border-box;
}

/* Overlay sombre sur l'image */
.vef-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(10, 30, 60, 0.70) 55%,
    rgba(10, 30, 60, 0.85) 100%
  );
  z-index: 0;
}

/* Carte du formulaire */
.vef-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 16px;
  padding: 36px 36px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

/* En-tête de la carte */
.vef-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid #eef2f7;
}

.vef-logo-wrap {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a3a5c, #2a6099);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vef-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0;
  line-height: 1.3;
}

/* Champs */
.vef-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #f7f9fc;
  border: 1.5px solid #dde3ec;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.9rem;
  color: #222;
  font-family: inherit;
  margin-bottom: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.vef-input::placeholder { color: #aab0bc; }

.vef-input:focus {
  border-color: #2a6099;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(42, 96, 153, 0.12);
}

.vef-textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.5;
}

/* Bouton */
.vef-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #1a3a5c 0%, #2a6099 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-top: 6px;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.3px;
}

.vef-btn:hover   { opacity: 0.92; transform: translateY(-1px); }
.vef-btn:active  { transform: translateY(0); }
.vef-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Erreur */
.vef-error {
  background: #fde8e8;
  color: #c0392b;
  font-size: 0.82rem;
  border-radius: 7px;
  padding: 10px 14px;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Succès */
.vef-success {
  text-align: center;
  padding: 20px 0 10px;
}

.vef-check {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  animation: vef-pop 0.4s cubic-bezier(.36,.07,.19,.97);
}

@keyframes vef-pop {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.vef-success h3 {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  color: #1a3a5c;
  margin: 0 0 10px;
}

.vef-success p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 680px) {
  .vef-hero {
    justify-content: center;
    padding: 24px 16px 32px;
    min-height: 100vh;
    align-items: flex-start;
    padding-top: 60px;
  }
  .vef-card {
    max-width: 100%;
    padding: 26px 20px 30px;
    border-radius: 12px;
  }
  .vef-title { font-size: 1rem; }
}
