/*
 * Tema Black November: página escura (preto e cinza) no lugar do roxo da marca.
 * Carregado depois de styles.css só pela home da campanha. Para voltar ao visual
 * normal, basta restaurar index_pre_blackfriday.html (que não carrega este arquivo).
 *
 * No escuro, a "cor da marca" (--brand-700) passa a ser branco: botões principais,
 * links e ícones ficam claros sobre fundo preto.
 */

:root {
    color-scheme: dark;

    --brand-950: #000000;
    --brand-900: #141414;
    --brand-800: #e5e5e5;
    --brand-700: #ffffff;
    --brand-600: #d4d4d4;
    --brand-500: #8f8f8f;
    --brand-300: #4d4d4d;
    --brand-200: #333333;
    --brand-100: #1f1f1f;
    --brand-50: #171717;

    --ink-900: #fafafa;
    --ink-700: #d4d4d4;
    --ink-500: #a1a1a1;
    --ink-300: #737373;
    --line: #262626;
    --bg: #0a0a0a;
    --bg-soft: #0f0f0f;

    --surface: #141414;
    --surface-2: #1a1a1a;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow: 0 10px 28px -10px rgba(0, 0, 0, .7);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 12px 24px -12px rgba(0, 0, 0, .6);
}

/* ---------- Botões ---------- */

.btn--primary {
    --btn-fg: #000;
    box-shadow: 0 10px 24px -12px rgba(255, 255, 255, .25);
}

.btn--primary:hover,
.btn--light:hover {
    --btn-bg: #e5e5e5;
}

.btn--ghost {
    --btn-fg: #fff;
    box-shadow: inset 0 0 0 1.5px #3a3a3a;
}

.btn--ghost:hover {
    --btn-bg: var(--surface-2);
    box-shadow: inset 0 0 0 1.5px #555;
}

.btn--light {
    --btn-fg: #000;
}

.skip-link {
    color: #000;
}

/* ---------- Header e menu ---------- */

.site-header {
    background: rgba(10, 10, 10, .82);
}

.site-header.is-scrolled {
    box-shadow: 0 6px 20px -12px rgba(0, 0, 0, .8);
}

.mega {
    background: var(--surface);
}

.mega-promo {
    background: var(--surface-2);
}

@media (max-width: 1100px) {
    .site-header.is-menu-open,
    .nav-panel {
        background: var(--bg);
    }
}

/* ---------- Hero ---------- */

.hero::before {
    background:
        radial-gradient(55% 60% at 85% 5%, rgba(255, 255, 255, .09) 0%, transparent 70%),
        radial-gradient(45% 55% at 5% 95%, rgba(255, 255, 255, .04) 0%, transparent 70%),
        linear-gradient(180deg, #121212 0%, var(--bg) 100%);
}

.hero::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
}

.promo-pill {
    background: var(--surface);
    border-color: #333;
}

.promo-pill:hover {
    border-color: #555;
}

.promo-pill--bn .promo-pill__tag {
    background: #fff;
    color: #000;
    letter-spacing: .08em;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .promo-pill--bn {
        font-size: .8rem;
        gap: 8px;
    }

    .promo-pill--bn .promo-pill__tag {
        font-size: .68rem;
        letter-spacing: .04em;
    }
}

.float-chip {
    background: rgba(20, 20, 20, .94);
    border-color: #2a2a2a;
}

.float-chip__icon {
    background: #262626;
    color: #fff;
}

/* ---------- Superfícies (cartões) ---------- */

.highlights-grid,
.partners-list span,
.card,
.case,
.faq-item {
    background: var(--surface);
}

.ai {
    color: #d4d4d4;
    background:
        radial-gradient(50% 70% at 100% 0%, rgba(255, 255, 255, .08) 0%, transparent 70%),
        radial-gradient(40% 60% at 0% 100%, rgba(255, 255, 255, .04) 0%, transparent 70%),
        var(--surface);
    border: 1px solid var(--line);
}

