﻿@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

/* ===== Header da campanha (Views/BlackFriday/_Header.cshtml) ===== */
.bf-header,
.bf-drawer {
    --ph-purple: var(--colours-branding-primary-1-purple);
    --ph-inspire: #4D00E6;
    --ph-beige: var(--colours-branding-secondary-2-beige);
    --ph-beige2: #E7DCD5;
    --ph-line: #e6dfd9;
    --ph-font: 'Hanken Grotesk', 'Founders Grotesk', Arial, sans-serif;
    font-family: var(--ph-font);
    color: #000;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

    .bf-header a,
    .bf-drawer a {
        color: inherit;
        text-decoration: none;
        cursor: pointer;
    }

    .bf-header button {
        font: inherit;
        color: inherit;
        cursor: pointer;
        padding: 0;
    }

    .bf-header i[data-lucide],
    .bf-header svg.lucide {
        width: 1.15em;
        height: 1.15em;
        stroke-width: 1.75;
        vertical-align: -.2em;
    }

header.bf-header {
    display: block;
    height: auto;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(249, 246, 244, .88);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ph-line);
    box-shadow: none;
}

.bf-header .ph-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.bf-header .ph-bar {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 72px;
}

.bf-header .ph-logo {
    display: block;
    flex: none;
}

    .bf-header .ph-logo img {
        height: 34px;
        width: auto;
        display: block;
    }

.bf-header .ph-nav {
    display: flex;
    gap: 6px;
    margin-left: 12px;
}

    .bf-header .ph-nav a {
        padding: 8px 14px;
        border-radius: 999px;
        font-weight: 600;
        font-size: .95rem;
        transition: .2s;
    }

        .bf-header .ph-nav a:hover,
        .bf-header .ph-nav a.active {
            background: var(--ph-beige2);
            color: inherit;
        }

.bf-header .ph-bar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.bf-header .ph-icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--ph-line);
    background: #fff;
    transition: .2s;
}

    .bf-header .ph-icon-btn:hover {
        border-color: var(--ph-purple);
        color: var(--ph-purple);
    }

.bf-header .ph-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--ph-purple);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    line-height: 1;
}

    .bf-header .ph-badge-count:empty {
        display: none !important;
    }

.bf-header .ph-btn,
.bf-drawer .ph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 64px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    transition: .2s;
    white-space: nowrap;
}

.bf-header .ph-btn-primary,
.bf-drawer .ph-btn-primary {
    background: var(--ph-purple);
    color: #fff;
    box-shadow: 0 8px 20px rgba(96, 56, 232, .3);
}

    .bf-header .ph-btn-primary:hover,
    .bf-drawer .ph-btn-primary:hover {
        background: var(--ph-inspire);
        color: #fff;
        transform: translateY(-2px);
    }

.bf-header .ph-btn-sm {
    padding: 9px 16px;
    font-size: .85rem;
}

.bf-header .ph-user {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    outline: none;
}

.bf-header .ph-avatar,
.bf-drawer .ph-avatar {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ph-purple);
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
}

.bf-header .ph-user-text,
.bf-drawer .ph-user-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.bf-header .ph-user-name,
.bf-header .ph-user-account,
.bf-drawer .ph-user-name,
.bf-drawer .ph-user-account {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bf-header .ph-user-name,
.bf-drawer .ph-user-name {
    font-size: .9rem;
}

.bf-header .ph-user-account,
.bf-drawer .ph-user-account {
    font-size: .78rem;
    color: #5b5866;
}

.bf-header .ph-user-chevron {
    width: 16px;
    height: 16px;
    transition: transform .2s;
}

.bf-header .ph-user-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding-top: 8px;
    z-index: 1031;
}

    .bf-header .ph-user-menu a {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 160px;
        padding: 12px 16px;
        border-radius: 12px;
        background: #fff;
        border: 1px solid var(--ph-line);
        box-shadow: 0 10px 30px rgba(40, 20, 90, .12);
        font-weight: 700;
        font-size: .9rem;
    }

        .bf-header .ph-user-menu a:hover {
            color: #d92d20;
            background: #fef3f2;
        }

        .bf-header .ph-user-menu a svg.lucide {
            width: 16px;
            height: 16px;
        }

