/* =========================================================================
   Calculadora de Precificação — identidade visual Meslo
   Reaproveita os tokens globais definidos em css/style.css:
   --cor-brand-1 (#24859e), --cor-brand-2 (#e07a5f), --cor-brand-dark, etc.
   ========================================================================= */

/* Página dedicada: sem menu/rodapé do site para manter o foco na ferramenta.
   header.menu é o menu-cápsula da home; header.menu-topo é a barra fixa
   usada em todas as outras páginas (inclusive esta) — precisa ocultar os dois. */
header.menu,
header.menu-topo,
footer.rodape,
.whatsapp-button {
    display: none !important;
}

body {
    padding-top: 0 !important;
}

#calc {
    font-family: 'Inter', sans-serif;
    color: var(--cor-text-main);
    background: var(--cor-bg-body);
}

#calc h1,
#calc h2,
#calc h3,
#calc h4 {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

#calc a {
    color: var(--cor-brand-1);
}

#calc a:hover {
    color: var(--cor-brand-hover);
}

/* ---------- Barra de marca fixa: mesma linguagem do topo do app de
   verdade (barra escura, logo + wordmark), sem se apresentar como o
   app pago em si — essa página é só a isca gratuita. ---------- */
.calc-appbar {
    position: sticky;
    top: 0;
    z-index: 500;
    background: var(--cor-brand-dark);
}

.calc-appbar-inner {
    gap: 10px;
    padding: 10px 20px;
}

.calc-appbar-icone {
    flex: none;
    border-radius: 7px;
}

.calc-appbar-marca {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.01em;
    color: #fff;
}

