/* Alpha Destinos - fluxo público de pré-aprovação */

.alpha-pre-open {
    border: 0;
    cursor: pointer;
}

.alpha-pre-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    color: #16324a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.alpha-pre-secondary-link:hover {
    color: #0d6b45;
}

.alpha-pre-modal[hidden] {
    display: none !important;
}

.alpha-pre-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.alpha-pre-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 28, 43, .72);
    backdrop-filter: blur(3px);
}

.alpha-pre-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(8, 28, 43, .28);
}

.alpha-pre-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px 18px;
    border-bottom: 1px solid rgba(22, 50, 74, .10);
}

.alpha-pre-header span {
    display: block;
    margin-bottom: 5px;
    color: #0d8b5f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.alpha-pre-header h2 {
    margin: 0;
    color: #16324a;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.15;
}

.alpha-pre-close {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    color: #16324a;
    background: #eef3f6;
    font-size: 24px;
    cursor: pointer;
}

.alpha-pre-trip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 30px 0;
    padding: 16px;
    border-radius: 12px;
    background: #f5f8fa;
}

.alpha-pre-trip span {
    display: block;
    color: #687985;
    font-size: 12px;
}

.alpha-pre-trip strong {
    display: block;
    margin-top: 4px;
    color: #16324a;
    font-size: 15px;
}

.alpha-pre-form {
    padding: 24px 30px 30px;
}

.alpha-pre-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.alpha-pre-field {
    display: block;
}

.alpha-pre-field.is-full {
    grid-column: 1 / -1;
}

.alpha-pre-field > span {
    display: block;
    margin-bottom: 7px;
    color: #16324a;
    font-size: 13px;
    font-weight: 700;
}

.alpha-pre-field input,
.alpha-pre-field textarea,
.alpha-pre-field select {
    width: 100%;
    border: 1px solid #d8e0e5;
    border-radius: 9px;
    padding: 12px 13px;
    color: #16324a;
    background: #fff;
    font: inherit;
}

.alpha-pre-field textarea {
    min-height: 110px;
    resize: vertical;
}

.alpha-pre-field input:focus,
.alpha-pre-field textarea:focus,
.alpha-pre-field select:focus {
    border-color: #0d8b5f;
    outline: 3px solid rgba(13, 139, 95, .12);
}

.alpha-pre-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    grid-column: 1 / -1;
    color: #536671;
    font-size: 13px;
    line-height: 1.5;
}

.alpha-pre-privacy input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #0d8b5f;
}

.alpha-pre-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.alpha-pre-message {
    display: none;
    margin: 0 30px 22px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 14px;
}

.alpha-pre-message.is-visible {
    display: block;
}

.alpha-pre-message.is-error {
    color: #9e2a2b;
    background: #fff0f0;
}

.alpha-pre-message.is-success {
    color: #17633f;
    background: #edf9f3;
}

.alpha-pre-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    grid-column: 1 / -1;
    margin-top: 4px;
}

.alpha-pre-submit {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    padding: 12px 24px;
    color: #fff;
    background: #0d8b5f;
    font-weight: 800;
    cursor: pointer;
}

.alpha-pre-submit[disabled] {
    cursor: wait;
    opacity: .7;
}

.alpha-pre-cancel {
    min-height: 46px;
    border: 1px solid #cfd9df;
    border-radius: 8px;
    padding: 12px 20px;
    color: #16324a;
    background: #fff;
    font-weight: 700;
    cursor: pointer;
}

.alpha-pre-result {
    display: none;
    padding: 28px 30px 32px;
    text-align: center;
}

.alpha-pre-result.is-visible {
    display: block;
}

.alpha-pre-result-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: #0d8b5f;
    font-size: 30px;
}

.alpha-pre-result h3 {
    margin: 18px 0 8px;
    color: #16324a;
    font-size: 26px;
}

.alpha-pre-result p {
    margin: 0;
    color: #637681;
}

.alpha-pre-protocol {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 16px;
    border-radius: 8px;
    color: #16324a;
    background: #eef3f6;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .04em;
}

.alpha-pre-result-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.alpha-pre-result-actions a,
.alpha-pre-result-actions button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    padding: 11px 18px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.alpha-pre-result-actions a {
    color: #fff;
    background: #0d8b5f;
}

.alpha-pre-result-actions button {
    color: #16324a;
    background: #eef3f6;
}

body.alpha-pre-modal-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .alpha-pre-modal {
        align-items: flex-end;
        padding: 0;
    }

    .alpha-pre-dialog {
        width: 100%;
        max-height: 94vh;
        border-radius: 18px 18px 0 0;
    }

    .alpha-pre-header,
    .alpha-pre-form,
    .alpha-pre-result {
        padding-left: 20px;
        padding-right: 20px;
    }

    .alpha-pre-trip {
        grid-template-columns: 1fr;
        margin-left: 20px;
        margin-right: 20px;
    }

    .alpha-pre-grid {
        grid-template-columns: 1fr;
    }

    .alpha-pre-field.is-full,
    .alpha-pre-actions,
    .alpha-pre-privacy {
        grid-column: auto;
    }

    .alpha-pre-actions {
        flex-direction: column-reverse;
    }

    .alpha-pre-submit,
    .alpha-pre-cancel {
        width: 100%;
    }
}

/* ALPHA_CTA_ATENDIMENTO_CONTRASTE_V1_START */

/*
 * Contraste reforçado no card escuro de atendimento.
 * O termo "pré-aprovação" permanece apenas no fluxo interno do admin.
 */

.alpha-tour-page .alpha-tour-contact-card {
    color: #ffffff !important;
}

.alpha-tour-page .alpha-tour-contact-card h2 {
    color: #ffffff !important;
    opacity: 1 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.alpha-tour-page .alpha-tour-contact-card p {
    color: rgba(255, 255, 255, .94) !important;
    opacity: 1 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    text-shadow: none !important;
}

.alpha-tour-page .alpha-tour-contact-card .alpha-pre-open {
    min-height: 56px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    border: 2px solid #08bcb4 !important;
    background: #08bcb4 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center;
    text-shadow: none !important;
    box-shadow: none !important;
}

.alpha-tour-page .alpha-tour-contact-card .alpha-pre-open:hover,
.alpha-tour-page .alpha-tour-contact-card .alpha-pre-open:focus {
    color: #08283a !important;
    border-color: #ffffff !important;
    background: #ffffff !important;
}

.alpha-tour-page .alpha-tour-contact-card .alpha-pre-secondary-link {
    width: 100%;
    min-height: 48px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 11px 16px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 4px;
    color: #ffffff !important;
    background: rgba(255, 255, 255, .06);
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    text-shadow: none !important;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}

.alpha-tour-page .alpha-tour-contact-card .alpha-pre-secondary-link:hover,
.alpha-tour-page .alpha-tour-contact-card .alpha-pre-secondary-link:focus {
    color: #08283a !important;
    border-color: #ffffff;
    background: #ffffff;
    text-decoration: none;
}

.alpha-tour-page .alpha-tour-contact-card .alpha-pre-secondary-link:focus-visible,
.alpha-tour-page .alpha-tour-contact-card .alpha-pre-open:focus-visible {
    outline: 3px solid #ffdc73 !important;
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    .alpha-tour-page .alpha-tour-contact-card p {
        font-size: 14px !important;
    }

    .alpha-tour-page .alpha-tour-contact-card .alpha-pre-open,
    .alpha-tour-page .alpha-tour-contact-card .alpha-pre-secondary-link {
        width: 100%;
    }
}

/* ALPHA_CTA_ATENDIMENTO_CONTRASTE_V1_END */
