/* Verte RH — Briefing Estratégico da Vaga */

.form-page { padding-bottom: 70px; }

.form-hero { background: linear-gradient(135deg, #15204D 0%, #1b2a5f 100%); color: #fff; padding: 54px 0 40px; }
.form-hero .form-eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: #7DC855; margin-bottom: 12px; }
.form-hero h1 { font-family: var(--display, "Fraunces", serif); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.08; margin: 0 0 12px; color: #ffffff; }
.form-hero p { max-width: 680px; color: rgba(255,255,255,.9); font-size: 1.05rem; }

/* barra de progresso */
.wiz-progress { height: 6px; background: var(--green-tint, #eef6e9); border-radius: 99px; overflow: hidden; margin: 26px 0 22px; }
.wiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4F9E35, #7DC855); border-radius: 99px; transition: width .35s ease; }

/* card do assistente */
.wizard { max-width: 860px; margin: 0 auto; }
.wiz-card { background: var(--paper, #fff); border: 1px solid var(--line, #e7ece4); border-radius: 20px; padding: 34px 32px; box-shadow: 0 12px 40px rgba(21,32,77,.06); }
.wiz-card.center { text-align: center; }
.wiz-step { display: inline-block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--green-700, #387324); background: var(--green-tint, #eef6e9); padding: 5px 12px; border-radius: 99px; }
.wiz-card h2 { font-family: var(--display, "Fraunces", serif); color: var(--navy, #15204D); font-size: 1.7rem; margin: 14px 0 22px; }

/* campos */
.fields { display: flex; flex-direction: column; gap: 22px; }
.fld-label { display: block; font-weight: 600; color: var(--ink, #16201c); margin-bottom: 8px; }
.fld-label .req { color: #d64545; }
.fld-hint { font-size: .84rem; color: var(--gray, #788379); margin: -4px 0 8px; }
.fld input[type=text], .fld input[type=email], .fld input[type=tel], .fld input[type=number], .fld textarea {
  width: 100%; border: 1.5px solid var(--line, #e7ece4); border-radius: 12px; padding: 12px 14px;
  font: inherit; color: var(--ink, #16201c); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.fld textarea { resize: vertical; min-height: 84px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: #4F9E35; box-shadow: 0 0 0 3px rgba(79,158,53,.15); }
.fld.has-err input, .fld.has-err textarea { border-color: #d64545; }
.fld.has-err .opts { outline: 2px solid rgba(214,69,69,.35); outline-offset: 4px; border-radius: 12px; }
.fld-err { color: #d64545; font-size: .82rem; margin-top: 6px; }

/* opções (radio / checkbox como pílulas) */
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line, #e7ece4); border-radius: 12px; padding: 11px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--green-tint-2, #cfe6c2); background: #fbfdf9; }
.opt.on { border-color: #4F9E35; background: var(--green-tint, #eef6e9); }
.opt input { accent-color: #4F9E35; width: 18px; height: 18px; }
.opt span { color: var(--ink, #16201c); }

/* navegação */
.wiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; gap: 12px; }
.btn-ghost { background: #fff; border: 1.5px solid var(--line, #e7ece4); color: var(--ink, #16201c); }
.btn-ghost:hover { border-color: var(--navy, #15204D); }

/* revisão */
.rev-intro { color: var(--gray, #788379); margin-bottom: 18px; }
.review { display: flex; flex-direction: column; gap: 20px; }
.rev-sec { border: 1px solid var(--line, #e7ece4); border-radius: 14px; overflow: hidden; }
.rev-sec h3 { background: var(--navy, #15204D); color: #fff; font-size: .95rem; font-weight: 600; padding: 10px 16px; margin: 0; }
.rev-row { padding: 9px 16px; border-top: 1px solid #f0f3ee; font-size: .92rem; line-height: 1.55; }
.rev-row:first-of-type { border-top: 0; }
.rev-q { color: var(--gray, #788379); margin-right: 6px; }
.rev-a { color: var(--ink, #16201c); font-weight: 600; word-break: break-word; }

/* estado final */
.done-ic { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; background: #4F9E35; color: #fff; display: grid; place-items: center; font-size: 34px; box-shadow: 0 10px 26px rgba(79,158,53,.35); }
.wiz-card.center h2 { margin-top: 0; }
.wiz-card.center .btn { margin-top: 22px; }

/* toast de erro */
.form-toast { border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-weight: 500; }
.form-toast.err { background: #fdecec; color: #a12626; border: 1px solid #f6c9c9; }

/* pop-up */
.modal-ov { position: fixed; inset: 0; background: rgba(21,32,77,.55); display: grid; place-items: center; padding: 20px; z-index: 999; animation: fadein .18s ease; }
.modal { background: #fff; border-radius: 18px; padding: 28px 26px; max-width: 460px; width: 100%; box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.modal h3 { font-family: var(--display, "Fraunces", serif); color: var(--navy, #15204D); font-size: 1.4rem; margin: 0 0 10px; }
.modal p { color: var(--ink-soft, #3c463f); line-height: 1.5; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 620px) {
  .wiz-card { padding: 24px 18px; }
  .rev-row { padding: 9px 14px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
}