.bf-header .ph-user:hover .ph-user-menu,
.bf-header .ph-user:focus-within .ph-user-menu {
    display: block;
}

.bf-header .ph-user:hover .ph-user-chevron,
.bf-header .ph-user:focus-within .ph-user-chevron {
    transform: rotate(180deg);
}

.bf-header .ph-burger,
.bf-drawer {
    display: none;
}

@media (max-width: 1024px) {
    .bf-header .ph-nav,
    .bf-header .ph-bar-right .ph-btn,
    .bf-header .ph-user {
        display: none;
    }

    .bf-header .ph-burger {
        display: grid;
    }

    .bf-drawer {
        display: block;
        position: fixed;
        inset: 72px 0 0 0;
        background: var(--ph-beige);
        z-index: 1029;
        padding: 24px;
        transform: translateX(100%);
        transition: .3s;
        overflow: auto;
    }

        .bf-drawer.on {
            transform: none;
        }

        .bf-drawer a {
            display: block;
            padding: 16px 6px;
            font-size: 1.3rem;
            font-weight: 700;
            border-bottom: 1px solid var(--ph-line);
        }

        .bf-drawer a.ph-btn {
            display: flex;
            width: 100%;
            margin-top: 28px;
            padding: 15px 24px;
            border-bottom: 0;
            font-size: 1rem;
            text-align: center;
        }

            .bf-drawer a.ph-btn:hover {
                transform: none;
            }

            .bf-drawer a.ph-btn svg.lucide {
                width: 1.15em;
                height: 1.15em;
                stroke-width: 1.75;
            }

        .bf-drawer .ph-drawer-user {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 28px;
        }

        .bf-drawer a.ph-drawer-logout {
            margin-top: 16px;
            background: #fff;
            color: #d92d20;
            border: 1px solid #fecdca;
        }

            .bf-drawer a.ph-drawer-logout:hover {
                background: #fef3f2;
            }
}

@media (max-width: 720px) {
    .bf-header .ph-wrap {
        padding: 0 16px;
    }
}

/* ===== Footer da campanha (Views/BlackFriday/_Footer.cshtml) ===== */
footer.bf-footer {
    background-color: #E7DCD5;
}

    footer.bf-footer .lnkTermsAndPrivacy {
        flex-wrap: wrap;
        gap: 4px 16px;
    }

    footer.bf-footer .bf-footer-terms {
        color: inherit;
        text-decoration: underline;
    }


