/* Orçamento — visual refinement limited to the three form steps */
.orcamento-steps-refined {
    --step-rose: #f23665;
    --step-rose-light: #ff8eaa;
    --step-wine: #19090f;
    --step-line: rgba(255, 255, 255, 0.13);
}

.orcamento-steps-refined .orc-form-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.35rem;
    background:
        linear-gradient(145deg, rgba(43, 16, 25, 0.9), rgba(19, 7, 11, 0.93)),
        rgba(18, 8, 12, 0.92);
    box-shadow: 0 34px 85px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.orcamento-steps-refined .orc-form-card > .mb-2 > div:first-child {
    gap: 1rem;
}

.orcamento-steps-refined .progress-bar-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.09);
}

.orcamento-steps-refined .progress-bar-fill {
    background: linear-gradient(90deg, var(--step-rose), var(--step-rose-light));
    box-shadow: 0 0 18px rgba(242, 54, 101, 0.36);
}

.orcamento-steps-refined .step-indicator {
    gap: 0.65rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(20, 8, 12, 0.46);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(16px);
}

.orcamento-steps-refined .step-dot {
    width: 2.25rem;
    height: 2.25rem;
    border-width: 1px;
    background: rgba(255, 255, 255, 0.035);
}

.orcamento-steps-refined .step-dot.active {
    border-color: var(--step-rose);
    background: var(--step-rose);
    box-shadow: 0 8px 22px rgba(242, 54, 101, 0.32);
}

.orcamento-steps-refined .step-dot.completed {
    border-color: rgba(255, 142, 170, 0.48);
    background: rgba(242, 54, 101, 0.12);
    color: var(--step-rose-light);
}

.orcamento-steps-refined .step-connector {
    width: clamp(2.4rem, 5vw, 4rem);
}

