.bv-oabms-app {
    width: 100%;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    color: #242C44;
    background: #f5f6fa;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.bv-oabms-app *,
.bv-oabms-app *:before,
.bv-oabms-app *:after {
    box-sizing: border-box;
}

.bv-oabms-hero {
    width: 100%;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 72px 6%;
    background: #242C44;
    background: linear-gradient(135deg, #242C44 0%, #1d2336 60%, #111827 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.bv-oabms-hero:before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -180px;
    top: -160px;
    border-radius: 50%;
    background: rgba(225, 48, 36, 0.22);
}

.bv-oabms-hero:after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    left: -140px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.bv-oabms-hero-content {
    width: 64%;
    position: relative;
    z-index: 2;
    padding-right: 32px;
}

.bv-oabms-hero-panel {
    width: 32%;
    position: relative;
    z-index: 2;
}

.bv-oabms-kicker {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(225, 48, 36, 0.18);
    border: 1px solid rgba(225, 48, 36, 0.45);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.bv-oabms-hero h1 {
    margin: 0 0 18px 0;
    color: #ffffff;
    font-size: 58px;
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -2px;
}

.bv-oabms-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}

.bv-oabms-hero-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 34px;
}

.bv-oabms-primary-link,
.bv-oabms-secondary-link {
    display: inline-block;
    min-height: 48px;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    margin-right: 12px;
    margin-bottom: 10px;
}

.bv-oabms-primary-link {
    color: #ffffff !important;
    background: #E13024;
    box-shadow: 0 16px 30px rgba(225, 48, 36, 0.28);
}

.bv-oabms-primary-link:hover {
    background: #c5271d;
    transform: translateY(-2px);
}

.bv-oabms-secondary-link {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.bv-oabms-secondary-link:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.bv-oabms-panel-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    margin-bottom: 16px;
}

.bv-oabms-panel-card span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bv-oabms-panel-card strong {
    display: block;
    color: #ffffff;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
}

.bv-oabms-panel-card small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    margin-top: 12px;
    font-size: 13px;
}

.bv-oabms-panel-main {
    padding: 32px;
}

.bv-oabms-panel-main strong {
    font-size: 76px;
    letter-spacing: -2px;
}

.bv-oabms-toolbar {
    width: 88%;
    margin: -42px auto 0 auto;
    position: relative;
    z-index: 5;
    background: #ffffff;
    border: 1px solid #e8ebf2;
    border-radius: 26px;
    box-shadow: 0 24px 70px rgba(21, 30, 53, 0.13);
    padding: 22px;
}

.bv-oabms-search-box {
    width: 100%;
    display: flex;
    align-items: center;
    background: #f6f7fb;
    border: 1px solid #e2e6ef;
    border-radius: 18px;
    padding: 8px;
}

.bv-oabms-search-icon {
    width: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E13024;
    font-size: 26px;
    font-weight: 700;
}

.bv-oabms-search-box input {
    width: 100%;
    height: 48px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #242C44;
    font-size: 15px;
    font-family: Poppins, Arial, Helvetica, sans-serif;
}

.bv-oabms-search-box input::placeholder {
    color: #747d92;
}

.bv-oabms-search-box button {
    height: 42px;
    border: 0;
    border-radius: 13px;
    background: #242C44;
    color: #ffffff;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 0 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bv-oabms-search-box button:hover {
    background: #E13024;
}

.bv-oabms-tabs-radio {
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
}

