/* ============================================================================
   VERIFICAR RASTREABILIDADE - Página Pública (Redesign Clean)
   Reusa paleta --ao-* do aprovacao-orcamento.css. Cards sequenciais minimalistas.
   ============================================================================ */

.hidden { display: none !important; }

.vr-main {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ============================================================================
   HERO DO CLIENTE — banner + faixa colorida + logo sobreposta + info empilhada
   Cor primaria do cliente via --vr-cliente-cor (fallback: verde CLAVESP)
   ============================================================================ */
.vr-hero {
    --vr-cliente-cor: var(--ao-primary);
    background: #fff;
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    overflow: hidden;
    box-shadow: var(--ao-shadow);
}

.vr-hero-banner {
    width: 100%;
    aspect-ratio: 1100 / 240;
    min-height: 140px;
    background: linear-gradient(135deg, var(--vr-cliente-cor), color-mix(in srgb, var(--vr-cliente-cor) 70%, #000));
    position: relative;
    overflow: visible;
    border-bottom: 4px solid var(--vr-cliente-cor);
}
.vr-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    display: block;
}
/* Carousel de multiplos banners */
.vr-banner-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    opacity: 0;
    transition: opacity .8s ease;
    z-index: 0;
}
.vr-banner-slide.active { opacity: 1; }
.vr-hero-banner img.hidden { display: none; }

.vr-hero-body {
    padding: 24px 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.vr-hero-logo {
    --vr-logo-size: 96px;
    width: var(--vr-logo-size);
    height: var(--vr-logo-size);
    border-radius: 12px;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Posicionada absoluta dentro do banner — top/left aplicados via JS (em %) */
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%);
}
.vr-hero-logo i {
    font-size: 48px;
    color: var(--vr-cliente-cor);
}
.vr-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.vr-hero-logo.vr-hero-logo-transparente {
    background: transparent;
    border: none;
    box-shadow: none;
}

.vr-hero-info {
    width: 100%;
    padding-top: 4px;
}
.vr-hero-info h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ao-text);
    margin-bottom: 4px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}
.vr-hero-tagline {
    font-size: 15px;
    color: var(--vr-cliente-cor);
    font-style: italic;
    margin-bottom: 8px;
    font-weight: 500;
    line-height: 1.4;
}
.vr-hero-tagline.hidden { display: none; }
.vr-hero-cnpj {
    font-size: 13px;
    color: var(--ao-text-muted);
    font-weight: 500;
    margin-bottom: 14px;
}

.vr-hero-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.vr-hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--ao-border);
    background: #fff;
    color: var(--ao-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all .15s;
}
.vr-hero-link:hover {
    background: var(--vr-cliente-cor);
    color: #fff;
    border-color: var(--vr-cliente-cor);
}
.vr-hero-link i { font-size: 16px; }
.vr-hero-link.icon-only {
    width: 36px;
    height: 36px;
    padding: 0;
}
.vr-hero-link.icon-only i { font-size: 20px; }

@media (max-width: 600px) {
    .vr-hero-body { padding: 0 20px 22px; }
    .vr-hero-info h2 { font-size: 20px; }
    /* Mobile: logo escala proporcional ao banner (aspect-ratio do banner ~ 4.6:1, logo ~13% disso) */
    .vr-hero-logo {
        width: min(var(--vr-logo-size), 18vw) !important;
        height: min(var(--vr-logo-size), 18vw) !important;
        border-width: 3px;
    }
}
@media (max-width: 380px) {
    .vr-hero-logo {
        width: min(var(--vr-logo-size), 56px) !important;
        height: min(var(--vr-logo-size), 56px) !important;
    }
}

/* ============================================================================
   MAP SECTION — card com header + body em 2 colunas (info + iframe)
   ============================================================================ */
.vr-map-section {
    background: #fff;
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    overflow: hidden;
    box-shadow: var(--ao-shadow);
}

