/* ============================================================
   SLABWARE Black Friday - Landing (adicoes)
   Complementa slabware-core.css + BlackFriday.css.
   Aqui ficam apenas os pedacos que os dois CSS nao cobrem:
   header, reveal-on-scroll, countdown, before/with, steps,
   value-stack, barra fixa mobile, footer e marcadores de placeholder.
   ============================================================ */

html { scroll-behavior: smooth; }
body {
    background: var(--sw-black);
    color: var(--sw-light);
}
/* A master (Style.css) aplica `overflow-x: hidden` em html/body, o que cria um
   scroll container e QUEBRA o position:sticky do pin do "All in one" (#devices),
   deixando a seção solta + uma margem preta gigante. `clip` esconde o overflow
   horizontal do mesmo jeito, mas sem criar scroll container -> sticky volta a funcionar. */
html, body { overflow-x: clip !important; }

/* Header sem "flash": o master (Style.css remoto) pinta o fundo do navbar via
   var(--bs-opacity-b-65), que só existe DEPOIS do CSS remoto carregar - até lá o
   header fica transparente e depois faz fade (transition .4s). Definimos o fundo
   localmente e desligamos a transição => correto desde o 1º paint.
   #mainNavbar (id) vence o .navbar (classe) do master, então o valor fica estável. */
#mainNavbar {
    background: rgba(0, 0, 0, .65) !important;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    transition: none !important;
}
section { scroll-margin-top: 120px; } /* header fixo + faixa Black Friday */

.bf-section { padding: 88px 0; }
.bf-eyebrow {
    color: var(--sw-amber);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 14px;
}
.bf-section-title { font-weight: 800; line-height: 1.1; }
.text-muted-2 { color: var(--sw-gray-500) !important; }

/* utilitários (substituem estilos inline) */
.bf-hero-h1 { font-weight: 800; line-height: 1.1; font-size: clamp(28px, 4.5vw, 48px); color: var(--sw-white); }
.bf-static { cursor: default; }
.bf-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.logos-stack .bf-avatar.logo { width: 52px; height: 52px; }
.sw-card-pricing.card-pricing-yearly { border-width: 2px; }

/* PLACEHOLDER: marcador visual para dados que voce vai trocar depois.
   Some sozinho ao remover a classe .bf-ph do elemento. */
.bf-ph {
    outline: 1px dashed rgba(var(--sw-amber-rgb), .5);
    outline-offset: 2px;
}
.bf-ph-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--sw-amber);
    background: rgba(var(--sw-amber-rgb), .12);
    border: 1px dashed rgba(var(--sw-amber-rgb), .5);
    border-radius: 4px;
    padding: 1px 6px;
    vertical-align: middle;
}


/* ============================================================
   HEADER
   ============================================================ */
.bf-nav {
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(8px);
    transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
    padding-top: 14px;
    padding-bottom: 14px;
}
.bf-nav.scrolled {
    background: rgba(0, 0, 0, .92);
    padding-top: 6px;
    padding-bottom: 6px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .5);
}
.bf-nav .navbar-brand { font-weight: 800; color: var(--sw-white); }
.bf-nav .navbar-brand b { color: var(--sw-amber); }
.bf-nav .nav-link { color: var(--sw-light); font-weight: 600; }
.bf-nav .nav-link:hover { color: var(--sw-amber); }
.bf-nav .nav-link-login { color: var(--sw-gray-500); }


/* ============================================================
   HERO (com Magic Dust de fundo)
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 96px 0 56px;
    background-color: #000;
}

/* canvas de partículas ocupa todo o hero */
.bf-magic-dust {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.bf-magic-dust canvas { display: block; width: 100% !important; height: 100% !important; }

/* fallback estático (reduced-motion / sem WebGL) */
.hero-fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    opacity: .4;
    overflow: hidden;
}
.hero-fallback .letreiro { white-space: nowrap; }
.hero-section.no-dust .hero-fallback { display: flex; }

/* conteúdo do hero fica por cima e ancorado embaixo,
   deixando o centro livre para as partículas */
.hero-overlay {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-top: auto;
}

.hero-letreiro {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    opacity: .35;
    overflow: hidden;
}
.hero-letreiro .letreiro { white-space: nowrap; }
.confetti-overlay {
    position: absolute;
    inset: 0;
    animation: bf-confetti-drift 40s linear infinite;
}
@keyframes bf-confetti-drift {
    from { background-position: 0 0; }
    to   { background-position: 600px 900px; }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--sw-amber-rgb), .12);
    border: 1px solid rgba(var(--sw-amber-rgb), .5);
    color: var(--sw-amber);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: var(--sw-radius-pill);
}
.hero-title {
    font-weight: 800;
    line-height: 1.05;
    font-size: clamp(38px, 6vw, 76px);
    color: var(--sw-white);
}
.hero-title .sw-text-amber { color: var(--sw-amber); }
.hero-sub {
    font-size: clamp(17px, 2.2vw, 22px);
    color: var(--sw-gray-200);
    max-width: 640px;
}
.hero-offer-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    background: var(--sw-surface-1);
    border: 1px solid rgba(var(--sw-amber-rgb), .5);
    border-radius: var(--sw-radius);
    padding: 14px 20px;
}
.hero-offer-pill .off {
    font-size: 40px;
    font-weight: 800;
    color: var(--sw-amber);
    line-height: 1;
}


/* ============================================================
   COUNTDOWN
   ============================================================ */
.bf-countdown {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.bf-count-box {
    min-width: 70px;
    padding: 10px 8px;
    border-radius: var(--sw-radius-sm);
    background: var(--sw-surface-1);
    border: 1px solid var(--sw-line-soft);
    text-align: center;
}
.bf-count-box .num {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--sw-amber);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.bf-count-box .lbl {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sw-gray-500);
    margin-top: 6px;
}
.bf-countdown.is-ended .bf-count-box { opacity: .4; }


/* ============================================================
   MARQUEE (faixa de urgencia)
   ============================================================ */
.bf-marquee-band {
    background: var(--sw-amber);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 0;
}
.bf-marquee-band .marquee span { margin: 0 24px; }
/* loop contínuo (conteúdo duplicado -> -50%), sem espaço vazio */
.bf-marquee-band .marquee {
    display: inline-block; white-space: nowrap;
    animation: bf-band-scroll 30s linear infinite;
}
@keyframes bf-band-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }


/* ============================================================
   MODULES
   ============================================================ */
.bf-module {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.bf-module .sw-card-icon { width: 44px; height: 44px; font-size: 20px; }
.bf-module h5 { color: var(--sw-white); font-weight: 700; margin: 0 0 4px; }
.bf-module p { color: var(--sw-gray-500); font-size: 14px; margin: 0; }


/* ============================================================
   BEFORE vs WITH
   ============================================================ */
.bf-vs { border-radius: var(--sw-radius-lg); overflow: hidden; height: 100%; }
.bf-vs-head { padding: 18px 24px; font-weight: 800; font-size: 18px; }
.bf-vs ul { list-style: none; margin: 0; padding: 8px 24px 24px; }
.bf-vs li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.bf-vs li:last-child { border-bottom: 0; }
.bf-vs-bad {
    background: var(--sw-surface-1);
    border: 1px solid var(--sw-line-soft);
}
.bf-vs-bad .bf-vs-head { color: var(--sw-danger); }
.bf-vs-bad li i { color: var(--sw-danger); }
.bf-vs-good {
    background: linear-gradient(180deg, rgba(var(--sw-amber-rgb), .10), rgba(var(--sw-amber-rgb), 0));
    border: 1px solid var(--sw-amber);
}
.bf-vs-good .bf-vs-head { color: var(--sw-amber); }
.bf-vs-good li i { color: var(--sw-success); }
.bf-vs-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--sw-amber);
}