.bv-oabms-radio {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.bv-oabms-tab-label {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dde3ee;
    background: #ffffff;
    color: #242C44;
    border-radius: 999px;
    padding: 8px 8px 8px 17px;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.bv-oabms-tab-label span {
    display: inline-block;
    line-height: 1.2;
    margin-right: 10px;
}

.bv-oabms-tab-label strong {
    display: inline-block;
    min-width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 999px;
    background: #eef2f8;
    color: #242C44;
    font-size: 12px;
    font-weight: 800;
}

.bv-oabms-tab-label:hover {
    border-color: #E13024;
    color: #E13024;
}

.bv-oabms-tab-label:hover strong {
    background: rgba(225, 48, 36, 0.10);
    color: #E13024;
}

.bv-oabms-radio:checked + .bv-oabms-tab-label {
    background: #E13024 !important;
    border-color: #E13024 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 22px rgba(225, 48, 36, 0.22) !important;
}

.bv-oabms-radio:checked + .bv-oabms-tab-label strong {
    background: #ffffff !important;
    color: #E13024 !important;
}

.bv-oabms-results-info {
    width: 88%;
    margin: 28px auto 18px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bv-oabms-results-info div {
    display: flex;
    align-items: baseline;
    color: #242C44;
}

.bv-oabms-results-info strong {
    font-size: 28px;
    font-weight: 800;
    color: #E13024;
    margin-right: 8px;
}

.bv-oabms-results-info span {
    font-size: 14px;
    font-weight: 700;
}

.bv-oabms-results-info p {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

/* =========================================================
   CARDS DO ACERVO - FORMATO CARTA / BARALHO
   ========================================================= */

.bv-oabms-grid {
    width: 88%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 54px;
}

.bv-oabms-card {
    width: 23.4%;
    margin: 0 0.8% 24px 0.8%;
    background: #ffffff;
    border: 1px solid #e6eaf2;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(21, 30, 53, 0.08);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.bv-oabms-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(21, 30, 53, 0.14);
    border-color: rgba(225, 48, 36, 0.28);
}

.bv-oabms-cover {
    position: relative;
    height: 355px;
    background: #f6f8fc;
    overflow: hidden;
    padding: 16px;
    border-bottom: 1px solid #edf0f6;
}

.bv-oabms-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: #ffffff;
    border-radius: 14px;
}

.bv-oabms-cover-fallback {
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #242C44;
    background: linear-gradient(135deg, #242C44 0%, #1b2236 70%, #E13024 160%);
    color: #ffffff;
    border-radius: 14px;
}

.bv-oabms-cover-fallback span {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    align-self: flex-start;
}

.bv-oabms-cover-fallback strong {
    display: block;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
}

.bv-oabms-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    display: inline-block;
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #242C44;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(21, 30, 53, 0.16);
}

.bv-oabms-card-body {
    padding: 18px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bv-oabms-card-body h3 {
    margin: 0 0 10px 0;
    color: #242C44;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

.bv-oabms-card-body p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.65;
    max-height: 86px;
    overflow: hidden;
}

.bv-oabms-card-footer {
    padding: 0 18px 18px 18px;
    display: flex;
    margin-top: auto;
}

.bv-oabms-card-button {
    width: 100%;
    min-height: 42px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    border: 0;
    background: #242C44;
    color: #ffffff !important;
    font-family: Poppins, Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bv-oabms-card-button:hover {
    background: #E13024;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.bv-oabms-card-button.bv-oabms-video-button {
    background: #E13024;
}

.bv-oabms-card-button.bv-oabms-video-button:hover {
    background: #242C44;
}

/* =========================================================
   ESTADO VAZIO
   ========================================================= */

.bv-oabms-empty {
    width: 88%;
    margin: 0 auto 54px auto;
    background: #ffffff;
    border: 1px dashed #cfd6e4;
    border-radius: 24px;
    text-align: center;
    padding: 54px 24px;
    display: none;
}

.bv-oabms-empty.is-visible {
    display: block;
}

.bv-oabms-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f5f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    color: #E13024;
    font-size: 38px;
    font-weight: 700;
}

.bv-oabms-empty h3 {
    margin: 0 0 8px 0;
    color: #242C44;
    font-size: 22px;
    font-weight: 800;
}

.bv-oabms-empty p {
    margin: 0;
    color: #667085;
    font-size: 14px;
}

/* =========================================================
   BIBLIOTECA DE VÍDEOS
   ========================================================= */

.bv-oabms-video-highlight {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e7ebf2;
    padding: 64px 6%;
}

.bv-oabms-section-heading {
    max-width: 760px;
    margin-bottom: 32px;
}

.bv-oabms-section-heading span {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(225, 48, 36, 0.10);
    color: #E13024;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.bv-oabms-section-heading h2 {
    margin: 0 0 12px 0;
    color: #242C44;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1px;
}

.bv-oabms-section-heading p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.8;
}

.bv-oabms-video-grid {
    display: flex;
    flex-wrap: wrap;
}

.bv-oabms-video-card {
    width: 31.7%;
    margin: 0 0.8% 22px 0.8%;
    border-radius: 24px;
    overflow: hidden;
    background: #f7f8fb;
    border: 1px solid #e6eaf2;
    box-shadow: 0 16px 40px rgba(21, 30, 53, 0.08);
    transition: all 0.25s ease;
}

.bv-oabms-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(21, 30, 53, 0.12);
}

.bv-oabms-video-thumb {
    position: relative;
    height: 205px;
    background: #242C44;
    overflow: hidden;
}

.bv-oabms-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #ffffff;
    display: block;
}

.bv-oabms-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 62px;
    height: 62px;
    margin-left: -31px;
    margin-top: -31px;
    border-radius: 50%;
    background: #E13024;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 16px 36px rgba(225, 48, 36, 0.35);
}