.ai-card__icon {
    background: linear-gradient(135deg, #4a4a4a, #1a1a1a);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.ai-card p {
    color: #b3b3b3;
}

.lpr-mock__screen {
    background: #000;
}

.lpr-mock__rec {
    background: rgba(0, 0, 0, .7);
}

.lpr-mock__scan {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
}

/* O cartão da placa continua branco; o texto precisa continuar escuro. */
.lpr-mock__result {
    color: #383838;
}

.panel {
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--line);
}

.panel::before {
    background: radial-gradient(circle, rgba(255, 255, 255, .06), transparent 65%);
}

.check-list .i {
    background: #fff;
    color: #000;
}

.card__icon {
    background: #fff;
    color: #000;
}

.case__avatar {
    background: linear-gradient(135deg, #3d3d3d, #1a1a1a);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
    background: #000;
}

.cta-band {
    color: #d4d4d4;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(255, 255, 255, .10) 0%, transparent 70%),
        var(--surface);
    border: 1px solid var(--line);
}

.cta-band .lead {
    color: #b3b3b3;
}

/* ---------- Rodapé ---------- */

.site-footer {
    color: #a1a1a1;
    border-top: 1px solid #1a1a1a;
}

.socials a {
    background: #141414;
    color: #e5e5e5;
}

.socials a:hover {
    background: #2a2a2a;
}

.footer-bottom {
    color: #7a7a7a;
}

/* ---------- WhatsApp e idioma ---------- */

.whatsapp-btn .tooltip {
    background: #fff;
    color: #000;
}

.whatsapp-btn .tooltip::after {
    border-left-color: #fff;
}

.notification-badge {
    border-color: var(--bg);
}

/* Seletor de idioma (estilo injetado pelo i18n.js com o roxo fixo). */
html #sp-lang-switcher {
    background: rgba(20, 20, 20, .92);
    border-color: #2a2a2a;
}

html #sp-lang-switcher button {
    color: #bdbdbd;
}

html #sp-lang-switcher button:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

html #sp-lang-switcher button.active {
    background: #fff;
    color: #000;
    box-shadow: none;
}

html #sp-lang-switcher .sp-lang-sep {
    background: rgba(255, 255, 255, .15);
}

/* ---------- Faixa da promoção ---------- */

.bn {
    padding-top: clamp(48px, 6vw, 72px);
}

.bn-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    padding: clamp(28px, 5vw, 64px);
    border-radius: var(--radius-xl);
    background: #000;
    border: 1px solid #2a2a2a;
    color: #c9c9c9;
    overflow: hidden;
    isolation: isolate;
}

.bn-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(80% 90% at 0% 0%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(80% 90% at 0% 0%, #000 0%, transparent 75%);
}

.bn-card::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -180px;
    bottom: -260px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 65%);
}

.bn-copy {
    display: grid;
    gap: 18px;
    justify-items: start;
}

.bn-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
}

.bn-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: blink 1.4s infinite;
}

.bn-title {
    display: grid;
    font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem);
    font-weight: 800;
    line-height: .92;
    letter-spacing: -0.045em;
    color: #fff;
}

.bn-title .bn-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
}

.bn-copy .lead {
    color: #b8b8b8;
    max-width: 440px;
}

.bn-offers {
    display: grid;
    gap: 14px;
}

.bn-offer {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 6px 22px;
    padding: 22px 24px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .12);
}

.bn-offer__value {
    grid-row: span 2;
    min-width: 132px;
    font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
}

.bn-offer__value small {
    display: block;
    margin-top: 4px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #9a9a9a;
}

.bn-offer h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    align-self: end;
}

.bn-offer p {
    font-size: .93rem;
    color: #a8a8a8;
    align-self: start;
}

.bn-offer s {
    color: #8a8a8a;
    text-decoration-thickness: 2px;
}

.bn-offer strong {
    color: #fff;
}

.bn .btn-row {
    margin-top: 6px;
}