.orcamento-steps-refined .step-content::before {
    display: block;
    margin-bottom: 1rem;
    color: var(--step-rose-light);
    font-size: 0.59rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.orcamento-steps-refined #step-1::before { content: '01  •  SOBRE A CELEBRAÇÃO'; }
.orcamento-steps-refined #step-2::before { content: '02  •  IDENTIDADE DO EVENTO'; }
.orcamento-steps-refined #step-3::before { content: '03  •  DADOS PARA CONTATO'; }

.orcamento-steps-refined .orc-step-group,
.orcamento-steps-refined .orc-contact-fields {
    padding: clamp(1rem, 2.5vw, 1.4rem);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.orcamento-steps-refined .orc-step-pair {
    gap: 0.9rem !important;
}

.orcamento-steps-refined .step-content label.block,
.orcamento-steps-refined .orc-date-field__title {
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.orcamento-steps-refined .selection-card {
    min-height: 7.4rem;
    padding: 1.05rem 0.8rem;
    gap: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.orcamento-steps-refined .selection-card::before {
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--step-rose), var(--step-rose-light));
}

.orcamento-steps-refined .selection-card::after {
    content: '✓';
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    display: grid;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    place-items: center;
    background: var(--step-rose);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.orcamento-steps-refined .selection-card:hover {
    border-color: rgba(255, 142, 170, 0.48);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.orcamento-steps-refined .selection-card.selected,
.orcamento-steps-refined .selection-card:has(input:checked) {
    border-color: rgba(242, 54, 101, 0.88);
    background: linear-gradient(145deg, rgba(242, 54, 101, 0.18), rgba(255, 255, 255, 0.06));
    box-shadow: 0 14px 34px rgba(242, 54, 101, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.orcamento-steps-refined .selection-card.selected::before,
.orcamento-steps-refined .selection-card:has(input:checked)::before,
.orcamento-steps-refined .selection-card.selected::after,
.orcamento-steps-refined .selection-card:has(input:checked)::after {
    opacity: 1;
}

.orcamento-steps-refined .selection-card.selected::after,
.orcamento-steps-refined .selection-card:has(input:checked)::after {
    transform: scale(1);
}

.orcamento-steps-refined .selection-card .icon {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    margin: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.68rem;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.45rem !important;
}

.orcamento-steps-refined .selection-card.selected .icon,
.orcamento-steps-refined .selection-card:has(input:checked) .icon {
    border-color: rgba(242, 54, 101, 0.3);
    background: rgba(242, 54, 101, 0.12);
    color: var(--step-rose-light);
    filter: none;
    transform: none;
}

.orcamento-steps-refined .selection-card.\!flex-row {
    min-height: 4.9rem;
    padding: 0.95rem 1rem !important;
    gap: 0.7rem;
}

.orcamento-steps-refined .selection-pill {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
}

.orcamento-steps-refined .selection-pill:hover {
    border-color: rgba(255, 142, 170, 0.48);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: none;
    transform: translateY(-1px);
}

.orcamento-steps-refined .selection-pill.selected,
.orcamento-steps-refined .selection-pill:has(input:checked) {
    border-color: var(--step-rose);
    background: var(--step-rose);
    color: #fff;
    box-shadow: 0 9px 22px rgba(242, 54, 101, 0.22);
    transform: none;
}

.orcamento-steps-refined .orc-select,
.orcamento-steps-refined .form-input-clean,
.orcamento-steps-refined .orc-date-select,
.orcamento-steps-refined .orc-year-field {
    min-height: 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 0.7rem !important;
    background: rgba(8, 3, 5, 0.27) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.orcamento-steps-refined .form-input-clean {
    padding: 0.9rem 1rem;
}

.orcamento-steps-refined textarea.form-input-clean {
    min-height: 7rem;
    resize: vertical;
}

.orcamento-steps-refined .orc-select:focus,
.orcamento-steps-refined .form-input-clean:focus,
.orcamento-steps-refined .orc-date-select:focus,
.orcamento-steps-refined .orc-year-field:focus-within {
    border-color: var(--step-rose) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: 0 0 0 3px rgba(242, 54, 101, 0.13) !important;
    outline: none;
}

.orcamento-steps-refined .orc-date-field {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.orcamento-steps-refined .orc-date-field:focus-within {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.orcamento-steps-refined .orc-date-field__title {
    padding-inline: 0;
}

.orcamento-steps-refined .orc-date-field__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 7.6rem;
    gap: 0.65rem;
}

.orcamento-steps-refined .orc-date-control {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}

.orcamento-steps-refined .orc-date-control > span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.orcamento-steps-refined .orc-date-select {
    width: 100%;
    padding: 0.75rem 2.2rem 0.75rem 0.85rem;
    color-scheme: dark;
}

.orcamento-steps-refined .orc-date-select option {
    background: #1a0b0f;
    color: #fff;
}

.orcamento-steps-refined .orc-year-field {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.orcamento-steps-refined .orc-year-field__prefix {
    display: grid;
    align-self: stretch;
    padding-inline: 0.85rem 0.55rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    place-items: center;
    color: var(--step-rose-light);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.orcamento-steps-refined .orc-year-field__input {
    width: 3.2rem;
    min-width: 0;
    flex: 1;
    align-self: stretch;
    padding: 0.75rem 0.6rem;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    outline: none;
}

.orcamento-steps-refined .orc-year-field__input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.orcamento-steps-refined .orc-date-field.is-selected {
    border-color: transparent;
    background: transparent;
}

.orcamento-steps-refined .orc-date-field.is-invalid {
    border-color: transparent;
}

.orcamento-steps-refined .orc-date-field.is-selected .orc-date-select,
.orcamento-steps-refined .orc-date-field.is-selected .orc-year-field {
    border-color: rgba(242, 54, 101, 0.52) !important;
}

.orcamento-steps-refined .orc-date-field.is-invalid .orc-date-select,
.orcamento-steps-refined .orc-date-field.is-invalid .orc-year-field {
    border-color: rgba(255, 106, 141, 0.68) !important;
}

.orcamento-steps-refined .orc-date-field.is-invalid .orc-date-feedback,
.orcamento-steps-refined .orc-date-field.is-invalid .orc-date-feedback .material-symbols-outlined {
    color: #ff8fa9;
}

.orcamento-steps-refined .orc-date-feedback {
    min-height: 1.1rem;
    margin: 0;
    padding: 0.42rem 0.15rem 0;
    font-size: 0.62rem;
    line-height: 1.35;
}

.orcamento-steps-refined .orc-date-feedback .material-symbols-outlined {
    font-size: 0.82rem;
}

.orcamento-steps-refined .orc-step-heading {
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.95rem;
    background: linear-gradient(145deg, rgba(242, 54, 101, 0.08), rgba(255, 255, 255, 0.025));
}

.orcamento-steps-refined .orc-step-heading > div {
    border-color: rgba(242, 54, 101, 0.24) !important;
    background: rgba(242, 54, 101, 0.1) !important;
}

.orcamento-steps-refined .orc-contact-fields {
    display: grid;
    gap: 1.25rem;
}

.orcamento-steps-refined .orc-contact-fields > div,
.orcamento-steps-refined .orc-contact-fields > .grid > div {
    min-width: 0;
}

.orcamento-steps-refined .step-nav-row {
    gap: 1rem;
    margin-top: 1.5rem !important;
    padding-top: 1.2rem !important;
}

.orcamento-steps-refined .btn-next {
    min-height: 3.55rem;
    padding: 0.85rem 1.6rem !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.7rem !important;
    background: linear-gradient(135deg, #f23665, #d92c58) !important;
    box-shadow: 0 13px 30px rgba(242, 54, 101, 0.23);
    font-size: 0.7rem !important;
    letter-spacing: 0.16em;
}

.orcamento-steps-refined .btn-next:hover {
    background: linear-gradient(135deg, #ff4773, #e52d5d) !important;
    box-shadow: 0 18px 38px rgba(242, 54, 101, 0.3);
    transform: translateY(-2px);
}

.orcamento-steps-refined .btn-back {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 0.65rem;
    color: rgba(255, 255, 255, 0.68) !important;
}

.orcamento-steps-refined .btn-back:hover {
    border-color: rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
}

.orcamento-steps-refined .selection-card:focus-within,
.orcamento-steps-refined .selection-pill:focus-within,
.orcamento-steps-refined .btn-next:focus-visible,
.orcamento-steps-refined .btn-back:focus-visible {
    outline: 2px solid var(--step-rose-light);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .orcamento-steps-refined .orc-form-card {
        padding: 1.15rem !important;
        border-radius: 1rem !important;
    }

    .orcamento-steps-refined .orc-step-group,
    .orcamento-steps-refined .orc-contact-fields {
        padding: 0.9rem;
    }

    .orcamento-steps-refined .selection-card {
        min-height: 6.6rem;
    }

    .orcamento-steps-refined .selection-pill {
        flex: 1 1 calc(50% - 0.65rem);
        padding-inline: 0.65rem;
        text-align: center;
    }

    .orcamento-steps-refined .orc-date-field__controls {
        grid-template-columns: minmax(0, 1fr) 7.6rem;
    }

    .orcamento-steps-refined .step-nav-row {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
    }

    .orcamento-steps-refined .btn-next,
    .orcamento-steps-refined .btn-back {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 410px) {
    .orcamento-steps-refined .orc-date-field__controls {
        grid-template-columns: minmax(0, 1fr) 7.35rem;
    }

    .orcamento-steps-refined .orc-year-field__input {
        max-width: 5rem;
    }
}

@media (max-width: 350px) {
    .orcamento-steps-refined .orc-form-card {
        padding: 0.9rem !important;
    }

    .orcamento-steps-refined .orc-step-group,
    .orcamento-steps-refined .orc-contact-fields {
        padding: 0.8rem;
    }

    .orcamento-steps-refined .orc-date-field__controls {
        grid-template-columns: 1fr;
    }

    .orcamento-steps-refined .orc-year-field {
        justify-content: space-between;
    }

    .orcamento-steps-refined .orc-year-field__input {
        max-width: none;
        width: 6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orcamento-steps-refined .selection-card,
    .orcamento-steps-refined .selection-pill,
    .orcamento-steps-refined .btn-next,
    .orcamento-steps-refined .btn-back,
    .orcamento-steps-refined .progress-bar-fill {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}