.vr-map-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--ao-border);
    background: #fafbfc;
    font-weight: 700;
    font-size: 14px;
    color: var(--ao-text);
}
.vr-map-header i { color: var(--ao-primary); font-size: 20px; }

.vr-prop-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.vr-prop-fields {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.vr-prop-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.vr-prop-row .vr-prop-field { flex: 1; min-width: 160px; }

.vr-prop-field { display: flex; flex-direction: column; gap: 4px; }
.vr-prop-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ao-primary);
}
.vr-prop-value {
    font-size: 14px;
    color: var(--ao-text);
    font-weight: 500;
    line-height: 1.4;
}

.vr-map-wrapper {
    background: #f1f5f4;
    border-left: 1px solid var(--ao-border);
    min-height: 280px;
}
.vr-map-iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: none;
    display: block;
}

/* ============================================================================
   CARD GENERICO (busca, selecao, disambig, resultado)
   ============================================================================ */
.vr-card {
    background: #fff;
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 28px;
    box-shadow: var(--ao-shadow);
}

.vr-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--ao-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.vr-card-icon i { font-size: 28px; color: var(--ao-primary); }

.vr-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--ao-text);
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.vr-subtitle {
    font-size: 14px;
    color: var(--ao-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ============================================================================
   BLOQUEIO (contrato expirado)
   ============================================================================ */
.vr-card-bloqueio {
    border-color: #fecaca;
    background: var(--ao-danger-bg);
}
.vr-bloqueio-inner { text-align: center; padding: 16px 0; }
.vr-bloqueio-icon {
    font-size: 48px;
    color: var(--ao-danger);
    margin-bottom: 12px;
}
.vr-bloqueio-title {
    font-size: 18px;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 8px;
}
.vr-bloqueio-text {
    font-size: 13px;
    color: #7f1d1d;
    line-height: 1.6;
}

/* ============================================================================
   FORM (busca por lote)
   ============================================================================ */
.vr-form { display: flex; flex-direction: column; gap: 14px; }

.vr-input-group { display: flex; flex-direction: column; gap: 6px; }
.vr-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ao-text);
}