.calc-appbar-versao {
    flex: none;
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Topo ---------- */
.calc-topo {
    position: relative;
    overflow: clip;
    background: radial-gradient(120% 85% at 50% -10%, #e8f6f9 0%, #ffffff 60%);
    padding: 16px 20px 20px;
    text-align: center;
}

/* Cabeçalho de seção no mesmo padrão do app: ícone colorido + título +
   linha de apoio, igual ao "Fichas Técnicas / Gerencie suas fichas
   técnicas" que aparece dentro do próprio produto. Controla display/
   align aqui (em vez de usar as utility classes do Bootstrap) porque
   o alinhamento muda de linha (desktop) pra coluna (mobile). */
.calc-secao-cabecalho {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 620px;
    margin: 0 auto 14px;
    text-align: left;
}

/* Título é uma frase longa (H1 de SEO) — num título curto de app o
   ícone fica bem ao lado, mas aqui, no mobile, empilhar fica mais
   limpo do que o ícone flutuando longe do texto. Ícone menor e sem
   gap embaixo dele pra ocupar menos altura empilhado. */
@media (max-width: 767px) {
    .calc-secao-cabecalho {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        margin-bottom: 10px;
    }

    .calc-secao-icone {
        width: 34px;
        height: 34px;
        font-size: 16px;
        border-radius: 10px;
    }
}

.calc-secao-icone {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #e8f6f9;
    color: var(--cor-brand-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.calc-secao-titulo {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
    color: var(--cor-brand-dark);
    margin: 0 0 4px;
}

.calc-secao-subtitulo {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.55;
    margin: 0;
}

.calc-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin-bottom: 14px;
}

.calc-trust span {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.calc-trust i {
    color: var(--cor-success);
}

.calc-tutorial-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cor-brand-1);
    background: #e8f6f9;
    padding: 9px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
}

.calc-tutorial-link:hover {
    background: #d5edf2;
    color: var(--cor-brand-hover);
}

/* ---------- Mini-guia de 3 passos ---------- */
.calc-guia-passos {
    padding: 8px 20px 36px;
}

.calc-guia-passos-lista {
    max-width: 760px;
    margin: 0 auto;
    gap: 10px 18px;
}

.calc-guia-passo {
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 8px 18px 8px 8px;
    box-shadow: 0 4px 14px -10px rgba(8, 27, 33, 0.18);
    opacity: 0;
    animation: calcGuiaEntra .6s cubic-bezier(.16, 1, .3, 1) forwards;
}

/* Entrada em sequência (1, seta, 2, seta, 3 — nessa ordem no DOM) */
.calc-guia-passo:nth-child(1) {
    animation-delay: .1s;
}

.calc-guia-passo:nth-child(3) {
    animation-delay: .3s;
}

.calc-guia-passo:nth-child(5) {
    animation-delay: .5s;
}

@keyframes calcGuiaEntra {
    from {
        opacity: 0;
        transform: translateY(10px) scale(.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.calc-guia-passo-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #64748b;
    font-weight: 800;
    font-size: 13px;
    flex: none;
    transition: background .25s ease, color .25s ease;
}

/* Passo em andamento agora: cor da marca + pulso, pra chamar o olho pro
   ponto onde a pessoa realmente está (atualizado via JS conforme ela
   usa a calculadora — ver atualizarGuiaPassos()). */
.calc-guia-passo.ativo .calc-guia-passo-numero {
    background: var(--cor-brand-1);
    color: #fff;
    animation: calcGuiaPulso 2.2s ease-in-out infinite;
}

/* Passo já concluído: vira check verde. */
.calc-guia-passo.concluido .calc-guia-passo-numero {
    background: var(--cor-success);
    color: #fff;
    font-size: 0;
}

.calc-guia-passo.concluido .calc-guia-passo-numero::after {
    content: "✓";
    font-size: 14px;
    font-weight: 800;
}

.calc-guia-passo.concluido .calc-guia-passo-texto {
    color: #64748b;
}

@keyframes calcGuiaPulso {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(36, 133, 158, .5);
    }

    50% {
        box-shadow: 0 0 0 9px rgba(36, 133, 158, 0);
    }
}

.calc-guia-passo-texto {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cor-brand-dark);
    white-space: nowrap;
}

.calc-guia-passo-seta {
    align-self: center;
    color: #cbd5e1;
    font-size: 15px;
    opacity: 0;
    animation: calcGuiaEntra .6s cubic-bezier(.16, 1, .3, 1) forwards, calcGuiaFluxo 1.6s ease-in-out 1.1s infinite;
}

.calc-guia-passo-seta:nth-child(2) {
    animation-delay: .2s, 1.1s;
}

.calc-guia-passo-seta:nth-child(4) {
    animation-delay: .4s, 1.4s;
}

@keyframes calcGuiaFluxo {

    0%,
    100% {
        transform: translateX(0);
        opacity: .5;
    }

    50% {
        transform: translateX(4px);
        opacity: 1;
    }
}

/* No mobile o guia empilhado (3 pílulas) empurra o formulário pra muito
   longe do primeiro scroll — esconde aqui e compacta o topo pra chegar
   mais rápido no card de ingredientes. */
@media (max-width: 767px) {
    .calc-topo {
        padding: 10px 16px 12px;
    }

    .calc-secao-subtitulo {
        font-size: 13px;
        max-width: 320px;
        margin: 0 auto;
    }

    .calc-trust {
        gap: 6px 14px;
        margin-bottom: 14px;
    }

    .calc-trust span {
        font-size: 12px;
    }

    .calc-tutorial-link {
        padding: 7px 14px;
        font-size: 12.5px;
    }

    .calc-guia-passos {
        display: none;
    }
}

@media (max-width: 575px) {
    .calc-guia-passo-seta {
        transform: rotate(90deg);
    }

    @keyframes calcGuiaFluxo {

        0%,
        100% {
            transform: rotate(90deg) translateX(0);
            opacity: .5;
        }

        50% {
            transform: rotate(90deg) translateX(4px);
            opacity: 1;
        }
    }
}

@media (prefers-reduced-motion: reduce) {

    .calc-guia-passo,
    .calc-guia-passo-seta {
        animation: none !important;
        opacity: 1;
    }
}

/* ---------- Cards ---------- */
#calc .card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px -18px rgba(8, 27, 33, 0.18);
    margin-bottom: 24px;
    overflow: hidden;
    background: #ffffff;
}

#calc .calc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 24px;
    background: var(--cor-brand-dark);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

#calc .calc-card-header i {
    margin-right: 8px;
    color: #8fd4e2;
}

#calc .calc-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    margin-right: 10px;
}

#calc .card-body {
    padding: 24px;
}

/* ---------- Formulários ---------- */
#calc label {
    font-weight: 600;
    color: #475569;
    font-size: 12.5px;
    margin-bottom: 6px;
}

#calc .info-icon {
    color: var(--cor-brand-1);
    cursor: pointer;
    opacity: .75;
}

#calc .info-icon:hover {
    opacity: 1;
}

#calc .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 500;
    font-size: 14.5px;
    transition: all .2s ease;
}

