/* Oferta por tempo de permanência */
html.sky-offer-open,
body.sky-offer-open {
    overflow: hidden;
}

.sky-offer-modal[hidden] {
    display: none;
}

.sky-offer-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 20px;
    position: fixed;
    transition: opacity .25s ease;
    z-index: 10050;
}

.sky-offer-modal.is-visible {
    opacity: 1;
}

.sky-offer-backdrop {
    background: rgba(3, 18, 38, .78);
    backdrop-filter: blur(8px);
    inset: 0;
    position: absolute;
}

.sky-offer-dialog {
    background:
        radial-gradient(circle at 100% 0, rgba(22, 138, 208, .17), transparent 35%),
        #fff;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 22px;
    box-shadow: 0 35px 90px rgba(0, 14, 36, .45);
    color: #17263c;
    max-width: 560px;
    overflow: hidden;
    padding: 44px 46px 38px;
    position: relative;
    text-align: center;
    transform: translateY(22px) scale(.97);
    transition: transform .28s ease;
    width: 100%;
    z-index: 1;
}

.sky-offer-modal.is-visible .sky-offer-dialog {
    transform: translateY(0) scale(1);
}

.sky-offer-dialog::before {
    background: linear-gradient(90deg, #07599e, #20a56b, #ff7a32);
    content: "";
    height: 5px;
    inset: 0 0 auto;
    position: absolute;
}

.sky-offer-close {
    align-items: center;
    background: #edf4fa;
    border: 0;
    border-radius: 50%;
    color: #52657b;
    display: flex;
    height: 36px;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 17px;
    transition: background .2s ease, color .2s ease;
    width: 36px;
    z-index: 3;
}

.sky-offer-close:hover,
.sky-offer-close:focus {
    background: #dbeaf5;
    color: #07599e;
    outline: none;
}

.sky-offer-badge {
    background: #e9f8f1;
    border: 1px solid #c6eedb;
    border-radius: 30px;
    color: #138153;
    display: inline-flex;
    font-size: .76em;
    font-weight: 700;
    gap: 7px;
    letter-spacing: .07em;
    margin-bottom: 18px;
    padding: 8px 13px;
    text-transform: uppercase;
}

.sky-offer-dialog h2 {
    color: #061f3f;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 2.15em;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.12;
    margin: 0 auto 14px;
    max-width: 450px;
}

.sky-offer-dialog h2 strong {
    color: #07599e;
    display: block;
}

.sky-offer-dialog > p {
    color: #52657b;
    font-size: 1.02em;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 445px;
}

.sky-offer-highlight {
    align-items: center;
    background: linear-gradient(135deg, #061f3f, #07599e);
    border-radius: 15px;
    color: #fff;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto 1fr;
    margin: 25px 0 18px;
    padding: 18px 24px;
}

.sky-offer-highlight span {
    display: flex;
    flex-direction: column;
}

.sky-offer-highlight small {
    color: #a8dcff;
    font-size: .62em;
    font-weight: 700;
    letter-spacing: .12em;
}

.sky-offer-highlight strong {
    color: #fff;
    font-size: 1.65em;
    line-height: 1.15;
    margin-top: 3px;
}

.sky-offer-highlight > i {
    color: #62dca5;
    font-size: .85em;
}

.sky-offer-dialog .sky-offer-urgency {
    color: #854d0e;
    font-size: .8em;
    font-weight: 700;
    line-height: 1.45;
}

.sky-offer-urgency i {
    color: #ff7a32;
    margin-right: 5px;
}

.sky-offer-whatsapp {
    align-items: center;
    background: #20a56b;
    border-radius: 9px;
    box-shadow: 0 13px 28px rgba(32, 165, 107, .27);
    color: #fff;
    display: flex;
    font-size: 1.02em;
    font-weight: 700;
    gap: 9px;
    justify-content: center;
    margin-top: 20px;
    min-height: 54px;
    padding: 14px 20px;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.sky-offer-whatsapp:hover,
.sky-offer-whatsapp:focus {
    background: #198b59;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.sky-offer-whatsapp i {
    font-size: 1.35em;
}

.sky-offer-note {
    color: #7d8d9d;
    display: block;
    font-size: .68em;
    line-height: 1.45;
    margin-top: 12px;
}

.sky-offer-confetti i {
    border-radius: 2px;
    height: 9px;
    opacity: .75;
    position: absolute;
    transform: rotate(22deg);
    width: 5px;
}

.sky-offer-confetti i:nth-child(1) { background: #ff7a32; left: 7%; top: 17%; }
.sky-offer-confetti i:nth-child(2) { background: #20a56b; left: 13%; top: 8%; transform: rotate(-32deg); }
.sky-offer-confetti i:nth-child(3) { background: #168ad0; left: 21%; top: 14%; transform: rotate(61deg); }
.sky-offer-confetti i:nth-child(4) { background: #fed330; right: 8%; top: 18%; transform: rotate(-20deg); }
.sky-offer-confetti i:nth-child(5) { background: #7d5ce7; right: 15%; top: 9%; transform: rotate(47deg); }
.sky-offer-confetti i:nth-child(6) { background: #ed4b45; right: 23%; top: 15%; transform: rotate(12deg); }

@media screen and (max-width: 767px) {
    .sky-offer-modal {
        align-items: flex-end;
        padding: 12px;
    }

    .sky-offer-dialog {
        border-radius: 20px;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        padding: 38px 22px 26px;
    }

    .sky-offer-dialog h2 {
        font-size: 1.75em;
    }

    .sky-offer-highlight {
        padding: 15px 12px;
    }

    .sky-offer-highlight strong {
        font-size: 1.35em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sky-offer-modal,
    .sky-offer-dialog,
    .sky-offer-whatsapp {
        transition: none;
    }
}
