/* Link "+detalhes da oferta" no card do plano */
article.type-planos .fdi-pd-link {
    display: block;
    margin: 12px auto 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none;
    color: #3a3f4b !important;
    font: 400 13px/1.2 'Poppins', sans-serif;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
article.type-planos .fdi-pd-link:hover,
article.type-planos .fdi-pd-link:focus-visible {
    color: #f47321 !important;
    background: transparent !important;
}

/* Popup */
html.fdi-pd-lock { overflow: hidden; }

.fdi-pd-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    padding: 16px;
    background: rgba(255, 235, 225, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}
.fdi-pd-overlay.is-open { display: flex; }

.fdi-pd-dialog {
    width: 100%;
    max-width: 766px;
    margin: auto;
    border-radius: 18px;
    overflow: hidden;
    background: #f8f9fb;
    box-shadow: 0 20px 60px rgba(244, 115, 33, .25);
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.fdi-pd-head {
    position: relative;
    padding: 44px 48px 40px;
    color: #fff;
    background: linear-gradient(120deg, #ff5a25 0%, #f47321 55%, #ee6a17 100%);
}
.fdi-pd-overlay .fdi-pd-close {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.fdi-pd-overlay .fdi-pd-close:hover,
.fdi-pd-overlay .fdi-pd-close:focus-visible { background: rgba(255, 255, 255, .18); color: #fff; }

.fdi-pd-title { margin: 0 0 22px; padding-right: 40px; font-size: 32px; line-height: 1.15; font-weight: 700; color: #fff; }
.fdi-pd-sub { margin: 0 0 8px; font-size: 20px; font-weight: 500; color: #ffd86b; }
.fdi-pd-lead { margin: 0 0 28px; font-size: 15px; line-height: 1.5; color: #fff; }

.fdi-pd-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.fdi-pd-overlay .fdi-pd-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    font: 600 13px/1.2 'Poppins', sans-serif;
    text-decoration: none;
    transition: filter .15s ease;
}
.fdi-pd-overlay .fdi-pd-btn:hover { filter: brightness(.95); }
.fdi-pd-overlay .fdi-pd-btn--main { background: #fad96b; color: #2b2b2b; }
.fdi-pd-overlay .fdi-pd-btn--doc  { background: #fff; color: #d9570b; }
.fdi-pd-overlay .fdi-pd-btn--wa   { background: #d9480f; color: #fff; }

.fdi-pd-body { padding: 28px 48px 34px; font-size: 12.5px; line-height: 1.55; color: #4a4f5c; }
.fdi-pd-body p { margin: 0 0 14px; }
.fdi-pd-body p:last-child { margin-bottom: 0; }
.fdi-pd-body a { color: inherit; text-decoration: underline; }

@media (max-width: 600px) {
    .fdi-pd-head { padding: 36px 24px 28px; }
    .fdi-pd-title { font-size: 24px; }
    .fdi-pd-body { padding: 22px 24px 26px; }
    .fdi-pd-btns { flex-direction: column; gap: 10px; }
    .fdi-pd-overlay .fdi-pd-btn { text-align: center; }
}
