/* ============================================================
   SLABWARE Black Friday - sections portadas da VIP List
   "What is SlabWare" (vídeo institucional) + "The offer" (planos).
   Roda em cima de slabware-core.css + bf-landing.css.
   Reusa o sistema de reveal (.reveal) da própria bf-landing.
   ============================================================ */
:root {
    --vip-max: 1180px;
    --vip-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- base de section ---------- */
.vip-section { padding: 96px 0; }
@media (max-width: 767px) { .vip-section { padding: 64px 0; } }

.vip-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--sw-amber);
}
.vip-eyebrow::before {
    content: ""; width: 24px; height: 1px; background: var(--sw-amber);
}
.vip-title {
    font-size: clamp(28px, 4.2vw, 48px); font-weight: 700;
    line-height: 1.15; color: var(--sw-white);
}
.vip-lead {
    color: var(--sw-gray-500); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6;
}

/* ---------- botão com brilho passando (junto de .sw-btn-amber) ---------- */
.vip-shine { position: relative; overflow: hidden; }
.vip-shine::after {
    content: ""; position: absolute; top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-18deg); animation: vip-shine 3.6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes vip-shine {
    0%, 62%  { left: -120%; }
    92%, 100% { left: 130%; }
}

/* ---------- vídeo em destaque (facade: só carrega o YouTube no clique) ---------- */
.vip-video {
    position: relative; display: block; width: 100%;
    aspect-ratio: 16 / 9; padding: 0; overflow: hidden; cursor: pointer;
    border-radius: var(--sw-radius-lg); border: 1px solid rgba(var(--sw-amber-rgb), .5);
    background: var(--sw-surface-1); box-shadow: var(--sw-shadow-amber);
    transition: transform .5s var(--vip-ease), border-color .3s ease;
}
.vip-video:hover { transform: translateY(-4px); border-color: var(--sw-amber); }
.vip-video img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .9s var(--vip-ease), filter .5s ease;
}
.vip-video:hover img { transform: scale(1.04); }
.vip-video::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .85) 100%);
    pointer-events: none;
}
.vip-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vip-video.is-playing::after,
.vip-video.is-playing .vip-video-play,
.vip-video.is-playing .vip-video-label { display: none; }

.vip-video-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    z-index: 2; width: 86px; height: 86px; border-radius: 50%;
    background: var(--sw-amber); color: #000;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; padding-left: 5px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
    transition: transform .35s var(--vip-ease), background .3s ease;
}
.vip-video:hover .vip-video-play {
    transform: translate(-50%, -50%) scale(1.1); background: var(--sw-amber-hover);
}
.vip-video-play::before {
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid rgba(var(--sw-amber-rgb), .6);
    animation: vip-ring 2.4s ease-out infinite;
}
@keyframes vip-ring {
    0%   { transform: scale(1);    opacity: .9; }
    100% { transform: scale(1.55); opacity: 0; }
}
.vip-video-label {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 26px 28px; text-align: left; pointer-events: none;
}
.vip-video-label b {
    display: block; color: var(--sw-white);
    font-size: clamp(17px, 2vw, 22px); font-weight: 700; line-height: 1.25;
}
.vip-video-label span {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
    font-size: 13px; font-weight: 600; letter-spacing: .5px;
    text-transform: uppercase; color: var(--sw-amber);
}
@media (max-width: 575px) {
    .vip-video-play { width: 62px; height: 62px; font-size: 24px; }
    .vip-video-label { padding: 18px; }
}

/* ============================================================
   PRICING - planos (preço Black como valor principal)
   ============================================================ */
.vip-billing-toggle {
    display: inline-flex; padding: 4px; border-radius: var(--sw-radius-pill);
    background: var(--sw-surface-1); border: 1px solid var(--sw-line-soft);
}
.vip-billing-toggle button {
    border: 0; background: transparent; color: var(--sw-gray-500);
    font-weight: 700; font-size: 14px; padding: 8px 20px;
    border-radius: var(--sw-radius-pill); transition: color .25s ease; cursor: pointer;
}
.vip-billing-toggle button.active { background: var(--sw-amber); color: #000; }
.vip-billing-toggle .save { font-size: 11px; font-weight: 700; margin-left: 6px; opacity: .8; }

.vip-plan {
    position: relative; height: 100%; display: flex; flex-direction: column;
    padding: 32px 28px; border-radius: var(--sw-radius-lg);
    background: var(--sw-surface-1); border: 1px solid var(--sw-line-soft);
    overflow: hidden;
    transition: transform .4s var(--vip-ease), border-color .4s ease, box-shadow .4s ease;
}
.vip-plan:hover { transform: translateY(-8px); border-color: rgba(var(--sw-amber-rgb), .55); }
.vip-plan::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .05) 48%, transparent 62%);
    transform: translateX(-110%); transition: transform .9s var(--vip-ease); pointer-events: none;
}
.vip-plan:hover::after { transform: translateX(110%); }
.vip-plan.is-featured {
    border-color: var(--sw-amber);
    background: linear-gradient(180deg, rgba(var(--sw-amber-rgb), .07) 0%, var(--sw-surface-1) 55%);
    box-shadow: var(--sw-shadow-amber);
}
.vip-plan > * { position: relative; z-index: 1; }