#calc .form-control:focus {
    border-color: var(--cor-brand-1);
    box-shadow: 0 0 0 0.2rem rgba(36, 133, 158, 0.15);
}

#calc .input-group-text {
    background: #e8f6f9;
    border: 1px solid #e2e8f0;
    color: var(--cor-brand-1);
    font-weight: 700;
    border-radius: 10px 0 0 10px;
}

#calc .input-group .form-control {
    border-radius: 0 10px 10px 0;
}

#calc .input-group-append .input-group-text {
    border-radius: 0 10px 10px 0;
}

/* ---------- Ingredientes ---------- */
#calc .ingredient-row {
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 14px;
    border: 1px solid #eef2f6;
    transition: all .2s ease;
}

#calc .ingredient-row:hover {
    border-color: #dbeafe;
    box-shadow: 0 6px 16px -10px rgba(8, 27, 33, 0.15);
}

#calc .ingredient-embalagem {
    background: #eef2f6;
    border-radius: 12px;
    padding-bottom: 4px;
}

#calc .custoIngrediente {
    color: var(--cor-brand-1);
    font-weight: 700;
}

#calc .btn-remover-ingrediente {
    border: none;
    background: #fdf0ed;
    color: #c0392b;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

#calc .btn-remover-ingrediente:hover {
    background: #f8d7d0;
}

#calc .btn-add-ingrediente {
    background: var(--cor-brand-dark);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 13.5px;
    transition: all .2s ease;
}

#calc .btn-add-ingrediente:hover {
    background: #1a3742;
    color: #fff;
}

@keyframes calcFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#ingredientes>div {
    animation: calcFadeIn .3s ease forwards;
}

/* ---------- Resultados (sticky) ---------- */
#calc .result-card {
    position: sticky;
    top: 20px;
    border-radius: 18px !important;
    border-top: 4px solid var(--cor-brand-1) !important;
}

#calc .result-card .calc-card-header {
    background: linear-gradient(135deg, var(--cor-brand-1) 0%, var(--cor-brand-dark) 100%);
}

#calc .btn-gerar-planilha {
    background: linear-gradient(135deg, var(--cor-brand-1) 0%, #1a6378 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 14.5px;
    box-shadow: 0 14px 30px -14px rgba(36, 133, 158, 0.6);
    transition: all .2s ease;
}

#calc .btn-gerar-planilha:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -14px rgba(36, 133, 158, 0.7);
    color: #fff;
}

#calc .btn-gerar-planilha:disabled {
    opacity: .75;
    cursor: not-allowed;
    transform: none !important;
}

/* ---------- Resultado: estado vazio ---------- */
#calc .resultado-vazio {
    padding: 28px 10px 20px;
}

#calc .resultado-vazio i {
    font-size: 30px;
    color: var(--cor-brand-1);
    opacity: .8;
    margin-bottom: 12px;
    display: inline-block;
}

#calc .resultado-vazio-titulo {
    font-size: 15px;
    font-weight: 700;
    color: var(--cor-brand-dark);
    margin-bottom: 6px;
}

#calc .resultado-vazio-texto {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.45;
}

/* ---------- Resultado: preço sugerido + prévia borrada ---------- */
#calc .resultado-preco {
    margin-bottom: 18px;
}

#calc .resultado-preco-rotulo {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 4px;
}

#calc .resultado-preco-valor {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--cor-brand-dark);
    line-height: 1.2;
}

#calc .resultado-detalhes {
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

#calc .resultado-detalhes-linhas {
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

#calc .resultado-detalhes-linha {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: #475569;
    padding: 5px 0;
    text-align: left;
}

#calc .resultado-detalhes-linha-total {
    font-weight: 700;
    color: var(--cor-brand-dark);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    margin: 2px 0;
    padding: 7px 0;
}

#calc .resultado-detalhes-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
}

#calc .resultado-detalhes-overlay i {
    font-size: 19px;
    color: var(--cor-brand-1);
}

#calc .resultado-detalhes-overlay span {
    font-size: 12px;
    font-weight: 700;
    color: var(--cor-brand-dark);
    line-height: 1.35;
    max-width: 200px;
}

#calc .resultado-cta-nota {
    font-size: 11.5px;
}

/* ---------- Seção de impressão ---------- */
#imprime {
    background: #f1f5f9;
    font-family: 'Roboto', sans-serif;
}

.planilha-container {
    background: #fff;
    padding: 30px;
    max-width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

.planilha-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--cor-brand-dark);
    padding-bottom: 15px;
}