.vr-input-wrapper {
    position: relative;
}
.vr-input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
}
.vr-input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid var(--ao-border);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    background: #fafbfc;
    color: var(--ao-text);
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: background-color .2s, border-color .2s;
}
.vr-input-wrapper input:focus {
    outline: none;
    border-color: var(--ao-primary);
    box-shadow: 0 0 0 3px rgba(0,115,73,.1);
    background: #fff;
}
.vr-input-wrapper input::placeholder { color: #94a3b8; text-transform: none; letter-spacing: 0; }

/* Botoes — mesmo estilo dos ao-btn mas mantendo classes vr- */
.vr-btn-primary {
    background: var(--ao-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color .2s;
}
.vr-btn-primary:hover { background: var(--ao-primary-dark); }
.vr-btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.vr-btn-outline, .vr-btn-pdf {
    background: #fff;
    color: var(--ao-text);
    border: 1px solid var(--ao-border);
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color .2s, border-color .2s;
}
.vr-btn-outline:hover, .vr-btn-pdf:hover { background: #f8fafc; border-color: #94a3b8; }

.vr-btn-pdf {
    background: var(--ao-primary);
    color: #fff;
    border-color: var(--ao-primary);
}
.vr-btn-pdf:hover { background: var(--ao-primary-dark); border-color: var(--ao-primary-dark); }

.vr-btn-back-search {
    margin-top: 16px;
}

/* ============================================================================
   ALERTS / LOADING
   ============================================================================ */
.vr-alert {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 4px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.vr-alert i { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.vr-alert strong { display: block; font-size: 14px; margin-bottom: 2px; }
.vr-alert p { font-size: 13px; line-height: 1.5; }

.vr-alert-error {
    background: var(--ao-danger-bg);
    border: 1px solid #fecaca;
    color: #7f1d1d;
}
.vr-alert-error i { color: var(--ao-danger); }

.vr-loading {
    margin-top: 20px;
    padding: 20px;
    text-align: center;
    color: var(--ao-text-muted);
}
.vr-spinner {
    width: 32px;
    height: 32px;
    margin: 0 auto 12px;
    border: 3px solid var(--ao-border);
    border-top-color: var(--ao-primary);
    border-radius: 50%;
    animation: vr-spin .8s linear infinite;
}
@keyframes vr-spin { to { transform: rotate(360deg); } }

/* ============================================================================
   SELECAO / DISAMBIGUACAO (grids de cards clicaveis)
   ============================================================================ */
.vr-selecao-grid, .vr-disambig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.vr-selecao-grid > *, .vr-disambig-grid > * {
    background: #fafbfc;
    border: 1px solid var(--ao-border);
    border-radius: 4px;
    padding: 16px;
    cursor: pointer;
    transition: all .15s;
    text-align: left;
    font-size: 14px;
    color: var(--ao-text);
}
.vr-selecao-grid > *:hover, .vr-disambig-grid > *:hover {
    border-color: var(--ao-primary);
    background: var(--ao-primary-light);
    transform: translateY(-1px);
}

/* ============================================================================
   LISTA DE CERTIFICADOS
   ============================================================================ */
.vr-certificados-section {
    background: #fff;
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 24px 28px;
    box-shadow: var(--ao-shadow);
}
.vr-certificados-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}
.vr-certificados-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ao-text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.vr-certificados-header h3 i { color: var(--ao-primary); font-size: 20px; }
.vr-certificados-count {
    background: var(--ao-primary-light);
    color: var(--ao-primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.vr-certificados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.vr-cert-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fafbfc;
    border: 1px solid var(--ao-border);
    border-radius: 4px;
    cursor: pointer;
    transition: all .15s;
}
.vr-cert-card:hover {
    border-color: var(--ao-primary);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,115,73,.08);
    transform: translateY(-1px);
}

.vr-cert-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--ao-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vr-cert-card-icon i { font-size: 22px; color: var(--ao-primary); }

.vr-cert-card-info { flex: 1; min-width: 0; }
.vr-cert-card-marca {
    font-size: 10px;
    font-weight: 700;
    color: var(--ao-primary);
    letter-spacing: .5px;
    margin-bottom: 2px;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vr-cert-card-marca i { font-size: 11px; }
.vr-cert-card-numero {
    font-size: 14px;
    font-weight: 700;
    color: var(--ao-text);
    margin-bottom: 2px;
}
.vr-cert-card-detalhes {
    font-size: 12px;
    color: var(--ao-text-muted);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.vr-cert-card-detalhes span { display: inline-flex; align-items: center; gap: 4px; }
.vr-cert-card-detalhes i { font-size: 13px; }

.vr-cert-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}
.vr-cert-card-data {
    font-size: 12px;
    color: var(--ao-text-muted);
    font-weight: 600;
}
.vr-cert-status {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.vr-cert-status.classificado { background: var(--ao-success-bg); color: #166534; }
.vr-cert-status.desclassificado { background: var(--ao-danger-bg); color: #991b1b; }

/* Paginação */
.vr-paginacao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 0 4px;
    margin-top: 16px;
    border-top: 1px solid var(--ao-border);
}
.vr-paginacao.hidden { display: none; }

.vr-pag-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--ao-border);
    background: #fff;
    color: var(--ao-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}
.vr-pag-btn i { font-size: 20px; }
.vr-pag-btn:hover:not(:disabled) {
    background: var(--ao-primary);
    color: #fff;
    border-color: var(--ao-primary);
}
.vr-pag-btn:disabled { opacity: .4; cursor: not-allowed; }

.vr-pag-info {
    font-size: 13px;
    color: var(--ao-text-muted);
    font-weight: 500;
    min-width: 220px;
    text-align: center;
}

.vr-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--ao-text-muted);
}
.vr-empty-state i { font-size: 48px; color: #cbd5e1; margin-bottom: 12px; }
.vr-empty-state p { font-size: 14px; margin-bottom: 6px; }
.vr-empty-hint { font-size: 12px; color: #94a3b8; }

/* ============================================================================
   RESULTADO (detalhe do certificado)
   ============================================================================ */
.vr-card-result { padding: 0; overflow: hidden; }

.vr-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: var(--ao-success-bg);
    border-bottom: 1px solid #bbf7d0;
    flex-wrap: wrap;
    gap: 12px;
}
.vr-result-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #166534;
    font-weight: 700;
    font-size: 14px;
}
.vr-result-badge i { font-size: 20px; }
.vr-result-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.vr-result-body { padding: 24px; }

.vr-section { margin-bottom: 24px; }
.vr-section:last-child { margin-bottom: 0; }

.vr-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--ao-border);
    font-weight: 700;
    font-size: 14px;
    color: var(--ao-text);
}
.vr-section-title i { font-size: 18px; color: var(--ao-primary); }

.vr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px 20px;
}
.vr-field { display: flex; flex-direction: column; gap: 3px; }
.vr-field-wide { grid-column: span 2; }
.vr-field-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ao-text-muted);
}
.vr-field-value {
    font-size: 14px;
    color: var(--ao-text);
    font-weight: 500;
    line-height: 1.4;
    word-break: break-word;
}