/* ============================================================
   HOW IT WORKS (steps)
   ============================================================ */
.bf-step { text-align: center; padding: 0 12px; }
.bf-step .num {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sw-amber);
    color: #000;
    font-weight: 800;
    font-size: 22px;
}
.bf-step h5 { color: var(--sw-white); font-weight: 700; }
.bf-step p { color: var(--sw-gray-500); }


/* ============================================================
   VALUE STACK (custo separado vs SlabWare)
   ============================================================ */
.bf-value {
    background: var(--sw-surface-1);
    border: 1px solid var(--sw-line-soft);
    border-radius: var(--sw-radius-lg);
    padding: 28px;
    height: 100%;
}
.bf-value.is-slabware { border-color: var(--sw-amber); }
.bf-value ul { list-style: none; margin: 0 0 16px; padding: 0; }
.bf-value li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .08);
    color: var(--sw-gray-200);
}
.bf-value .total {
    font-size: 26px;
    font-weight: 800;
    color: var(--sw-white);
}
.bf-value.is-slabware .total { color: var(--sw-amber); }


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.bf-testimonials .sw-slider { background: var(--sw-surface-1); }
.bf-quote {
    flex: 0 0 100%;
    padding: 40px 64px;
    color: var(--sw-light);
}
.bf-quote p { font-size: 18px; line-height: 1.6; }
.bf-quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.bf-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--sw-surface-4); color: var(--sw-amber);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
}
@media (max-width: 576px) { .bf-quote { padding: 28px 44px; } }


/* ============================================================
   FAQ
   ============================================================ */
.bf-faq .accordion {
    --bs-accordion-bg: var(--sw-surface-1);
    --bs-accordion-color: var(--sw-light);
    --bs-accordion-border-color: var(--sw-line-soft);
    --bs-accordion-btn-color: var(--sw-white);
    --bs-accordion-btn-bg: var(--sw-surface-1);
    --bs-accordion-active-color: var(--sw-amber);
    --bs-accordion-active-bg: var(--sw-surface-2);
    --bs-accordion-btn-focus-border-color: var(--sw-amber);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(var(--sw-amber-rgb), .25);
    --bs-accordion-body-color: var(--sw-gray-200);
}
.bf-faq .accordion-button { font-weight: 700; }
.bf-faq .accordion-button:not(.collapsed)::after { filter: invert(1) sepia(1) saturate(6) hue-rotate(3deg); }


/* ============================================================
   FINAL CTA
   ============================================================ */
.bf-final-cta {
    background: radial-gradient(120% 140% at 50% 0%, rgba(var(--sw-amber-rgb), .18), transparent 60%), var(--sw-surface-1);
    border-top: 1px solid var(--sw-line-soft);
    border-bottom: 1px solid var(--sw-line-soft);
}


/* ============================================================
   FOOTER + LEGAL
   ============================================================ */
.bf-footer { background: #060606; color: var(--sw-gray-500); padding: 56px 0 32px; }
.bf-footer a { color: var(--sw-gray-400); text-decoration: none; }
.bf-footer a:hover { color: var(--sw-amber); }
.bf-legal { font-size: 12px; line-height: 1.7; color: #7a7a7a; }


/* ============================================================
   BARRA FIXA MOBILE
   ============================================================ */
.bf-mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1040;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, .95);
    border-top: 1px solid var(--sw-line-soft);
    transform: translateY(120%);
    transition: transform .3s ease;
}
.bf-mobile-cta.show { transform: none; }
.bf-mobile-cta .bf-mc-copy { font-size: 12px; line-height: 1.25; color: var(--sw-light); }
.bf-mobile-cta .bf-mc-copy b { color: var(--sw-amber); }
.bf-mobile-cta .sw-btn-amber { padding: 10px 18px; white-space: nowrap; }
@media (max-width: 767px) {
    .bf-mobile-cta { display: flex; }
    body.has-mobile-cta { padding-bottom: 76px; }
}


/* ============================================================
   WIDGET DE AGENDAMENTO (botão fixo + popup canto inf. direito)
   ============================================================ */
.bf-demo-widget {
    position: fixed; right: 20px; bottom: 20px; z-index: 1200;
    display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.bf-demo-fab {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sw-amber); color: #000; font-weight: 700; font-family: var(--sw-font);
    border: 0; border-radius: 100px; padding: 12px 20px; cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    transition: filter .2s ease, transform .2s ease;
}
.bf-demo-fab:hover { filter: brightness(1.06); transform: translateY(-1px); }
.bf-demo-panel {
    width: 380px; max-width: calc(100vw - 40px);
    height: 620px; max-height: calc(100vh - 130px);
    background: #0d0d0d; border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px; overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
    display: none; flex-direction: column;
}
.bf-demo-panel.open { display: flex; animation: bf-plan-in .2s ease; }
.bf-demo-widget.open .bf-demo-fab { display: none; }   /* some enquanto o card está aberto */
.bf-demo-panel__head {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: var(--sw-white); font-weight: 700;
}
.bf-demo-panel__head span { flex: 1; }
.bf-demo-panel__ext, .bf-demo-panel__close {
    background: none; border: 0; padding: 0; cursor: pointer;
    color: var(--sw-gray-400); font-size: 16px; text-decoration: none;
    display: inline-flex; align-items: center;
}
.bf-demo-panel__ext:hover, .bf-demo-panel__close:hover { color: var(--sw-amber); }
.bf-demo-panel iframe { flex: 1; width: 100%; border: 0; background: #fff; }

@media (max-width: 767px) {
    .bf-demo-widget { right: 12px; bottom: 84px; }   /* acima da barra fixa mobile */
    .bf-demo-fab span { display: none; }             /* só o ícone no mobile */
    .bf-demo-fab { padding: 14px; font-size: 18px; }
    .bf-demo-panel { width: min(78vw, 300px); height: min(56vh, 460px); }
}
@media (prefers-reduced-motion: reduce) { .bf-demo-panel.open { animation: none; } }


/* ============================================================
   IMAGE SLOTS (espacos reservados p/ arte - trocar por <img>)
   ============================================================ */
.bf-img-slot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(var(--sw-amber-rgb), .06), transparent 60%),
        linear-gradient(135deg, var(--sw-surface-2), var(--sw-surface-1));
    border: 1px dashed rgba(var(--sw-amber-rgb), .45);
    border-radius: var(--sw-radius-lg);
    color: var(--sw-gray-500);
    min-height: 220px;
    overflow: hidden;
}
.bf-img-slot i { font-size: 34px; color: rgba(var(--sw-amber-rgb), .7); }
.bf-img-slot .bf-img-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.bf-img-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bf-img-showcase { min-height: clamp(260px, 40vw, 520px); }
.bf-img-hero { min-height: clamp(240px, 34vw, 440px); }