.planilha-header img {
    max-height: 34px;
    margin-bottom: 14px;
}

.planilha-header h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--cor-brand-dark);
    margin: 0;
    letter-spacing: .5px;
}

.data-calculo {
    font-size: 12px;
    color: #64748b;
    margin: 5px 0 0;
}

.secao-ingredientes,
.secao-outros-custos,
.secao-mao-obra,
.secao-resumo,
.secao-observacoes {
    margin-bottom: 25px;
}

.secao-ingredientes h3,
.secao-outros-custos h3,
.secao-resumo h3 {
    font-size: 13px;
    font-weight: 800;
    color: var(--cor-brand-dark);
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #e8f6f9;
    border-left: 4px solid var(--cor-brand-1);
}

.tabela-ingredientes,
.tabela-outros-custos,
.tabela-resumo {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 11px;
}

.tabela-ingredientes th,
.tabela-ingredientes td,
.tabela-outros-custos td,
.tabela-resumo td {
    border: 1px solid #e2e8f0;
    padding: 7px 9px;
    text-align: left;
    vertical-align: middle;
}

.tabela-ingredientes th {
    background: #f1f5f9;
    font-weight: 700;
    text-align: center;
    color: #334155;
    font-size: 10px;
}

.tabela-ingredientes td:nth-child(2),
.tabela-ingredientes td:nth-child(3),
.tabela-ingredientes td:nth-child(4),
.tabela-ingredientes td:nth-child(5) {
    text-align: center;
}

.tabela-outros-custos td:nth-child(2),
.tabela-resumo td:nth-child(2) {
    text-align: right;
    font-weight: 600;
}

.total-ingredientes td {
    background: #f1f5f9;
    font-weight: 700;
    border-top: 2px solid #94a3b8;
}

.linha-custo-total td {
    background: #fdf0ed;
    border-top: 2px solid #e07a5f;
    border-bottom: 2px solid #e07a5f;
    font-weight: 700;
}

.linha-preco-final td {
    background: #e8f6f9;
    border-top: 2px solid var(--cor-brand-1);
    border-bottom: 2px solid var(--cor-brand-1);
    font-weight: 700;
    font-size: 12.5px;
}

.secao-observacoes {
    margin-top: 30px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.secao-observacoes p {
    font-size: 10px;
    color: #64748b;
    margin: 3px 0;
    line-height: 1.4;
}

/* Banner de marca no final do PDF — adaptado do design fornecido pra
   largura fluida da planilha (o original era um mockup fixo 1000x380) e
   pras limitações de renderização desta versão do html2canvas: troquei
   mask-image (fade dos pontinhos) por opacidade simples, ::before (anel
   do selo) por uma div real, centralização por flex por
   display:table-cell, e o radial-gradient com centro fora do elemento
   (at 88% -20%) por um linear-gradient — o radial-gradient causava
   "CanvasGradient.addColorStop: Offset out of 0-1.0 range" no Chrome,
   um bug conhecido do html2canvas com centro de gradiente fora da caixa.
   Plus Jakarta Sans já é carregada no <head> desta página (header.php),
   então não depende de baixar nada novo no momento do download. */
.secao-banner-meslo {
    position: relative;
    overflow: hidden;
    margin-top: 25px;
    padding: 22px 130px 22px 26px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(47, 155, 180, .55) 0%, rgba(47, 155, 180, 0) 42%),
        linear-gradient(120deg, #0d2b34 0%, #134353 46%, #1a6378 100%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    page-break-inside: avoid;
    break-inside: avoid;
}

.banner-meslo-edge {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(#e07a5f, #c4604a);
}

.banner-meslo-dots {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    opacity: .08;
    background-image: radial-gradient(#ffffff 1.2px, transparent 1.2px);
    background-size: 14px 14px;
}

.banner-meslo-conteudo {
    position: relative;
    z-index: 2;
}

.banner-meslo-eyebrow {
    display: block;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #a8cdd8;
    margin: 0 0 9px;
}

.banner-meslo-tick {
    display: inline-block;
    vertical-align: middle;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e07a5f;
    box-shadow: 0 0 0 3px rgba(224, 122, 95, .22);
    margin-right: 7px;
}

.banner-meslo-titulo {
    font-size: 14.5px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #fff;
    margin: 0 0 8px;
}

.banner-meslo-hl {
    color: #f0a58f;
}

.banner-meslo-texto {
    font-size: 10.5px;
    line-height: 1.55;
    font-weight: 500;
    color: #cfe3ea;
    margin: 0 0 14px;
}

.banner-meslo-texto b {
    color: #fff;
    font-weight: 700;
}

.banner-meslo-link {
    display: inline-block;
    background: #e07a5f;
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: -.01em;
    padding: 9px 16px;
    border-radius: 9px;
    box-shadow: 0 10px 20px -10px rgba(224, 122, 95, .6);
    text-decoration: none;
}

.banner-meslo-link-label {
    opacity: .9;
    font-weight: 600;
    margin-right: 6px;
}

.banner-meslo-link-arrow {
    font-size: 12px;
    margin-left: 6px;
}

.banner-meslo-selo {
    position: absolute;
    z-index: 2;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .18);
    overflow: hidden;
}

.banner-meslo-selo-anel {
    position: absolute;
    top: 7px;
    right: 7px;
    bottom: 7px;
    left: 7px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, .22);
}

.banner-meslo-selo-celula {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    text-align: center;
    padding: 0 6px;
}

.banner-meslo-selo-icon {
    display: block;
    font-size: 24px;
    color: #f0a58f;
    line-height: 1;
    margin-bottom: 4px;
}

.banner-meslo-selo-cap {
    display: block;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #fff;
    line-height: 1.3;
}

.banner-meslo-selo-auto {
    display: block;
    margin-top: 6px;
    font-size: 6.5px;
    font-weight: 700;
    color: #8fe0b0;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.banner-meslo-selo-dot {
    display: inline-block;
    vertical-align: middle;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #12A150;
    box-shadow: 0 0 6px #12A150;
    margin-right: 3px;
}

@media print {
    #imprime {
        background: #fff !important;
        padding: 0 !important;
    }

    .planilha-container {
        box-shadow: none !important;
        padding: 15px !important;
    }
}

