/* NFScope — modal do Teste grátis (layout próprio, duas colunas) */
:root, .tg-modal { --tg-azul: #0f2a4f; --tg-azul2: #1b4178; --tg-verde: #2f9e44; --tg-verde-claro: #e6f6ea; --tg-texto: #101828; --tg-cinza: #667085; --tg-borda: #e4e7ec; }
.tg-modal .modal-backdrop, .modal-backdrop.show { --bs-backdrop-opacity: .55; }
.tg-dialogo { max-width: 880px; padding: 0 16px; }
.tg { flex-direction: row; overflow: hidden; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 32px 80px -24px rgba(16, 24, 40, .45); font-family: 'Inter', Arial, sans-serif; }

/* Painel da marca */
.tg-lado { position: relative; display: flex; flex-direction: column; flex: 0 0 340px; padding: 34px 32px 28px; overflow: hidden; color: #dbe5f3;
    background: radial-gradient(120% 80% at 0% 0%, #24508f 0%, transparent 55%), linear-gradient(160deg, #143563 0%, #0b1f3d 100%); }
.tg-lado-marca { font-size: 1.55rem; }
.tg-lado-meio { position: relative; z-index: 1; margin-top: auto; }
.tg-pilula { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(52, 179, 134, .18); color: #7ee2a8; font-size: .76rem; font-weight: 600; letter-spacing: .02em; }
.tg-lado h3 { margin: 14px 0 20px; font-size: 1.65rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: #fff; }
.tg-beneficios { margin: 0; padding: 0; list-style: none; }
.tg-beneficios li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: .9rem; line-height: 1.4; }
.tg-beneficios .bi { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(126, 226, 168, .16); color: #7ee2a8; font-size: .85rem; }
.tg-lado-rodape { position: relative; z-index: 1; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; color: #a9bad3; }
.tg-lado-rodape .bi { color: #7ee2a8; margin-right: 4px; }
.tg-orbita { position: absolute; border: 1px solid rgba(255, 255, 255, .07); border-radius: 50%; pointer-events: none; }
.tg-orbita-1 { width: 380px; height: 380px; right: -190px; top: -120px; }
.tg-orbita-2 { width: 240px; height: 240px; right: -120px; top: -50px; }

/* Conteúdo */
.tg-corpo { position: relative; flex: 1; min-width: 0; padding: 36px 40px 32px; }
.tg-fechar { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #f2f4f7; color: #475467; transition: background .15s, transform .15s; }
.tg-fechar:hover { background: #e4e7ec; transform: rotate(90deg); }
.tg-progresso { margin: 0 48px 30px 0; }
.tg-barras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tg-barras span { position: relative; height: 5px; overflow: hidden; border-radius: 99px; background: #eaecf0; }
.tg-barras span::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit; background: var(--tg-azul2); transition: width .45s cubic-bezier(.4, 0, .2, 1); }
.tg-barras span.is-atual::after { width: 100%; }
.tg-barras span.is-feito::after { width: 100%; background: var(--tg-verde); }
.tg-progresso-texto { display: flex; gap: 8px; align-items: baseline; margin-top: 10px; font-size: .78rem; color: var(--tg-cinza); }
.tg-progresso-texto b { color: var(--tg-texto); font-weight: 600; }

.tg-etapa h2 { margin: 0 0 8px; font-size: 1.55rem; font-weight: 700; letter-spacing: -.025em; color: var(--tg-texto); }
.tg-sub { margin: 0 0 24px; color: var(--tg-cinza); font-size: .93rem; line-height: 1.55; }
.tg-sub b { color: var(--tg-texto); font-weight: 600; }
.tg-entra { animation: tgEntra .38s cubic-bezier(.2, .8, .2, 1); }
@keyframes tgEntra { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* Campos */
.tg-rotulo { display: block; margin: 0 0 6px; font-size: .82rem; font-weight: 600; color: #344054; }
.tg-campo { position: relative; display: flex; align-items: center; height: 56px; margin-bottom: 14px; padding: 0 16px; border: 1.5px solid var(--tg-borda); border-radius: 14px; background: #fff;
    transition: border-color .15s, box-shadow .15s; }
.tg-campo:focus-within { border-color: var(--tg-azul2); box-shadow: 0 0 0 4px rgba(27, 65, 120, .1); }
.tg-campo > .bi:first-child { flex: none; color: #98a2b3; font-size: 1.1rem; }
.tg-campo input { flex: 1; min-width: 0; height: 100%; padding: 0 12px; border: 0; outline: 0; background: none; font-size: 1rem; color: var(--tg-texto); }
.tg-campo input::placeholder { color: #98a2b3; }
.tg-campo-cnpj { height: 64px; }
.tg-campo-cnpj input { font-size: 1.25rem; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.tg-campo .tg-ok { display: none; color: var(--tg-verde); font-size: 1.2rem; }
.tg-campo.is-ok { border-color: #a6dfb4; }
.tg-campo.is-ok .tg-ok { display: block; }
.tg-campo.is-erro { border-color: #fda29b; box-shadow: 0 0 0 4px rgba(240, 68, 56, .08); }
.tg-carregando { display: none; width: 22px; height: 22px; border: 2.5px solid #d0d5dd; border-top-color: var(--tg-azul2); border-radius: 50%; animation: tgGira .7s linear infinite; }
.tg-campo.is-carregando .tg-carregando { display: block; }
@keyframes tgGira { to { transform: rotate(360deg); } }
.tg-ver { flex: none; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: none; color: #667085; }
.tg-ver:hover { background: #f2f4f7; }
.tg-msg:empty { display: none; }
.tg-msg { display: flex; gap: 8px; align-items: flex-start; margin: -2px 0 14px; padding: 10px 12px; border-radius: 12px; background: #fef3f2; color: #b42318; font-size: .85rem; }
.tg-msg a { color: inherit; font-weight: 600; }

/* Força da senha e requisitos */
.tg-forca { height: 4px; margin: -6px 2px 12px; overflow: hidden; border-radius: 99px; background: #eaecf0; }
.tg-forca span { display: block; width: 0; height: 100%; border-radius: inherit; background: #f04438; transition: width .3s, background .3s; }
.tg-forca span[data-nivel="2"] { background: #f79009; }
.tg-forca span[data-nivel="3"] { background: #eaaa08; }
.tg-forca span[data-nivel="4"] { background: #12b76a; }
.tg-forca span[data-nivel="5"] { background: #039855; }
.tg-regras { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.tg-regras li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 7px; border-radius: 99px; background: #f2f4f7; color: #667085; font-size: .76rem; font-weight: 500; transition: background .2s, color .2s; }
.tg-regras li .bi { font-size: .9rem; opacity: .35; }
.tg-regras li.ok { background: var(--tg-verde-claro); color: #1e7b35; }
.tg-regras li.ok .bi { opacity: 1; }

/* Cartão da empresa */
.tg-empresa { margin: 0 0 22px; padding: 20px; border: 1px solid var(--tg-borda); border-radius: 18px; background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%); }
.tg-empresa-topo { display: flex; align-items: center; gap: 14px; }
.tg-avatar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #1b4178, #2f6fbf); color: #fff; font-size: 1.1rem; font-weight: 700; letter-spacing: .02em; }
.tg-empresa-nome { min-width: 0; }
.tg-empresa-nome strong { display: block; font-size: 1.02rem; font-weight: 700; color: var(--tg-texto); line-height: 1.3; }
.tg-empresa-nome span { display: block; margin-top: 2px; font-size: .84rem; color: var(--tg-cinza); }
.tg-selos { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 16px; }
.tg-selo { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; font-size: .74rem; font-weight: 600; }
.tg-selo.is-verificado { background: #eff4ff; color: #1d4ed8; }
.tg-selo.is-ok { background: var(--tg-verde-claro); color: #1e7b35; }
.tg-selo.is-ok .bi { font-size: .5rem; }
.tg-selo.is-aviso { background: #fffaeb; color: #b54708; }
.tg-selo.is-aviso .bi { font-size: .5rem; }
.tg-infos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding-top: 14px; border-top: 1px solid #f2f4f7; }
.tg-info { display: flex; gap: 10px; min-width: 0; }
.tg-info > .bi { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #f2f4f7; color: #475467; font-size: .9rem; }
.tg-info small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #98a2b3; }
.tg-info span { display: block; overflow: hidden; font-size: .86rem; font-weight: 500; color: var(--tg-texto); text-overflow: ellipsis; white-space: nowrap; }

/* Botões */
.tg-botao { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 54px; border: 0; border-radius: 14px; background: var(--tg-azul2); color: #fff;
    font-size: .98rem; font-weight: 600; box-shadow: 0 10px 20px -12px rgba(27, 65, 120, .8); transition: background .15s, transform .1s, box-shadow .15s; }
.tg-botao:hover:not(:disabled) { background: var(--tg-azul); box-shadow: 0 12px 24px -12px rgba(15, 42, 79, .9); }
.tg-botao:active:not(:disabled) { transform: scale(.99); }
.tg-botao:disabled { background: #d0d5dd; box-shadow: none; color: #fff; cursor: not-allowed; }
.tg-botao .bi-arrow-right { transition: transform .15s; }
.tg-botao:hover:not(:disabled) .bi-arrow-right { transform: translateX(3px); }
.tg-botao-verde { background: var(--tg-verde); box-shadow: 0 10px 20px -12px rgba(47, 158, 68, .9); }
.tg-botao-verde:hover:not(:disabled) { background: #27863a; box-shadow: 0 12px 24px -12px rgba(39, 134, 58, .9); }
.tg-link { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 8px; padding: 10px; border: 0; border-radius: 12px; background: none; color: var(--tg-cinza); font-size: .88rem; font-weight: 500; }
.tg-link:hover { background: #f9fafb; color: var(--tg-texto); }
.tg-nota { margin: 14px 0 0; text-align: center; font-size: .78rem; color: #98a2b3; }
.tg-giro { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: tgGira .7s linear infinite; }

/* Celular: uma coluna */
@media (max-width: 767.98px) {
    .tg { flex-direction: column; border-radius: 20px; }
    .tg-lado { flex: none; padding: 22px 22px 18px; }
    .tg-lado-meio { margin-top: 14px; }
    .tg-lado h3 { font-size: 1.2rem; margin: 10px 0 0; }
    .tg-beneficios, .tg-lado-rodape, .tg-orbita { display: none; }
    .tg-corpo { padding: 26px 22px 22px; }
    .tg-infos { grid-template-columns: 1fr; }
    .tg-fechar { top: 14px; right: 14px; background: rgba(255, 255, 255, .15); color: #fff; }
    .tg-progresso { margin-right: 0; }
}

/* Ajustes: respiro entre o logotipo e o conteúdo do painel; foco dos botões na cor da marca */
.tg-lado-meio { padding-top: 34px; }
.tg-botao:focus { outline: 0; }
.tg-botao:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(27, 65, 120, .22), 0 10px 20px -12px rgba(27, 65, 120, .8); }
.tg-botao-verde:focus-visible { box-shadow: 0 0 0 4px rgba(47, 158, 68, .25), 0 10px 20px -12px rgba(47, 158, 68, .9); }
.tg-link:focus-visible, .tg-fechar:focus-visible, .tg-ver:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(27, 65, 120, .2); }

/* ---------- Área do cliente (login no modal) ---------- */
.ac-corpo { display: flex; flex-direction: column; justify-content: center; }
.ac-titulo { margin: 0 48px 8px 0; font-size: 1.55rem; font-weight: 700; letter-spacing: -.025em; color: var(--tg-texto); }
.ac-aviso { display: flex; align-items: center; gap: 10px; margin: 0 48px 22px 0; padding: 10px 14px; border-radius: 12px; background: #eff4ff; color: #1d3f8a; font-size: .85rem; font-weight: 500; }
.ac-aviso .bi { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #fff; font-size: .85rem; }
.ac-rotulo-linha { display: flex; align-items: baseline; justify-content: space-between; }
.ac-caps { font-size: .74rem; font-weight: 600; color: #b54708; }
.ac-separador { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: #98a2b3; font-size: .78rem; font-weight: 500; }
.ac-separador::before, .ac-separador::after { content: ""; flex: 1; height: 1px; background: #eaecf0; }
.ac-teste { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px 12px 12px; border: 1.5px solid #d3eedb; border-radius: 16px; background: linear-gradient(180deg, #f6fdf8 0%, #fff 100%); color: var(--tg-texto); text-align: left;
    transition: border-color .15s, box-shadow .15s, transform .15s; }
.ac-teste:hover { border-color: #a6dfb4; box-shadow: 0 10px 22px -14px rgba(47, 158, 68, .7); transform: translateY(-1px); }
.ac-teste:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(47, 158, 68, .2); }
.ac-teste-icone { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tg-verde); color: #fff; font-size: 1.1rem; }
.ac-teste-textos { flex: 1; min-width: 0; }
.ac-teste-textos strong { display: block; font-size: .93rem; font-weight: 700; }
.ac-teste-textos small { display: block; font-size: .78rem; color: var(--tg-cinza); }
.ac-teste > .bi-arrow-right { color: var(--tg-verde); transition: transform .15s; }
.ac-teste:hover > .bi-arrow-right { transform: translateX(3px); }
@media (max-width: 767.98px) { .ac-titulo, .ac-aviso { margin-right: 0; } }

/* ---------- Fim do teste grátis ---------- */
.ft-dialogo { max-width: 480px; padding: 0 16px; }
.ft { position: relative; flex-direction: column; align-items: center; padding: 40px 36px 30px; text-align: center; }
.ft-icone { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; background: #fffaeb; color: #dc6803; font-size: 2rem; box-shadow: 0 0 0 10px rgba(247, 144, 9, .07); }
.ft h2 { margin: 0 0 10px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; color: var(--tg-texto); }
.ft .tg-sub { margin-bottom: 18px; }
.ft-lista { width: 100%; margin: 0 0 18px; padding: 14px 16px; border: 1px solid var(--tg-borda); border-radius: 16px; list-style: none; text-align: left; }
.ft-lista li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .87rem; color: #344054; }
.ft-lista .bi { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--tg-verde-claro); color: #1e7b35; }
.ft-breve { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 5px 12px; border-radius: 99px; background: #eff4ff; color: #1d4ed8; font-size: .78rem; font-weight: 600; }