/* ============================================================
   HIGHLIGHT BAND ("Last chance...")
   ============================================================ */
.bf-highlight-band {
    background: linear-gradient(180deg, rgba(var(--sw-amber-rgb), .14), rgba(var(--sw-amber-rgb), .04));
    border: 1px solid rgba(var(--sw-amber-rgb), .45);
    border-radius: var(--sw-radius-lg);
    padding: 26px 24px;
    text-align: center;
}
.bf-highlight-band h5 { color: var(--sw-amber); font-weight: 800; margin: 0; }
.bf-highlight-band p { color: var(--sw-gray-200); margin: 6px 0 0; }


/* ============================================================
   SAVE PILL nos pricing cards
   ============================================================ */
.bf-save-pill {
    display: inline-block;
    background: #000;
    color: var(--sw-amber);
    font-weight: 800;
    border-radius: var(--sw-radius-pill);
    padding: 6px 16px;
    font-size: 14px;
}
.bf-plan-old { color: var(--sw-gray-500); text-decoration: line-through; }


/* ============================================================
   PRICING CARDS (estilo da imagem: preço com centavos, badge, full price)
   ============================================================ */
.bf-pc-promo { color: var(--sw-gray-500); font-size: 14px; margin-top: 4px; }

/* ---- seletor de tipo de negócio (segmented) ---- */
.bf-segmented {
    display: inline-flex; flex-wrap: wrap; justify-content: center;
    gap: 4px; padding: 5px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 100px;
}
.bf-seg-btn {
    border: 0; background: transparent; cursor: pointer;
    color: var(--sw-gray-400); font-weight: 600; font-family: var(--sw-font); font-size: 15px;
    padding: 10px 20px; border-radius: 100px;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background .2s ease, color .2s ease;
}
.bf-seg-btn:hover { color: var(--sw-white); }
.bf-seg-btn.active { background: rgba(255, 255, 255, .08); color: var(--sw-amber); }  /* charcoal + amarelo */
.bf-seg-btn:focus-visible { outline: 2px solid var(--sw-amber); outline-offset: 2px; }

/* ---- card principal ---- */
.bf-pricing-card {
    max-width: 1040px; margin: 0 auto;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.bf-pc-label { text-align: center; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--sw-gray-500); margin: 0 0 18px; }

/* seletor de período (3 opções = 1 controle) */
.bf-billing-select { display: flex; gap: 12px; }
.bf-bill-opt {
    position: relative; flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 12px; text-align: left;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px; padding: 16px 18px; cursor: pointer;
    font-family: var(--sw-font);
    transition: border-color .2s ease, background .2s ease;
}
.bf-bill-opt:hover { border-color: rgba(255, 255, 255, .22); }
.bf-bill-opt.active { border-color: var(--sw-amber); background: rgba(var(--sw-amber-rgb), .06); }
.bf-bill-opt:focus-visible { outline: 2px solid var(--sw-amber); outline-offset: 2px; }
.bf-bill-opt { color: var(--sw-light); }
.bf-bill-ico {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12); color: var(--sw-gray-500); font-size: 18px;
}
.bf-bill-opt.active .bf-bill-ico { color: var(--sw-amber); border-color: rgba(var(--sw-amber-rgb), .4); }
.bf-bill-title { color: var(--sw-white); font-weight: 700; display: block; }
.bf-bill-opt.active .bf-bill-title { color: var(--sw-white); }
.bf-bill-save { color: var(--sw-amber); font-size: 13px; font-weight: 700; margin-left: 6px; }
.bf-bill-sub { color: var(--sw-gray-500); font-size: 13px; display: block; margin-top: 2px; }
.bf-bill-badge {
    position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
    background: var(--sw-amber); color: #000; font-weight: 800; font-size: 11px;
    letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; white-space: nowrap;
}

/* corpo: preço (2 colunas) */
.bf-plan-inner { animation: bf-plan-in .35s ease; }
@keyframes bf-plan-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bf-pc-row { display: flex; gap: 40px; align-items: center; margin-top: 34px; }
.bf-pc-left { flex: 0 0 auto; min-width: 230px; }
.bf-pc-right { flex: 1; border-left: 1px solid rgba(255, 255, 255, .08); padding-left: 40px; }
.bf-pc-plan { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sw-amber); font-weight: 700; margin: 0; }
.bf-plan-price { display: flex; align-items: flex-start; gap: 2px; color: var(--sw-white); font-weight: 800; line-height: 1; margin-top: 10px; }
.bf-plan-price .cur { font-size: 34px; margin-top: .18em; }
.bf-plan-price .int { font-size: clamp(54px, 7vw, 84px); }
.bf-plan-price .dec { font-size: 28px; margin-top: .3em; }
.bf-pc-permo { color: var(--sw-gray-500); margin-top: 4px; }
.bf-pc-billing { color: var(--sw-gray-200); font-size: 18px; margin: 0; }
.bf-pc-save { color: var(--sw-amber); font-weight: 700; margin: 8px 0 0; min-height: 1.3em; }
.bf-pc-feats { display: flex; gap: 20px; margin-top: 24px; }
.bf-pc-feat { flex: 1; text-align: center; }
.bf-pc-feat-ico {
    width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255, 255, 255, .14); color: var(--sw-amber); font-size: 18px;
}
.bf-pc-feat span { color: var(--sw-gray-200); font-size: 13px; line-height: 1.35; display: block; }