/* Notas Fiscais — mesmo padrao das outras secoes (Dados do Certificado, etc) */
.vr-nf-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.vr-nf-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--ao-primary-light);
    border: 1px solid color-mix(in srgb, var(--ao-primary) 25%, transparent);
    color: var(--ao-primary);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'SFMono-Regular', Consolas, monospace;
    letter-spacing: .3px;
}
.vr-nf-badge i { font-size: 15px; opacity: 0.85; }

/* Variant: NFs historicas (sistema antigo) — visual mais discreto pra distinguir */
.vr-section-nf-hist .vr-section-title {
    color: var(--ao-text-muted);
}
.vr-section-nf-hist .vr-section-title i {
    color: var(--ao-text-muted);
}
.vr-hist-hint {
    font-size: 12px;
    color: var(--ao-text-muted);
    margin: -4px 0 12px;
    line-height: 1.5;
    font-style: italic;
}
.vr-nf-badge-hist {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}
.vr-nf-badge-hist i { color: #64748b; }

.vr-subsection {
    margin-top: 16px;
    padding: 14px 16px;
    background: #fafbfc;
    border: 1px solid var(--ao-border);
    border-radius: 4px;
}
.vr-subsection-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--ao-text);
    margin-bottom: 10px;
}
.vr-subsection-title i { color: var(--ao-primary); font-size: 16px; }

/* Classificação */
.vr-classificacao {
    background: #fafbfc;
    border: 1px solid var(--ao-border);
    border-radius: 4px;
    padding: 16px;
}

/* Cadeia produtiva (timeline) */
.vr-cadeia-timeline {
    position: relative;
    padding-left: 8px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.vr-cadeia-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--ao-border);
}
.vr-cadeia-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    position: relative;
}
.vr-cadeia-marker {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--ao-primary);
    background: var(--ao-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}
.vr-cadeia-marker i { font-size: 18px; }
.vr-cadeia-content {
    flex: 1;
    background: #fff;
    border: 1px solid var(--ao-border);
    border-radius: 4px;
    padding: 12px 16px;
}
.vr-cadeia-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}
.vr-cadeia-header strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--ao-text);
}
.vr-cadeia-date {
    font-size: 11px;
    color: var(--ao-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.vr-cadeia-date i { font-size: 13px; }
.vr-cadeia-desc {
    font-size: 13px;
    color: var(--ao-text-muted);
    line-height: 1.5;
    margin-bottom: 6px;
}
.vr-cadeia-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--ao-text-muted);
    margin-top: 6px;
}
.vr-cadeia-meta span { display: inline-flex; align-items: center; gap: 4px; }
.vr-cadeia-meta i { color: var(--ao-primary); font-size: 13px; }
.vr-cadeia-fotos {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.vr-cadeia-foto-thumb {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--ao-border);
    transition: transform .15s;
}
.vr-cadeia-foto-thumb:hover { transform: scale(1.05); }

