.jobs-page {
  background: #0066ff;
  min-height: 100vh;
  color: white;
  padding-bottom: 4rem;
}

.jobs-hero {
  width: min(1100px, 90vw);
  margin: 0 auto;
  padding: 4rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.jobs-hero__content .eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #b3c7ff;
}

.jobs-hero__content h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  margin: 1rem 0;
}

.jobs-hero__content ul {
  margin-top: 1.5rem;
  padding-left: 1.25rem;
  line-height: 1.8;
  list-style: disc;
}

.jobs-hero__visual {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.jobs-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.45), rgba(14, 165, 233, 0.15), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.jobs-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(1.2) saturate(1.05);
}

.vest-brand {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: #ff0033;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.overlay-card {
  background: rgba(255, 255, 255, 0.95);
  color: #0d2c86;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  max-width: 260px;
}

.jobs-form-section {
  background: white;
  border-radius: 30px 30px 0 0;
  padding: 4rem 1.5rem;
  margin-top: -2rem;
}

.jobs-form-card {
  width: min(900px, 100%);
  margin: 0 auto;
}

.jobs-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.jobs-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 600;
  color: #0d2c86;
}

.jobs-form input,
.jobs-form select,
.jobs-form textarea {
  border-radius: 12px;
  border: 1px solid #c3cee6;
  padding: 0.9rem;
  font-size: 1rem;
  font-family: inherit;
  background: #f7f9ff;
}

.file-field {
  border: 2px dashed #b7c4ff;
  border-radius: 16px;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(247, 249, 255, 0.95), rgba(231, 238, 255, 0.95));
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.file-field:hover {
  border-color: #7f9bff;
  box-shadow: 0 10px 25px rgba(13, 44, 134, 0.15);
}

.file-field::before {
  content: '📎 Insérer un fichier';
  font-weight: 700;
  color: #0d2c86;
}

.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-hint {
  font-weight: 400;
  font-size: 0.95rem;
  color: #4a5da3;
}

.jobs-form textarea {
  min-height: 120px;
  resize: vertical;
}

.jobs-upload {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jobs-upload h3 {
  margin-bottom: 0.35rem;
  color: #0d2c86;
}

.jobs-upload-hint {
  color: #4a5da3;
  font-size: 0.95rem;
}

.jobs-feedback {
  font-size: 0.95rem;
  color: #0d2c86;
  margin-top: 0.5rem;
}

.jobs-feedback.error {
  color: #c0392b;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.jobs-submit {
  align-self: flex-start;
  background: #10b981;
  color: white;
  padding: 0.95rem 2.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jobs-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.35);
}

.jobs-faq {
  width: min(1100px, 90vw);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.jobs-faq ol,
.jobs-faq ul {
  padding-left: 1.25rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .jobs-hero {
    text-align: center;
  }

  .jobs-hero__visual {
    min-height: 320px;
    order: -1;
  }

  .overlay-card {
    margin: 0 auto;
  }

  .jobs-submit,
  .file-field {
    width: 100%;
  }
}