@media (max-width: 960px) {
    .bn-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bn-offer {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .bn-offer__value {
        grid-row: auto;
        margin-bottom: 6px;
    }

    .bn .btn-row .btn {
        flex: 1 1 100%;
    }
}

/* ---------- Faixa animada no topo ---------- */

.bn-ticker {
    display: block;
    position: relative;
    z-index: 101;
    overflow: hidden;
    background: #fff;
    color: #000;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bn-ticker__track {
    display: flex;
    width: max-content;
    animation: bn-marquee 40s linear infinite;
}

.bn-ticker:hover .bn-ticker__track,
.bn-ticker:focus-visible .bn-ticker__track {
    animation-play-state: paused;
}

.bn-ticker__group {
    display: flex;
    flex-shrink: 0;
}

.bn-ticker__item {
    display: inline-flex;
    align-items: center;
    padding-block: 10px;
    white-space: nowrap;
}

.bn-ticker__item::after {
    content: "✦";
    margin-inline: 24px;
    font-size: .7rem;
    opacity: .5;
}

.bn-ticker__item strong {
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    background: #000;
    color: #fff;
}

@keyframes bn-marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Selo giratório no vídeo do topo ---------- */

.bn-sticker {
    position: absolute;
    z-index: 3;
    left: -44px;
    top: -48px;
    display: grid;
    place-items: center;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8), 0 0 0 6px rgba(255, 255, 255, .08);
    animation: bn-float 4s ease-in-out infinite;
    transition: transform .2s ease;
}

.bn-sticker:hover {
    animation-play-state: paused;
    transform: scale(1.06);
}

.bn-sticker__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: bn-spin 16s linear infinite;
}

.bn-sticker__ring text {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    fill: #000;
}

.bn-sticker__center {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    line-height: 1;
    align-content: center;
}

.bn-sticker__center strong {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.bn-sticker__center span {
    margin-top: 2px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .16em;
}

@keyframes bn-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes bn-float {
    0%,
    100% {
        transform: translateY(0) rotate(-6deg);
    }

    50% {
        transform: translateY(-6px) rotate(4deg);
    }
}

@media (max-width: 1100px) {
    .bn-sticker {
        left: auto;
        right: -8px;
        top: -40px;
        width: 104px;
        height: 104px;
    }

    .bn-sticker__center {
        width: 56px;
        height: 56px;
    }

    .bn-sticker__center strong {
        font-size: 1.05rem;
    }
}

/* ---------- Brilho na etiqueta do topo ---------- */

.promo-pill--bn {
    position: relative;
    overflow: hidden;
}

.promo-pill--bn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40%;
    width: 30%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent);
    transform: skewX(-20deg);
    animation: bn-shine 3.2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bn-shine {
    0%,
    55% {
        left: -40%;
    }

    100% {
        left: 130%;
    }
}

/* ---------- Seção da promoção ---------- */

/* Borda luminosa que gira em volta do cartão (navegadores sem @property ficam com a borda fixa). */
@property --bn-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.bn-card {
    border: 1.5px solid transparent;
    background:
        linear-gradient(#000, #000) padding-box,
        conic-gradient(from var(--bn-angle), #2a2a2a 0 62%, rgba(255, 255, 255, .95) 75%, #2a2a2a 88% 100%) border-box;
    animation: bn-border 6s linear infinite;
}

@keyframes bn-border {
    to {
        --bn-angle: 360deg;
    }
}

/* Reflexo passando pelo "November" vazado. */
.bn-title .bn-outline {
    background: linear-gradient(100deg, transparent 0 40%, rgba(255, 255, 255, .95) 50%, transparent 60% 100%);
    background-size: 250% 100%;
    background-position: 120% 0;
    -webkit-background-clip: text;
    background-clip: text;
    animation: bn-sweep 4.5s ease-in-out infinite;
}

@keyframes bn-sweep {
    0%,
    35% {
        background-position: 120% 0;
    }

    100% {
        background-position: -20% 0;
    }
}

.bn-offer {
    transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.bn-offer:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .07);
}

.bn-offer__value [data-count-to] {
    font-variant-numeric: tabular-nums;
}
