/* Medidas de referência: não alteram o cabeçalho nem o chat do site. */
:root {
    --msfr-header-height: 90px; /* Altura real do cabeçalho fixo. */
    --msfr-chat-space: 180px; /* Inclui a mascote */
    --msfr-yellow: #ffca08;
    --msfr-light: #fff0b0;
    --msfr-cycle: 12s;
    --msfr-next-bg: #def5f1; /* Mesma cor da secção Sobre. */
    /* Altura ocupada pelo cabeçalho fixo */
    --msfr-fixed-header: 90px;
    /* Espaço reservado ao chat, incluindo a mascote */
    --msfr-chat-reserve: 145px;
}


/* ============= General */
#mychat-content {
    display: none;
}

.btn span {
    padding: 0;
}

.btn-yellow {
    border: 2px solid var(--msfr-yellow);
    background: var(--msfr-yellow);
    color: #080808;
}
    .btn-yellow:hover {
        background: #ffe36d;
        border-color: #ffe36d;
        color: #080808;
    }

.text-secondary {
    color: #8A6500 !important;
}
.lqd-h-sep-inner {
    background-color: #C99A24;
}
.border-color-primary {
    border-color: #C99A24;
}
/* ============= Header */

.rightBts #header .header-module a.btn.btn-default,
header#navbar_top.navbar-home .header-module a.btn.btn-default {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff0b0;
    background: transparent;
    border-radius: 30px;
    color: #fff0b0;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    font-size: 14px;
    padding: 0.6em 1.2em;
    letter-spacing: .05em;
    font-weight: 600 !important;
    gap: 5px;
}
    .rightBts #header .header-module a.btn.btn-default:hover,
    header#navbar_top.navbar-home .header-module a.btn.btn-default:hover,
    .btn-dark-blue-white.btn-bordered:hover {
        background-color: #ffe36d !important;
        border-color: #ffe36d !important;
        color: #080808 !important;
        padding: 0.6em 1.2em;
    }

    .rightBts #header .header-module a.btn.btn-default.login,
    header#navbar_top.navbar-home .header-module a.btn.btn-default.login {
        border: 2px solid #280F4C;
        background: #fff0b0;
        color: #080808;
    }

#header.fixed-header .btn-dark-blue-white.btn-bordered,
header#navbar_top.fixed-top .header-module a.btn-dark-blue-white.btn-bordered {
    border-color: #280F4C !important;
    padding: 0.6em 1.2em !important;
    font-size: 14px !important;
    color: #080808;
}

#header.fixed-header .header-module a.btn.btn-default {
    color: #080808 !important;
}

@media screen and (max-width: 1200px) {
    header#navbar_top.fixed-top .navbar-brand img.logo-sticky {
        display: block;
    }
    header#navbar_top.fixed-top .navbar-brand img.mobile-logo-default {
        display: none;
    }
}

@media (max-width: 600px) {
    .rightBts #header .header-module a.btn.btn-default,
    header#navbar_top.navbar-home .header-module a.btn.btn-default,
    #header.fixed-header .btn-dark-blue-white.btn-bordered,
    header#navbar_top.fixed-top .header-module a.btn-dark-blue-white.btn-bordered {
        font-size: 0.85em !important;
    }
}
@media (max-width: 420px) {
    .main-header .mainbar-row.px-4 {
        padding-top: 0.25rem;
    }
}
/* ============= Hero */
.msfr-hero {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /*padding: 95px clamp(24px, 4.3vw, 72px);
    padding-top: max(95px, calc(var(--msfr-header-height) + 16px));
    padding-bottom: max(clamp(112px, 10vw, 170px), calc(var(--msfr-chat-space) + 32px + env(safe-area-inset-bottom, 0px)));*/
    overflow: hidden;
    background: #101010 url("../../../../app/assets/img/campaign/blackFriday/fundo-black-friday.png") left bottom / cover no-repeat;
    color: var(--msfr-light);
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
}

    .msfr-hero *, .msfr-hero *::before, .msfr-hero *::after {
        box-sizing: border-box;
    }

.msfr-hero__filters {
    position: absolute;
    pointer-events: none;
}

.msfr-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(24px, 3.5vw, 58px);
    row-gap: clamp(24px, 2.5vw, 38px);
    max-width: 1440px;
    min-width: 0;
    margin-inline: auto;
}

.msfr-hero__lead {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 42px);
    min-width: 0;
}

.msfr-hero__headline {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    width: 100%;
    container-type: inline-size;
}

