/* ================================================================
   PNR Nexus — FORMA DE PAGAMENTO PROMO STYLES
   ROMATECH © 2026
   ================================================================ */

/* ===== SEÇÃO PRINCIPAL FDP ===== */

#fdp-promo-section {
    background: linear-gradient(160deg, #06122e 0%, #0f1c50 40%, #1a1060 70%, #0a2a55 100%);
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
}

#fdp-promo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 70% at 95% 20%, rgba(119, 219, 215, .10) 0%, transparent 65%),
        radial-gradient(ellipse 45% 60% at 5% 85%, rgba(0, 102, 204, .12) 0%, transparent 65%);
    pointer-events: none;
}

/* ─── Eyebrow / badge ─── */
.fdp-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(119, 219, 215, .10);
    border: 1px solid rgba(119, 219, 215, .30);
    color: #77dbd7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.fdp-section-logo {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: contain;
}

.fdp-section-title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 16px;
}

.fdp-section-title em {
    font-style: normal;
    color: #77dbd7;
}

.fdp-section-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, .72);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

.fdp-section-desc strong {
    color: #fff;
}

/* ===== CARDS DE BENEFÍCIO ===== */

.fdp-benefit-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(119, 219, 215, .15);
    border-radius: 14px;
    padding: 22px 18px;
    height: 100%;
    text-align: center;
    transition: background .2s, border-color .2s, transform .2s;
}

.fdp-benefit-card:hover {
    background: rgba(119, 219, 215, .08);
    border-color: rgba(119, 219, 215, .35);
    transform: translateY(-3px);
}

.fdp-benefit-icon {
    display: block;
    font-size: 28px;
    color: #77dbd7;
    margin-bottom: 10px;
}

.fdp-benefit-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.fdp-benefit-card p {
    font-size: 12px;
    color: rgba(255, 255, 255, .60);
    margin: 0;
    line-height: 1.5;
}

/* ===== DEMO CARD ===== */

.fdp-demo-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(119, 219, 215, .20);
    border-radius: 16px;
    overflow: hidden;
}

.fdp-demo-header {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    background: rgba(0, 0, 0, .25);
    border-bottom: 1px solid rgba(119, 219, 215, .15);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.fdp-demo-header i {
    color: #77dbd7;
    font-size: 15px;
}

.fdp-demo-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .50);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 2px 9px;
    border-radius: 100px;
}

.fdp-demo-body {
    padding: 20px;
}

.fdp-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 5px;
}

.fdp-select,
.fdp-input {
    width: 100%;
    background: rgba(0, 0, 0, .30);
    border: 1px solid rgba(119, 219, 215, .20);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    padding: 8px 11px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    font-family: 'Sora', sans-serif;
}

.fdp-select:focus,
.fdp-input:focus {
    border-color: #77dbd7;
    box-shadow: 0 0 0 3px rgba(119, 219, 215, .15);
}

.fdp-select option {
    background: #0f1c50;
    color: #fff;
}

.fdp-input--mono {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: .04em;
}

/* Ocultar spinner de number input */
.fdp-input[type="number"]::-webkit-inner-spin-button,
.fdp-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ─── Output ─── */
.fdp-demo-output-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, .50);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 8px;
}

.fdp-demo-output-label i {
    color: #77dbd7;
}

.fdp-demo-output {
    background: #060e1f;
    border: 1px solid rgba(119, 219, 215, .18);
    border-radius: 10px;
    padding: 16px 18px;
    color: #77dbd7;
    font-family: 'DM Mono', monospace;
    font-size: 12.5px;
    line-height: 1.8;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    min-height: 80px;
}

/* ─── Botão copiar ─── */
.fdp-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(119, 219, 215, .12);
    border: 1px solid rgba(119, 219, 215, .30);
    color: #77dbd7;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.fdp-copy-btn:hover {
    background: rgba(119, 219, 215, .22);
    border-color: #77dbd7;
}