.vip-plan .plan-name { font-size: 18px; font-weight: 700; color: var(--sw-white); }
.vip-plan .plan-tag { font-size: 13px; font-weight: 600; color: var(--sw-amber); margin-top: 2px; }
.vip-plan .plan-users { font-size: 13px; color: var(--sw-gray-500); margin-top: 2px; }
.vip-plan .plan-extra { margin: -14px 0 22px; font-size: 12px; color: var(--sw-gray-600); }

.vip-plan .price-regular { font-size: 15px; color: var(--sw-gray-600); text-decoration: line-through; }
.vip-plan .price-bf-main {
    display: flex; align-items: baseline; gap: 4px;
    color: var(--sw-amber); font-weight: 800; line-height: 1;
}
.vip-plan .price-bf-main .cur { font-size: 24px; font-weight: 700; }
.vip-plan .price-bf-main .val {
    font-size: 56px; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.vip-plan .price-bf-main .per { font-size: 15px; font-weight: 600; color: var(--sw-gray-500); }

.vip-plan .price-tagline {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--sw-amber);
}
.vip-plan .price-year { font-size: 13px; color: var(--sw-gray-600); min-height: 20px; margin-top: 8px; }

.vip-plan .plan-features {
    list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px;
}
.vip-plan .plan-features li {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 14px; line-height: 1.5; color: var(--sw-gray-400);
}
.vip-plan .plan-features .plan-sub {
    margin: -6px 0 2px 24px; font-size: 12px; line-height: 1.45; color: var(--sw-gray-600);
}
.vip-plan .plan-features i { color: var(--sw-amber); font-size: 15px; line-height: 1.4; }
.vip-plan .plan-features b { color: var(--sw-white); font-weight: 700; }
.vip-plan .plan-features .bi-star-fill { font-size: 13px; }

.vip-plan .plan-cta { margin-top: auto; }
.vip-plan .save-badge {
    display: inline-block; font-size: 12px; font-weight: 700; color: var(--sw-amber);
    background: rgba(var(--sw-amber-rgb), .12); border-radius: var(--sw-radius-sm);
    padding: 4px 10px; white-space: nowrap;
}
.vip-pricing-note { font-size: 13px; color: var(--sw-gray-600); line-height: 1.6; }

/* ============================================================
   POPUP "What is SlabWare" (vídeo do YouTube)
   ============================================================ */
.bf-whatis-modal[hidden] { display: none; }
.bf-whatis-modal {
    position: fixed; inset: 0; z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
}
.bf-whatis-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, .82);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.bf-whatis-modal__dialog {
    position: relative; z-index: 1;
    width: min(960px, 100%);
}
.bf-whatis-modal__frame {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: #000; border-radius: 14px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    border: 1px solid rgba(255, 255, 255, .12);
}
.bf-whatis-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bf-whatis-modal__close {
    position: absolute; top: -14px; right: -14px; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--sw-amber); color: #000; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
}
.bf-whatis-modal__close:hover { background: var(--sw-amber-hover); }
@media (max-width: 575px) {
    .bf-whatis-modal { padding: 16px; }
    .bf-whatis-modal__close { top: -8px; right: -8px; width: 36px; height: 36px; font-size: 16px; }
}

/* Toggle de tipo de negócio (Fabricator | Distributor & Exporter) */
.bf-biz-toggle {
    display: inline-flex; padding: 5px; gap: 4px;
    border-radius: var(--sw-radius-pill);
    background: var(--sw-surface-1); border: 1px solid var(--sw-line-soft);
    max-width: 100%;
}
.bf-biz-toggle button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; background: transparent; color: var(--sw-gray-400);
    font-weight: 700; font-size: 14px; padding: 10px 22px;
    border-radius: var(--sw-radius-pill); cursor: pointer; white-space: nowrap;
    transition: color .2s ease, background .2s ease;
}
.bf-biz-toggle button i { font-size: 15px; }
.bf-biz-toggle button.active { background: var(--sw-amber); color: #000; }
[data-biz-panel][hidden] { display: none; }
@media (max-width: 575px) {
    .bf-biz-toggle { width: 100%; }
    .bf-biz-toggle button { flex: 1; padding: 10px 10px; font-size: 13px; }
}

/* nota "modular" (Fabricators) sob o cabeçalho da The offer */
.vip-mod-note {
    display: inline-flex; align-items: flex-start; gap: 9px;
    max-width: 520px; padding: 10px 14px; border-radius: var(--sw-radius-sm);
    background: rgba(var(--sw-amber-rgb), .10); border: 1px solid rgba(var(--sw-amber-rgb), .30);
    font-size: 13.5px; line-height: 1.45; color: var(--sw-gray-400);
}
.vip-mod-note i { color: var(--sw-amber); font-size: 15px; margin-top: 1px; }
.vip-mod-note b { color: var(--sw-white); font-weight: 700; }

/* Distributor & Exporter: plataforma completa (sem modularização) */
.vip-plan--full .plan-full-flag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-radius: var(--sw-radius-sm);
    background: var(--sw-surface-3); border: 1px dashed var(--sw-line-soft);
    font-size: 12.5px; font-weight: 600; color: var(--sw-gray-400);
}
.vip-plan--full .plan-full-flag i { color: var(--sw-amber); font-size: 14px; }
.vip-plan--full .price-alt { font-size: 12px; color: var(--sw-gray-600); margin-top: 2px; }
