.bv-page {
    max-width: 100%;
    color: var(--ae-text-dark);
    background: var(--ae-bg-white);
}

.bv-breadcrumbs {
    padding: 1rem 0;
    font-size: 0.875rem;
}

.bv-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bv-breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.5rem;
    color: #98a2ad;
}

.bv-breadcrumbs a {
    color: var(--ae-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.bv-breadcrumbs [aria-current="page"] {
    color: var(--ae-text-muted);
}

.bv-hero {
    position: relative;
    overflow: hidden;
    padding: 4.75rem 0 4.25rem;
    background:
        radial-gradient(circle at 82% 18%, rgba(52, 152, 219, 0.2), transparent 28rem),
        linear-gradient(135deg, #f7fbff 0%, #e6f0f8 56%, #d7e7f4 100%);
}

.bv-hero::after {
    position: absolute;
    right: -8rem;
    bottom: -11rem;
    width: 30rem;
    height: 30rem;
    border: 1px solid rgba(44, 62, 80, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 3.5rem rgba(255, 255, 255, 0.12), 0 0 0 7rem rgba(255, 255, 255, 0.08);
    content: "";
    pointer-events: none;
}

.bv-hero .container {
    position: relative;
    z-index: 1;
}

.bv-eyebrow,
.bv-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #24678f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bv-hero h1 {
    max-width: 760px;
    margin: 0.8rem 0 1.1rem;
    color: var(--ae-primary-dark);
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.bv-hero-lead {
    max-width: 760px;
    margin-bottom: 1.75rem;
    color: #44566a;
    font-size: 1.12rem;
    line-height: 1.72;
}

.bv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bv-hero-actions .btn,
.bv-final-cta-card .btn {
    min-height: 50px;
    padding-right: 1.55rem;
    padding-left: 1.55rem;
    font-weight: 700;
}

.bv-hero-note {
    margin: 1rem 0 0;
    color: #526579;
    font-size: 0.88rem;
}

.bv-hero-note i {
    color: var(--ae-success);
}

.bv-hero-logo-wrap,
.bv-hero-mark {
    display: flex;
    width: 240px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
}

/* Compatibilidade com uma instância Debug que ainda tenha o Razor anterior compilado. */
.bv-hero-mark small {
    display: none;
}

.bv-hero-logo {
    display: block;
    width: 180px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(44, 62, 80, 0.18));
}

.bv-hero-logo--wide {
    width: 230px;
}

.bv-section {
    padding: 4.5rem 0;
}

.bv-section-soft {
    background: #f6f8fa;
}

.bv-section-heading {
    max-width: 790px;
    margin-bottom: 2rem;
}

.bv-section-heading h2,
.bv-final-cta-card h2 {
    margin: 0.5rem 0 0.75rem;
    color: var(--ae-primary-dark);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 750;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.bv-section-heading p,
.bv-final-cta-card p {
    margin: 0;
    color: #5b6877;
    line-height: 1.68;
}

.bv-kpi-grid {
    align-items: stretch;
}

.bv-kpi-card {
    display: flex;
    min-height: 128px;
    height: 100%;
    padding: 1.25rem 1rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #e2e8ee;
    border-radius: var(--ae-radius-sm);
    background: #fff;
    box-shadow: 0 6px 24px rgba(26, 37, 47, 0.055);
    text-align: center;
}

.bv-kpi-value {
    color: #24678f;
    font-size: clamp(1.32rem, 2.3vw, 1.72rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.12;
}

.bv-kpi-range,
.bv-kpi-date {
    font-size: clamp(1rem, 1.7vw, 1.32rem);
}

.bv-kpi-label {
    margin-top: 0.55rem;
    color: #667382;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.bv-method-note,
.bv-disclaimer {
    margin: 0.35rem 0 0;
    color: #657281;
    font-size: 0.83rem;
    line-height: 1.58;
}

.bv-state {
    display: flex;
    max-width: 820px;
    padding: 1.25rem 1.4rem;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid #d8e2ea;
    border-radius: var(--ae-radius-sm);
    background: #fff;
    color: #415466;
}

.bv-state i {
    margin-top: 0.18rem;
    color: #327ca8;
    font-size: 1.25rem;
}

.bv-state p {
    margin: 0.25rem 0 0;
}

.bv-state-error {
    border-color: #ecc7c7;
    background: #fff8f8;
}

.bv-state-error i {
    color: #ba4545;
}

.bv-chart-card {
    position: relative;
    min-height: 435px;
    overflow: hidden;
    border: 1px solid #dfe6ec;
    border-radius: var(--ae-radius);
    background: #fff;
    box-shadow: 0 12px 38px rgba(26, 37, 47, 0.08);
}

.bv-chart-content {
    padding: 1rem 1.25rem 1.15rem;
    transition: opacity 0.16s ease;
}

[data-chart-state="loading"] .bv-chart-content {
    opacity: 0.22;
}

.bv-chart-loading {
    display: none;
    position: absolute;
    z-index: 3;
    inset: 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.75);
}

[data-chart-state="loading"] .bv-chart-loading {
    display: block;
}

.bv-skeleton-line,
.bv-skeleton-chart {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #e9eef2;
}

.bv-skeleton-line {
    width: 42%;
    height: 20px;
    margin-bottom: 1.4rem;
}

.bv-skeleton-chart {
    width: 100%;
    height: 325px;
}

.bv-skeleton-line::after,
.bv-skeleton-chart::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent);
    content: "";
    transform: translateX(-100%);
    animation: bv-skeleton 1.2s ease-in-out infinite;
}

@keyframes bv-skeleton {
    to { transform: translateX(100%); }
}

.bv-chart-scroll {
    overflow-x: auto;
    outline: none;
    scrollbar-color: #a7b5c1 #edf1f4;
    scrollbar-width: thin;
}

.bv-chart-scroll:focus-visible {
    border-radius: 6px;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.24);
}

.bv-chart {
    display: block;
    min-width: 720px;
    width: 100%;
    height: auto;
    color: var(--ae-text-dark);
}

.bv-chart-gridline {
    stroke: #e8edf1;
    stroke-width: 1;
}

.bv-chart-y-label,
.bv-chart-x-label,
.bv-chart-km-label {
    fill: #637181;
    font-family: inherit;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.bv-chart-area {
    pointer-events: none;
}

.bv-chart-km-label {
    fill: #83909d;
    font-size: 10px;
}

.bv-chart-line {
    fill: none;
    stroke: #2c7fac;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.bv-chart-point-halo {
    fill: rgba(52, 152, 219, 0.18);
    stroke: transparent;
}

.bv-chart-point-dot {
    fill: #fff;
    stroke: #276f98;
    stroke-width: 3;
}

.bv-chart-point {
    cursor: default;
    outline: none;
}

.bv-chart-point:hover .bv-chart-point-halo,
.bv-chart-point:focus .bv-chart-point-halo {
    fill: rgba(39, 111, 152, 0.28);
    stroke: #276f98;
    stroke-width: 2;
}

.bv-chart-point:focus .bv-chart-point-dot {
    fill: #276f98;
    stroke: #fff;
}

.bv-chart-meta {
    display: flex;
    padding: 0.65rem 0.5rem 0;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    color: #657281;
    font-size: 0.8rem;
}

.bv-chart-meta i {
    margin-right: 0.25rem;
    color: #327ca8;
}

.bv-chart-table-wrap {
    margin-top: 2rem;
}

.bv-chart-table-wrap h3 {
    margin-bottom: 0.9rem;
    color: var(--ae-primary-dark);
    font-size: 1.08rem;
    font-weight: 700;
}

.bv-data-table {
    margin-bottom: 0;
    background: #fff;
    color: #354454;
    font-variant-numeric: tabular-nums;
}

.bv-data-table caption {
    padding: 0 0 0.75rem;
    color: #657281;
    caption-side: top;
    font-size: 0.82rem;
}

.bv-data-table thead th {
    border-top: 0;
    border-bottom: 2px solid #cad6df;
    color: #46586a;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bv-data-table td,
.bv-data-table tbody th {
    border-color: #e5eaee;
    vertical-align: middle;
    white-space: nowrap;
}

.bv-model-table-wrap {
    border: 1px solid #e0e6eb;
    border-radius: var(--ae-radius-sm);
    box-shadow: 0 6px 25px rgba(26, 37, 47, 0.05);
}

.bv-model-table caption {
    padding: 1rem 1rem 0.65rem;
}

.bv-model-table thead th:first-child,
.bv-model-table tbody th:first-child {
    padding-left: 1rem;
}

.bv-table-link {
    color: #246f9a;
    font-weight: 700;
    text-decoration: none;
}

.bv-table-link:hover,
.bv-table-link:focus {
    color: var(--ae-primary-dark);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.bv-factor-card {
    height: 100%;
    padding: 1.35rem 1.4rem;
    border: 1px solid #e0e6eb;
    border-radius: var(--ae-radius-sm);
    background: #fff;
}

.bv-factor-card h3 {
    margin: 0 0 0.55rem;
    color: var(--ae-primary-dark);
    font-size: 1.03rem;
    font-weight: 700;
}

.bv-factor-card p {
    margin: 0;
    color: #5b6877;
    font-size: 0.92rem;
    line-height: 1.65;
}

.bv-narrow {
    max-width: 860px;
}

.bv-narrow .bv-section-heading {
    margin-right: auto;
    margin-left: auto;
}

.bv-faq-list {
    border-top: 1px solid #dfe6eb;
}

.bv-faq-item {
    border-bottom: 1px solid #dfe6eb;
}

.bv-faq-item summary {
    position: relative;
    padding: 1.25rem 2.5rem 1.25rem 0;
    color: var(--ae-primary-dark);
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 700;
    list-style: none;
}

.bv-faq-item summary::-webkit-details-marker {
    display: none;
}

.bv-faq-item summary::after {
    position: absolute;
    top: 1.05rem;
    right: 0.2rem;
    color: #317aa4;
    content: "+";
    font-size: 1.6rem;
    font-weight: 400;
}

.bv-faq-item[open] summary::after {
    content: "−";
}

.bv-faq-item summary:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(52, 152, 219, 0.3);
    outline-offset: 3px;
}

.bv-faq-item p {
    max-width: 760px;
    margin: -0.25rem 0 1.3rem;
    color: #526171;
    line-height: 1.7;
}

.bv-final-cta {
    padding: 1rem 0 4.75rem;
    background: #fff;
}

.bv-final-cta-card {
    display: flex;
    padding: 2.25rem 2.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid rgba(44, 62, 80, 0.12);
    border-radius: var(--ae-radius);
    background:
        radial-gradient(circle at 88% 16%, rgba(52, 152, 219, 0.18), transparent 18rem),
        linear-gradient(135deg, #f7fbff 0%, #e6f0f8 56%, #d7e7f4 100%);
    box-shadow: 0 18px 46px rgba(44, 62, 80, 0.12);
}

.bv-final-cta-card .bv-kicker {
    color: #24678f;
}

.bv-final-cta-card h2 {
    color: var(--ae-primary-dark);
}

.bv-final-cta-card p {
    max-width: 740px;
    color: #44566a;
}

.bv-final-cta-card .btn {
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .bv-hero {
        padding: 3.75rem 0 3.5rem;
    }

    .bv-section {
        padding: 3.75rem 0;
    }

    .bv-final-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .bv-breadcrumbs {
        padding: 0.8rem 0;
    }

    .bv-hero {
        padding: 3rem 0 2.8rem;
    }

    .bv-hero-lead {
        font-size: 1rem;
    }

    .bv-hero-actions {
        flex-direction: column;
    }

    .bv-hero-actions .btn {
        width: 100%;
    }

    .bv-section {
        padding: 3.15rem 0;
    }

    .bv-kpi-card {
        min-height: 112px;
    }

    .bv-chart-card {
        min-height: 365px;
        margin-right: -15px;
        margin-left: -15px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .bv-chart-content {
        padding: 0.6rem 0.75rem 1rem;
    }

    .bv-chart-meta {
        flex-direction: column;
    }

    .bv-final-cta-card {
        padding: 1.75rem 1.5rem;
    }

    .bv-final-cta-card .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bv-chart-content,
    .bv-skeleton-line::after,
    .bv-skeleton-chart::after {
        transition: none;
        animation: none;
    }
}
