/* Cotação em 3 passos - Infiniti Transportes */
.quote-wizard-shell { padding: clamp(26px, 3.4vw, 44px); }
.quote-wizard-shell > h2 { margin-bottom: 10px; font-size: clamp(1.75rem, 2.4vw, 2.35rem); }
.quote-wizard-shell > p { max-width: 48ch; }
.quote-wizard-shell > p.wizard-note { margin: 0 0 26px; padding-left: 12px; border-left: 2px solid #fec300; font-size: 12px; line-height: 1.5; color: rgba(241, 241, 239, .62); }

.quote-wizard { display: block; min-width: 0; }
.quote-wizard *,
.quote-wizard *::before,
.quote-wizard *::after { box-sizing: border-box; }
.wizard-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.wizard-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fec300; }
.wizard-count { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(241, 241, 239, .45); }
.wizard-bar { height: 3px; margin-bottom: 28px; border-radius: 99px; background: rgba(241, 241, 239, .16); overflow: hidden; }
.wizard-bar i { display: block; height: 100%; background: #fec300; transition: width .3s ease; }

.wizard-step { display: none; min-width: 0; }
.wizard-step.is-active { display: block; animation: wizard-in .25s ease both; }
@keyframes wizard-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.wizard-heading h3 { margin: 0 0 6px; font-size: clamp(1.25rem, 1.7vw, 1.55rem); letter-spacing: -.02em; color: #f1f1ef; }
.wizard-heading p { margin: 0 0 20px; font-size: 13px; color: rgba(241, 241, 239, .6); }

.wizard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.wizard-field { display: grid; gap: 7px; min-width: 0; }
.wizard-field-wide { grid-column: 1 / -1; }
.wizard-field > span { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(241, 241, 239, .72); }

.quote-wizard input,
.quote-wizard select { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid rgba(241, 241, 239, .26); border-radius: 10px; outline: 0; background: rgba(241, 241, 239, .04); color: #f1f1ef; font-family: inherit; font-size: 14px; font-weight: 400; transition: border-color .18s ease, background .18s ease; }
.quote-wizard select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23f1f1ef' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.quote-wizard select:invalid,
.quote-wizard select:has(option:checked[disabled]) { color: rgba(241, 241, 239, .46); }
.quote-wizard option { background: #1a1a1a; color: #f1f1ef; }
.quote-wizard input::placeholder { color: rgba(241, 241, 239, .38); }
.quote-wizard input:focus,
.quote-wizard select:focus { border-color: #fec300; background-color: rgba(254, 195, 0, .07); }
.wizard-field.is-invalid input,
.wizard-field.is-invalid select { border-color: #ff8a8a; }

.wizard-error { margin: 16px 0 0; font-size: 12px; color: #ff9b9b; }
.wizard-error[hidden] { display: none; }

.wizard-nav { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.wizard-nav .wizard-next { margin-left: auto; }
.wizard-back { padding: 6px 0; border: 0; background: none; color: rgba(241, 241, 239, .62); font-family: inherit; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wizard-back:hover { color: #fec300; }
.wizard-back[hidden], .wizard-nav .wizard-next[hidden] { display: none; }

.quote-wizard-shell .form-success { margin: 16px 0 0; color: #fec300; font-size: 13px; font-weight: 500; }
.quote-wizard-shell .form-note { margin: 18px 0 0; color: rgba(241, 241, 239, .55); font-size: 11px; line-height: 1.55; }

@media (max-width: 700px) {
  .wizard-grid { grid-template-columns: 1fr; gap: 13px; }
  .wizard-field-wide { grid-column: auto; }
  .wizard-nav { flex-direction: column-reverse; align-items: stretch; gap: 10px; margin-top: 20px; }
  .wizard-nav .wizard-next { margin-left: 0; width: 100%; justify-content: center; }
  .wizard-back { text-align: center; }
}
