/* ==========================================================
   Behance Portfolio Carousel — v3.6.0
   ========================================================== */

.bpc-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ---- Swiper ---- */
.bpc-swiper {
    width: 100%;
    overflow: visible;
    padding-bottom: 44px !important;
}
.bpc-slide {
    height: auto;
    display: flex;
}

/* ---- Card ---- */
.bpc-card {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 0 !important;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform .3s ease, box-shadow .3s ease;
    outline: none;
    user-select: none;
}
.bpc-card:hover,
.bpc-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0,0,0,.4);
}

/* ---- Imagem ---- */
.bpc-card__image {
    position: absolute;
    inset: 0;
}
.bpc-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.bpc-card:hover .bpc-card__image img {
    transform: scale(1.04);
}
.bpc-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

/* ---- Overlay ---- */
.bpc-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0)   0%,
        rgba(0,0,0,.15) 45%,
        rgba(0,0,0,.72) 72%,
        rgba(0,0,0,.87) 100%
    );
    transition: background .3s;
}
.bpc-card:hover .bpc-card__overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0)   0%,
        rgba(0,0,0,.20) 45%,
        rgba(0,0,0,.78) 72%,
        rgba(0,0,0,.92) 100%
    );
}

/* ---- Logo Behance ---- */
.bpc-card__be {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 10;
    line-height: 1;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,.6));
}
.bpc-card__be img {
    display: block;
    width: auto;
    height: 12px;
}

/* ---- Conteúdo inferior ---- */
.bpc-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

/* ---- Tags ---- */
.bpc-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.bpc-card__tag {
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid rgba(255,255,255,.65);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    line-height: 1.5;
    border-radius: 0 !important;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(3px);
    white-space: nowrap;
}

/* ---- Linha título + botão ---- */
.bpc-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

/* ---- Título — Neue Power Ultra ---- */
.bpc-card__title {
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-family: "Neue Power Ultra", sans-serif !important;
    font-size: clamp(13px, 1.8vw, 18px) !important;
    font-weight: 800 !important;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 1px 5px rgba(0,0,0,.5);
    flex: 1;
}

/* ---- Botão laranja ---- */
.bpc-card__btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: #ff6000;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .15s;
    box-shadow: 0 2px 10px rgba(255,96,0,.45);
}
.bpc-card:hover .bpc-card__btn {
    background: #ff7a1a;
    transform: scale(1.07);
}

/* ============================================================
   Navegação
   ============================================================ */
.bpc-nav-btn {
    color: #fff !important;
    background: rgba(0,0,0,.45) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    transition: background .2s !important;
}
.bpc-nav-btn:hover {
    background: rgba(255,96,0,.85) !important;
}
.bpc-nav-btn::after {
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* ============================================================
   Paginação
   ============================================================ */
.bpc-pagination { bottom: 8px !important; }
.bpc-pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,.4) !important;
    opacity: 1 !important;
    width: 7px !important;
    height: 7px !important;
}
.bpc-pagination .swiper-pagination-bullet-active {
    background: #ff6000 !important;
    width: 22px !important;
    border-radius: 4px !important;
}

/* ============================================================
   Admin
   ============================================================ */
.bpc-section-desc { font-size: 13px; color: #6b7280; margin: -10px 0 18px; line-height: 1.5; }
.bpc-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.bpc-device-field { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 7px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.bpc-device-icon { font-size: 20px; line-height: 1; }
.bpc-device-field label { font-size: 12px; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: .05em; }
.bpc-size-hint { font-weight: 400; text-transform: none; color: #9ca3af; font-size: 11px; letter-spacing: 0; }
.bpc-device-input { width: 64px !important; max-width: 64px; font-size: 18px !important; font-weight: 700 !important; text-align: center; padding: 6px 4px !important; border: 1.5px solid #d1d5db; border-radius: 5px; }
.bpc-input-with-badge { display: flex; align-items: center; gap: 8px; }
.bpc-badge { font-size: 11px; font-weight: 600; color: #6b7280; background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 4px; padding: 3px 8px; white-space: nowrap; }
.bpc-peek-wrap { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.bpc-range { flex: 1; accent-color: #ff6000; cursor: pointer; }
.bpc-range-val { font-size: 14px; font-weight: 700; color: #ff6000; min-width: 38px; text-align: right; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 640px) {
    .bpc-nav-btn { display: none !important; }
    .bpc-card__btn { width: 36px; height: 36px; }
    .bpc-grid-3 { grid-template-columns: 1fr; }
}