.msfr-hero__brackets {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding-inline: clamp(24px, 4cqi, 42px);
    position: relative;
}

    .msfr-hero__brackets::before, .msfr-hero__brackets::after {
        content: "";
        position: absolute;
        top: 8%;
        bottom: 17%;
        width: clamp(14px, 4cqi, 30px);
        border: clamp(5px, .85vw, 13px) solid var(--msfr-yellow);
        pointer-events: none;
    }

    .msfr-hero__brackets::before {
        left: -3%;
        right: auto;
        border-right: 0;
    }

    .msfr-hero__brackets::after {
        right: -3%;
        left: auto;
        border-left: 0;
    }

.msfr-hero__title {
    margin: 0;
    padding: 0;
    color: var(--msfr-yellow);
    font: inherit;
    font-size: clamp(42px, 7.4vw, 136px);
    font-size: clamp(42px, 16.5cqi, 136px);
    line-height: 1.06;
    letter-spacing: 0;
    font-weight: 800;
}

.msfr-hero__word--friday {
    font-size: 1.5em;
    line-height: .99;
}

.msfr-hero__seal {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.msfr-hero__details {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
}

    .msfr-hero__details p {
        margin: 0;
        color: var(--msfr-light);
        font-size: clamp(19px, 1.85vw, 29px);
        line-height: 1.48;
        letter-spacing: -.035em;
    }

        .msfr-hero__details p + p {
            margin-top: 0;
        }

        .msfr-hero__details p.msfr-hero__deadline {
            margin: 0;
            color: var(--msfr-yellow);
            font-size: 1.5em;
            line-height: 1.48;
            margin-top: 8px;
        }

.msfr-hero__cta {
    position: relative;
    top: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 52px;
    padding: 15px 26px;
    border: 2px solid var(--msfr-yellow);
    border-radius: 50px;
    background: var(--msfr-yellow);
    color: #080808;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    scroll-margin-top: calc(var(--msfr-header-height) + 24px);
    scroll-margin-bottom: calc(var(--msfr-chat-space) + 24px);
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    font-family: 'Poppins', sans-serif;
    letter-spacing: .05em;
}

    .msfr-hero__cta:hover {
        background: #ffe36d;
        border-color: #ffe36d;
        color: #080808;
        top: -2px;
    }

    .msfr-hero__cta:focus-visible {
        outline: 3px solid white;
        outline-offset: 5px;
    }

.msfr-hero__word {
    display: block;
    white-space: nowrap;
    color: var(--msfr-yellow);
    -webkit-text-stroke: 0 transparent;
    -webkit-text-fill-color: currentColor;
    text-shadow: none;
    filter: url("#msfr-neon-filter");
}

.msfr-hero {
    --msfr-cycle: 12s;
}

.msfr-hero {
    --msfr-cycle: 16s;
}

.msfr-hero__filter-fill {
    flood-opacity: 1;
    animation: msfr-fill-flow var(--msfr-cycle) ease-in-out infinite;
}

.msfr-hero__filter-core {
    flood-opacity: 0;
    animation: msfr-core-flow var(--msfr-cycle) ease-in-out infinite;
}

.msfr-hero__filter-glow {
    flood-opacity: 0;
    animation: msfr-glow-flow var(--msfr-cycle) ease-in-out infinite;
}

@keyframes msfr-fill-flow {
    0%, 12%, 35%, 48%, 84%, 100% {
        flood-opacity: 1;
    }

    16%, 18%, 22%, 26%, 30%, 31%, 52%, 55%, 58%, 68%, 72%, 76%, 80% {
        flood-opacity: 0;
    }

    19%, 20%, 27%, 28%, 56%, 57%, 69%, 70%, 77%, 78% {
        flood-opacity: 0.04;
    }
}

@keyframes msfr-core-flow {
    0%, 12%, 35%, 48%, 84%, 100% {
        flood-opacity: 0;
    }

    16%, 18%, 22%, 26%, 30%, 31%, 52%, 55%, 58%, 68%, 72%, 76%, 80% {
        flood-opacity: 1;
    }

    19%, 20%, 27%, 28%, 56%, 57%, 69%, 70%, 77%, 78% {
        flood-opacity: 0.25;
    }
}

@keyframes msfr-glow-flow {
    0%, 12%, 35%, 48%, 84%, 100% {
        flood-opacity: 0;
    }

    16%, 18%, 22%, 26%, 30%, 31%, 52%, 55%, 58%, 68%, 72%, 76%, 80% {
        flood-opacity: 1;
    }

    19%, 20%, 27%, 28%, 56%, 57%, 69%, 70%, 77%, 78% {
        flood-opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .msfr-hero__filter-fill,
    .msfr-hero__filter-core,
    .msfr-hero__filter-glow {
        animation: none;
    }

    .msfr-hero__word {
        filter: none;
        color: var(--msfr-yellow);
        -webkit-text-fill-color: var(--msfr-yellow);
    }
}


/* Bloco de oferta à direita e transição para Sobre. */

.msfr-hero__bottom {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 3.5vw, 58px);
    align-items: flex-end;
}


.msfr-hero__offer {
    grid-column: 2;
    min-width: 0;
    justify-self: center;
    width: 100%;
    max-width: 430px;
    padding: clamp(15px, 2.1vw, 20px);
    border: 0 solid #ffca0866;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 18px 44px #0005;
}

.msfr-hero__offer-label {
    margin: 0 0 11px;
    color: var(--msfr-yellow);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
}

.msfr-hero__offer h2 {
    margin: 0;
    color: var(--msfr-light);
    font: 700 clamp(21px, 1.8vw, 27px)/1.22 "MSFridayMontserrat", Montserrat, Arial, sans-serif;
    letter-spacing: -.025em;
}

.msfr-hero__offer-description {
    margin: 5px 0 22px;
    color: #ffca08;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.msfr-hero__offer .msfr-hero__cta {
    width: 100%;
}

.msfr-hero__transition {
    position: absolute;
    z-index: -1;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: clamp(64px, 7.5vw, 120px);
    pointer-events: none;
}

    .msfr-hero__transition svg {
        display: block;
        width: 100%;
        height: 100%;
    }

.msfr-hero__wave-back {
    fill: #ffca08;
    opacity: .22;
}

.msfr-hero__wave-front {
    fill: #fff9df;
}

/* Acrescentar esta classe à secção Sobre existente, sem alterar o seu conteúdo. */
.msfr-about-bridge {
    margin-top: 0;
    border-top: 0;
    padding-top: clamp(32px, 4vw, 64px);
    background-color: var(--msfr-next-bg, #def5f1);
    scroll-margin-top: calc(var(--msfr-header-height) + 24px);
}

@media (max-width: 1600px) {
    .msfr-hero__title {
        font-size: clamp(42px, 15cqi, 136px);
    }
    .msfr-hero__seal {
        max-width: 350px;
    }
    .msfr-hero__details p + p {
        margin-top: 0;
    }
}

@media (max-width: 1280px) {
    .msfr-hero__seal {
        max-width: 300px;
    }
    .msfr-hero__offer .msfr-hero__cta {
        padding: 1em 1.5em;
    }
    .msfr-hero__details p.msfr-hero__deadline {
        font-size: 1.3em;
        line-height: 1.48;
        margin-top: 10px;
    }
    .msfr-hero {
        padding: 15% 0;
        height: 100vh;
    }
}

@media (max-width: 1080px) {
    .msfr-hero__seal {
        max-width: 250px;
    }
}

@media (max-width: 991px) {
    .msfr-hero {
        padding: 20% 0 0 0;
    }

    .msfr-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 28px;
    }

    .msfr-hero__lead {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        gap: 26px;
        align-items: center;
    }

    .msfr-hero__headline {
        width: 100%;
        max-width: 620px;
        align-self: center;
        text-align: center;
        container-type: inline-size;
    }

    .msfr-hero__brackets {
        display: inline-block;
        width: fit-content;
        max-width: 100%;
        margin: 0;
        padding-inline: clamp(22px, 4cqi, 34px);
        text-align: left;
    }

        .msfr-hero__brackets::before,
        .msfr-hero__brackets::after {
            width: clamp(12px, 2cqi, 20px);
            border-width: 6px;
        }

    .msfr-hero__title,
    .content h1, .content .h1 {
        font-size: clamp(28px, 15.5cqi, 86px);
    }

    .msfr-hero__seal {
        /*grid-column: 1;
        grid-row: 2;
        width: min(72%, 330px);
        max-width: 100%;
        justify-self: center;*/
        max-width: 20%;
        justify-self: center;
        position: absolute;
        right: 2%;
        top: 12%;
    }

    .msfr-hero__bottom {
        grid-column: 1;
        grid-row: 3;
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        min-width: 0;
    }

    .msfr-hero__details {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        text-align: center;
    }

        .msfr-hero__details p {
            font-size: clamp(16px, 2.9vw, 23px);
            line-height: 1.2;
            overflow-wrap: break-word;
        }

            .msfr-hero__details p + p {
                margin-top: 10px;
            }

    .msfr-hero__offer {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        max-width: 460px;
        min-width: 0;
        justify-self: center;
        text-align: center;
    }

        .msfr-hero__offer .msfr-hero__cta {
            width: 100%;
            min-width: 0;
            min-height: auto;
            padding: 1em 1.5em;
            gap: 12px;
            font-size: clamp(0.95em, 3.8vw, 1em);
            white-space: nowrap;
        }

    .msfr-hero__transition {
        height: 64px;
    }

}

@media (max-width: 768px) {
    #bannerCampaignAppFam {
        top: 11%;
    }
    .msfr-hero__title, .content h1, .content .h1 {
        font-size: 60px;
        font-size: clamp(28px, 15.5cqi, 52px);
    }
    .msfr-hero__seal {
        max-width: 25%;
        right: 1%;
        top: 10%;
    }
    .msfr-hero__details p.msfr-hero__deadline {
        font-size: 1.1em;
    }
}