/* CTA + trust */
.bf-plan-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 60px; margin-top: 30px;
    background: var(--sw-amber); color: #000; font-weight: 700; font-size: 17px;
    border-radius: 14px; text-decoration: none;
    transition: filter .2s ease, transform .2s ease;
}
.bf-plan-cta:hover { filter: brightness(1.06); transform: translateY(-1px); color: #000; }
.bf-pc-trust { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 16px; color: var(--sw-gray-500); font-size: 14px; }
.bf-pc-trust i { margin-right: 6px; }
.bf-pc-trust .sep { opacity: .35; }

@media (max-width: 991px) {
    .bf-pc-row { flex-direction: column; align-items: stretch; gap: 24px; text-align: center; }
    .bf-pc-left { min-width: 0; }
    .bf-plan-price { justify-content: center; }
    .bf-pc-right { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px; }
}
@media (max-width: 767px) {
    .bf-billing-select { flex-direction: column; }
    .bf-pricing-card { padding: 28px 20px; }
    .bf-pc-feats { flex-wrap: wrap; gap: 16px 10px; }
    .bf-pc-feat { flex: 0 0 calc(50% - 8px); }
    .bf-seg-btn { padding: 9px 15px; font-size: 14px; }
}


/* ============================================================
   WEBSITE SALE SECTION (baseada no newsletter)
   ============================================================ */
.bf-web { background: var(--sw-black); }
.bf-web-offer {
    background: #141518; border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px; padding: 22px 24px; max-width: 430px;
}
.bf-web-offer-save { color: var(--sw-gray-400); font-size: 14px; }
.bf-web-offer-save b { color: var(--sw-amber); font-size: 18px; }
.bf-web-offer-save span { display: block; color: var(--sw-gray-500); font-size: 12px; margin-top: 2px; }
.bf-web-offer-price { display: flex; align-items: flex-start; gap: 2px; color: var(--sw-white); font-weight: 800; line-height: 1; margin-top: 12px; }
.bf-web-offer-price .cur { font-size: 22px; margin-top: .3em; }
.bf-web-offer-price .int { font-size: 48px; }
.bf-web-offer-desc { color: var(--sw-gray-500); font-size: 13px; margin: 6px 0 0; }
.bf-web-save {
    font-size: clamp(52px, 9vw, 104px);
    font-weight: 800;
    color: var(--sw-amber);
    line-height: 1;
}
.bf-web-price-card {
    background: var(--sw-amber);
    color: #000;
    border-radius: var(--sw-radius-lg);
    padding: 28px;
    text-align: center;
}
.bf-web-price-card .promo {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
}
.bf-web-price-card .strike { text-decoration: line-through; opacity: .65; font-weight: 700; }

/* Tabela comparativa */
.bf-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bf-compare {
    width: 100%;
    min-width: 560px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--sw-radius-lg);
    overflow: hidden;
    font-size: 15px;
}
.bf-compare th,
.bf-compare td {
    padding: 15px 16px;
    text-align: center;
    border-bottom: 1px solid var(--sw-line-soft);
    color: var(--sw-gray-200);
}
.bf-compare th:first-child,
.bf-compare td:first-child { text-align: left; color: var(--sw-white); font-weight: 600; }
.bf-compare thead th {
    background: var(--sw-surface-2);
    color: var(--sw-white);
    font-weight: 700;
    font-family: var(--sw-font);
    font-size: 17px;
}
.bf-compare thead th.col-sw { color: var(--sw-amber); }
.bf-compare td.col-sw,
.bf-compare th.col-sw {
    background: rgba(var(--sw-amber-rgb), .08);
    border-left: 1px solid rgba(var(--sw-amber-rgb), .35);
    border-right: 1px solid rgba(var(--sw-amber-rgb), .35);
}
.bf-compare td.col-sw { color: var(--sw-amber); font-weight: 700; }
.bf-compare tbody tr:last-child td { border-bottom: 0; }
.bf-compare .yes { color: var(--sw-amber); font-size: 18px; }


/* ============================================================
   LIGHTER WIREFRAME PASS
   Redesign leve inspirado nas referências: mais respiro, caixas
   planas em charcoal, menos âmbar, placeholders lisos.
   Este bloco vem por ÚLTIMO -> sobrescreve as regras acima.
   ============================================================ */

/* respiro entre seções */
.bf-section { padding: 112px 0; }
@media (max-width: 767px) { .bf-section { padding: 72px 0; } }