/* ===== Home da campanha (Views/BlackFriday/Index.cshtml) ===== */
.bfh {
    --purple: #6038E8;
    --violet: #AD36FF;
    --blue: #388EE8;
    --cyan: #3DCBFF;
    --inspire: #4D00E6;
    --beige: #F9F6F4;
    --beige2: #E7DCD5;
    --muted: #5b5866;
    --line: #e6dfd9;
    --ok: #12805c;
    --r: 20px;
    --shadow: 0 10px 30px rgba(40,20,90,.08);
    --shadow-lg: 0 24px 60px rgba(40,20,90,.18);
    --font: 'Hanken Grotesk','Founders Grotesk',Arial,sans-serif;
    font-family: var(--font);
    color: #000;
    background: var(--beige);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

    .bfh *,
    .bfh *::before,
    .bfh *::after {
        box-sizing: border-box;
    }

    .bfh h1, .bfh h2, .bfh h3, .bfh h4 {
        font-family: var(--font);
        font-weight: 700;
        letter-spacing: -.02em;
        line-height: 1.1;
        margin: 0;
        color: inherit;
    }

    .bfh h2 {
        font-size: clamp(1.7rem,3.2vw,2.5rem);
    }

    .bfh p {
        margin: 0;
    }

    .bfh a,
    .bfh a:hover {
        color: inherit;
        text-decoration: none;
    }

    .bfh img {
        max-width: 100%;
    }

    .bfh i[data-lucide],
    .bfh svg.lucide {
        width: 1.15em;
        height: 1.15em;
        stroke-width: 1.75;
        vertical-align: -.2em;
    }

    .bfh .wrap {
        max-width: 1240px;
        margin: 0 auto;
        padding: 0 24px;
    }

    .bfh .sub {
        color: var(--muted);
        font-size: 1.05rem;
        max-width: 620px;
    }

    .bfh .sec {
        padding: 72px 0;
    }

    .bfh .sec-head {
        display: flex;
        justify-content: space-between;
        align-items: end;
        gap: 20px;
        flex-wrap: wrap;
        margin-bottom: 32px;
    }

        .bfh .sec-head.center {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .bfh .sec-head h2 {
            margin: 6px 0 8px;
        }

    /* Buttons */
    .bfh .bfh-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 13px 64px;
        border-radius: 999px;
        font-weight: 700;
        font-size: .95rem;
        transition: .2s;
        white-space: nowrap;
    }

    .bfh .bfh-btn-primary {
        background: var(--purple);
        color: #fff;
        box-shadow: 0 8px 20px rgba(96,56,232,.3);
    }

        .bfh .bfh-btn-primary:hover {
            background: var(--inspire);
            color: #fff;
            transform: translateY(-2px);
        }

    .bfh .bfh-btn-sm {
        padding: 9px 16px;
        font-size: .85rem;
    }

    /* Hero */
    .bfh .hero {
        position: relative;
        background: #000;
        color: #fff;
        overflow: hidden;
        border-radius: 0 0 40px 40px;
    }

        .bfh .hero .hero-grid {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1.1fr .9fr;
            gap: 40px;
            align-items: center;
            padding-top: 35px;
            padding-bottom: 110px;
        }

    .bfh .bf-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #fff;
        color: #000;
        font-weight: 800;
        letter-spacing: .14em;
        font-size: .78rem;
        padding: 8px 16px;
        border-radius: 999px;
    }

        .bfh .bf-pill b {
            background: var(--purple);
            color: #fff;
            padding: 2px 8px;
            border-radius: 999px;
        }

    .bfh .hero h1 {
        font-size: clamp(2.6rem,6vw,5rem);
        margin: 20px 0 16px;
    }

    .bfh .hero p.bfh-lead {
        font-size: 1.2rem;
        color: #d8d4e4;
        max-width: 520px;
    }

    .bfh .hero-cta {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        margin: 28px 0;
    }

    .bfh .hero-shape {
        position: absolute;
        z-index: 1;
        pointer-events: none;
        max-width: none;
    }

    .bfh .hs-combo {
        right: -318px;
        top: -163px;
        height: 130%;
        width: auto;
    }

    .bfh .hs-circle {
        left: -80px;
        bottom: -112px;
        width: 400px;
        height: auto;
    }

    .bfh .hero-visual {
        position: relative;
        min-height: 480px;
    }

    .bfh .big-off {
        position: absolute;
        right: 42px;
        top: -10px;
        z-index: 3;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: #fff;
        color: #000;
        display: grid;
        place-content: center;
        text-align: center;
        box-shadow: var(--shadow-lg);
        transform: rotate(8deg);
        animation: bfh-float 4s ease-in-out infinite;
    }

        .bfh .big-off small {
            display: block;
            font-size: 1.15rem;
            font-weight: 800;
            letter-spacing: .08em;
            line-height: 1;
            margin-bottom: 6px;
        }

        .bfh .big-off b {
            font-size: 3rem;
            font-weight: 800;
            line-height: 1;
            color: var(--purple);
        }

@keyframes bfh-float {
    50% {
        transform: rotate(8deg) translateY(-10px);
    }
}

