* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --verde: #18794e;
    --verde-escuro: #11663f;
    --verde-claro: #e9f7f0;
    --texto: #172033;
    --texto-suave: #6b7585;
    --borda: #e4e9f0;
    --fundo: #f6f8fb;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--fundo);
    color: var(--texto);
    min-height: 100vh;
}

.topo {
    height: 76px;
    background: #fff;
    border-bottom: 1px solid #e8edf3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
}

.marca { display: flex; align-items: center; gap: 12px; }
.marca-icone {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--verde); color: #fff; font-weight: 700; font-size: 20px;
}
.marca-nome { font-size: 17px; font-weight: 700; }
.marca-subtitulo { margin-top: 2px; color: #8a94a6; font-size: 12px; }
.status-servidor { color: #5f6b7a; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.status-bolinha { width: 8px; height: 8px; border-radius: 50%; background: #22a06b; }

.pagina { width: 92%; max-width: 1050px; margin: 0 auto; padding: 55px 0 40px; }
.hero { text-align: center; margin-bottom: 32px; }
.badge, .mini-badge {
    display: inline-block; padding: 7px 12px; border-radius: 20px;
    background: var(--verde-claro); color: var(--verde); font-size: 11px;
    font-weight: 700; letter-spacing: 1px;
}
.badge { margin-bottom: 17px; }
.hero h1 { font-size: 42px; line-height: 1.15; letter-spacing: -1px; margin-bottom: 14px; }
.hero h1 span { color: var(--verde); }
.hero p { max-width: 650px; margin: auto; color: var(--texto-suave); line-height: 1.6; font-size: 16px; }

.painel {
    background: #fff; border: 1px solid var(--borda); border-radius: 18px;
    padding: 32px; box-shadow: 0 12px 35px rgba(20, 34, 50, 0.07);
}

.area-upload {
    border: 2px dashed #c8d0db; border-radius: 14px; padding: 42px 20px;
    text-align: center; background: #fbfcfd; transition: .2s;
}
.area-upload.arrastando { border-color: var(--verde); background: #f1faf5; }
.icone-upload {
    width: 55px; height: 55px; border-radius: 14px; background: var(--verde-claro);
    color: var(--verde); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px; font-size: 30px; font-weight: 700;
}
.area-upload h2 { font-size: 20px; margin-bottom: 8px; }
.ou { color: #7c8798; font-size: 14px; margin-bottom: 20px; }
input[type="file"] { display: none; }
.botao-selecionar {
    display: inline-block; background: var(--texto); color: #fff; padding: 12px 22px;
    border-radius: 9px; cursor: pointer; font-size: 14px; font-weight: 700; transition: .2s;
}
.botao-selecionar:hover { transform: translateY(-1px); }
.limite { margin-top: 16px; color: #a0a8b5; font-size: 11px; }

.arquivo-card {
    margin-top: 18px; padding: 15px; border: 1px solid #dfe5ec; border-radius: 12px;
    display: flex; justify-content: space-between; align-items: center; background: #fafcfd;
}
.arquivo-info { display: flex; align-items: center; gap: 13px; min-width: 0; }
.pdf-icone {
    width: 45px; height: 45px; border-radius: 9px; display: flex; align-items: center;
    justify-content: center; background: #fff0f0; color: #c93737; font-size: 11px; font-weight: 800;
}
.arquivo-dados { display: flex; flex-direction: column; text-align: left; gap: 4px; min-width: 0; }
.arquivo-dados strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arquivo-dados span { color: #8791a1; font-size: 12px; }
.botao-remover { border: none; background: transparent; color: #7f8998; font-size: 25px; cursor: pointer; padding: 5px 10px; }

.botao-principal, .botao-converter {
    width: 100%; border: none; border-radius: 10px; padding: 15px; margin-top: 24px;
    background: var(--verde); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: .2s;
}
.botao-principal:hover:not(:disabled), .botao-converter:hover:not(:disabled) { background: var(--verde-escuro); transform: translateY(-1px); }
.botao-principal:disabled, .botao-converter:disabled { background: #bdc5cf; cursor: not-allowed; }

.status { margin-top: 18px; padding: 14px; border-radius: 9px; font-size: 13px; }
.status.processando { background: #eef5ff; color: #2d62a8; }
.status.erro { background: #fff0f0; color: #b42318; }

.analise { margin-top: 28px; border-top: 1px solid #edf0f4; padding-top: 28px; }
.analise-cabecalho { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.analise-cabecalho h2 { font-size: 22px; margin-top: 9px; }
.check-grande {
    flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: var(--verde);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}

.metricas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.metrica { border: 1px solid var(--borda); border-radius: 12px; padding: 17px; background: #fbfcfd; }
.metrica span { display: block; color: #7c8798; font-size: 11px; margin-bottom: 7px; }
.metrica strong { font-size: 25px; }

.preview-cabecalho { display: flex; justify-content: space-between; align-items: end; margin-bottom: 13px; }
.preview-cabecalho h3 { font-size: 17px; margin-bottom: 4px; }
.preview-cabecalho p { color: #7c8798; font-size: 12px; }
.preview-lista { display: grid; gap: 14px; }
.preview-card { border: 1px solid var(--borda); border-radius: 12px; overflow: hidden; background: #fff; }
.preview-card-topo { padding: 13px 15px; background: #fafcfd; border-bottom: 1px solid var(--borda); }
.preview-card-topo div { display: flex; flex-direction: column; gap: 4px; }
.preview-card-topo strong { font-size: 13px; }
.preview-card-topo span { color: #7c8798; font-size: 11px; }
.tabela-scroll { overflow-x: auto; max-height: 310px; overflow-y: auto; }
.tabela-scroll table { border-collapse: collapse; min-width: 100%; font-size: 12px; }
.tabela-scroll th, .tabela-scroll td {
    border-right: 1px solid #edf0f4; border-bottom: 1px solid #edf0f4;
    padding: 9px 11px; text-align: left; vertical-align: top; white-space: pre-wrap; min-width: 110px;
}
.tabela-scroll th { background: #f1faf5; color: #244435; font-weight: 700; position: sticky; top: 0; z-index: 1; }
.aviso-preview { margin-top: 10px; color: #7c8798; font-size: 11px; }

.opcoes { margin-top: 28px; border-top: 1px solid #edf0f4; padding-top: 24px; }
.opcoes-titulo { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.opcao { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border-radius: 10px; cursor: pointer; }
.opcao:hover { background: #f7f9fb; }
.opcao input { margin-top: 3px; accent-color: var(--verde); }
.opcao div { display: flex; flex-direction: column; gap: 4px; }
.opcao strong { font-size: 14px; }
.opcao span { color: #808b9b; font-size: 12px; }

.resultado {
    margin-top: 18px; padding: 16px; background: #effaf4; border: 1px solid #caead9;
    border-radius: 10px; display: flex; align-items: center; gap: 13px; text-align: left;
}
.resultado-check {
    width: 36px; height: 36px; border-radius: 50%; background: var(--verde); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.resultado div:last-child { display: flex; flex-direction: column; gap: 3px; }
.resultado span { color: #657268; font-size: 12px; }

.beneficios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 25px; }
.beneficios div { text-align: center; padding: 15px; }
.beneficios strong { display: block; font-size: 13px; margin-bottom: 5px; }
.beneficios span { color: #8993a2; font-size: 11px; }
footer { text-align: center; padding: 20px; color: #9ba4b2; font-size: 11px; }
.escondido { display: none !important; }

@media (max-width: 780px) {
    .metricas { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 650px) {
    .topo { padding: 0 20px; }
    .status-servidor { display: none; }
    .pagina { padding-top: 35px; }
    .hero h1 { font-size: 32px; }
    .painel { padding: 20px; }
    .beneficios { grid-template-columns: 1fr; }
    .analise-cabecalho { align-items: center; }
}


.link-sair {
    margin-left: 10px;
    color: #18794e;
    text-decoration: none;
    font-weight: 700;
}

.link-sair:hover {
    text-decoration: underline;
}

/* ===== V4: OCR de imagem / confiança ===== */
.img-icone { background:#eef5ff !important; color:#2d62a8 !important; }
.resumo-ocr { margin-bottom: 22px; }
.legenda-confianca { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 16px; }
.conf { display:inline-flex; align-items:center; justify-content:center; padding:4px 9px; border-radius:999px; font-size:11px; font-weight:800; white-space:nowrap; }
.conf-alta { background:#e9f7f0; color:#11663f; }
.conf-media { background:#fff7db; color:#8a6500; }
.conf-baixa { background:#fff0f0; color:#b42318; }
.destaque-chip { display:inline-flex; align-items:center; padding:4px 9px; border-radius:999px; font-size:11px; font-weight:700; background:#c8ff9e; color:#205b12; }
.tabela-ocr-wrap { max-height:520px; border:1px solid #e4e9f0; border-radius:12px; }
.tabela-ocr { width:100%; border-collapse:collapse; font-size:12px; }
.tabela-ocr th { position:sticky; top:0; z-index:2; background:#f4f7fa; color:#172033; text-align:left; padding:10px; border-bottom:1px solid #dfe5ec; }
.tabela-ocr td { padding:9px 10px; border-bottom:1px solid #edf0f4; vertical-align:top; }
.tabela-ocr tr.linha-revisar td { background:#fffaf0; }
.tabela-ocr tr.linha-destacada td:nth-child(2) { background:#d9ffb8; font-weight:800; }
.tabela-ocr td:nth-child(2) { font-family:Consolas, "Courier New", monospace; font-weight:700; }
@media (max-width:650px) {
  .tabela-ocr { min-width:780px; }
  .legenda-confianca { align-items:flex-start; }
}

/* =========================================================
   RESUMO / MÉTRICAS V4
   ========================================================= */
.resumo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.resumo-grid > div {
    background: #fbfcfd;
    border: 1px solid var(--borda);
    border-radius: 12px;
    padding: 17px;
    text-align: center;
}

.resumo-grid span {
    display: block;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--texto);
}

.resumo-grid small {
    display: block;
    margin-top: 6px;
    color: #7c8798;
    font-size: 11px;
}

.secao-titulo {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin: 22px 0 13px;
}

.secao-titulo h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.secao-titulo p {
    color: #7c8798;
    font-size: 12px;
    line-height: 1.5;
}

/* =========================================================
   TICKER - CJ ENGENHARIA DIGITAL
   ========================================================= */
.ticker-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 36px;
    overflow: hidden;
    background: #111827;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 14px rgba(15, 23, 42, 0.12);
    z-index: 9999;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    min-width: max-content;
    white-space: nowrap;
    will-change: transform;
    animation: ticker-scroll 22s linear infinite;
}

.ticker-track span {
    display: inline-block;
    padding-right: 100px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-33.333333%); }
}

/* Evita que o ticker cubra o final da página. */
body {
    padding-bottom: 36px;
}

/* Pausa o movimento para quem prefere menos animação. */
@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
}

@media (max-width: 780px) {
    .resumo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .secao-titulo {
        align-items: flex-start;
    }

    .ticker-track span {
        font-size: 11px;
        padding-right: 70px;
    }
}

/* =========================================================
   V4.1 - REVISÃO MANUAL DOS CÓDIGOS OCR
   ========================================================= */
.editado-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: #ddeBff;
    color: #24569a;
}

.celula-codigo-editavel {
    min-width: 190px !important;
}

.codigo-editavel {
    width: 100%;
    min-width: 165px;
    border: 1px solid transparent;
    border-radius: 7px;
    padding: 7px 8px;
    background: transparent;
    color: #172033;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    font-weight: 700;
    outline: none;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.codigo-editavel:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.codigo-editavel:focus {
    border-color: #2d62a8;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(45, 98, 168, .12);
}

.tabela-ocr tr.linha-editada td {
    box-shadow: inset 0 1px 0 rgba(45, 98, 168, .08), inset 0 -1px 0 rgba(45, 98, 168, .08);
}

.tabela-ocr tr.linha-editada .celula-codigo-editavel {
    background: #eef5ff !important;
}

.tabela-ocr tr.linha-editada .status-editado {
    color: #24569a;
    font-weight: 800;
}

/* Destaque verde continua tendo prioridade visual sobre o azul da edição. */
.tabela-ocr tr.linha-destacada .celula-codigo-editavel {
    background: #d9ffb8 !important;
}

.tabela-ocr tr.linha-destacada .codigo-editavel {
    background: transparent;
}

@media (max-width: 650px) {
    .tabela-ocr { min-width: 1050px; }
}



/* =========================================================
   V4.2 - IMAGEM ORIGINAL AO LADO DA REVISÃO OCR
   ========================================================= */
.pagina {
    max-width: 1500px;
}

.ocr-revisao-layout {
    display: grid;
    grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.45fr);
    gap: 18px;
    align-items: start;
    margin-top: 4px;
}

.ocr-imagem-card,
.ocr-tabela-coluna {
    min-width: 0;
}

.ocr-imagem-card {
    position: sticky;
    top: 18px;
    border: 1px solid var(--borda);
    border-radius: 12px;
    background: #fbfcfd;
    overflow: hidden;
}

.ocr-painel-titulo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 14px;
    border-bottom: 1px solid var(--borda);
    background: #ffffff;
}

.ocr-painel-titulo > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ocr-painel-titulo strong {
    font-size: 13px;
    color: var(--texto);
}

.ocr-painel-titulo span:not(.imagem-chip) {
    color: #7c8798;
    font-size: 11px;
    line-height: 1.45;
}

.imagem-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef5ff;
    color: #24569a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
}

.imagem-preview-scroll {
    max-height: 68vh;
    overflow: auto;
    background:
        linear-gradient(45deg, #f3f5f7 25%, transparent 25%),
        linear-gradient(-45deg, #f3f5f7 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f3f5f7 75%),
        linear-gradient(-45deg, transparent 75%, #f3f5f7 75%);
    background-size: 18px 18px;
    background-position: 0 0, 0 9px, 9px -9px, -9px 0px;
    padding: 10px;
}

.imagem-stage {
    position: relative;
    width: 100%;
    line-height: 0;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, .10);
}

.imagem-stage img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

.ocr-highlight {
    position: absolute;
    pointer-events: none;
    border: 3px solid #2563eb;
    border-radius: 5px;
    background: rgba(37, 99, 235, .12);
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, .86),
        0 0 0 4px rgba(37, 99, 235, .28);
    z-index: 4;
    transition:
        left .16s ease,
        top .16s ease,
        width .16s ease,
        height .16s ease;
}

.imagem-selecao-info {
    min-height: 42px;
    padding: 11px 14px;
    border-top: 1px solid var(--borda);
    background: #ffffff;
    color: #5f6b7a;
    font-size: 11px;
    line-height: 1.5;
}

.ocr-tabela-coluna .tabela-ocr-wrap {
    max-height: 68vh;
    margin: 0;
}

.tabela-ocr tbody tr {
    cursor: pointer;
}

.tabela-ocr tbody tr:hover td {
    box-shadow: inset 0 1px 0 rgba(37, 99, 235, .08),
                inset 0 -1px 0 rgba(37, 99, 235, .08);
}

.tabela-ocr tr.linha-ativa td {
    outline: none;
    box-shadow:
        inset 3px 0 0 #2563eb,
        inset 0 1px 0 rgba(37, 99, 235, .13),
        inset 0 -1px 0 rgba(37, 99, 235, .13);
}

.tabela-ocr tr.linha-ativa .celula-codigo-editavel {
    background: #eef5ff !important;
}

@media (max-width: 1050px) {
    .ocr-revisao-layout {
        grid-template-columns: 1fr;
    }

    .ocr-imagem-card {
        position: static;
    }

    .imagem-preview-scroll {
        max-height: 58vh;
    }

    .ocr-tabela-coluna .tabela-ocr-wrap {
        max-height: 58vh;
    }
}


/* =========================================================
   V4.3 - REMOVER / DESFAZER LINHAS OCR
   ========================================================= */
.resumo-ocr {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.metrica-exportar {
    border-color: #b8dec9 !important;
    background: #f3fbf6 !important;
}

.metrica-exportar span {
    color: #11663f !important;
}

.metrica-removidos {
    border-color: #d9dee6 !important;
    background: #f7f8fa !important;
}

.metrica-removidos span {
    color: #687386 !important;
}

.removido-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: #eef0f3;
    color: #5f6876;
}

.celula-acao {
    position: sticky;
    right: 0;
    z-index: 1;
    min-width: 92px;
    background: #ffffff;
    border-left: 1px solid #edf0f4;
}

.tabela-ocr th:last-child {
    position: sticky;
    right: 0;
    z-index: 4;
    min-width: 92px;
    background: #f4f7fa;
    border-left: 1px solid #dfe5ec;
}

.botao-linha {
    border: 0;
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: .18s ease;
}

.botao-remover-linha {
    background: #fff0f0;
    color: #b42318;
}

.botao-remover-linha:hover {
    background: #ffe2e2;
}

.botao-desfazer-linha {
    background: #eef5ff;
    color: #24569a;
}

.botao-desfazer-linha:hover {
    background: #dceaff;
}

.tabela-ocr tr.linha-removida td {
    background: #f4f5f7 !important;
    color: #8b93a0 !important;
    opacity: .76;
}

.tabela-ocr tr.linha-removida td:not(.celula-acao) {
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.tabela-ocr tr.linha-removida .codigo-editavel {
    color: #8b93a0;
    background: #eceff2 !important;
    border-color: #dfe3e8;
    text-decoration: line-through;
    cursor: not-allowed;
}

.tabela-ocr tr.linha-removida .celula-acao {
    opacity: 1;
    text-decoration: none;
    background: #f4f5f7 !important;
}

.tabela-ocr tr.linha-removida .celula-acao * {
    text-decoration: none;
}

.exportacao-aviso {
    margin-top: 14px;
    padding: 11px 13px;
    border: 1px solid #dfe5ec;
    border-radius: 9px;
    background: #fafbfc;
    color: #677283;
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .resumo-ocr {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .resumo-ocr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tabela-ocr {
        min-width: 1180px;
    }
}


/* =========================================================
   V5 - MARCA, PUBLICAÇÃO PÚBLICA E PLANOS
   ========================================================= */
.marca-com-logo {
    gap: 14px;
}

.logo-site {
    display: block;
    width: min(360px, 42vw);
    min-width: 180px;
    height: auto;
}

.marca-textos {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-publico {
    font-weight: 700;
    color: #18794e;
}

.planos-publicacao {
    margin-top: 34px;
    background: #ffffff;
    border: 1px solid var(--borda);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 35px rgba(20, 34, 50, 0.05);
}

.planos-topo {
    text-align: center;
    margin-bottom: 24px;
}

.planos-topo h2 {
    margin-top: 12px;
    margin-bottom: 10px;
    font-size: 30px;
    letter-spacing: -0.6px;
}

.planos-topo p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--texto-suave);
    line-height: 1.6;
    font-size: 15px;
}

.grade-planos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.card-plano {
    border: 1px solid #dfe5ec;
    border-radius: 16px;
    background: #fbfcfd;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.card-plano-destaque {
    border-color: #bfe3cd;
    background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
    box-shadow: 0 10px 24px rgba(17, 102, 63, 0.08);
}

.card-plano-gratis {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.plano-etiqueta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #edf2f7;
    color: #516072;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .9px;
}

.plano-etiqueta-azul { background: #e8f1ff; color: #24569a; }
.plano-etiqueta-verde { background: #e8f7ef; color: #11663f; }
.plano-etiqueta-roxa { background: #f1eaff; color: #6f3cc3; }

.card-plano h3 {
    font-size: 21px;
}

.plano-preco {
    font-size: 34px;
    font-weight: 800;
    color: var(--texto);
    letter-spacing: -1px;
}

.plano-preco span {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #7c8798;
}

.card-plano ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-left: 0;
}

.card-plano li {
    position: relative;
    padding-left: 18px;
    color: #5f6b7a;
    font-size: 13px;
    line-height: 1.5;
}

.card-plano li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #18794e;
    font-weight: 900;
}

.botao-plano {
    margin-top: auto;
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 13px 14px;
    background: #172033;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.botao-plano-secundario {
    background: #eef5ff;
    color: #24569a;
}

.nota-planos {
    margin-top: 18px;
    padding: 13px 15px;
    border: 1px solid #dfe5ec;
    border-radius: 12px;
    background: #fafcfd;
    color: #667384;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 1180px) {
    .grade-planos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .logo-site {
        width: min(300px, 48vw);
    }
}

@media (max-width: 780px) {
    .topo {
        height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .logo-site {
        width: min(280px, 70vw);
        min-width: 150px;
    }

    .planos-publicacao {
        padding: 20px;
    }

    .planos-topo h2 {
        font-size: 25px;
    }
}

@media (max-width: 650px) {
    .marca-textos {
        display: none;
    }

    .grade-planos {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   V5.1 - ACESSO E PAGAMENTOS MERCADO PAGO
   ========================================================= */
.acesso-conta { margin-bottom:18px; padding:14px 16px; border:1px solid #dfe5ec; border-radius:12px; background:#f8fafc; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.acesso-conta>div { display:flex; flex-direction:column; gap:4px; }
.acesso-conta strong { font-size:13px; }
.acesso-conta span { color:#738092; font-size:12px; line-height:1.45; }
.acesso-carregando { opacity:.78; }
.acesso-pago { border-color:#b8dec9; background:#f1faf5; }
.acesso-pago strong { color:#11663f; }
.acesso-gratis-usado { border-color:#f0d4a5; background:#fffaf0; }
.acesso-gratis-usado strong { color:#8a6500; }
.acesso-link { color:#24569a; font-size:12px; font-weight:800; text-decoration:none; white-space:nowrap; }
.acesso-link:hover { text-decoration:underline; }
.formas-pagamento { margin-top:20px; padding:18px; border:1px solid #dfe5ec; border-radius:14px; background:#fff; }
.formas-pagamento>strong { display:block; font-size:14px; margin-bottom:11px; }
.pagamento-chips { display:flex; flex-wrap:wrap; gap:8px; }
.pagamento-chips span { display:inline-flex; align-items:center; padding:7px 10px; border-radius:999px; background:#eef5ff; color:#24569a; font-size:11px; font-weight:800; border:1px solid #d8e7ff; }
.formas-pagamento p { margin-top:12px; color:#687386; font-size:12px; line-height:1.55; }
.botao-pagamento { background:#009ee3; }
.botao-pagamento:hover:not(:disabled) { background:#0089c6; }
.botao-pagamento:disabled { opacity:.66; cursor:wait; }
@media (max-width:650px) { .acesso-conta { align-items:flex-start; flex-direction:column; } }


/* V5.2 - acesso do proprietário */
.acesso-proprietario { border-color:#b8c9ff !important; background:linear-gradient(90deg,#f3f7ff 0%,#f7fbff 100%) !important; }
.acesso-proprietario strong { color:#174ea6 !important; }
.acesso-proprietario span { color:#52637a !important; }
