/* ==========================================================
   EF STORY CONTENT / ROWS - CSS ANTIGO SEPARADO
   Baseado no home2(8).css
   Bloco alvo: .ef-story-content / .ef-story-rows / .ef-story-row
   ========================================================== */

/* Se o arquivo novo ainda não tiver esses tokens, mantenha este bloco.
   Se já existir globalmente no seu CSS principal, pode remover. */
:root {
    --ef-black: #000000;
    --ef-white: #ffffff;
    --ef-gold: #e0b84a;
    --ef-gold-2: #e2bf54;
    --ef-gold-3: #e6bf4c;
    --gold-grad: linear-gradient(90deg, #F8EC8E 0%, #E1AD42 35%, #F8EC8E 50%, #efcb59 65%, #E1AD42 100%);
    --gold-grad-rich: linear-gradient(90deg, #F9F295 0%, #F3D97A 20%, #EBC15A 40%, #E1AC41 50%, #EBC15A 60%, #F3D97A 80%, #F9F295 100%);
    --gold-grad-soft: linear-gradient(90deg, #F9F295 0%, #E1AC41 100%);
}

/* ==========================================================
   SECTION
   ========================================================== */

.ef-story-content {
    position: relative;
    background: #f3f3f3;
    padding: 96px 0 112px;
    overflow: hidden;
}

.ef-story-rows {
    display: grid;
    gap: 38px;
}

/* ==========================================================
   ROW / CARD
   ========================================================== */

.ef-story-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 48px;
    padding: 32px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.ef-story-row.is-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.ef-story-row.is-reverse .ef-story-row__media {
    order: 2;
}

.ef-story-row.is-reverse .ef-story-row__copy {
    order: 1;
}

.ef-story-row:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(224, 184, 74, 0.4);
}

/* Linha premium dourada no hover */
.ef-story-row::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(120deg,
            transparent,
            rgba(224, 184, 74, 0.6),
            transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.ef-story-row:hover::before {
    opacity: 1;
}

/* ==========================================================
   MEDIA / IMAGE
   ========================================================== */

.ef-story-row__media {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #111;
}

.ef-story-row__media img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 340px;
    object-fit: cover;
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.ef-story-row:hover .ef-story-row__media img {
    transform: scale(1.06);
    filter: brightness(1.05);
}

/* Brilho passando na imagem */
.ef-story-row__media::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    transition: none;
}

.ef-story-row:hover .ef-story-row__media::after {
    animation: ef-img-shine 1.2s ease forwards;
}

@keyframes ef-img-shine {
    0% {
        left: -120%;
    }

    100% {
        left: 130%;
    }
}

/* ==========================================================
   COPY / TEXT
   ========================================================== */

.ef-story-row__copy {
    position: relative;
    z-index: 2;
}

.ef-story-row__copy h2 {
    margin: 0 0 22px;
    color: #0b0b0b;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(2rem, 2.7vw, 3.2rem);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.045em;
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.ef-story-row:hover .ef-story-row__copy h2 {
    transform: translateX(6px);
    color: #000;
}

.ef-story-row__content {
    color: rgba(0, 0, 0, 0.72);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.82;
    transition: color 0.3s ease;
}

.ef-story-row:hover .ef-story-row__content {
    color: #222;
}

.ef-story-row__content p {
    margin: 0;
}

.ef-story-row__content strong,
.ef-story-row__content b {
    color: #050505;
    font-weight: 800;
}

/* ==========================================================
   CHECK ITEMS
   ========================================================== */

.ef-story-row__items {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ef-story-row__items li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    align-items: flex-start;
    margin: 0;
    padding: 0;
}

.ef-story-row__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #e1ad42;
    flex: 0 0 auto;
}

.ef-story-row__check svg {
    display: block;
    width: 34px;
    height: 34px;
}

.ef-story-row__items h3 {
    margin: 0 0 6px;
    color: #050505;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.22;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.ef-story-row__items p {
    margin: 0;
    color: rgba(0, 0, 0, 0.68);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ==========================================================
   ACTION / CTA
   ========================================================== */

.ef-story-content__action {
    display: flex;
    justify-content: center;
    margin-top: 54px;
}

.ef-story-content__action .ef-story-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 32px;
    border: 0;
    border-radius: 999px;
    background: var(--gold-grad-rich);
    background-size: 200% auto;
    color: #080808 !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-position 0.35s ease;
}

.ef-story-content__action .ef-story-hero__button:hover,
.ef-story-content__action .ef-story-hero__button:focus-visible {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
    outline: none;
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 1180px) {
    .ef-story-row {
        gap: 32px;
    }
}

@media (max-width: 992px) {

    .ef-story-row,
    .ef-story-row.is-reverse {
        grid-template-columns: 1fr;
    }

    .ef-story-row.is-reverse .ef-story-row__media,
    .ef-story-row.is-reverse .ef-story-row__copy {
        order: initial;
    }

    .ef-story-row__media img {
        min-height: 280px;
    }
}

@media (max-width: 767px) {
    .ef-story-content {
        padding: 72px 0 88px;
    }

    .ef-story-content .ef-home-shell {
        width: min(328px, 520px);
    }

    .ef-story-rows {
        gap: 28px;
    }

    .ef-story-row {
        padding: 18px;
        gap: 24px;
        border-radius: 16px;
    }

    .ef-story-row::before {
        border-radius: 16px;
    }

    .ef-story-row__media {
        border-radius: 12px;
    }

    .ef-story-row__media img {
        min-height: 230px;
    }

    .ef-story-row__copy {
        padding-left: 2px;
        padding-right: 2px;
    }

    .ef-story-row__copy h2 {
        margin-bottom: 16px;
        font-size: clamp(0.75rem, 7vw, 1.20rem);
    }

    .ef-story-row:hover .ef-story-row__copy h2 {
        transform: none;
    }

    .ef-story-row__content {
        font-size: 1rem;
        line-height: 1.72;
    }

    .ef-story-row__items {
        gap: 16px;
    }

    .ef-story-row__items li {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 12px;
    }

    .ef-story-row__check,
    .ef-story-row__check svg {
        width: 30px;
        height: 30px;
    }

    .ef-story-row__items h3 {
        font-size: 0.95rem;
    }

    .ef-story-row__items p {
        font-size: 0.92rem;
    }

    .ef-story-content__action {
        margin-top: 38px;
    }

    .ef-story-content__action .ef-story-hero__button {
        width: 100%;
        max-width: 310px;
    }
}

@media (max-width: 480px) {
    .ef-story-row {
        padding: 14px;
    }

    .ef-story-row__media img {
        min-height: 205px;
    }
}

/* =========================================================
   EF STORY FEATURE CARDS - CSS ANTIGO
   Baseado no arquivo antigo home2(8).css
   Bloco: .ef-story-content__head + .ef-story-feature-cards
========================================================= */

/* Se o seu CSS novo já tiver esses tokens, pode remover este :root. */
:root {
    --ef-gold: #e0b84a;
    --ef-gold-2: #e2bf54;
    --ef-gold-3: #e6bf4c;
    --gold-grad-rich: linear-gradient(90deg, #F9F295 0%, #F3D97A 20%, #EBC15A 40%, #E1AC41 50%, #EBC15A 60%, #F3D97A 80%, #F9F295 100%);
}

/* =========================================================
   SEÇÃO
========================================================= */

.ef-story-content {
    padding: 72px 0 126px;
    background: #fff;
}

.ef-story-content__head {
    margin: 0 auto 30px;
    text-align: center;
}

.ef-home-shell .ef-story-content__head h2 {
    color: #111;
    margin: 10px 0;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.ef-story-content__head p {
    margin: 14px auto 0;
    color: rgba(17, 17, 17, .74);
    font: 400 18px/1.8 "Open Sans", Arial, sans-serif;
}

/* =========================================================
   GRID DE CARDS
========================================================= */

.ef-story-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ef-story-feature-card {
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 45px -34px rgba(0, 0, 0, .24);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.ef-story-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(225, 173, 66, .4);
    box-shadow: 0 28px 54px -32px rgba(0, 0, 0, .28);
}

.ef-story-feature-card__media {
    position: relative;
}

.ef-story-feature-card__media img {
    width: 100%;
    height: 220px;
    display: block;
    object-fit: cover;
}

.ef-story-feature-card__body {
    padding: 20px 20px 24px;
}

.ef-story-feature-card__body h3 {
    margin: 0 0 10px;
    color: #111;
    font: 800 22px/1.15 "Open Sans", Arial, sans-serif;
    text-transform: uppercase;
}

.ef-story-feature-card__body p {
    margin: 0;
    color: rgba(17, 17, 17, .78);
    font: 400 15px/1.7 "Open Sans", Arial, sans-serif;
}

/* =========================================================
   VARIAÇÃO ESCURA - NEVIS / BAHAMAS
   Use uma dessas classes no wrapper da página:
    ou .ef-story-page--bahamas
========================================================= */

 .ef-story-feature-card,
.ef-story-feature-card {
    border-color: rgba(239, 203, 89, .2);
    border-radius: 18px;
    background: linear-gradient(180deg, #272727 0%, #1a1a1a 100%);
    box-shadow: 0 26px 46px -34px rgba(0, 0, 0, .45);
}

 .ef-story-feature-card:hover,
.ef-story-feature-card:hover {
    border-color: rgba(239, 203, 89, .46);
    box-shadow: 0 32px 56px -30px rgba(0, 0, 0, .5);
}

 .ef-story-feature-card__media,
.ef-story-feature-card__media {
    position: relative;
}

 .ef-story-feature-card__media .ef-story-feature-card__icon,
.ef-story-feature-card__media .ef-story-feature-card__icon {
    position: absolute;
    left: 50%;
    bottom: -24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .26);
}

 .ef-story-feature-card__media .ef-story-feature-card__icon svg,
.ef-story-feature-card__media .ef-story-feature-card__icon svg {
    width: 30px;
    height: 30px;
    color: #111;
    stroke-width: 2px;
}

 .ef-story-feature-card__body,
.ef-story-feature-card__body {
    padding-top: 34px;
    text-align: center;
}

 .ef-story-feature-card__body h3,
.ef-story-feature-card__body h3 {
    color: #efcb59;
    font-size: 21px;
    letter-spacing: .01em;
}

 .ef-story-feature-card__body p,
.ef-story-feature-card__body p {
    color: rgba(255, 255, 255, .88);
}

/* =========================================================
   AÇÃO OPCIONAL DA SEÇÃO
========================================================= */

.ef-story-content__action {
    margin-top: 32px;
    text-align: center;
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 992px) {
    .ef-story-feature-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ef-story-content {
        padding-bottom: 88px;
    }

    .ef-story-feature-card__body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 560px) {
    .ef-story-content {
        padding-top: 48px;
        padding-bottom: 44px;
    }

    .ef-story-content__head {
        margin-bottom: 34px;
    }

    .ef-story-content__head h2 {
        font-size: clamp(1.85rem, 2.3vw, 2.65rem);
        line-height: 1.08;
    }

    .ef-story-feature-cards {
        gap: 18px;
    }
}