
/* ==========================================
   EFS - FORMULAIRES
========================================== */

.efs-help-notice {
  background: #fff7f7;
  border: 1px solid #f0c9ce;
  border-left: 5px solid #c72c3b;
  border-radius: 7px;
  padding: 30px;
  margin-bottom: 60px;
}

.efs-help-notice h2 {
  color: #a91e2c;
  font-size: 25px;
  margin-bottom: 12px;
}

.efs-help-notice p {
  max-width: 800px;
  margin-bottom: 20px;
}

.efs-help-heading {
  margin-bottom: 30px;
}

.efs-help-heading h2 {
  margin-bottom: 12px;
}

.efs-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 55px;
}

.efs-form-intro h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 18px;
}

.efs-form-intro p {
  margin-bottom: 18px;
}

.efs-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: 0 12px 35px rgba(16, 47, 85, 0.05);
}

.efs-form-card h3 {
  font-size: 25px;
  color: var(--navy);
  margin-bottom: 8px;
}

.efs-form-subtitle {
  font-size: 14px;
  margin-bottom: 28px;
}

.efs-field {
  margin-bottom: 22px;
}

.efs-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 9px;
}

.efs-field input,
.efs-field select,
.efs-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid #cbd6e3;
  border-radius: 5px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.efs-field input,
.efs-field select {
  min-height: 49px;
}

.efs-field textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

.efs-field input:focus,
.efs-field select:focus,
.efs-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25, 86, 163, 0.12);
}

.efs-field small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.efs-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 25px 0;
}

.efs-consent input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--blue);
}

.efs-consent label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.efs-submit {
  width: 100%;
  justify-content: center;
  min-height: 50px;
}

.efs-form-feedback {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #c8d8ed;
  border-radius: 5px;
  background: #f0f5fc;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.7;
}

.efs-form-feedback[hidden] {
  display: none;
}

.efs-form-feedback.error {
  background: #fff2f2;
  border-color: #e9b6bd;
  color: #9b1c2a;
}

@media (max-width: 900px) {
  .efs-form-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

@media (max-width: 600px) {
  .efs-help-notice {
    padding: 22px;
    margin-bottom: 40px;
  }

  .efs-help-notice h2 {
    font-size: 22px;
  }

  .efs-form-card {
    padding: 24px 20px;
  }

  .efs-form-card h3 {
    font-size: 22px;
  }
}


/* ==========================================
   EFS - FORMULAIRE DE CANDIDATURE
========================================== */

.efs-form-section-title {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  margin: 36px 0 22px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--border);
}

.efs-form-section-title:first-of-type {
  margin-top: 18px;
}

.efs-form-card .efs-field label {
  line-height: 1.55;
}

.efs-form-card textarea {
  max-width: 100%;
}

.efs-form-card .efs-consent + .efs-consent {
  margin-top: -8px;
}
