/* ========================================
   REFERENCE / OFFER PLAN CARDS
   Layout clonado do HTML original enviado
   Uso: assets/css/reference-plan-cards.css
======================================== */

/* ========================================
   HERO DOS PLANOS
======================================== */
.ef-offer-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 112px;
    background: black;
}

.ef-offer-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 48%;

    background-size: cover;
    background-position: center;
    opacity: .9;
}

.ef-offer-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.ef-offer-hero__title {
    margin: 0;
    color: #fff;
    font-family: "Bebas Neue", "Montserrat", sans-serif;
    font-size: clamp(2.8rem, 4vw, 4.6rem);
    font-weight: 400;
    line-height: .95;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.ef-offer-hero__title span,
.ef-offer-hero__title .ef-title-gold {
    background: var(--gold-grad-rich, linear-gradient(90deg, #F9F295 0%, #F3D97A 20%, #EBC15A 40%, #E1AC41 50%, #EBC15A 60%, #F3D97A 80%, #F9F295 100%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ef-offer-hero__kicker {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font: 400 18px/1.7 "Open Sans", Arial, sans-serif;
}

.ef-offer-page .ef-offer-hero .ef-home-title {
    text-transform: uppercase;
}

/* ========================================
   USA HERO TUNING
======================================== */
.ef-offer-page--usa .ef-offer-hero {
    padding: 78px 0 108px;
    background: black;
}

.ef-offer-page--usa .ef-offer-hero::before {
    inset: 0 0 auto;
    height: clamp(250px, 22vw, 310px);
    background-image:
        linear-gradient(180deg, rgba(11, 17, 24, 0.18) 0%, rgba(11, 17, 24, 0.78) 100%),
        var(--ef-offer-hero-image);
    background-position: center 17%;
    background-size: cover;
    opacity: 1;
}

.ef-offer-page--usa .ef-offer-hero__inner {
    max-width: 1080px;
    padding: 0 12px;
}

.ef-offer-page--usa .ef-offer-hero .ef-home-title {
    max-width: 1040px;
    margin: 0 auto;
    font-size: clamp(1.9rem, 2.7vw, 3.85rem);
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.ef-offer-page--usa .ef-offer-hero .ef-home-title span,
.ef-offer-page--usa .ef-offer-hero .ef-home-title .ef-title-gold {
    background: var(--gold-grad-rich, linear-gradient(90deg, #F9F295 0%, #F3D97A 20%, #EBC15A 40%, #E1AC41 50%, #EBC15A 60%, #F3D97A 80%, #F9F295 100%));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ef-offer-page--usa .ef-offer-hero__kicker {
    max-width: 820px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.94);
    font-size: 17px;
    line-height: 1.55;
}

/* ========================================
   GRID DOS CARDS
======================================== */
.ef-offer-plans {
    position: relative;
    width: 100%;
    max-width: 1224px;
    margin: 48px auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

.ef-offer-page--usa .ef-offer-plans {
    max-width: 1180px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 28px;
    margin-top: 42px;
}

.ef-offer-page--dubai .ef-offer-plans,
.ef-offer-page--paraguay .ef-offer-plans,
.ef-offer-page--panama .ef-offer-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
}

/* ========================================
   CARD BASE - equivalente ao .card original
======================================== */
.ef-offer-plan {
    position: relative;
    z-index: 1;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: auto;
    height: 100%;
    padding: 42px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Matching original plan card border */
    border-radius: 16px;
    /* Matching original plan card border-radius */
    background: #0a0a0a;
    /* Matching original plan card background */
    color: #f0f0f0;
    font-family: "Open Sans", Arial, sans-serif;
    box-shadow: none;
    transition: all .5s cubic-bezier(.2, .8, .2, 1);
}

.ef-offer-plan:hover {
    z-index: 5;
    border-color: #444;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.ef-offer-plan::before,
.ef-offer-plan::after,
.ef-offer-plan__background {
    display: none !important;
    content: none !important;
}

/* Card central - equivalente ao .card-featured original */
.ef-offer-plan.is-featured {
    border: 1px solid transparent;
    border-radius: 16px;
    /* Matching original plan card border-radius */
    background-image:
        linear-gradient(#141414, #141414),
        var(--gold-grad-rich);
    /* Using rich gradient for consistency */
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: none;
    transform: none;
}

.ef-offer-plan.is-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.ef-offer-plan.has-featured-badge::before,
.ef-offer-plan.is-featured::before,
.has-featured-badge::before {
    display: none !important;
    content: none !important;
}

/* ========================================
   NOVA ESTRUTURA - CLONE DO ORIGINAL
======================================== */
.ef-offer-plan__pricing-top {
    /* Original has min-height: 180px */
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 180px;
    justify-content: flex-start;
}

.ef-offer-plan__top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.ef-offer-plan__title-wrap {
    display: flex;
    align-items: flex-start;
}

.ef-offer-plan__price-block {
    min-height: auto;
    display: flex;
    flex-direction: column;
}

.ef-offer-plan__price-bottom-row {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

.ef-offer-plan__body {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
}

.ef-offer-plan__actions {
    position: relative;
    z-index: 2;
    margin-top: 40px;
    display: grid;
    gap: 16px;
}

/* ========================================
   BANDEIRA / LABEL
======================================== */
.ef-offer-plan__flag,
.ef-offer-plan__flag-stack {
    position: relative;
    top: auto;
    left: auto;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 auto;
    width: 36px;
    height: 22px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 2px;
    background: transparent;
    opacity: .8;
    pointer-events: none;
}

.ef-offer-plan__flag img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    object-fit: cover;
}

.ef-offer-plan__flag-stack {
    gap: 8px;
    width: auto;
    height: auto;
    border: 0;
    overflow: visible;
}

.ef-offer-plan__flag-stack .ef-offer-plan__flag {
    position: relative;
    inset: auto;
    margin: 0;
}

/* Label normal: ESSENCIAL / ESTRATÉGICO PLUS */
.ef-offer-plan__label {
    /* Original has font-size: 13px, letter-spacing: 0.22em, color: #f0d36a */
    margin: 0;
    color: #f0f0f0;
    /* Adjusted to match original plan card label color */
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    /* Adjusted to match original plan card label font-size */
    font-weight: 700;
    /* Adjusted to match original plan card label font-weight */
    line-height: 1;
    /* Adjusted to match original plan card label line-height */
    letter-spacing: 0.22em;
    /* Adjusted to match original plan card label letter-spacing */
    text-align: right;
    text-transform: uppercase;
}

.ef-offer-plan__top-row,
.ef-offer-plan__title-wrap,
.ef-offer-plan__price-block {
    margin-bottom: 16px;
}


/* Label do card central: gradiente estilo badge-minimal */
.ef-offer-plan.is-featured .ef-offer-plan__label {
    display: inline-flex;
    /* Keep as flex to center content */
    align-items: center;
    /* Keep as center */
    padding: 4px 12px;
    /* Adjusted to match original badge padding */
    border-radius: 999px;
    /* Matching original badge border-radius */
    background: #E1AC41;
    /* Solid gold background for badge */
    color: #000;
    /* Black text for badge */
    -webkit-text-fill-color: initial;
    /* Reset text fill color */
    font-size: 12px;
    /* Adjusted to match original badge font-size */
    font-weight: 700;
    /* Adjusted to match original badge font-weight */
    letter-spacing: 0.1em;
    /* Adjusted to match original badge letter-spacing */
}

/* POPULAR removido porque o original desse HTML usa apenas o label operacional */
.ef-offer-plan__badge {
    display: none !important;
}

/* ========================================
   TÍTULO / PREÇO
======================================== */
.ef-offer-plan__section-title {
    margin: 0;
    padding: 0;
    border: 0;
    color: #f0f0f0;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 22px;
    /* Adjusted to match original plan card section title */
    font-weight: 700;
    /* Adjusted to match original plan card section title */
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
}

.ef-offer-plan__deal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    min-height: 28px;
    margin: 0 0 0;
}

.ef-offer-plan__old-price {
    color: rgba(255, 255, 255, .35);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    /* Adjusted to match original old price font-size */
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: line-through;
}

.ef-offer-plan__discount {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: transparent;
    background-image: none;
    color: #E1AC41;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    /* Adjusted to match original discount badge font-size */
    font-weight: 700;
    /* Adjusted to match original discount badge font-weight */
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ef-offer-plan__price-prefix {
    display: inline;
    margin: 0;
    background: linear-gradient(90deg, #F9F295, #E1AC41, #F9F295, #E1AC41);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-family: "Montserrat", sans-serif;
    font-size: 36px;
    /* Consistent with original */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ef-offer-plan__price-row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
}

.ef-offer-page--usa .ef-offer-plan__price-row {
    margin-top: 12px;
    gap: 4px;
    flex-wrap: wrap;
}

.ef-offer-plan__price {
    margin: 0;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #f0f0f0;
    -webkit-text-fill-color: currentColor;
    font-family: "Montserrat", Arial, sans-serif;
    /* Matching original plan card price font-family */
    font-size: 36px;
    /* Consistent with original */
    font-weight: 800;
    /* Adjusted to match original plan card price font-weight */
    line-height: 1.05;
    letter-spacing: 0;
}

.ef-offer-page--usa .ef-offer-plan__price {
    font-size: 36px;
}

.ef-offer-plan.is-featured .ef-offer-plan__price {
    background: linear-gradient(90deg, #F9F295, #E1AC41, #F9F295, #E1AC41);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.ef-offer-plan__price-suffix,
.ef-offer-page--usa .ef-offer-plan__price-suffix {
    align-self: flex-end;
    padding: 0 0 6px;
    /* Adjusted to match original plan card price suffix padding */
    color: rgba(255, 255, 255, .35);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    /* Adjusted to match original plan card price suffix font-size */
    font-weight: 500;
    /* Adjusted to match original plan card price suffix font-weight */
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.ef-offer-plan__description {
    display: none;
}

/* ========================================
   LISTA DE BENEFÍCIOS
======================================== */
.ef-offer-plan__list {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ef-offer-plan__list li {
    display: block;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, .95);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    /* Adjusted to match original plan card list item font-size */
    font-weight: 400;
    /* Adjusted to match original plan card list item font-weight */
    line-height: 1.5;
}

.ef-offer-plan__item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    color: inherit;
    font: inherit;
}

.ef-offer-plan__item.is-emphasis,
.ef-offer-plan__item.is-plus {
    color: rgba(255, 255, 255, .95);
    font-weight: 400;
    /* Adjusted to match original plan card list item font-weight */
}

.ef-offer-plan__check {
    display: inline-flex;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    color: rgba(255, 255, 255, .95);
}

.ef-offer-plan__check svg {
    display: block;
    width: 20px;
    height: 20px;
}

.ef-offer-plan__check circle {
    display: none;
}

.ef-offer-plan__check path {
    stroke-width: 2;
}

.ef-offer-plan__plus {
    display: inline-block;
    color: rgba(255, 255, 255, .95);
    font: 400 22px/1 "Open Sans", Arial, sans-serif;
}

/* ========================================
   BOTÕES / RODAPÉ DO CARD
======================================== */
.ef-offer-plan>.ef-btn,
.ef-offer-plan__actions>.ef-btn,
.ef-offer-plan__button {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 18px 24px;
    border-radius: 999px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    /* Adjusted to match original button font-size */
    font-weight: 700;
    /* Adjusted to match original button font-weight */
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: all .3s ease;
}

.ef-offer-plan>.ef-btn--white,
.ef-offer-plan__actions>.ef-btn--white {
    border: 0;
    background: #fff;
    /* Matching original button background */
    color: #000;
}

.ef-offer-plan>.ef-btn--white:hover,
.ef-offer-plan__actions>.ef-btn--white:hover {
    background: #fff;
    transform: scale(1.02);
}

.ef-offer-plan__footer-note {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, .95);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 15px;
    /* Adjusted to match original button font-size */
    font-weight: 700;
    /* Adjusted to match original button font-weight */
    line-height: 1;
    text-align: center;
    transition: all .3s ease;
}

.ef-offer-plan__footer-note:hover {
    border-color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .05);
}

/* ========================================
   VARIAÇÃO LIGHT
======================================== */
.ef-offer-plan.is-light {
    background: #fff;
    color: #111;
    border-color: rgba(17, 17, 17, .08);
}

.ef-offer-plan.is-light .ef-offer-plan__section-title,
.ef-offer-plan.is-light .ef-offer-plan__price,
.ef-offer-plan.is-light .ef-offer-plan__price-prefix,
.ef-offer-plan.is-light .ef-offer-plan__price-suffix {
    color: #111;
    -webkit-text-fill-color: currentColor;
}

.ef-offer-plan.is-light .ef-offer-plan__list li,
.ef-offer-plan.is-light .ef-offer-plan__footer-note {
    color: rgba(17, 17, 17, .72);
}

/* ========================================
   RESPONSIVO
======================================== */
@media (max-width: 1180px) {
    .ef-offer-page--usa .ef-offer-hero .ef-home-title {
        font-size: clamp(2.8rem, 3vw, 3.6rem);
    }

    .ef-offer-plans,
    .ef-offer-page--usa .ef-offer-plans {
        max-width: 100%;
        gap: 28px;
        /* Adjusted to match original gap */
    }

    .ef-offer-plan {
        padding: 44px 28px;
    }

    .ef-offer-plan__section-title {
        font-size: 22px;
    }
}

@media (max-width: 1024px) {
    .ef-offer-page--usa .ef-offer-hero {
        padding-bottom: 104px;
    }

    .ef-offer-page--usa .ef-offer-hero::before {
        height: 280px;
    }

    .ef-offer-plans,
    .ef-offer-page--usa .ef-offer-plans,
    .ef-offer-page--dubai .ef-offer-plans,
    .ef-offer-page--paraguay .ef-offer-plans,
    .ef-offer-page--panama .ef-offer-plans {
        grid-template-columns: 1fr !important;
        max-width: 400px;
        /* Adjusted to match original mobile card width */
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .ef-offer-plan,
    .ef-offer-plan.is-featured,
    .ef-offer-plan.is-featured:hover {
        min-height: auto;
        transform: none;
    }
}

@media (max-width: 991px) {
    .ef-offer-page--usa .ef-offer-hero {
        padding: 72px 0 92px;
    }

    .ef-offer-page--usa .ef-offer-hero::before {
        height: 250px;
    }

    .ef-offer-page--usa .ef-offer-hero .ef-home-title {
        max-width: 760px;
        font-size: clamp(2.5rem, 6vw, 3.2rem);
        /* Adjusted to match original mobile title font-size */
        line-height: 0.98;
    }

    .ef-offer-page--usa .ef-offer-hero__kicker {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .ef-offer-page--usa .ef-offer-hero {
        padding: 64px 0 82px;
    }

    .ef-offer-page--usa .ef-offer-hero::before {
        height: 220px;
        background-position: center 20%;
    }

    .ef-offer-page--usa .ef-offer-hero .ef-home-title {
        max-width: 360px;
        font-size: clamp(2rem, 8.1vw, 2.8rem);
        /* Adjusted to match original mobile title font-size */
        line-height: 1;
    }

    .ef-offer-page--usa .ef-offer-hero__kicker {
        display: none;
    }

    .ef-offer-hero {
        padding: 64px 0 82px;
        /* Adjusted to match original mobile hero padding */
    }

    .ef-offer-hero__title {
        font-size: clamp(2.25rem, 12vw, 3.5rem);
    }

    .ef-offer-hero__kicker {
        font-size: 16px;
    }

    .ef-offer-plans,
    .ef-offer-page--usa .ef-offer-plans {
        gap: 32px;
        margin-top: 40px;
        grid-template-columns: 1fr !important;
        /* Força 1 coluna em mobile */
        width: 100%;
        max-width: 480px;
        /* Alinhamento centralizado e respiro */
    }

    .ef-offer-plan {
        padding: 40px 24px;
        border-radius: 22px;
    }

    .ef-offer-plan:hover {
        transform: none;
    }

    .ef-offer-plan__pricing-top {
        min-height: auto;
    }

    .ef-offer-plan__top-row {
        margin-bottom: 34px;
    }

    .ef-offer-plan__title-wrap {
        min-height: auto;
    }

    .ef-offer-plan__label {
        font-size: 12px;
        letter-spacing: .16em;
    }

    .ef-offer-plan__section-title {
        font-size: 22px;
    }

    .ef-offer-plan__price,
    .ef-offer-page--usa .ef-offer-plan__price,
    .ef-offer-plan__price-prefix {
        font-size: 32px;
        /* Adjusted to match original mobile price font-size */
    }

    .ef-offer-plan__list li {
        font-size: 15px;
    }

    .ef-offer-plan__actions {
        margin-top: 32px;
        /* Adjusted to match original mobile actions margin-top */
    }

    .ef-offer-plan>.ef-btn,
    .ef-offer-plan__actions>.ef-btn,
    .ef-offer-plan__footer-note {
        min-height: 58px;
        font-size: 14px;
        /* Adjusted to match original mobile button font-size */
    }

    .ef-offer-page--usa .ef-offer-hero .ef-home-title {
        font-size: 30px;
        font-family: Bebas\ Neue;
        font-weight: 400;
        color: rgb(255, 255, 255);
    }
}