.fdp-copy-btn--ok {
    background: rgba(74, 222, 128, .15) !important;
    border-color: #4ade80 !important;
    color: #4ade80 !important;
}

/* ===== CTA LATERAL ===== */

.fdp-cta-side {
    background: linear-gradient(145deg, rgba(0, 102, 204, .22), rgba(43, 34, 140, .30));
    border: 1px solid rgba(119, 219, 215, .25);
    border-radius: 16px;
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fdp-cta-logo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: contain;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, .06);
    padding: 8px;
    border: 1px solid rgba(119, 219, 215, .20);
}

.fdp-cta-side-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.25;
}

.fdp-cta-side-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 18px;
    line-height: 1.55;
}

.fdp-cta-side-desc strong {
    color: #77dbd7;
}

.fdp-cta-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    width: 100%;
    text-align: left;
}

.fdp-cta-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: rgba(255, 255, 255, .80);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.fdp-cta-features li:last-child {
    border-bottom: none;
}

.fdp-cta-features li i {
    color: #77dbd7;
    font-size: 14px;
    flex-shrink: 0;
}

.fdp-cta-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    background: linear-gradient(135deg, #0066cc 0%, #2b228c 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 14px;
    padding: 13px 20px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(119, 219, 215, .25);
    transition: box-shadow .2s, transform .15s, opacity .2s;
    margin-top: auto;
}

.fdp-cta-main-btn:hover {
    box-shadow: 0 6px 24px rgba(0, 102, 204, .55);
    transform: translateY(-2px);
    color: #fff !important;
}

/* ===== NOTA DE DISCLAIMER ===== */

.fdp-demo-disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, .35);
    margin-top: 10px;
    line-height: 1.5;
}

/* ===== SIDEBAR HERO BADGE FDP ===== */

.fdp-hero-mention {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 204, .18);
    border: 1px solid rgba(119, 219, 215, .30);
    color: #77dbd7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 4px 12px;
    border-radius: 100px;
    text-decoration: none;
    transition: background .2s, border-color .2s;
}

.fdp-hero-mention:hover {
    background: rgba(0, 102, 204, .30);
    border-color: #77dbd7;
    color: #77dbd7 !important;
}

.fdp-hero-mention img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: contain;
}

/* ===== DIVIDER ENTRE MAIN E FDP SECTION ===== */

.fdp-section-divider {
    text-align: center;
    padding: 10px 0 0;
    position: relative;
}

.fdp-section-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(119, 219, 215, .25), transparent);
}

/* ===== API PAGE — PROMO FDP APRIMORADA ===== */

.fdp-apipage-hero {
    background: linear-gradient(135deg, #06122e, #2b228c 60%, #0066cc);
    border: 1px solid rgba(119, 219, 215, .22);
    border-radius: 20px;
    padding: 40px 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 30px rgba(0, 0, 0, .22);
}

.fdp-apipage-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 48px rgba(0, 0, 0, .30);
}

.fdp-apipage-hero__img-wrap {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(119, 219, 215, .30);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.fdp-apipage-hero__img-wrap img {
    max-width: 100%;
    object-fit: contain;
}

.fdp-apipage-hero__content {
    flex: 1;
}

.fdp-apipage-hero__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #77dbd7;
    display: block;
    margin-bottom: 6px;
}

.fdp-apipage-hero__title {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.fdp-apipage-hero__title em {
    font-style: normal;
    color: #77dbd7;
}

.fdp-apipage-hero__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, .68);
    margin: 0;
    line-height: 1.55;
}

.fdp-apipage-hero__gds {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.fdp-apipage-hero__gds span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    color: rgba(255, 255, 255, .70);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    padding: 3px 10px;
    border-radius: 100px;
    font-family: 'DM Mono', monospace;
}

.fdp-apipage-hero__action {
    flex-shrink: 0;
}

