/* ── Section wrapper (classe do HTML: payment-section-9oes) ── */
.payment-section-9oes {
    position: relative;
    width: 100%;
    max-width: 1920px;
    background: #ffffff;
    padding: 80px 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    overflow: hidden;
    box-sizing: border-box;
}

/* ── Header e título ── */
.rates-header-w8k4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    max-width: 600px;
    width: 100%;
}

.rates-title-w8k4 {
    font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
    font-feature-settings: 'salt' 1;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.12px;
    color: #282834;
    text-align: center;
    margin: 0;
}

.rates-big-number-w8k4 {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.rates-percent-w8k4 {
    font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
    font-feature-settings: 'salt' 1, 'calt' 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.6px;
    color: #282834;
}

.rates-iva-w8k4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    color: rgba(40, 40, 52, 0.8);
    padding-bottom: 8px;
}

/* ── Carrossel (classes do HTML: payment-*-9oes) ── */
.payment-carousel-9oes {
    position: relative;
    width: 100%;
    height: 64px;
    overflow: hidden;
    flex-shrink: 0;
}

.payment-carousel-track-9oes {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    width: max-content;
    will-change: transform;
}

.payment-logo-9oes {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f5f5f5;
    border-radius: 12px;
}

.payment-fade-9oes {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 2;
}

.payment-fade-left-9oes {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.payment-fade-right-9oes {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

/* ── Link comisiones ── */
.payment-link-9oes {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #4850e5;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 24px 16px;
    display: block;
    text-align: center;
    width: 100%;
}

.payment-link-9oes:hover {
    text-decoration: underline;
    color: #3d44c4;
}

.rates-link-w8k4 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #4850e5;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 24px 16px;
    display: block;
    text-align: center;
    width: 100%;
}

.rates-link-w8k4:hover {
    text-decoration: underline;
    color: #3d44c4;
}

/* ── Modal ── */
.rates-modal-w8k4 {
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 80px);
    border: none;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    margin: auto;
}

.rates-modal-w8k4::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.rates-modal-header-w8k4 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
}

.rates-modal-titles-w8k4 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rates-modal-title-w8k4 {
    font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
    font-feature-settings: 'salt' 1, 'calt' 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.28px;
    color: #282834;
    margin: 0;
}

.rates-modal-subtitle-w8k4 {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(40, 40, 52, 0.55);
    margin: 0;
}

@media (min-width: 1024px) {
    .rates-modal-subtitle-w8k4 {
        font-size: 16px;
    }
}

.rates-modal-close-w8k4 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f4f5f9;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #282834;
    flex-shrink: 0;
    transition: background-color 0.18s ease-out;
}

.rates-modal-close-w8k4:hover {
    background: #e7e9f3;
}

.rates-modal-list-w8k4 {
    display: flex;
    flex-direction: column;
}

.rates-modal-row-w8k4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 8px;
}

.rates-modal-row-alt-w8k4 {
    background: #f4f5f9;
}

.rates-modal-term-w8k4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #282834;
}

.rates-modal-rate-w8k4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(40, 40, 52, 0.7);
}

/* ── Desktop ── */
@media (min-width: 1024px) {
    .payment-section-9oes {
        padding: 120px 40px;
        gap: 64px;
        width: calc(100% - 16px);
        border-radius: 20px;
        margin: 8px auto 0;
    }

    .rates-header-w8k4 {
        gap: 24px;
        padding: 0;
    }

    .rates-title-w8k4 {
        font-size: 40px;
        letter-spacing: -1.6px;
    }

    .rates-percent-w8k4 {
        font-size: 72px;
        letter-spacing: -2.88px;
    }

    .payment-carousel-9oes {
        height: 80px;
    }

    .payment-carousel-track-9oes {
        gap: 40px;
    }

    .payment-logo-9oes {
        width: 80px;
        height: 80px;
    }

    .payment-fade-9oes {
        width: 120px;
    }

    .rates-link-w8k4 {
        font-size: 16px;
        padding: 0;
    }

    .rates-modal-title-w8k4 {
        font-size: 40px;
        letter-spacing: -1.6px;
    }
}