.bv-oabms-video-card-body {
    padding: 20px;
}

.bv-oabms-video-card-body h3 {
    margin: 0 0 8px 0;
    color: #242C44;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}

.bv-oabms-video-card-body p {
    margin: 0 0 16px 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
}

/* =========================================================
   MODAL DE VÍDEO
   ========================================================= */

.bv-oabms-modal {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.bv-oabms-modal.is-open {
    display: flex;
}

.bv-oabms-modal-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 15, 28, 0.78);
}

.bv-oabms-modal-box {
    width: 980px;
    max-width: 100%;
    max-height: 92vh;
    overflow: auto;
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    padding: 24px;
}

.bv-oabms-modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f1f3f8;
    color: #242C44;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bv-oabms-modal-close:hover {
    background: #E13024;
    color: #ffffff;
}

.bv-oabms-modal-header {
    padding-right: 54px;
    margin-bottom: 18px;
}

.bv-oabms-modal-header span {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(225, 48, 36, 0.10);
    color: #E13024;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.bv-oabms-modal-header h3 {
    margin: 0;
    color: #242C44;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 800;
}

.bv-oabms-video-frame {
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    background: #111827;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.bv-oabms-video-frame iframe {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.bv-oabms-modal-description {
    margin: 18px 0 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.75;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1340px) {
    .bv-oabms-card {
        width: 31.7%;
    }
}

@media (max-width: 1180px) {
    .bv-oabms-hero {
        display: block;
    }

    .bv-oabms-hero-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 34px;
    }

    .bv-oabms-hero-panel {
        width: 100%;
    }

    .bv-oabms-card,
    .bv-oabms-video-card {
        width: 48.4%;
    }

    .bv-oabms-cover {
        height: 365px;
    }
}

@media (max-width: 760px) {
    .bv-oabms-hero {
        padding: 54px 5% 78px 5%;
    }

    .bv-oabms-hero h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .bv-oabms-hero p {
        font-size: 15px;
    }

    .bv-oabms-toolbar,
    .bv-oabms-results-info,
    .bv-oabms-grid,
    .bv-oabms-empty {
        width: 92%;
    }

    .bv-oabms-toolbar {
        margin-top: -52px;
        padding: 16px;
        border-radius: 22px;
    }

    .bv-oabms-search-box {
        display: block;
    }

    .bv-oabms-search-icon {
        display: none;
    }

    .bv-oabms-search-box input {
        display: block;
        width: 100%;
        padding: 0 8px;
    }

    .bv-oabms-search-box button {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 8px;
    }

    .bv-oabms-tab-label {
        width: 100%;
        justify-content: space-between;
        margin-right: 0;
    }

    .bv-oabms-results-info {
        display: block;
    }

    .bv-oabms-results-info p {
        margin-top: 8px;
    }

    .bv-oabms-card,
    .bv-oabms-video-card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .bv-oabms-cover {
        height: 390px;
        padding: 14px;
    }

    .bv-oabms-card-footer {
        display: block;
    }

    .bv-oabms-video-highlight {
        padding: 48px 4%;
    }

    .bv-oabms-section-heading h2 {
        font-size: 30px;
    }

    .bv-oabms-modal {
        padding: 12px;
    }

    .bv-oabms-modal-box {
        border-radius: 20px;
        padding: 18px;
    }

    .bv-oabms-modal-header h3 {
        font-size: 21px;
    }
}

@media (max-width: 480px) {
    .bv-oabms-cover {
        height: 350px;
    }

    .bv-oabms-card-body h3 {
        font-size: 16px;
    }

    .bv-oabms-card-body p {
        font-size: 13px;
        max-height: none;
    }
}