.bfh .mini {
    position: absolute;
    display: block;
    background: rgba(255,255,255,.96);
    color: #000;
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    width: 250px;
    cursor: pointer;
    transition: .25s;
}

    .bfh .mini:hover {
        color: #000;
        transform: translateY(-6px) scale(1.02);
    }

    .bfh .mini .nm {
        font-weight: 700;
    }

    .bfh .mini .old {
        color: var(--muted);
        text-decoration: line-through;
        font-size: .85rem;
    }

    .bfh .mini .adh {
        margin: 8px 0 0;
        font-size: .95rem;
        font-weight: 700;
        color: var(--muted);
    }

        .bfh .mini .adh s {
            font-weight: 500;
        }

    .bfh .mini .tag {
        float: right;
        background: #000;
        color: #fff;
        border-radius: 999px;
        font-size: .7rem;
        font-weight: 700;
        padding: 3px 9px;
    }

    .bfh .mini.m1 {
        left: 0;
        top: 60px;
    }

    .bfh .mini.m2 {
        left: 90px;
        top: 190px;
    }

    .bfh .mini.m3 {
        left: 0;
        top: 344px;
    }

/* Comparação */
.bfh #compare {
    scroll-margin-top: 90px;
}

html:has(.bfh) {
    scroll-behavior: smooth;
}

.bfh .tbl-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow-x: auto;
    box-shadow: var(--shadow);
}

.bfh table.cmp-t {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
    margin: 0;
}

.bfh .cmp-t th,
.bfh .cmp-t td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    font-size: .95rem;
}

    .bfh .cmp-t th:first-child,
    .bfh .cmp-t td:first-child {
        text-align: left;
        font-weight: 700;
        background: var(--beige);
        position: sticky;
        left: 0;
        z-index: 1;
        min-width: 150px;
    }

.bfh .cmp-t thead th {
    padding: 24px 20px;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    vertical-align: bottom;
    position: sticky;
    top: 0;
    z-index: 2;
}

    .bfh .cmp-t thead th:first-child {
        background: var(--beige);
        z-index: 3;
    }

.bfh .cmp-t tfoot td {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: #fff;
    border-top: 2px solid var(--line);
    border-bottom: 0;
    box-shadow: 0 -6px 12px rgba(0,0,0,.05);
}

    .bfh .cmp-t tfoot td:first-child {
        background: var(--beige);
        z-index: 3;
    }

.bfh .cmp-price {
    display: grid;
    margin-top: 14px;
    padding: 4px 14px;
    border: 1px solid #e4dcff;
    border-radius: 14px;
    background: #f7f4ff;
    font-size: .85rem;
    font-weight: 400;
}

    .bfh .cmp-price div {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        padding: 8px 0;
        text-align: left;
    }

        .bfh .cmp-price div + div {
            border-top: 1px solid #e4dcff;
        }

    .bfh .cmp-price span {
        color: #3d3a48;
        font-weight: 500;
        white-space: nowrap;
    }

    .bfh .cmp-price b {
        color: var(--purple);
        font-size: .95rem;
        font-weight: 800;
        letter-spacing: -.01em;
        text-align: right;
        white-space: nowrap;
    }

.bfh .cmp-t tbody tr:last-child td {
    border-bottom: 0;
}

.bfh .cmp-t small {
    font-size: 80%;
}

.bfh .cmp-t .yes {
    color: var(--ok);
}

.bfh .cmp-t .no {
    color: #c3bcb6;
}

.bfh .cmp-t .hl {
    background: #f5f0ff;
}

.bfh .price-old {
    color: var(--muted);
    text-decoration: line-through;
    font-size: .9rem;
}

/* Cards de planos (mobile) */
.bfh .cmp-cards {
    display: none;
}

/* ===== Home da campanha — responsivo ===== */
@media (max-width: 1024px) {
    .bfh.bfh .hero .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 48px;
        padding-bottom: 100px;
    }

    .bfh.bfh .hero-visual {
        min-height: 300px;
    }
}