/* painéis alternados mais discretos (quase preto) */
.sw-bg-surface-2 { background-color: #0C0D0F !important; }

/* títulos menos gigantes / mais leves */
.sw-h3 { font-size: clamp(1.6rem, 3.4vw, 2.9rem); letter-spacing: -.02em; }
.bf-section-title { font-weight: 700; letter-spacing: -.01em; }
.bf-eyebrow { color: var(--sw-gray-500); font-weight: 600; letter-spacing: 3px; }

/* CARDS planos (sobrescreve o .sw-card do core: tira a borda âmbar) */
.sw-card {
    background: #141518;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 18px;
    padding: 34px;
}
.sw-card:hover { border-color: rgba(var(--sw-amber-rgb), .35); transform: translateY(-4px); }
@media (max-width: 767px) { .sw-card { padding: 22px; } }

/* IMAGE SLOTS planos (sem tracejado âmbar) */
.bf-img-slot {
    background: #141518;
    border: 1px solid rgba(255, 255, 255, .06);
    color: var(--sw-gray-600);
}
.bf-img-slot i { color: rgba(255, 255, 255, .16); font-size: 40px; }
.bf-img-slot .bf-img-label { color: var(--sw-gray-600); }

/* FEATURE centrado (estilo "Our Features" das referências) */
.bf-feature { text-align: center; }
.bf-feat-icon {
    width: 66px; height: 66px;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #17181C;
    border: 1px solid rgba(255, 255, 255, .07);
    color: var(--sw-amber);
    font-size: 26px;
}
.bf-feature h5 { color: var(--sw-white); font-weight: 700; margin-bottom: 6px; }
.bf-feature p { color: var(--sw-gray-500); font-size: 14px; margin: 0; }

/* MARQUEE em amarelo, texto preto */
.bf-marquee-band {
    background: var(--sw-amber);
    color: #000;
    border: 0;
    letter-spacing: 3px;
    font-weight: 700;
}
.bf-marquee-band .marquee span { color: #000; }
.bf-marquee-band .marquee span:nth-child(even) { color: rgba(0, 0, 0, .45); }

/* COUNTDOWN mais plano */
.bf-count-box { background: #141518; border: 1px solid rgba(255, 255, 255, .06); }

/* PRICING: fundo liso (remove a imagem pesada) + cards planos */
#pricing.bg-percent { background: #0B0C0E; }
.sw-card-pricing { background: #141518; backdrop-filter: none; }

/* HIGHLIGHT band mais leve */
.bf-highlight-band { background: #141518; border: 1px solid rgba(255, 255, 255, .08); }

/* QUICKBOOKS card escuro mais plano */
.quickbooks-pricing .bg-dark { border-color: rgba(255, 255, 255, .08) !important; }

/* TESTIMONIALS estilo referência: card plano, aspas, arrows discretas */
.bf-testimonials .sw-slider { background: #141518; border: 1px solid rgba(255, 255, 255, .06); box-shadow: none; }
.bf-quote { text-align: center; padding: 52px 72px; }
.bf-quote p { font-size: 19px; font-style: italic; line-height: 1.7; color: var(--sw-gray-200); }
.bf-quote .who { justify-content: center; }
.sw-arrow { background: none !important; color: var(--sw-gray-500); font-size: 26px; width: 48px; }
.sw-arrow:hover { color: var(--sw-amber); }
@media (max-width: 576px) { .bf-quote { padding: 36px 48px; } }

/* FAQ itens planos */
.bf-faq .accordion {
    --bs-accordion-bg: #141518;
    --bs-accordion-btn-bg: #141518;
    --bs-accordion-active-bg: #17181C;
    --bs-accordion-border-color: rgba(255, 255, 255, .06);
}

/* COMPARE table mais leve */
.bf-compare thead th { background: #17181C; }
.bf-compare td.col-sw, .bf-compare th.col-sw { background: rgba(var(--sw-amber-rgb), .06); }

/* FINAL CTA sem glow pesado */
.bf-final-cta { background: #101114; }


/* ============================================================
   DEVICE MOCKUPS (wireframe: tablet + celular) + VIDEO SLOT
   ============================================================ */
.bf-screen {
    width: 100%; height: 100%;
    background: #141518;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 14px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px;
    text-align: center; padding: 14px; overflow: hidden;
    color: rgba(255, 255, 255, .5);
}
.bf-screen i { font-size: 30px; color: rgba(255, 255, 255, .18); }
.bf-screen .cap { font-size: 11px; letter-spacing: .4px; color: var(--sw-gray-600); line-height: 1.4; }
.bf-screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }

.bf-device-combo {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 360px;
}
.bf-tablet {
    width: min(62%, 360px); aspect-ratio: 3 / 4;   /* frame vertical (portrait) */
    border: 3px solid rgba(255, 255, 255, .28);
    border-radius: 22px; padding: 12px; background: #0E0F12;
}
.bf-tablet .bf-screen { border-radius: 12px; }
.bf-phone {
    position: absolute; right: 3%; bottom: -6%;
    width: 128px; aspect-ratio: 9 / 19;
    border: 3px solid rgba(255, 255, 255, .35);
    border-radius: 26px; padding: 8px; background: #0E0F12;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .55);
}
.bf-phone .bf-screen { border-radius: 18px; }
@media (max-width: 575px) { .bf-phone { width: 92px; right: 0; } }

/* celular / tablet isolado, centralizado */
.bf-device-solo { display: flex; justify-content: center; }
.bf-device-solo .bf-phone { position: static; width: 220px; box-shadow: none; }

/* linha de feature (ícone + título + texto) - estilo referência */
.bf-feature-row {
    display: flex; gap: 16px; align-items: flex-start;
    background: #141518;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    padding: 20px 22px;
    transition: border-color .25s ease;
}
.bf-feature-row:hover { border-color: rgba(var(--sw-amber-rgb), .35); }
.bf-feature-row .bf-feat-icon { margin: 0; width: 54px; height: 54px; font-size: 22px; flex-shrink: 0; }
.bf-feature-row h5 { color: var(--sw-white); font-weight: 700; margin: 0 0 4px; font-size: 18px; }
.bf-feature-row p { color: var(--sw-gray-500); font-size: 14px; margin: 0; }


/* ============================================================
   DEVICE STEPS (lista + barra de progresso + mockup que troca)
   ============================================================ */
/* pin nativo: wrapper alto + conteúdo sticky (curso ajustável no height) */
.bf-devices { position: relative; background: var(--sw-black); }
.bf-devices-pin { height: 300vh; }
.bf-devices-sticky {
    position: sticky; top: 0;
    height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 84px 0 40px;
    overflow: hidden;
}
@media (max-width: 767px) {
    /* mobile: sem pin, seção normal */
    .bf-devices-pin { height: auto; }
    .bf-devices-sticky { position: static; height: auto; padding: 72px 0; }
}

.bf-steps { position: relative; display: flex; gap: 26px; }
.bf-steps-progress {
    position: relative; width: 3px; flex: 0 0 3px;
    background: rgba(255, 255, 255, .12); border-radius: 3px; align-self: stretch;
}
.bf-steps-progress-fill {
    position: absolute; top: 0; left: 0; width: 100%; height: 0;
    background: var(--sw-amber); border-radius: 3px; transition: height .35s ease;
}
.bf-steps-list { flex: 1; display: flex; flex-direction: column; }
.bf-step-item {
    text-align: left; background: none; border: 0; cursor: pointer; width: 100%;
    padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-family: var(--sw-font); opacity: .5; transition: opacity .3s ease;
}
.bf-step-item:last-child { border-bottom: 0; }
.bf-step-num { font-size: 13px; font-weight: 600; color: var(--sw-gray-500); }
.bf-step-title { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; color: var(--sw-gray-400); margin: 6px 0 0; transition: color .3s ease; }
.bf-step-desc {
    color: var(--sw-gray-500); margin: 0; max-width: 400px;
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height .4s ease, opacity .4s ease, margin .4s ease;
}
.bf-step-item.is-active { opacity: 1; }
.bf-step-item.is-active .bf-step-num { color: var(--sw-amber); }
.bf-step-item.is-active .bf-step-title { color: var(--sw-white); }
.bf-step-item.is-active .bf-step-desc { max-height: 140px; opacity: 1; margin-top: 10px; }
.bf-step-item:focus-visible { outline: 2px solid var(--sw-amber); outline-offset: 3px; }

.bf-mock-stage {
    position: relative;
    width: 100%; aspect-ratio: 1011 / 510;   /* aspect real das screenshots */
    display: flex; align-items: center; justify-content: center;
}
.bf-mock {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(14px) scale(.98);
    transition: opacity .45s ease, transform .45s ease;
    pointer-events: none;
}
.bf-mock.is-active { opacity: 1; transform: none; pointer-events: auto; }

/* frame simples da screenshot (sem moldura de device), igual cyber week */
.cw-sc-frame {
    position: absolute; inset: 0;
    border-radius: 16px; overflow: hidden;
    background: rgba(255, 255, 255, .015);
    border: 1px solid rgba(255, 255, 255, .10);
}
.cw-sc-frame img,
.cw-sc-frame video { width: 100%; height: 100%; object-fit: contain; display: block; }
.cw-sc-frame.is-empty { background: rgba(255, 255, 255, .02); border: 1px dashed rgba(255, 255, 255, .16); }

/* tela genérica dentro de qualquer mockup (troque a imagem via DEVICE_STEPS.img) */
.bf-mock-screen {
    position: absolute; inset: 0; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    color: rgba(255, 255, 255, .35);
}
.bf-mock-screen img { width: 100%; height: 100%; object-fit: cover; }
.bf-mock-screen i { font-size: 30px; }
.bf-mock-screen .cap { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }

/* laptop aberto e dimensionado p/ esta seção; tela precisa de containing block */
.bf-mock .bf-laptop { --bf-lid: 0deg; --bf-lw: clamp(280px, 40vw, 560px); }
.bf-screen { position: relative; }

@media (max-width: 767px) {
    .bf-steps { gap: 18px; }
    .bf-mock-stage { margin-top: 0; margin-bottom: 12px; }
    /* mockup no topo; toca no passo pra trocar */
    .bf-devices-grid > *:last-child { order: -1; }
    .bf-step-item { padding: 16px 0; }
}

/* VIDEO SLOT horizontal (16:9) com botão de play */
.bf-video-slot {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: #141518;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; cursor: pointer;
}
.bf-video-slot video,
.bf-video-slot iframe,
.bf-video-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.bf-play {
    width: 76px; height: 76px; border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .3);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 26px; transition: all .2s ease;
}
.bf-video-slot:hover .bf-play { background: var(--sw-amber); color: #000; border-color: var(--sw-amber); }
.bf-video-slot .bf-img-label {
    position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
    color: var(--sw-gray-600); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
}

/* variante vertical (vídeos de depoimento) */
.bf-video-slot.bf-portrait { aspect-ratio: 9 / 16; }
.bf-video-slot.bf-portrait .bf-play { width: 52px; height: 52px; font-size: 18px; }


/* ============================================================
   VIDEO MARQUEE (carrossel de vídeos - mesmo movimento do toolkit)
   ============================================================ */
.bf-vmarquee {
    position: relative;
    overflow: hidden;
    padding: 44px 0;   /* espaço p/ o glow do hover não ser cortado */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.bf-vmarquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}
.bf-vcard {
    flex: 0 0 auto; width: 210px; cursor: pointer;
    border-radius: 16px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.bf-vcard:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 40px rgba(var(--sw-amber-rgb), .32);
}
.bf-vcard .bf-video-slot { border-radius: 16px; }
.bf-vcard .bf-play { transition: opacity .2s ease; }
.bf-vcard:hover .bf-play { opacity: 0; }   /* some quando o vídeo toca */
.bf-vcard--grid { width: 100%; }           /* dentro de grid (testimonials) */
@media (max-width: 575px) { .bf-vcard { width: 160px; } .bf-vcard--grid { width: 100%; } }


/* ---- popup de vídeo (See it in action) ---- */
.bf-video-modal {
    position: fixed; inset: 0; z-index: 1090;
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.bf-video-modal[hidden] { display: none; }
.bf-video-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .8); backdrop-filter: blur(4px); }
.bf-video-modal__dialog { position: relative; z-index: 1; width: 100%; max-width: 420px; }
.bf-video-modal__back {
    background: none; border: 0; padding: 0; margin-bottom: 14px; cursor: pointer;
    color: var(--sw-gray-400); font-weight: 600; font-family: var(--sw-font);
    display: inline-flex; align-items: center; gap: 6px;
}
.bf-video-modal__back:hover { color: var(--sw-amber); }
.bf-video-modal__frame {
    aspect-ratio: 9 / 16; width: 100%;
    background: #000; border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px; overflow: hidden;
    animation: bf-modal-in .2s ease;
}
.bf-video-modal__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 575px) { .bf-video-modal__dialog { max-width: 300px; } }


/* ============================================================
   TESTIMONIALS - citação rotativa (vídeos fixos, quote muda)
   ============================================================ */
.bf-tq { position: relative; }
.bf-tq-mark {
    color: rgba(255, 255, 255, .16);
    font-size: 42px; line-height: .5; margin-bottom: 6px;
    font-family: Georgia, "Times New Roman", serif;
}
/* altura FIXA: o card não cresce/encolhe conforme o tamanho da citação.
   Os itens ficam sobrepostos (absolutos); overflow-y só age em citações
   muito longas em telas estreitas. */
.bf-tq-items { position: relative; height: 200px; overflow-y: auto; overflow-x: hidden; }
.bf-tq-item {
    position: absolute; top: 0; left: 0; right: 0;
    margin: 0; opacity: 0; pointer-events: none;
    transition: opacity .22s ease;
}
.bf-tq-item.active { opacity: 1; pointer-events: auto; }
.bf-tq-item p {
    font-size: 17px; font-style: italic; line-height: 1.6;
    color: var(--sw-gray-200); margin: 0 0 14px;
}
.bf-tq-item .name { color: var(--sw-amber); font-weight: 700; }
.bf-tq-item .company { color: var(--sw-gray-500); font-size: 14px; }
.bf-tq-nav { display: flex; gap: 12px; margin-top: 14px; }
.bf-tq-arrow {
    width: 44px; height: 44px; border-radius: 50%;
    background: transparent; border: 1px solid rgba(255, 255, 255, .2);
    color: var(--sw-gray-400);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .2s ease;
}
.bf-tq-arrow:hover { border-color: var(--sw-amber); color: var(--sw-amber); }


/* ============================================================
   TOOLKIT MARQUEE (carrossel horizontal auto-scroll)
   Hover: glow + stroke âmbar. Clique: congela (.paused). Deselect: volta.
   ============================================================ */
.bf-toolkit-marquee {
    position: relative;
    overflow: hidden;
    padding: 48px 0;                 /* espaço p/ o glow do hover não ser cortado */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.bf-toolkit-track {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;          /* posição controlada por JS (auto + setas) */
}

/* setas do carrossel (ambos os lados) */
.bf-tk-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 46px; height: 46px; border-radius: 50%;
    background: #1a1c21; border: 1px solid rgba(255, 255, 255, .16); color: var(--sw-light);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 20px; transition: all .2s ease;
}
.bf-tk-arrow:hover { border-color: var(--sw-amber); color: var(--sw-amber); }
.bf-tk-arrow:focus-visible { outline: 2px solid var(--sw-amber); outline-offset: 2px; }
.bf-tk-prev { left: 10px; }
.bf-tk-next { right: 10px; }
.bf-tool-card {
    flex: 0 0 auto;
    width: 232px;
    display: flex; flex-direction: column;
    background: #141518;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    user-select: none;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.bf-tool-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 14px; }
.bf-tool-modal__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.bf-tool-card:hover {
    border-color: var(--sw-amber-hover);
    box-shadow: 0 6px 40px rgba(var(--sw-amber-rgb), .32);
    transform: translateY(-4px);
}
.bf-tool-card.selected {
    border-color: var(--sw-amber);
    box-shadow: 0 14px 44px rgba(var(--sw-amber-rgb), .38);
}
.bf-tool-card .bf-feat-icon { margin: 0 0 16px; }
.bf-tool-card h5 { color: var(--sw-white); font-weight: 700; font-size: 16px; margin: 0 0 12px; }
.bf-tool-tag {
    display: inline-block;
    font-size: 10.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    padding: 3px 11px; border-radius: 100px;
}
/* mesmo estilo (pill preenchido), só muda a cor */
.bf-tag-fabricator  { background: rgba(255, 175, 31, .16);  color: #FFAF1F; }  /* amarelo */
.bf-tag-distributor { background: rgba(57, 137, 211, .18);  color: #63A8EE; }  /* azul   */
.bf-tag-exporter    { background: rgba(165, 115, 245, .18); color: #B98CF5; }  /* roxo   */


/* ============================================================
   POPUP das features (aberto ao clicar num card do toolkit)
   ============================================================ */
.bf-tool-modal {
    position: fixed; inset: 0; z-index: 1080;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.bf-tool-modal[hidden] { display: none; }
.bf-tool-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(3px);
}
.bf-tool-modal__dialog {
    position: relative; z-index: 1;
    width: 100%; max-width: 440px;
    background: #141518;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    animation: bf-modal-in .2s ease;
}
@keyframes bf-modal-in {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to   { opacity: 1; transform: none; }
}
.bf-tool-modal__back {
    background: none; border: 0; padding: 0; margin-bottom: 20px;
    color: var(--sw-gray-400); font-weight: 600; font-family: var(--sw-font);
    display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.bf-tool-modal__back:hover { color: var(--sw-amber); }
.bf-tool-modal__icon { width: 56px; height: 56px; font-size: 24px; margin: 0 0 16px; }
.bf-tool-modal__tag { margin-bottom: 14px; }
.bf-tool-modal__title { color: var(--sw-white); font-weight: 700; margin: 10px 0 10px; }
.bf-tool-modal__desc { color: var(--sw-gray-400); margin: 0; line-height: 1.6; }


/* ============================================================
   LAPTOP HERO (abre com o scroll)
   Knobs de layout: --bf-lw (largura), --bf-lid (ângulo da tampa, JS).
   ============================================================ */
.bf-laptop-hero {
    position: relative;
    background: var(--sw-black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 104px 16px 0;
}
.bf-lh-content {
    position: relative; z-index: 3;
    text-align: center;
    max-width: 720px; margin: 0 auto;
    will-change: transform;
}
.bf-lh-content .hero-badge { margin-bottom: 24px; }
.bf-lh-title {
    font-weight: 800; color: var(--sw-white);
    font-size: clamp(34px, 5.4vw, 62px); line-height: 1.04; letter-spacing: -.02em;
    margin: 0;
}
.bf-lh-sub {
    color: var(--sw-gray-400);
    margin: 24px auto 0; max-width: 520px;
    font-size: clamp(16px, 2vw, 19px); line-height: 1.65;
}
.bf-lh-actions { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* palco com perspectiva */
.bf-laptop-stage {
    position: relative; z-index: 2;
    width: 100%;
    display: flex; justify-content: center;
    margin-top: clamp(28px, 6vh, 72px);
    perspective: 1800px;
    perspective-origin: 50% 32%;
}
.bf-laptop {
    --bf-lid: -88deg;                     /* ângulo da tampa (JS controla) */
    --bf-lw: clamp(280px, 58vw, 760px);   /* largura do laptop */
    width: var(--bf-lw);
    transform-style: preserve-3d;
    transform: rotateX(8deg);
}

/* TAMPA / tela - gira no hinge (borda inferior) */
.bf-laptop__lid {
    position: relative;
    width: 100%;
    height: calc(var(--bf-lw) * 0.60);
    transform-origin: 50% 100%;
    transform: rotateX(var(--bf-lid));
    transform-style: preserve-3d;
    background: linear-gradient(180deg, #17181c, #0b0b0d);
    border: 2px solid #2b2d33;
    border-radius: 16px 16px 6px 6px;
    box-shadow: 0 -8px 34px rgba(0, 0, 0, .5);
}
.bf-laptop__lid::before {   /* câmera */
    content: ""; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
    width: 6px; height: 6px; border-radius: 50%; background: #3a3d42; z-index: 2;
}
.bf-laptop__screen {
    position: absolute; inset: 10px;
    border-radius: 9px; overflow: hidden;
    background: #000;
}
.bf-laptop__screen video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* BASE / deck do teclado - recuada como uma mesa (fica estável) */
.bf-laptop__base {
    position: relative;
    width: 106%; left: -3%;
    height: calc(var(--bf-lw) * 0.42);
    transform-origin: 50% 0%;
    transform: rotateX(76deg);
    transform-style: preserve-3d;
    border-radius: 6px 6px 10px 10px;
    background: linear-gradient(180deg, #292b30, #16171a);
    box-shadow: 0 34px 54px rgba(0, 0, 0, .55);
}
.bf-laptop__base::after {   /* espessura frontal */
    content: ""; position: absolute; left: 1.5%; right: 1.5%; bottom: -11px; height: 12px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, #1c1d21, #0d0e10);
}
.bf-laptop__keyboard {
    position: absolute; top: 12%; left: 8%; right: 8%; height: 50%;
    border-radius: 5px; opacity: .55;
    background:
        repeating-linear-gradient(90deg, #33353a 0 7.5%, transparent 7.5% 9%),
        repeating-linear-gradient(180deg, #33353a 0 20%, transparent 20% 26%);
}
.bf-laptop__trackpad {
    position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%);
    width: 26%; height: 22%; border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
}

@media (max-width: 767px) {
    .bf-laptop { --bf-lw: clamp(240px, 82vw, 460px); transform: rotateX(6deg); }
    .bf-laptop-hero { padding-top: 88px; }
}


/* ============================================================
   ACESSIBILIDADE - respeita reduce motion
   ============================================================ */
/* ============================================================
   FAQ CHAT (conversacional, perguntas pré-cadastradas)
   ============================================================ */
/* vídeo de fundo da seção FAQ (meio transparente) */
.bf-faq-chat { position: relative; overflow: hidden; }
.bf-faq-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: .65;                 /* vídeo "meio transparente" */
}
.bf-faq-bg-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .40));
}
.bf-faq-chat > .container { position: relative; z-index: 2; }

/* mesmo padrão de vídeo de fundo no pricing (mais transparente que o FAQ) */
#pricing { position: relative; overflow: hidden; }
#pricing > .container { position: relative; z-index: 2; }
#pricing .bf-faq-bg { opacity: .45; }
#pricing .bf-faq-bg-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .5)); }

/* Websites e Testimonials na cor de fundo do site (preto) */
.bf-testimonials { background: var(--sw-black); }

/* box do chat em vidro fosco: translúcido + blur do vídeo por trás */
.bf-chat {
    max-width: 860px; margin: 0 auto;
    height: clamp(560px, 80vh, 700px);   /* altura TOTAL fixa -> nada se mexe */
    background: rgba(18, 19, 23, .5);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.bf-chat__log {
    padding: 26px;
    display: flex; flex-direction: column; gap: 16px;
    flex: 1 1 auto; min-height: 0;       /* preenche o espaço restante (fixo) */
    overflow-y: auto;
    scroll-behavior: smooth;
}
.bf-msg { display: flex; gap: 10px; align-items: flex-end; max-width: 100%; animation: bf-msg-in .28s ease; }
.bf-msg--assistant { justify-content: flex-start; }
.bf-msg--user { justify-content: flex-end; }
@keyframes bf-msg-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bf-msg__avatar {
    width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%;
    background: var(--sw-amber); color: #000; font-weight: 800; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}
.bf-msg__bubble { max-width: 76%; padding: 12px 16px; border-radius: 14px; line-height: 1.55; font-size: 15px; }
.bf-msg--assistant .bf-msg__bubble { background: #1d1f24; color: var(--sw-light); border-bottom-left-radius: 4px; }
.bf-msg--user .bf-msg__bubble { background: var(--sw-amber); color: #000; font-weight: 600; border-bottom-right-radius: 4px; }

/* indicador de digitação */
.bf-typing { display: inline-flex; gap: 5px; align-items: center; }
.bf-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--sw-gray-500); animation: bf-typing 1s infinite ease-in-out; }
.bf-typing span:nth-child(2) { animation-delay: .15s; }
.bf-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bf-typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

/* composer (só chips) */
.bf-chat__composer { flex: 0 0 auto; border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 22px 20px; background: rgba(15, 16, 19, .45); }
.bf-chat__composer-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--sw-gray-500); margin: 0 0 12px; }
.bf-chat__chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px; height: 124px; overflow-y: auto; }
.bf-chip {
    background: #1a1c21; border: 1px solid rgba(255, 255, 255, .12); color: var(--sw-light);
    border-radius: 100px; padding: 9px 16px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all .2s ease; font-family: var(--sw-font); text-align: left;
}
.bf-chip:hover { border-color: var(--sw-amber); color: var(--sw-amber); }
.bf-chip i { color: var(--sw-amber); }
.bf-chip:focus-visible { outline: 2px solid var(--sw-amber); outline-offset: 2px; }
.bf-chat__controls { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }
.bf-chat__controls button {
    background: none; border: 0; padding: 0; cursor: pointer;
    color: var(--sw-gray-500); font-size: 13px; font-weight: 600; font-family: var(--sw-font);
    display: inline-flex; align-items: center; gap: 6px;
}
.bf-chat__controls button:hover { color: var(--sw-amber); }
.bf-chat__controls button[hidden] { display: none; }

/* CTA contextual dentro do chat */
.bf-faq-cta {
    background: linear-gradient(180deg, rgba(var(--sw-amber-rgb), .12), rgba(var(--sw-amber-rgb), .03));
    border: 1px solid rgba(var(--sw-amber-rgb), .4);
    border-radius: 14px; border-bottom-left-radius: 4px;
    padding: 18px; max-width: 76%;
}
.bf-faq-cta__title { color: var(--sw-white); font-weight: 700; margin: 0 0 12px; }
.bf-faq-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* coluna da resposta (bolha + botões) e botões de ação */
.bf-msg__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 78%; }
.bf-msg__col .bf-msg__bubble { max-width: 100%; }
.bf-faq-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-faq-btn { padding: 7px 14px; font-size: 13px; border-radius: 8px; }

@media (max-width: 575px) {
    .bf-chat__log { padding: 18px; }
    .bf-msg__bubble, .bf-faq-cta, .bf-msg__col { max-width: 88%; }
    .bf-chat__composer { padding: 16px; }
}


/* ============================================================
   ACESSIBILIDADE - respeita reduce motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee, .confetti-overlay { animation: none !important; }
    .sw-card:hover, .sw-card-pricing:hover { transform: none; }
    .bf-toolkit-track { animation: none !important; }
    .bf-toolkit-marquee { overflow-x: auto; }
    .bf-msg { animation: none; }
    .bf-typing span { animation: none; }
    .bf-chat__log { scroll-behavior: auto; }
    .bf-topbar { transition: none; }
}

/* ============================================================
   FAIXA FIXA DE BLACK FRIDAY (retângulo amarelo sob o header)
   Fica escondida acima do topo e desce/gruda ao rolar a página.
   --bf-navh é medido no JS (altura do navbar, que encolhe no scroll).
   ============================================================ */
.bf-topbar {
    position: fixed;
    top: 0;                             /* ancorado no topo; sai/entra via translateY */
    left: 0; right: 0;
    z-index: 1020;                      /* logo abaixo do navbar fixed-top (1030) */
    background: var(--sw-amber);
    color: #000;
    border-top: 1px solid rgba(0, 0, 0, .18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
    transform: translateY(-100%);       /* escondido: 100% ACIMA da viewport (não vaza atrás do navbar) */
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    will-change: transform;
}
/* visível: desce e para logo abaixo do navbar (altura medida no JS) */
.bf-topbar.show { transform: translateY(var(--bf-navh, 64px)); }

.bf-topbar-inner {
    max-width: 1180px; margin: 0 auto;
    display: flex; align-items: center; gap: 14px;
    padding: 9px 18px;
    font-size: 14px; font-weight: 600;
}
.bf-topbar-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 800; letter-spacing: .3px; text-transform: uppercase;
    font-size: 13px; white-space: nowrap;
    padding: 3px 10px; border-radius: 999px;
    background: #000; color: var(--sw-amber);
}
.bf-topbar-tag i { font-size: 14px; }
.bf-topbar-text { flex: 1 1 auto; line-height: 1.25; }
.bf-topbar-text b { font-weight: 800; }
.bf-topbar-count {
    display: inline-flex; align-items: center; gap: 8px;
    font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bf-topbar-count .u { display: inline-flex; align-items: baseline; gap: 2px; font-size: 12px; font-weight: 700; }
.bf-topbar-count .u b {
    font-size: 15px; font-weight: 800;
    background: rgba(0, 0, 0, .12); border-radius: 5px; padding: 1px 5px;
}
.bf-topbar-cta {
    white-space: nowrap; text-decoration: none;
    font-weight: 800; font-size: 13px;
    color: var(--sw-amber); background: #000;
    padding: 7px 16px; border-radius: 999px;
    transition: transform .2s ease, background .2s ease;
}
.bf-topbar-cta:hover { transform: translateY(-1px); color: var(--sw-amber); background: #1a1a1a; }

@media (max-width: 767px) {
    .bf-topbar-inner { gap: 10px; padding: 8px 12px; font-size: 12.5px; }
    /* no mobile prioriza tag + contagem + CTA; texto longo some */
    .bf-topbar-text { display: none; }
    .bf-topbar-count { flex: 1 1 auto; justify-content: center; }
    .bf-topbar-tag { font-size: 12px; padding: 3px 8px; }
}

/* ============================================================
   TAG "BLACK FRIDAY" - adorno reutilizável no topo das sections
   (NÃO usar .bf-chip aqui: esse nome é dos chips de pergunta do FAQ)
   ============================================================ */
.bf-bftag {
    display: inline-flex; align-items: center; gap: 7px;
    margin-bottom: 14px;
    padding: 5px 13px; border-radius: 999px;
    font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--sw-amber);
    background: rgba(var(--sw-amber-rgb), .10);
    border: 1px solid rgba(var(--sw-amber-rgb), .40);
}
.bf-bftag i { font-size: 13px; }
.bf-bftag--solid { color: #000; background: var(--sw-amber); border-color: var(--sw-amber); }

/* ============================================================
   SEE IT IN ACTION - notebook "flat" + placeholder de imagem
   Troque a screenshot no <img src>. Sem vídeo (site leve).
   ============================================================ */
.bf-sia { max-width: 880px; margin: 0 auto; }
.bf-sia-laptop { position: relative; }
.bf-sia-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    border: 12px solid #17181c;
    border-radius: 16px 16px 8px 8px;
    background: #0b0b0d;
    overflow: hidden;
    box-shadow: 0 0 0 1px #2b2d33, 0 30px 60px rgba(0, 0, 0, .5), inset 0 0 40px rgba(0, 0, 0, .6);
}
.bf-sia-screen::before {   /* câmera */
    content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
    width: 6px; height: 6px; border-radius: 50%; background: #3a3d42; z-index: 3;
}
.bf-sia-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: none; z-index: 2;
}
.bf-sia-img[src]:not([src=""]) { display: block; }
.bf-sia-img.is-missing { display: none !important; }

.bf-sia-ph {
    position: absolute; inset: 0; z-index: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    text-align: center;
    background:
        radial-gradient(120% 100% at 50% 0%, rgba(var(--sw-amber-rgb), .12), transparent 60%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, .022) 0 14px, rgba(255, 255, 255, 0) 14px 28px),
        #101114;
}
.bf-sia-ph-ico { font-size: 46px; color: var(--sw-gray-600); }
.bf-sia-ph-txt { font-size: 15px; font-weight: 700; color: var(--sw-gray-400); letter-spacing: .5px; }
.bf-sia-ph-sub { font-size: 12px; color: var(--sw-gray-600); }
.bf-sia-tag {
    position: absolute; top: 14px; left: 14px;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    color: #000; background: var(--sw-amber); padding: 4px 10px; border-radius: 999px;
}
.bf-sia-tag i { font-size: 12px; }

.bf-sia-base {
    position: relative; width: 106%; margin-left: -3%;
    height: 18px;
    background: linear-gradient(180deg, #303237, #131417);
    border-radius: 3px 3px 14px 14px;
    box-shadow: 0 26px 40px rgba(0, 0, 0, .5);
}
.bf-sia-base::after {   /* recorte do trackpad no hinge */
    content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 90px; height: 6px; background: #3a3d42; border-radius: 0 0 8px 8px;
}
@media (max-width: 767px) { .bf-sia-ph-ico { font-size: 34px; } }