/* ---------- Banner CTA ---------- */
.meslo-banner {
    background: linear-gradient(135deg, var(--cor-brand-1) 0%, var(--cor-brand-dark) 100%);
    padding: 50px 34px;
    border-radius: 22px;
    margin: 44px 0;
    box-shadow: 0 20px 55px -25px rgba(16, 42, 51, 0.6);
    position: relative;
    overflow: clip;
}

.meslo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.meslo-banner-badge {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 999px;
    display: inline-block;
    color: #fff;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: 1.3px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.meslo-banner h3 {
    color: #fff;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 18px;
    line-height: 1.2;
}

.meslo-banner-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.1rem;
    margin-bottom: 22px;
    line-height: 1.6;
}

.meslo-benefits-inline {
    list-style: none;
    padding: 0;
    margin-bottom: 28px;
}

.meslo-benefits-inline li {
    color: #fff;
    padding: 8px 0;
    font-size: .98rem;
    display: flex;
    align-items: center;
}

.meslo-benefits-inline li i {
    color: #8fd4e2;
    margin-right: 12px;
    font-size: 1.1rem;
}

.meslo-banner-cta {
    background: #fff;
    border: none;
    border-radius: 999px;
    padding: 17px 42px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--cor-brand-dark);
    letter-spacing: .3px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: all .3s ease;
    display: inline-block;
    text-decoration: none;
}

.meslo-banner-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
    color: var(--cor-brand-dark);
    text-decoration: none;
}

.meslo-banner-footer {
    color: rgba(255, 255, 255, 0.8);
    font-size: .88rem;
    margin-top: 18px;
}

.meslo-banner-stat {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.meslo-banner-stat-num {
    font-size: 2.6rem;
    font-weight: 900;
    color: #8fd4e2;
}

.meslo-banner-stat-label {
    color: #fff;
    font-weight: 600;
    margin-top: 6px;
}

@media (max-width: 767px) {
    .meslo-banner {
        padding: 34px 24px;
        border-radius: 16px;
    }

    .meslo-banner h3 {
        font-size: 1.5rem;
    }

    .meslo-banner-cta {
        width: 100%;
        padding: 15px 30px;
    }
}

/* ---------- Sobre / conteúdo SEO ---------- */
#sobre {
    background: #ffffff;
    padding: 60px 0;
}

#sobre h2.calc-sobre-titulo {
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--cor-brand-dark);
    text-align: center;
    border: none;
    padding-left: 0;
    margin-top: 0;
}