@media (max-width: 720px) {
    .bfh.bfh .wrap {
        padding: 0 16px;
    }

    .bfh.bfh .sec {
        padding: 48px 0;
    }

    .bfh.bfh .hero .hero-grid {
        text-align: center;
        padding-top: 36px;
        padding-bottom: 80px;
    }

    .bfh.bfh .hero h1 {
        font-size: 2.4rem;
    }

    .bfh.bfh .hero p.bfh-lead {
        font-size: 1.05rem;
        margin-left: auto;
        margin-right: auto;
    }

    .bfh.bfh .hero-cta {
        justify-content: center;
    }

    .bfh.bfh .hero-visual {
        display: none;
    }

    .bfh.bfh .hs-combo {
        height: 50%;
        right: -60px;
        top: -20px;
        opacity: .4;
    }

    .bfh.bfh .hs-circle {
        width: 140px;
        left: -50px;
        bottom: -50px;
        opacity: .8;
    }

    .bfh.bfh .big-off {
        display: none;
    }

    .bfh.bfh .tbl-wrap {
        display: none;
    }

    .bfh.bfh .cmp-cards,
    .bfh.bfh #compare .cmp-cards {
        display: grid;
        gap: 16px;
    }

    .bfh.bfh .pl-card {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 24px;
        padding: 22px;
        box-shadow: var(--shadow);
        display: flex;
        flex-direction: column;
        gap: 12px;
        text-align: left;
    }

        .bfh.bfh .pl-card.pl-featured {
            border-color: var(--purple);
            box-shadow: 0 0 0 2px var(--purple), var(--shadow);
        }

        .bfh.bfh .pl-card h3 {
            font-size: 1.25rem;
            margin: 0;
        }

        .bfh.bfh .pl-card .pl-for {
            color: var(--muted);
            font-size: .9rem;
            margin: 0;
        }

        .bfh.bfh .pl-card ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 8px;
        }

        .bfh.bfh .pl-card li {
            position: relative;
            padding-left: 26px;
            font-size: .92rem;
            line-height: 1.35;
        }

            .bfh.bfh .pl-card li::before {
                content: "\2713";
                position: absolute;
                left: 0;
                top: 0;
                color: var(--ok);
                font-weight: 800;
            }

        .bfh.bfh .pl-card .cmp-price {
            margin-top: 4px;
        }

        .bfh.bfh .pl-card .bfh-btn {
            width: 100%;
            justify-content: center;
            text-align: center;
        }


}

/* Cupom da campanha (detalhe do produto e carrinho) */
.bf-coupon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 14px 0 4px;
    padding: 12px 14px;
    border: 1.5px dashed var(--purple, #6b3df5);
    border-radius: 12px;
    background: #f7f4ff;
    text-align: left;
}

    .bf-coupon > svg {
        flex: 0 0 auto;
        width: 22px;
        height: 22px;
        color: var(--purple, #6b3df5);
    }

    .bf-coupon .bf-coupon-txt {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        line-height: 1.3;
    }

        .bf-coupon .bf-coupon-txt span {
            font-size: .78rem;
            color: var(--muted, #6b6b80);
        }

        .bf-coupon .bf-coupon-txt b {
            font-size: 1.15rem;
            letter-spacing: .08em;
            color: var(--purple, #6b3df5);
        }

        .bf-coupon .bf-coupon-txt small {
            font-size: .72rem;
            color: var(--muted, #6b6b80);
        }

    .bf-coupon .bf-coupon-copy {
        flex: 0 0 auto;
        border: 0;
        border-radius: 999px;
        padding: 7px 14px;
        background: var(--purple, #6b3df5);
        color: #fff;
        font: inherit;
        font-size: .78rem;
        font-weight: 700;
        cursor: pointer;
    }

        .bf-coupon .bf-coupon-copy:focus-visible {
            outline: 2px solid var(--purple, #6b3df5);
            outline-offset: 2px;
        }

/* Conteúdo do Vue oculto até a montagem */
[v-cloak] {
    display: none !important;
}

/* Aviso ao adicionar ao carrinho */
.bf-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100vw - 32px);
    padding: 14px 20px;
    border-radius: 999px;
    background: #1F1D24;
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(0,0,0,.25);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity .25s, transform .25s;
}

    .bf-toast.on {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .bf-toast a {
        color: #fff;
        text-decoration: underline;
        white-space: nowrap;
    }

        .bf-toast a:hover {
            color: #fff;
            opacity: .8;
        }