@media (max-width: 560px) {
    .msfr-hero {
        padding-inline: 20px;
    }

    .msfr-hero__lead {
        gap: 22px;
    }

    .msfr-hero__seal {
        max-width: 30%;
    }

    .msfr-hero__offer {
        padding: 18px;
    }

        .msfr-hero__offer h2 {
            font-size: 21px;
        }

    .msfr-hero__offer-description {
        font-size: 14px;
    }
}

@media (max-width: 400px) {

    .msfr-hero__seal {
        max-width: 33%;
    }
    .msfr-hero__details p.msfr-hero__deadline {
        font-size: 1em;
    }
}

    @media (prefers-reduced-motion: reduce) {
        .msfr-hero__filter-fill, .msfr-hero__filter-core, .msfr-hero__filter-glow {
            animation: none;
        }

        .msfr-hero__word {
            animation: none;
            color: var(--msfr-yellow);
            -webkit-text-fill-color: var(--msfr-yellow);
            -webkit-text-stroke: 0 transparent;
            text-shadow: none;
            filter: none;
        }

        .msfr-hero__cta {
            transition: none;
        }
    }

@media (max-height: 680px) {

    .msfr-hero {
        padding: 24% 10px 0 10px;
    }
    .msfr-hero__seal {
        max-width: 32%;
    }
    .msfr-hero__title, .content h1, .content .h1 {
        font-size: 40px;
        font-size: clamp(28px, 12.5cqi, 40px);
    }
    .msfr-hero__inner {
        row-gap: 16px;
    }
    .msfr-hero__offer .msfr-hero__cta {
        width: 90%;
        padding: 0.7em 1em;
        font-size: clamp(0.95em, 3.8vw, 1em);
    }
}



    /* ===============================
        BANNER BOTTOM
    =============================== */