#sobre h2.calc-sobre-titulo small {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    margin-top: 10px;
}

#sobre .intro-text {
    max-width: 760px;
    margin: 32px auto;
    padding: 28px 32px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #eef2f6;
}

#sobre .lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #475569;
}

#sobre h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cor-brand-dark);
    padding-left: 16px;
    border-left: 4px solid var(--cor-brand-1);
    margin: 2.4rem 0 1.2rem;
}

#sobre .benefits-list,
#sobre .step-by-step,
#sobre .professional-tips {
    background: #f8fafc;
    border-radius: 16px;
    padding: 28px;
    border-left: 4px solid var(--cor-brand-1);
}

#sobre .benefits-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sobre .benefits-list li {
    padding: .6rem 0 .6rem 2rem;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

#sobre .benefits-list li:last-child {
    border-bottom: none;
}

#sobre .benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cor-success);
    font-weight: 800;
}

#sobre .step-by-step .list-group-item {
    border: none;
    background: #fff;
    margin-bottom: .9rem;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 4px 15px -8px rgba(8, 27, 33, 0.15);
    border-left: 4px solid var(--cor-brand-2);
}

#sobre .advantages-grid .advantage-item {
    padding: 1.4rem;
    background: #f8fafc;
    border-radius: 14px;
    height: 100%;
    border: 1px solid #eef2f6;
    border-top: 3px solid var(--cor-brand-1);
}

#sobre .advantages-grid h4 {
    color: var(--cor-brand-dark);
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: .5rem;
}

#sobre .advantages-grid i {
    color: var(--cor-brand-1);
}

#sobre .pricing-mistakes {
    background: #fdf0ed;
    border-radius: 16px;
    padding: 28px;
    border-left: 4px solid var(--cor-brand-2);
}

#sobre .pricing-mistakes ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #7c4a3d;
}

#sobre .pricing-mistakes li {
    margin-bottom: .6rem;
}

#sobre .products-categories h4 {
    color: var(--cor-brand-dark);
    font-weight: 700;
    padding: .9rem 1rem;
    background: #f1f5f9;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    border-bottom: 3px solid var(--cor-brand-1);
}

#sobre .products-categories ul {
    background: #f8fafc;
    padding: 1.2rem 1.2rem 1.2rem 2.2rem;
    border-radius: 0 0 10px 10px;
    margin: 0;
}

#sobre .products-categories li {
    padding: .3rem 0;
}

#sobre .professional-tips li {
    margin-bottom: .7rem;
    padding: .8rem 1rem;
    background: #fff;
    border-radius: 10px;
    border-left: 3px solid var(--cor-brand-2);
    list-style: none;
}

#sobre .professional-tips ul {
    padding: 0;
    margin: 0;
}

#sobre .calc-faq-item {
    background: #f8fafc;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 14px;
    border-left: 4px solid var(--cor-brand-1);
}

#sobre .calc-faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cor-brand-dark);
    margin-bottom: 8px;
    padding: 0;
    border: none;
}

#sobre .calc-faq-item p {
    margin: 0;
    color: #475569;
    font-size: .95rem;
    line-height: 1.6;
}

#sobre .cta-section {
    background: linear-gradient(135deg, var(--cor-brand-1) 0%, var(--cor-brand-dark) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
}

#sobre .cta-section h3 {
    color: #fff !important;
    font-weight: 800;
}

#sobre .cta-section .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

#sobre .alert {
    border: none;
    border-radius: 12px;
}

#sobre .alert-warning {
    background: #fff8e6;
    color: #92660a;
    border-left: 4px solid #f5b429;
}

#sobre .alert-success {
    background: #e8f6f0;
    color: #1c6b52;
    border-left: 4px solid var(--cor-success);
}

.calc-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 12px 20px;
}

/* ---------- Modais ---------- */
#calc .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
}

#calc .modal-header {
    background: var(--cor-brand-dark);
    color: #fff;
    border: none;
}

#calc .modal-header .close {
    color: #fff;
    opacity: .8;
}

@media (max-width: 767px) {
    #calc .calc-card-header {
        padding: 14px 18px;
    }

    #calc .card-body {
        padding: 18px;
    }
}

.tooltip-inner {
    max-width: 280px;
    background: var(--cor-brand-dark);
    border-radius: 8px;
    padding: 9px 14px;
    font-size: .85rem;
}

.bs-tooltip-top .arrow::before,
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: var(--cor-brand-dark);
}