/* ============================================================================
   DISAMBIGUACAO (cards de selecao multipla)
   ============================================================================ */
.vr-disambig-card, .vr-selecao-card {
    background: #fff;
    border: 1px solid var(--ao-border);
    border-radius: 4px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all .15s;
    display: flex;
    align-items: center;
    gap: 12px;
}
.vr-disambig-card:hover, .vr-selecao-card:hover {
    border-color: var(--ao-primary);
    background: var(--ao-primary-light);
    transform: translateY(-1px);
}

.vr-disambig-card-top, .vr-selecao-card-left {
    flex: 1;
    min-width: 0;
}
.vr-disambig-marca, .vr-disambig-produto, .vr-disambig-meta {
    display: block;
    font-size: 13px;
    color: var(--ao-text);
    line-height: 1.4;
}
.vr-disambig-marca {
    font-weight: 700;
    font-size: 11px;
    color: var(--ao-primary);
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-bottom: 2px;
}
.vr-disambig-produto { font-weight: 600; margin-bottom: 2px; }
.vr-disambig-meta { font-size: 12px; color: var(--ao-text-muted); }

.vr-selecao-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--ao-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vr-selecao-icon i { font-size: 20px; color: var(--ao-primary); }

.vr-selecao-info { flex: 1; min-width: 0; }
.vr-selecao-produto {
    font-size: 14px;
    font-weight: 600;
    color: var(--ao-text);
    margin-bottom: 2px;
}
.vr-selecao-tipo {
    font-size: 12px;
    color: var(--ao-text-muted);
}
.vr-selecao-count, .vr-selecao-count-inline {
    background: var(--ao-primary-light);
    color: var(--ao-primary);
    padding: 3px 9px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}
.vr-selecao-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ============================================================================
   INDICES DA CLASSIFICACAO
   ============================================================================ */
.vr-classificacao { display: flex; flex-direction: column; gap: 8px; }
.vr-indice-row, .vr-classificacao > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--ao-border);
    border-radius: 4px;
    font-size: 13px;
}
.vr-indice-nome {
    color: var(--ao-text-muted);
    font-weight: 500;
}
.vr-indice-valor {
    font-weight: 700;
    color: var(--ao-text);
}

/* Botao Ver PDF grande no fim do resultado */
.vr-result-pdf-cta {
    padding: 0 24px 20px;
    display: flex;
    justify-content: center;
}
.vr-btn-pdf-large {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    max-width: 360px;
    justify-content: center;
}
.vr-btn-pdf-large i { font-size: 20px; }

/* Nota legal */
.vr-legal {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 24px;
    background: #fafbfc;
    border-top: 1px solid var(--ao-border);
    font-size: 12px;
    color: var(--ao-text-muted);
    line-height: 1.5;
}
.vr-legal i { font-size: 16px; color: var(--ao-primary); flex-shrink: 0; margin-top: 1px; }

/* ============================================================================
   RESPONSIVO
   ============================================================================ */
@media (max-width: 768px) {
    .vr-main { padding: 20px 16px; gap: 16px; }
    .vr-prop-body { grid-template-columns: 1fr; }
    .vr-map-wrapper { border-left: none; border-top: 1px solid var(--ao-border); }
    .vr-result-header { flex-direction: column; align-items: flex-start; }
    .vr-result-actions { width: 100%; }
    .vr-result-actions button { flex: 1; justify-content: center; }
    .vr-card { padding: 22px 20px; }
    .vr-client-branding { padding: 20px; flex-direction: column; align-items: flex-start; text-align: left; }
    .vr-field-wide { grid-column: span 1; }
}

@media (max-width: 480px) {
    .vr-main { padding: 16px 12px; }
    .vr-card { padding: 20px 16px; }
    .vr-grid { grid-template-columns: 1fr; }
    .vr-cert-card-detalhes { font-size: 11px; }
}