.msfr-banner {
    position: fixed;
    z-index: 99;
    left: 24px;
    right: 24px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-width: 1170px;
    margin-inline: auto;
    box-sizing: border-box;
    padding: 16px 22px;
    border: 1px solid rgb(255 204 0 / 55%);
    border-radius: 15px;
    background: #111;
    color: #fff3be;
    font-family: inherit;
    box-shadow: 0 12px 36px rgb(0 0 0 / 28%), 0 0 22px rgb(255 204 0 / 8%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 350ms ease, transform 450ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 450ms;
}

    .msfr-banner.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s;
    }

.msfr-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.msfr-banner__text {
    min-width: 0;
}

    .msfr-banner__text strong {
        display: block;
        margin-bottom: 4px;
        color: #fc0;
        font-size: clamp(18px, 2vw, 23px);
        font-weight: 800;
        line-height: 1.2;
    }

    .msfr-banner__text p {
        margin: 0;
        font-size: 15px;
        line-height: 1.5;
    }

        .msfr-banner__text p span {
            display: inline-block;
        }

.msfr-banner__button {
    position: relative;
    top: 0;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: auto;
    padding: 13px 24px;
    box-sizing: border-box;
    border: 1px solid #fc0;
    border-radius: 999px;
    background: #fc0;
    color: #080808;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .05em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    font-family: 'Poppins', sans-serif;
}

    .msfr-banner__button:hover {
        background: #ffe36d;
        border-color: #ffe36d;
        color: #080808;
        top: -2px;
        box-shadow: 0 0 18px rgb(255 204 0 / 20%);
    }

    .msfr-banner__button:focus-visible {
        outline: 3px solid #fff;
        outline-offset: 4px;
    }

    .msfr-banner__button svg {
        display: block;
        flex-shrink: 0;
    }

@media (max-width: 760px) {
    :root {
        /* Ajusta à altura real do chat em mobile */
        --msfr-chat-reserve: 160px;
    }

    .msfr-banner {
        left: 12px;
        right: 12px;
        padding: 14px 16px;
    }

    .msfr-banner__content {
        gap: 14px;
    }

    .msfr-banner__text strong {
        font-size: 18px;
    }

    .msfr-banner__text p {
        font-size: 13px;
    }

    .msfr-banner__button {
        padding: 12px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .msfr-banner__content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .msfr-banner__text {
        text-align: center;
    }

    .msfr-banner__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .msfr-banner,
    .msfr-banner__button {
        transition: none;
        transform: none;
    }
}