.fdp-apipage-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #77dbd7;
    color: #06122e !important;
    font-weight: 800;
    font-size: 13px;
    padding: 13px 24px;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s, box-shadow .2s;
}

.fdp-apipage-hero__btn:hover {
    background: #a5ebe8;
    box-shadow: 0 4px 20px rgba(119, 219, 215, .55);
    color: #06122e !important;
}

@media (max-width: 768px) {
    .fdp-apipage-hero {
        flex-direction: column;
        text-align: center;
        padding: 28px 22px;
        gap: 20px;
    }

    .fdp-apipage-hero__gds {
        justify-content: center;
    }

    .fdp-apipage-hero__btn {
        width: 100%;
        justify-content: center;
    }

    .fdp-cta-side {
        margin-top: 20px;
    }
}

/* ===== DEMO PILLS — dados fixos ===== */

.fdp-demo-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fdp-demo-pill {
    display: inline-flex;
    flex-direction: column;
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(119, 219, 215, .15);
    border-radius: 8px;
    padding: 6px 12px;
    min-width: 90px;
}

.fdp-demo-pill--highlight {
    border-color: rgba(119, 219, 215, .45);
    background: rgba(119, 219, 215, .07);
}

.fdp-pill-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .40);
    margin-bottom: 3px;
}

.fdp-demo-pill--highlight .fdp-pill-label {
    color: #77dbd7;
}

.fdp-pill-val {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* ===== BADGE DE USUÁRIOS ===== */

.fdp-users-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(247, 148, 29, .18), rgba(247, 148, 29, .08));
    border: 1px solid rgba(247, 148, 29, .55);
    color: #F7941D;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 0 12px rgba(247, 148, 29, .20);
}

.fdp-users-badge i {
    font-size: 13px;
}

.fdp-users-badge--dark {
    background: linear-gradient(135deg, rgba(247, 148, 29, .22), rgba(247, 148, 29, .10));
    border-color: rgba(247, 148, 29, .60);
    box-shadow: 0 0 16px rgba(247, 148, 29, .28);
}

/* ===== REVIEWS ===== */

#fdp-reviews {
    margin-top: 56px;
}

.fdp-reviews-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.fdp-reviews-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, .50);
}

.fdp-review-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(119, 219, 215, .18);
    border-radius: 14px;
    padding: 22px 22px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background .2s, border-color .2s, transform .2s;
}

.fdp-review-card:hover {
    background: rgba(119, 219, 215, .06);
    border-color: rgba(119, 219, 215, .35);
    transform: translateY(-3px);
}

.fdp-review-stars {
    display: flex;
    gap: 3px;
    color: #F7941D;
    font-size: 13px;
}

.fdp-review-text {
    font-size: 13px;
    color: rgba(255, 255, 255, .80);
    line-height: 1.65;
    flex: 1;
    font-style: italic;
}

.fdp-review-text::before {
    content: '\201C';
    font-size: 22px;
    line-height: 0;
    vertical-align: -6px;
    margin-right: 3px;
    color: #77dbd7;
    font-style: normal;
}

.fdp-review-text::after {
    content: '\201D';
    font-size: 22px;
    line-height: 0;
    vertical-align: -6px;
    margin-left: 3px;
    color: #77dbd7;
    font-style: normal;
}

.fdp-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding-top: 12px;
}

.fdp-review-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #2b228c);
    border: 1px solid rgba(119, 219, 215, .30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #77dbd7;
    flex-shrink: 0;
}

.fdp-review-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.fdp-review-role {
    font-size: 11px;
    color: rgba(255, 255, 255, .40);
}

/* Badge inline na sidebar card */
.fdp-promo-card__users {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(247, 148, 29, .14);
    border: 1px solid rgba(247, 148, 29, .40);
    border-radius: 8px;
    padding: 6px 10px;
    margin-bottom: 12px;
    font-size: 10px;
    font-weight: 800;
    color: #F7941D;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fdp-promo-card__users i {
    font-size: 12px;
}