/* ============================================
   WKS AUTOMOTIVE — página trabalhe-conosco
   (depende de wks-categoria.css para breadcrumb + servico-hero)
   ============================================ */

.servico-hero { min-height: 55vh; }

/* INTRO + PERKS */
.trabalhe-intro {
  padding: 8rem 0;
  background: var(--wks-white);
  scroll-margin-top: 80px;
}
.trabalhe-intro .section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.perk-card {
  background: var(--wks-gray-50);
  border: 1px solid var(--wks-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  height: 100%;
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.perk-card:hover {
  transform: translateY(-3px);
  border-color: var(--wks-gray-300);
}
.perk-card-alt {
  background: var(--wks-orange);
  border-color: var(--wks-orange);
  color: var(--wks-white);
}
.perk-card-alt:hover {
  background: var(--wks-orange-hover);
  border-color: var(--wks-orange-hover);
}
.perk-num {
  display: inline-block;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--wks-orange);
  margin-bottom: 1.5rem;
}
.perk-card-alt .perk-num { color: var(--wks-white); opacity: 0.85; }
.perk-card h3 {
  font-size: 1.25rem; font-weight: 400;
  letter-spacing: -0.02em; margin-bottom: 0.875rem; line-height: 1.25;
}
.perk-card-alt h3 { color: var(--wks-white); }
.perk-card p {
  font-size: 0.9375rem; font-weight: 300;
  color: var(--wks-text-muted); line-height: 1.7; margin: 0;
}
.perk-card-alt p { color: rgba(255,255,255,0.95); }

/* CANDIDATURA */
.candidatura-section {
  padding: 8rem 0;
  background: var(--wks-gray-50);
  scroll-margin-top: 80px;
}
.candidatura-header {
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.candidatura-section .eyebrow {
  display: inline-block;
  color: var(--wks-orange);
  margin-bottom: 1rem;
}
.candidatura-section .cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--wks-text);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.candidatura-text {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--wks-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* FORM */
.form-candidatura {
  background: var(--wks-white);
  border: 1px solid var(--wks-border);
  border-radius: var(--radius-md);
  padding: 3rem 2.75rem;
}
.form-bloco {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--wks-border);
}
.form-bloco:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}
.form-bloco-titulo {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wks-orange);
  margin-bottom: 1.75rem;
}
.form-candidatura .form-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--wks-text);
  margin-bottom: 0.5rem;
}
.form-candidatura .req {
  color: var(--wks-orange);
  margin-left: 0.15rem;
}
.form-candidatura .form-control,
.form-candidatura .form-select {
  border: 1px solid var(--wks-border);
  border-radius: var(--radius-sm, 6px);
  padding: 0.7rem 0.9rem;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--wks-text);
  background-color: var(--wks-white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-candidatura .form-control:focus,
.form-candidatura .form-select:focus {
  border-color: var(--wks-orange);
  box-shadow: 0 0 0 3px rgba(232, 89, 60, 0.12);
  outline: none;
}
.form-candidatura.was-validated .form-control:invalid,
.form-candidatura.was-validated .form-select:invalid {
  border-color: #d83a3a;
  background-image: none;
}

/* Upload de arquivo */
.file-upload { position: relative; }
.file-input {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.file-input:focus + .file-label {
  border-color: var(--wks-orange);
  box-shadow: 0 0 0 3px rgba(232, 89, 60, 0.12);
}
.file-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--wks-gray-50);
  border: 1.5px dashed var(--wks-border);
  border-radius: var(--radius-sm, 6px);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  margin: 0;
}
.file-label:hover {
  border-color: var(--wks-orange);
  background: var(--wks-white);
}
.file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--wks-white);
  border: 1px solid var(--wks-border);
  color: var(--wks-orange);
  flex-shrink: 0;
}
.file-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.3;
}
.file-text strong {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--wks-text);
}
.file-text small {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--wks-text-muted);
}
.file-label.is-filled {
  border-style: solid;
  border-color: var(--wks-orange);
  background: rgba(232, 89, 60, 0.05);
}
.file-label.is-filled .file-icon {
  background: var(--wks-orange);
  color: var(--wks-white);
  border-color: var(--wks-orange);
}
.file-label.is-invalid {
  border-style: solid;
  border-color: #d83a3a;
  background: rgba(216, 58, 58, 0.05);
}
.file-label.is-invalid .file-icon { color: #d83a3a; }
.form-hint {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--wks-text-muted);
  margin: 0.625rem 0 0;
}

/* Consentimento LGPD */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--wks-orange);
  flex-shrink: 0;
  cursor: pointer;
}
.form-consent label {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--wks-text-muted);
  line-height: 1.55;
  margin: 0;
  cursor: pointer;
}

/* Submit */
.form-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.form-submit {
  padding: 0.9rem 2.5rem;
  font-size: 0.9375rem;
}
.form-submit.is-success {
  background: #1f8a4c;
  border-color: #1f8a4c;
}
.form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.95;
}
.form-note {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--wks-text-muted);
}

/* Responsive */
@media (max-width: 991.98px) {
  .trabalhe-intro, .candidatura-section {
    padding: 5rem 0;
  }
  .servico-hero { min-height: 50vh; }
  .form-candidatura { padding: 2rem 1.5rem; }
}
