/* Vistoria.Fácil · sistema visual do site (manual da marca aprovado em 27/10/2026).
   Núcleo da marca: preto #111111, azul da faixa FÁCIL #45A2D6 e branco #FFFFFF.
   Contraste (manual, p. 19): preto/branco 18,88:1 · preto/azul 6,65:1 · branco/azul 2,84:1 (não usar em texto normal).
   Por isso, sobre o azul o texto é sempre preto; texto branco só sobre preto ou fotografia escurecida.
   Tons claros do azul e cinzas abaixo são derivações de apoio para fundos e textos secundários (não entram no logotipo). */

/* ---------- Fontes de apoio (OFL, servidas pelo próprio site por causa da CSP) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/open-sans-latin-700-normal.woff2") format("woff2"); }

:root {
    --vf-preto: #111111;
    --vf-azul: #45A2D6;
    --vf-branco: #FFFFFF;
    /* apoio */
    --vf-azul-50: #F2F9FD;
    --vf-azul-100: #E2F1FA;
    --vf-azul-200: #C4E3F4;
    --vf-azul-300: #9DCFEA;
    --vf-grafite: #1B1E22;
    --vf-grafite-2: #262A30;
    --vf-texto: #1F2A33;
    --vf-texto-suave: #4F5C67;      /* 6,9:1 sobre branco */
    --vf-texto-claro: #C9D2DA;      /* sobre preto */
    --vf-linha: #E1E8EE;
    --vf-raio: 18px;
    --vf-raio-sm: 12px;
    --vf-sombra: 0 18px 40px -18px rgba(17, 17, 17, .22);
    --vf-sombra-sm: 0 8px 22px -12px rgba(17, 17, 17, .18);
    --vf-titulo: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --vf-corpo: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --bs-body-font-family: var(--vf-corpo);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: var(--vf-titulo); }

/* Foco de teclado visível em todo o site */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--vf-preto); outline-offset: 3px; border-radius: 6px; }
.vf-escuro :where(a, button):focus-visible, .vf-rodape :where(a, button):focus-visible { outline-color: var(--vf-branco); }

.vf-pular { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--vf-preto); color: #fff; padding: .6rem 1rem; border-radius: 0 0 10px 10px; font-weight: 700; text-decoration: none; }
.vf-pular:focus { top: 0; color: #fff; }

.vf-ico { width: 1.5rem; height: 1.5rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Botões ---------- */
.vf-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.5rem; border-radius: 999px;
    font-family: var(--vf-titulo); font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1.2; text-decoration: none; text-align: center;
    border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.vf-btn .vf-ico { width: 1.15rem; height: 1.15rem; }
.vf-btn:hover { transform: translateY(-1px); }
.vf-btn:active { transform: translateY(0); }
.vf-btn--escuro { background: var(--vf-preto); color: var(--vf-branco); box-shadow: 0 10px 24px -12px rgba(17, 17, 17, .6); }
.vf-btn--escuro:hover { background: #2B3036; color: var(--vf-branco); }
/* Botão claro definido pelo Anderson em 06/11/2026: azul-claro #B4E6FF com sombra. */
.vf-btn--claro { background: #B4E6FF; color: var(--vf-preto); border-color: var(--vf-preto); box-shadow: 0 10px 24px -12px rgba(17, 17, 17, .6); }
.vf-btn--claro:hover { background: var(--vf-azul-100); color: var(--vf-preto); }
.vf-btn--azul { background: var(--vf-azul); color: var(--vf-preto); }
.vf-btn--azul:hover { background: #5FB1DE; color: var(--vf-preto); }
.vf-btn--grande { min-height: 56px; padding: .9rem 1.9rem; font-size: 1.02rem; }
.vf-link { color: var(--vf-preto); font-weight: 700; text-decoration: underline; text-decoration-color: var(--vf-azul); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.vf-link:hover { color: var(--vf-preto); text-decoration-color: var(--vf-preto); }

/* ---------- Cabeçalho ---------- */
.vf-topo { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--vf-linha); padding: .7rem 0; backdrop-filter: saturate(1.4) blur(8px); }
.vf-topo .navbar-brand { padding: 4px 0; margin-right: 1.5rem; }
.vf-topo .navbar-brand img { display: block; width: 190px; height: auto; }   /* mínimo de tela do manual: 180 px */
.vf-topo .nav-link { font-family: var(--vf-titulo); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--vf-preto);
    padding: .55rem .8rem !important; border-radius: 8px; position: relative; }
.vf-topo .nav-link:hover { color: var(--vf-preto); background: var(--vf-azul-50); }
.vf-topo .nav-link.active::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .15rem; height: 3px; background: var(--vf-azul); transform: skewX(-20deg); }
.vf-topo .navbar-toggler { border: 2px solid var(--vf-preto); border-radius: 12px; padding: .45rem .6rem; color: var(--vf-preto); }
.vf-topo .navbar-toggler:focus { box-shadow: none; }
.vf-topo .navbar-toggler .vf-ico { width: 1.6rem; height: 1.6rem; }
@media (max-width: 991.98px) {
    .vf-topo .navbar-collapse { padding: .75rem 0 .5rem; }
    .vf-topo .nav-link { font-size: .9rem; padding: .8rem .5rem !important; border-bottom: 1px solid var(--vf-linha); border-radius: 0; }
    .vf-topo .nav-link.active::after { left: .5rem; right: auto; width: 2.5rem; }
    .vf-topo .vf-btn { width: 100%; margin-top: .75rem; }
}

/* ---------- Seções ---------- */
.vf-sec { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: var(--vf-branco); }
.vf-sec.vf-sec--tinta { background: var(--vf-azul-50); }
.vf-sec.vf-escuro, .vf-escuro { background: var(--vf-preto); color: var(--vf-branco); }
.vf-cab { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.vf-cab--centro { margin-left: auto; margin-right: auto; text-align: center; }
.vf-olho { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--vf-titulo); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vf-preto); margin-bottom: .9rem; }
.vf-olho::before { content: ""; width: 26px; height: 10px; background: var(--vf-azul); transform: skewX(-20deg); border-radius: 2px; }
.vf-escuro .vf-olho { color: var(--vf-branco); }
.vf-titulo { font-family: var(--vf-titulo); font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; color: var(--vf-preto); margin: 0 0 1rem; text-wrap: balance; }
.vf-escuro .vf-titulo { color: var(--vf-branco); }
.vf-sub { font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--vf-texto-suave); line-height: 1.65; margin: 0; }
.vf-escuro .vf-sub { color: var(--vf-texto-claro); }

/* ---------- Topo da home ----------
   Céu: degradê definido pelo Anderson (135°, #ABDCFF → #0396FF), igual ao site da API. Uso só como fundo; o logotipo mantém #45A2D6.
   Texto preto sobre o degradê: no ponto mais escuro (#0396FF) o contraste é de 6,1:1. */
.vf-abertura { position: relative; overflow: hidden; color: var(--vf-preto); padding: clamp(2rem, 4.5vw, 3.5rem) 0 0;
    background: linear-gradient(135deg, #ABDCFF 10%, #0396FF 100%); }
.vf-abertura::before, .vf-abertura::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.vf-abertura::before { width: 420px; height: 420px; left: -160px; top: 120px; background: radial-gradient(circle, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%); }
.vf-abertura::after { width: 300px; height: 300px; right: -80px; top: 260px; background: radial-gradient(circle, rgba(69, 162, 214, .28), rgba(69, 162, 214, 0) 70%); }
.vf-abertura .container { position: relative; z-index: 1; }
.vf-abertura__texto { max-width: 58rem; margin: 0 auto; text-align: center; }
.vf-selo { display: inline-flex; align-items: center; gap: .55rem; background: var(--vf-branco); color: var(--vf-preto); border: 1px solid var(--vf-azul-200);
    border-radius: 999px; padding: .4rem 1rem .4rem .45rem; font-weight: 600; font-size: .9rem; box-shadow: var(--vf-sombra-sm); }
/* Selo "30 dias grátis" definido pelo Anderson em 06/11/2026: azul #32BCFF, texto branco de 24px e borda escura. */
.vf-selo b { background: #32BCFF; color: #fff; border-radius: 999px; padding: .15rem .65rem; font-family: var(--vf-titulo); font-size: 24px; letter-spacing: .03em;
    white-space: nowrap; border: 2px solid #0000006b; }
@media (max-width: 575.98px) { .vf-selo { font-size: .8rem; text-align: left; padding-right: .8rem; } }
.vf-abertura h1 { font-family: var(--vf-titulo); font-weight: 800; font-size: clamp(2.15rem, 5.6vw, 4.1rem); line-height: 1.07; letter-spacing: -.03em; margin: 1.1rem 0 1rem; color: var(--vf-preto); text-wrap: balance; }
.vf-faixa { position: relative; display: inline-block; padding: 0 .18em; z-index: 0; white-space: nowrap; }
/* Faixa do título definida pelo Anderson em 06/11/2026: azul #32BCFF com borda clara e cantos arredondados. */
.vf-faixa::before { content: ""; position: absolute; inset: .1em -.02em .02em; background: #32BCFF; transform: skewX(-14deg); border-radius: 16px; z-index: -1;
    padding: 10px; display: flex; border: 2px solid #c8e9ff; }
.vf-abertura__lead { font-size: clamp(1.02rem, 1.8vw, 1.22rem); line-height: 1.6; color: #2A3640; max-width: 44rem; margin: 0 auto 1.6rem; text-wrap: pretty; }
.vf-acoes { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.vf-abertura__nota { display: inline-flex; align-items: flex-start; gap: .5rem; max-width: 40rem; margin: 1.25rem auto 0; font-size: .92rem; color: #33414C; text-align: left; }
.vf-abertura__nota .vf-ico { width: 1.15rem; height: 1.15rem; margin-top: .15rem; color: var(--vf-preto); }
.vf-fatos { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; margin: 1.25rem 0 0; padding: 0; list-style: none; font-family: var(--vf-titulo); font-weight: 700; font-size: .9rem; }
.vf-fatos li { display: inline-flex; align-items: center; gap: .45rem; }
.vf-fatos .vf-ico { width: 1.25rem; height: 1.25rem; padding: .2rem; background: var(--vf-preto); color: var(--vf-azul); border-radius: 50%; stroke-width: 3; }
.vf-fatos a { color: var(--vf-preto); }

/* Palco: celular ilustrado + cartões sobre a onda */
.vf-palco { position: relative; margin-top: clamp(1.5rem, 3vw, 2.25rem); height: 440px; }
.vf-flutua { position: absolute; z-index: 3; width: 250px; background: rgba(255, 255, 255, .97); border-radius: var(--vf-raio); padding: 1rem 1.1rem; box-shadow: var(--vf-sombra);
    border: 1px solid var(--vf-linha); text-align: left; }
.vf-flutua__cab { display: flex; align-items: center; gap: .65rem; font-family: var(--vf-titulo); font-weight: 800; font-size: .95rem; }
.vf-flutua p { margin: .5rem 0 0; font-size: .85rem; color: var(--vf-texto-suave); line-height: 1.45; }
.vf-flutua--esq { left: calc(50% - 440px); top: 110px; }
.vf-flutua--dir { right: calc(50% - 440px); top: 210px; }
.vf-flutua__assin { height: 34px; margin-top: .6rem; border-bottom: 2px dashed #C3CDD5; }
.vf-flutua__assin svg { width: 120px; height: 34px; fill: none; stroke: var(--vf-preto); stroke-width: 2.2; stroke-linecap: round; }
@media (max-width: 991.98px) {
    .vf-flutua { display: none; }
}
@media (max-width: 575.98px) {
    .vf-palco { height: 360px; }
    .vf-cel { width: 236px; bottom: -200px; }
    .vf-acoes .vf-btn { width: 100%; }
}

/* Ícone em ladrilho */
.vf-ladrilho { width: 54px; height: 54px; border-radius: 16px; background: #27B2FF; color: var(--vf-preto);   /* azul dos ícones definido pelo Anderson; preto sobre ele ≈ 8:1 */ display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vf-ladrilho .vf-ico { width: 1.65rem; height: 1.65rem; }
.vf-ladrilho--claro { background: var(--vf-azul-100); }

/* ---------- Cartões ---------- */
.vf-cartao { background: var(--vf-branco); border: 1px solid var(--vf-linha); border-radius: var(--vf-raio); padding: clamp(1.4rem, 3vw, 2rem); height: 100%;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.vf-cartao:hover { transform: translateY(-3px); box-shadow: var(--vf-sombra); border-color: var(--vf-azul-200); }
.vf-cartao h3 { font-weight: 800; font-size: 1.3rem; margin: 1.1rem 0 .5rem; color: var(--vf-preto); }
.vf-cartao p { color: var(--vf-texto-suave); line-height: 1.65; margin: 0; }
.vf-publico { position: relative; overflow: hidden; }
.vf-publico::after { content: ""; position: absolute; right: -40px; top: -20px; width: 150px; height: 60px; background: var(--vf-azul-100); transform: skewX(-20deg); }
.vf-publico > * { position: relative; z-index: 1; }

/* ---------- Como funciona ---------- */
.vf-etapas { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; counter-reset: passo; }
@media (min-width: 768px) { .vf-etapas { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.vf-etapa { position: relative; background: var(--vf-branco); border-radius: var(--vf-raio); padding: 1.6rem; border: 1px solid var(--vf-linha); }
.vf-etapa__num { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 42px; padding: 0 .8rem; background: var(--vf-azul); color: var(--vf-preto);
    font-family: var(--vf-titulo); font-weight: 800; font-size: 1.15rem; transform: skewX(-14deg); border-radius: 6px; }
.vf-etapa__num span { display: inline-block; transform: skewX(14deg); }
.vf-etapa h3 { font-weight: 800; font-size: 1.15rem; margin: 1.1rem 0 .4rem; }
.vf-etapa p { color: var(--vf-texto-suave); line-height: 1.6; margin: 0; }
@media (min-width: 768px) {
    .vf-etapa:not(:last-child)::after { content: ""; position: absolute; top: 2.9rem; right: -1.5rem; width: 1.5rem; border-top: 2px dashed var(--vf-azul-300); }
}

/* ---------- Recursos (fundo preto) ---------- */
.vf-recurso { background: var(--vf-grafite); border: 1px solid var(--vf-grafite-2); border-radius: var(--vf-raio); padding: 1.6rem; height: 100%; transition: border-color .2s ease, transform .2s ease; }
.vf-recurso:hover { border-color: var(--vf-azul); transform: translateY(-3px); }
.vf-recurso h3 { color: var(--vf-branco); font-weight: 800; font-size: 1.1rem; margin: 1.1rem 0 .4rem; }
.vf-recurso p { color: var(--vf-texto-claro); line-height: 1.6; margin: 0; font-size: .95rem; }

/* ---------- Planos (prévia) ---------- */
.vf-planos-cab { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.vf-planos-cab .vf-cab { margin-bottom: 0; }
.vf-planos-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.vf-plano { position: relative; background: var(--vf-branco); border: 1px solid var(--vf-linha); border-radius: var(--vf-raio); padding: 1.6rem 1.4rem 1.4rem; height: 100%;
    display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.vf-plano:hover { transform: translateY(-3px); box-shadow: var(--vf-sombra); }
.vf-plano--destaque { border: 2px solid var(--vf-preto); box-shadow: var(--vf-sombra); }
.vf-plano__selo { position: absolute; top: -14px; left: 1.2rem; background: var(--vf-azul); color: var(--vf-preto); font-family: var(--vf-titulo); font-weight: 800; font-size: .72rem;
    letter-spacing: .04em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px; }
.vf-plano__nome { font-family: var(--vf-titulo); font-weight: 800; font-size: 1.15rem; }
.vf-plano__preco { font-family: var(--vf-titulo); font-weight: 800; font-size: 2.1rem; letter-spacing: -.02em; line-height: 1.1; margin-top: .6rem; color: var(--vf-preto); }
.vf-plano__preco small { font-size: .9rem; font-weight: 600; color: var(--vf-texto-suave); letter-spacing: 0; }
.vf-plano__por { font-size: .85rem; color: var(--vf-texto-suave); }
.vf-plano__itens { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; display: grid; gap: .45rem; flex: 1; font-size: .95rem; }
.vf-plano__itens li { display: flex; gap: .5rem; align-items: flex-start; }
.vf-plano__itens .vf-ico { width: 1.15rem; height: 1.15rem; margin-top: .15rem; stroke-width: 3; color: var(--vf-preto); }
.vf-plano .vf-btn { width: 100%; }

/* ---------- Chamada final (fundo azul: texto sempre preto) ---------- */
.vf-chamada { position: relative; overflow: hidden; background: #98DAFF; color: var(--vf-preto); border-radius: 28px; padding: clamp(2.2rem, 5vw, 3.6rem); margin-top: 85px; }
.vf-chamada::before, .vf-chamada::after { content: ""; position: absolute; background: rgba(255, 255, 255, .22); transform: skewX(-20deg); pointer-events: none; }
.vf-chamada::before { width: 180px; height: 100%; top: 0; right: 12%; }
.vf-chamada::after { width: 60px; height: 100%; top: 0; right: calc(12% + 210px); }
.vf-chamada > * { position: relative; z-index: 1; }
.vf-chamada h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .8rem; }
.vf-chamada p { font-size: 1.05rem; line-height: 1.6; margin: 0; max-width: 40rem; color: var(--vf-preto); }

/* ---------- Rodapé ---------- */
.vf-rodape { background: var(--vf-preto); color: var(--vf-texto-claro); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.vf-rodape__logo { display: inline-block; padding: 4px 0; }
.vf-rodape__logo img { display: block; width: 200px; height: auto; }
.vf-rodape p { line-height: 1.6; margin: 1rem 0 0; max-width: 22rem; }
.vf-rodape h2 { font-family: var(--vf-titulo); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--vf-branco); margin: 0 0 1rem; }
.vf-rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.vf-rodape a { color: var(--vf-texto-claro); text-decoration: none; }
.vf-rodape a:hover { color: var(--vf-branco); text-decoration: underline; text-decoration-color: var(--vf-azul); text-underline-offset: 4px; }
.vf-rodape__base { border-top: 1px solid #2A2F35; margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; color: #9AA6B1; }

@media (prefers-reduced-motion: reduce) {
    .vf-btn, .vf-cartao, .vf-plano, .vf-recurso { transition: none; }
    .vf-btn:hover, .vf-cartao:hover, .vf-plano:hover, .vf-recurso:hover { transform: none; }
}
main:focus { outline: none; }

/* =====================================================================
   Páginas públicas (Planos, Calculadora, Suporte, Cadastro, Entrar).
   Tudo fica dentro de .vf-pagina para não alterar o painel da empresa, que ainda usa o tema antigo.
   Os scripts dependem de ids, data-*, .passo/.passos, .d-none e .is-invalid: só a aparência muda aqui.
   ===================================================================== */

/* Abertura de página: versão compacta do topo da home */
.vf-abre { position: relative; overflow: hidden; padding: clamp(2.25rem, 5vw, 3.5rem) 0 clamp(2.75rem, 6vw, 4.25rem);
    background: radial-gradient(900px 380px at 90% -10%, rgba(69, 162, 214, .35), transparent 60%), linear-gradient(170deg, #FBFDFF 0%, #E7F3FA 55%, var(--vf-azul-200) 100%); }
.vf-abre::after { content: ""; position: absolute; right: 8%; bottom: -30px; width: 160px; height: 90px; background: rgba(69, 162, 214, .35); transform: skewX(-20deg); border-radius: 6px; pointer-events: none; }
.vf-abre .container { position: relative; z-index: 1; }
.vf-abre h1 { font-family: var(--vf-titulo); font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -.025em; color: var(--vf-preto); margin: 0 0 .8rem; text-wrap: balance; }
.vf-abre p { font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.6; color: #2A3640; margin: 0; max-width: 44rem; text-wrap: pretty; }
.vf-abre p a { color: var(--vf-preto); font-weight: 700; text-decoration-color: var(--vf-azul); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.vf-corpo { padding-top: clamp(2rem, 5vw, 3.25rem); }
.vf-corpo--estreito { max-width: 880px; }

/* Bootstrap dentro das páginas públicas, alinhado ao manual */
.vf-pagina { --bs-link-color: #111111; --bs-link-color-rgb: 17, 17, 17; --bs-link-hover-color: #111111; --bs-link-hover-color-rgb: 17, 17, 17; color: var(--vf-texto); }
.vf-pagina a:not(.btn):not(.vf-btn) { color: var(--vf-preto); text-decoration-color: var(--vf-azul); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.vf-pagina a:not(.btn):not(.vf-btn):hover { text-decoration-color: var(--vf-preto); }
.vf-pagina .text-muted { color: var(--vf-texto-suave) !important; }
.vf-pagina .btn { border-radius: 999px; font-family: var(--vf-titulo); font-weight: 700; padding: .6rem 1.35rem; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.vf-pagina .btn-lg { min-height: 54px; padding: .8rem 1.8rem; font-size: 1.02rem; }
.vf-pagina .btn-primary { --bs-btn-color: #fff; --bs-btn-bg: #111111; --bs-btn-border-color: #111111; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #2B3036; --bs-btn-hover-border-color: #2B3036;
    --bs-btn-active-color: #fff; --bs-btn-active-bg: #000; --bs-btn-active-border-color: #000; --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: #111111; --bs-btn-disabled-border-color: #111111; }
.vf-pagina .btn-outline-primary, .vf-pagina .btn-outline-secondary { --bs-btn-color: #111111; --bs-btn-border-color: #111111; --bs-btn-hover-color: #111111; --bs-btn-hover-bg: var(--vf-azul-100); --bs-btn-hover-border-color: #111111;
    --bs-btn-active-color: #111111; --bs-btn-active-bg: var(--vf-azul-200); --bs-btn-active-border-color: #111111; border-width: 2px; background: #fff; }
.vf-pagina .btn:focus-visible { outline: 3px solid var(--vf-preto); outline-offset: 3px; box-shadow: none; }
.vf-pagina .form-label { font-weight: 600; color: var(--vf-preto); }
.vf-pagina .form-control, .vf-pagina .form-select { border-radius: 12px; border-color: #C9D5DE; min-height: 46px; }
.vf-pagina .form-control:focus, .vf-pagina .form-select:focus { border-color: var(--vf-azul); box-shadow: 0 0 0 .25rem rgba(69, 162, 214, .3); }
.vf-pagina .form-check-input:checked { background-color: var(--vf-preto); border-color: var(--vf-preto); }
.vf-pagina .form-check-input:focus { border-color: var(--vf-azul); box-shadow: 0 0 0 .25rem rgba(69, 162, 214, .3); }
.vf-pagina .form-range::-webkit-slider-thumb { background: var(--vf-preto); }
.vf-pagina .form-range::-moz-range-thumb { background: var(--vf-preto); }
.vf-pagina .form-range::-webkit-slider-runnable-track { background: var(--vf-azul-200); }
.vf-pagina .form-range::-moz-range-track { background: var(--vf-azul-200); }
.vf-pagina .form-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 .25rem rgba(69, 162, 214, .45); }
.vf-pagina .input-group-text { border-radius: 12px; border-color: #C9D5DE; }

/* Cartões antigos (.vf-card) com a aparência dos novos */
.vf-pagina .vf-card { border-radius: var(--vf-raio); border-color: var(--vf-linha); padding: clamp(1.25rem, 3vw, 1.9rem); box-shadow: 0 10px 30px -22px rgba(17, 17, 17, .35); }
.vf-pagina .vf-card h2 { font-weight: 800; }
.vf-pagina .kpi { font-family: var(--vf-titulo); color: var(--vf-preto); letter-spacing: -.02em; font-size: 2.4rem; }

/* Planos */
.vf-pagina .plano { border-radius: var(--vf-raio); border-color: var(--vf-linha); padding: 1.6rem 1.4rem 1.4rem; transition: transform .2s ease, box-shadow .2s ease; }
.vf-pagina .plano:hover { transform: translateY(-3px); box-shadow: var(--vf-sombra); }
.vf-pagina .plano.destaque { border: 2px solid var(--vf-preto); box-shadow: var(--vf-sombra); }
.vf-pagina .plano .selo { background: var(--vf-azul); color: var(--vf-preto); font-family: var(--vf-titulo); font-weight: 800; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .75rem; top: -14px; left: 1.2rem; }
.vf-pagina .plano .nome { font-family: var(--vf-titulo); font-weight: 800; }
.vf-pagina .plano .preco { font-family: var(--vf-titulo); color: var(--vf-preto); letter-spacing: -.02em; }
.vf-pagina .plano .preco small { color: var(--vf-texto-suave); }
.vf-pagina .plano .economia { background: var(--vf-azul-100); color: var(--vf-preto); }
.vf-pagina .plano li::before { content: ""; display: inline-block; width: .8rem; height: .45rem; margin: 0 .6rem .2rem 0; border-left: 3px solid var(--vf-preto); border-bottom: 3px solid var(--vf-preto); transform: rotate(-45deg); }
.vf-pagina .plano .btn { width: 100%; }

/* Perguntas frequentes */
.vf-pagina .accordion { --bs-accordion-border-radius: var(--vf-raio); --bs-accordion-inner-border-radius: calc(var(--vf-raio) - 1px); --bs-accordion-border-color: var(--vf-linha);
    --bs-accordion-active-bg: var(--vf-azul-50); --bs-accordion-active-color: var(--vf-preto); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(69, 162, 214, .35); }
.vf-pagina .accordion-button { font-family: var(--vf-titulo); font-weight: 700; color: var(--vf-preto); padding: 1.1rem 1.25rem; }
.vf-pagina .accordion-body { color: var(--vf-texto-suave); line-height: 1.65; }

/* Cadastro: etapas, plano e cartão */
.vf-pagina .passos { gap: .6rem; }
.vf-pagina .passos .p { font-family: var(--vf-titulo); font-weight: 700; font-size: .82rem; color: var(--vf-texto-suave); border-bottom-width: 5px; border-color: var(--vf-linha); }
.vf-pagina .passos .p.ativo { color: var(--vf-preto); border-color: var(--vf-azul); }
.vf-pagina .passos .p.feito { color: var(--vf-preto); border-color: var(--vf-preto); }
.vf-pagina .list-group-item { border-color: var(--vf-linha); padding: .9rem 1rem; cursor: pointer; }
.vf-pagina .list-group-item:first-child { border-top-left-radius: 14px; border-top-right-radius: 14px; }
.vf-pagina .list-group-item:last-child { border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; }
.vf-pagina .list-group-item:has(input:checked) { background: var(--vf-azul-50); box-shadow: inset 4px 0 0 var(--vf-azul); }
.vf-pagina .vf-etiqueta { display: inline-block; background: var(--vf-azul); color: var(--vf-preto); font-family: var(--vf-titulo); font-weight: 800; font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 999px; vertical-align: middle; }
.vf-pagina .cartao-box { background: var(--vf-azul-50); border: 1px solid var(--vf-azul-100); border-radius: 14px; }
.vf-pagina .chave-prefixo { background: var(--vf-azul-50); }
.vf-seguro { display: flex; gap: .5rem; align-items: flex-start; }
.vf-seguro .vf-ico { width: 1.05rem; height: 1.05rem; margin-top: .1rem; color: var(--vf-preto); }

/* Entrar: cartão central */
.vf-acesso { max-width: 480px; }
/* Avisos: sugestão/sucesso no azul claro da marca; erro continua vermelho (não depender só de cor: o texto explica). */
.vf-pagina .alert { border-radius: 14px; }
.vf-pagina .alert-success { --bs-alert-color: #111111; --bs-alert-bg: var(--vf-azul-50); --bs-alert-border-color: var(--vf-azul-200); border-left: 5px solid var(--vf-azul); }
@media (max-width: 575.98px) { .vf-pagina .passos .p { font-size: .72rem; line-height: 1.25; padding-bottom: .5rem; } }

/* =====================================================================
   Painel da empresa (_Plataforma): herda .vf-pagina e ganha menu, tabelas, selos e barras próprios.
   Selos de situação mantêm o significado (verde pago/ativo, amarelo pendente, vermelho atraso), com texto escuro e o rótulo escrito.
   ===================================================================== */
.vf-painel { background: #F7FCFF; min-height: calc(100vh - 68px); }
.vf-painel .plat-menu { background: rgba(242, 242, 242, .86) !important; border-right: 1px solid var(--vf-linha); padding: 1.25rem .85rem; width: 248px; }
.vf-painel .plat-menu .menu-titulo { border-bottom: 1px solid var(--vf-linha); padding-bottom: .9rem; margin-bottom: .9rem !important; }
.vf-painel .plat-menu .menu-titulo .fw-semibold { font-family: var(--vf-titulo); font-weight: 800 !important; color: var(--vf-preto); }
.vf-painel .plat-menu a { position: relative; color: var(--vf-preto); font-family: var(--vf-titulo); font-weight: 600; font-size: .9rem; padding: .6rem .85rem; border-radius: 10px; text-decoration: none; }
.vf-painel .plat-menu a:hover { background: var(--vf-azul-50); color: var(--vf-preto); }
.vf-painel .plat-menu a.active { background: var(--vf-preto); color: var(--vf-branco); }
.vf-painel .plat-menu a.active::before { content: ""; position: absolute; left: .35rem; top: 50%; width: 4px; height: 55%; transform: translateY(-50%); background: var(--vf-azul); border-radius: 2px; }
.vf-painel .plat-menu a:focus-visible { outline: 3px solid var(--vf-azul); outline-offset: 2px; }
.vf-painel .plat-menu .plat-submenu { display: flex; flex-direction: column; margin: .1rem 0 .35rem 1rem; padding-left: .5rem; border-left: 2px solid var(--vf-linha); }
.vf-painel .plat-menu .plat-submenu a { font-size: .84rem; font-weight: 500; padding: .42rem .75rem; }
.vf-painel .plat-menu .plat-submenu__espaco { height: .55rem; }
.vf-painel .plat-menu > a { display: flex; align-items: center; }
.vf-painel .plat-menu .plat-ico { width: 1.05rem; height: 1.05rem; margin-right: .55rem; }
/* Submenu: setinha na frente, também no item ativo */
.vf-painel .plat-menu .plat-submenu a { padding-left: 1.5rem; }
.vf-painel .plat-menu .plat-submenu a::before, .vf-painel .plat-menu .plat-submenu a.active::before { content: "\00BB"; position: absolute; left: .6rem; top: .38rem; width: auto; height: auto; transform: none; background: none; border-radius: 0; opacity: .6; }
.vf-painel .plat-main { padding: clamp(1.25rem, 3vw, 2.25rem); }
.vf-painel .plat-main > h1, .vf-painel .plat-main h1.h3, .vf-painel .plat-main h1.h4, .vf-painel .plat-main .d-flex > div > h1 { font-family: var(--vf-titulo); font-weight: 800; letter-spacing: -.02em; color: var(--vf-preto); }
.vf-painel .plat-main h2 { font-weight: 800; color: var(--vf-preto); }
.vf-painel .vf-card { box-shadow: 0 10px 30px -24px rgba(17, 17, 17, .4); }
.vf-painel .kpi { font-size: 2rem; }
@media (max-width: 991.98px) {
    .vf-painel .plat-menu { width: auto; border-right: 0; border-bottom: 1px solid var(--vf-linha); padding: .6rem; }
    .vf-painel .plat-menu a.active::before { display: none; }
    .vf-painel .plat-menu .plat-submenu { display: contents; }
}

/* Tabelas */
.vf-painel .table { --bs-table-hover-bg: var(--vf-azul-50); --bs-table-border-color: var(--vf-linha); margin-bottom: 0; }
.vf-painel .table > thead th { font-family: var(--vf-titulo); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--vf-texto-suave); border-bottom-width: 2px; white-space: nowrap; }
.vf-painel .table-responsive { border-radius: 12px; }

/* Selos */
.vf-pagina .badge { border-radius: 999px; font-family: var(--vf-titulo); font-weight: 700; letter-spacing: .02em; padding: .38em .8em; }
.vf-pagina .badge.text-bg-success { background: #DDEFD8 !important; color: #1E4D14 !important; }
.vf-pagina .badge.text-bg-warning { background: #FFF0C2 !important; color: #5C4300 !important; }
.vf-pagina .badge.text-bg-danger { background: #FADDE0 !important; color: #7D1220 !important; }
.vf-pagina .badge.text-bg-info { background: var(--vf-azul) !important; color: var(--vf-preto) !important; }
.vf-pagina .badge.text-bg-secondary { background: #E5EAEE !important; color: #33404A !important; }
.vf-pagina .badge.text-bg-dark { background: var(--vf-preto) !important; color: var(--vf-branco) !important; }
.vf-pagina .badge.text-bg-light { background: var(--vf-branco) !important; color: var(--vf-preto) !important; }

/* Barra de consumo e avisos */
.vf-pagina .progress { --bs-progress-bg: var(--vf-azul-100); --bs-progress-border-radius: 999px; }
.vf-pagina .progress-bar { background-color: var(--vf-azul); color: var(--vf-preto); font-weight: 700; }
.vf-pagina .alert-info { --bs-alert-color: #111111; --bs-alert-bg: var(--vf-azul-50); --bs-alert-border-color: var(--vf-azul-200); border-left: 5px solid var(--vf-azul); }
.vf-pagina .alert-warning { border-left: 5px solid #E0A800; }
.vf-pagina .alert-danger { border-left: 5px solid #C31D2E; }
.vf-pagina .btn-sm { min-height: 36px; padding: .35rem .9rem; font-size: .85rem; }
.vf-pagina .btn-outline-danger { border-width: 2px; }
/* Cartões soltos no painel (fora de grade) não esticam até o rodapé; código em preto sobre azul claro. */
.vf-painel .plat-main > .vf-card, .vf-painel .plat-main > form > .vf-card, .vf-painel .plat-main > form.vf-card, .vf-painel .plat-main > div > .vf-card:only-child { height: auto; }
.vf-pagina code { color: var(--vf-preto); background: var(--vf-azul-50); border: 1px solid var(--vf-azul-100); border-radius: 6px; padding: .1em .4em; }

/* Topo da home: ocupa a altura da tela no desktop; as nuvens ficam presas ao fim da primeira dobra e escalam com a largura. */
.vf-nuvens { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; aspect-ratio: 1900 / 500; z-index: 0; pointer-events: none;
    background: url("/img/wave.png") center bottom / 100% auto no-repeat; }
@media (min-width: 992px) {
    .vf-abertura { min-height: calc(100vh - 68px); min-height: calc(100svh - 68px); display: flex; flex-direction: column; }
    .vf-abertura > .container { flex: 1; display: flex; flex-direction: column; }
    .vf-abertura .vf-palco { flex: 1; min-height: 430px; }
}
@media (min-width: 1600px) {
    .vf-cel { width: 320px; }
    .vf-flutua--esq { left: calc(50% - 500px); }
    .vf-flutua--dir { right: calc(50% - 500px); }
}
/* No desktop o celular começa logo abaixo dos destaques e desce até ser cortado pelo fim da dobra: nunca cobre o texto. */
@media (min-width: 992px) {
    .vf-abertura .vf-cel { top: 28px; bottom: auto; }
}

/* Celular com moldura de iPhone e telas reais do app alternando (15 s, 5 s por tela). */
.vf-cel { position: absolute; left: 50%; bottom: -150px; z-index: 2; width: 290px; transform: translateX(-50%); padding: 11px; background: #0D0D0F; border-radius: 48px;
    box-shadow: inset 0 0 0 1.5px #3B4047, 0 0 0 3px #1A1C1F, 0 0 0 4.5px #8E959D, 0 45px 80px -30px rgba(17, 17, 17, .6); }
.vf-cel::before, .vf-cel::after { content: ""; position: absolute; width: 4px; border-radius: 3px; background: #2B2F34; }
.vf-cel::before { left: -7px; top: 22%; height: 9%; box-shadow: 0 calc(290px * .16) 0 #2B2F34, 0 calc(290px * .3) 0 #2B2F34; }
.vf-cel::after { right: -7px; top: 27%; height: 14%; }
.vf-cel__tela { position: relative; aspect-ratio: 1320 / 2868; border-radius: 38px; overflow: hidden; background: #111; }
.vf-cel__tela img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: vf-telas 15s infinite; }
.vf-cel__tela img:nth-child(2) { animation-delay: 5s; }
.vf-cel__tela img:nth-child(3) { animation-delay: 10s; }
@keyframes vf-telas { 0% { opacity: 0; } 4% { opacity: 1; } 33.3% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
.vf-cel__tela img:first-child { opacity: 1; animation-name: vf-telas-primeira; }
@keyframes vf-telas-primeira { 0% { opacity: 1; } 33.3% { opacity: 1; } 38% { opacity: 0; } 96% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .vf-cel__tela img { animation: none; }
    .vf-cel__tela img:not(:first-child) { display: none; }
}
@media (max-width: 575.98px) { .vf-cel { border-radius: 42px; padding: 9px; } .vf-cel__tela { border-radius: 33px; } }
/* Tamanhos do celular por tela (depois da regra base para valerem). */
@media (max-width: 575.98px) { .vf-cel { width: 236px; bottom: -200px; } }
@media (min-width: 1600px) { .vf-cel { width: 320px; } }

/* ---------- T-53: mesmo padrão do app iOS (Tema.swift), rodada 1 do Grok ---------- */
:root {
    --vf-marca: #45A2D6;            /* azul do selo FÁCIL: fundo, sempre com texto preto */
    --vf-marca-escura: #155E8E;     /* estados ativos, texto branco (6,9:1) */
    --vf-marca-suave: #DCEFF9;
    --vf-cabecalho: #111111;
    --vf-fundo-app: #F2F9FD;
    --vf-borda: #D5E3EC;
    --vf-borda-campo: #6B7C88;
    --vf-sucesso: #1E8E4E;
    --vf-alerta: #B26A00;
    --vf-erro: #C62828;
    --vf-neutro: #6B7C88;
    --vf-raio-cartao: 16px;
    --vf-raio-campo: 10px;
    --vf-raio-botao: 12px;
    --vf-anim: 250ms cubic-bezier(.2, .8, .2, 1);
}

/* Selos de situação: ícone + texto, mesmas cores do app (Tema.Situacao) */
.vf-sit { display: inline-flex; align-items: center; gap: .3rem; min-height: 26px; padding: .2rem .7rem; border-radius: 999px;
    font-size: .78rem; font-weight: 600; line-height: 1.2; white-space: nowrap; border: 0; }
.vf-sit::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.vf-sit--agendada { background: #E6EEF5; color: #1F3A4D; }
.vf-sit--nao-iniciada { background: #ECEFF1; color: #37474F; }
.vf-sit--em-andamento { background: var(--vf-marca-escura); color: #fff; }
.vf-sit--pausada { background: #FFE9B8; color: #5C3B00; }
.vf-sit--a-enviar { background: #E8E3F8; color: #3B2A73; }
.vf-sit--no-painel { background: #DDF3E4; color: #14532D; }
.vf-sit--cancelada { background: #FDE2E1; color: #7F1D1D; }
.vf-sit--assumida { background: #D5F1F0; color: #0B4F4C; }
.vf-sit--previa { background: #ECEFF1; color: #37474F; }

/* Painel logado: barra do topo preta (como o cabeçalho do app) */
.vf-painel-topo.vf-topo { background: var(--vf-cabecalho) !important; border-bottom: 0; }
.vf-painel-topo .nav-link { color: #fff !important; }
.vf-painel-topo .nav-link:hover { color: var(--vf-marca) !important; }
.vf-painel-topo .navbar-toggler { color: #fff; border-color: rgba(255,255,255,.4); }
/* Com o menu lateral (telas grandes): o logo fica centralizado sobre a coluna do menu, em qualquer largura de tela */
@media (min-width: 992px) {
    .vf-painel-topo--lateral > .container { max-width: none; padding-left: 0; padding-right: 1.5rem; }
    .vf-painel-topo--lateral .navbar-brand { width: 248px; flex-shrink: 0; margin-right: 0; display: flex; justify-content: center; }
}
/* Rodapé do painel na largura toda: direitos à esquerda, links à direita (as mesmas margens do topo) */
.vf-rodape--painel > .container { max-width: none; padding-left: 1.5rem; padding-right: 1.5rem; }

/* Menu lateral: item ativo no azul escuro do app */
.plat-menu a.active { background: var(--vf-marca-escura) !important; color: #fff !important; }
.plat-menu a.active .badge { background: #fff; color: var(--vf-preto); }

/* Cartões do painel no raio do app */
.vf-painel .card, .vf-painel .plat-card { border-radius: var(--vf-raio-cartao); border-color: var(--vf-borda); }

/* Efeitos do vídeo de referência (avaliado pelo Grok): entrada com fade e deslize de 8 px em 250 ms,
   hover dos botões com escala 1,02 em 150 ms. Sem animação com "Reduzir movimento". */
@keyframes vf-entrar { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.vf-painel main .card, .vf-painel .plat-conteudo > section, .vf-painel .table-responsive { animation: vf-entrar var(--vf-anim) both; }
.vf-painel .btn { transition: transform 100ms ease-out, background-color 150ms ease, box-shadow 150ms ease; }
.vf-painel .btn:active { transform: scale(.97); }
@keyframes vf-pulsar { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.vf-esqueleto { background: #E4EEF4; border-radius: 8px; animation: vf-pulsar 1.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
    /* skill apple-design §14: com Reduzir movimento, só um fade curto (sem deslizar, sem escala) */
    .vf-painel main .card, .vf-painel .plat-conteudo > section, .vf-painel .table-responsive { animation: vf-aparecer 200ms ease both; }
    .vf-painel .btn:active, .vf-btn:active { transform: none; }
    .vf-esqueleto { animation: none; }
}

/* ---------- Skill apple-design (Emil Kowalski, WWDC 2018 "Designing Fluid Interfaces"), aplicada em 29/10/2026 ----------
   Cópia da skill em design-prints/skills/apple-design. Só o que serve a um site e a um painel sem gestos de arrastar. */
@keyframes vf-aparecer { from { opacity: 0; } to { opacity: 1; } }

/* §1 Resposta: o retorno acontece no toque (pointer-down), instantâneo, não no hover */
.vf-btn:active { transform: scale(.97); transition: transform 100ms ease-out; }
.vf-btn:hover { transform: none; }
a.vf-cartao-link:active, .vf-plano:active { transform: scale(.99); transition: transform 100ms ease-out; }

/* §4 Molas sem bote por padrão (amortecimento 1,0): a curva de entrada não passa do ponto */
:root { --vf-anim: 300ms cubic-bezier(.2, 0, 0, 1); }

/* §12 Materiais: barras como camada translúcida com o conteúdo passando por baixo, borda de luz em cima */
.vf-topo { background: rgba(255, 255, 255, .72); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
/* Branco onde fica o logo da empresa, para ver como ele sai no PDF */
.vf-painel-topo.vf-topo { background: linear-gradient(90deg, rgba(255, 255, 255, 1) 190px, rgb(255, 255, 255) 238px, #2b2b2b 60%) !important; backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 3px solid rgba(0, 100, 207, 0.23); }

/* §15 Tipografia: entrelinha apertada e tracking negativo nos títulos grandes; corpo perto de zero */
h1, .h1 { line-height: 1.08; letter-spacing: -.025em; }
h2, .h2 { line-height: 1.15; letter-spacing: -.015em; }
h3, .h3 { line-height: 1.2; letter-spacing: -.01em; }

/* §14 Acessibilidade: transparência reduzida e contraste aumentado */
@media (prefers-reduced-transparency: reduce) {
    .vf-topo { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
    .vf-painel-topo.vf-topo { background: linear-gradient(90deg, rgba(255, 255, 255, 1) 190px, rgb(255, 255, 255) 238px, #2b2b2b 60%) !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
    .vf-topo { background: #fff; backdrop-filter: none; border-bottom: 2px solid var(--vf-preto); }
    .vf-painel .card, .vf-painel .plat-card { border: 2px solid var(--vf-preto); }
    .vf-sit { outline: 1px solid currentColor; }
}
@media (prefers-reduced-motion: reduce) {
    .vf-btn:active, a.vf-cartao-link:active, .vf-plano:active { transform: none; }
}

/* ---------- Painel: menu do usuário no topo, Minha conta e rodapé curto (29/10/2026) ---------- */
.vf-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px;
    border-radius: 50%; background: var(--vf-marca); color: #111; font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.vf-avatar--grande { width: 56px; height: 56px; font-size: 1.2rem; }
.vf-usuario, .vf-usuario span { text-transform: none; letter-spacing: normal; }
.vf-usuario { display: flex !important; align-items: center; gap: .55rem; padding-top: .25rem !important; padding-bottom: .25rem !important; }
.vf-usuario__texto { display: flex; flex-direction: column; line-height: 1.15; text-align: left; max-width: 220px; }
.vf-usuario__nome { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-usuario__perfil { font-size: .75rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-usuario__menu { min-width: 240px; border-radius: 12px; border-color: var(--vf-borda); box-shadow: 0 8px 24px rgba(17,17,17,.12); }
.vf-usuario__menu .dropdown-header { white-space: normal; }
.vf-usuario__menu .dropdown-item { padding-top: .45rem; padding-bottom: .45rem; }
.vf-usuario__menu .dropdown-item:active { background: var(--vf-marca-escura); }
@media (max-width: 991.98px) { .vf-usuario__texto { max-width: none; } }
.vf-lista-atalhos li + li { border-top: 1px solid var(--vf-borda); }
.vf-lista-atalhos a { display: block; padding: .6rem 0; color: inherit; text-decoration: none; }
.vf-lista-atalhos a:hover .fw-semibold { color: var(--vf-marca-escura); }
.vf-rodape--painel { padding: 1rem 0; font-size: .85rem; }
.vf-rodape--painel a { color: inherit; opacity: .8; text-decoration: none; }
.vf-rodape--painel a:hover { opacity: 1; text-decoration: underline; }
.min-w-0 { min-width: 0; }

/* Campo com pesquisa (Select2, como o Manager) no visual dos campos do painel */
.select2-container--default .select2-selection--single { height: calc(1.5em + .75rem + 2px); border: 1px solid var(--bs-border-color, #dee2e6); border-radius: var(--bs-border-radius, .375rem); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: calc(1.5em + .75rem); padding-left: .75rem; padding-right: 2rem; color: var(--bs-body-color); }
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: var(--bs-secondary-color, #6c757d); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: calc(1.5em + .75rem); right: .5rem; }
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single { border-color: var(--vf-azul, #86b7fe); box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .25); }
.select2-dropdown { border-color: var(--bs-border-color, #dee2e6); border-radius: var(--bs-border-radius, .375rem); overflow: hidden; }
.select2-container--default .select2-search--dropdown .select2-search__field { border-radius: var(--bs-border-radius, .375rem); padding: .4rem .6rem; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--vf-marca-escura, #295E6E); }
.select2-results__option { padding: .5rem .75rem; }

/* Faturas: cartão atual das mensalidades */
.vf-cartao-atual { display: flex; align-items: center; gap: .85rem; padding: .75rem 1rem; border: 1px solid var(--vf-linha, #e3ecef); border-radius: 12px; background: var(--vf-azul-50, #f4f8fb); min-width: min(100%, 320px); }
.vf-cartao-atual .vf-ico { width: 1.75rem; height: 1.75rem; color: var(--vf-marca-escura, #295E6E); flex-shrink: 0; }
.vf-cartao-atual--vazio { background: #fff; border-style: dashed; }

/* Painel: plano em uma linha discreta (detalhes em Plano) */
.vf-plano-linha { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding: .6rem 1rem; font-size: .85rem; background: #fff; border: 1px solid var(--vf-linha, #e3ecef); border-radius: 12px; }
.vf-plano-linha__item { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.vf-plano-linha__mais { margin-left: auto; font-weight: 600; text-decoration: none; color: var(--vf-marca-escura, #295E6E); display: inline-flex; align-items: center; gap: .25rem; }
.vf-plano-linha__mais .vf-ico { width: .9rem; height: .9rem; }
.vf-mini-barra { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--vf-linha, #e3ecef); overflow: hidden; vertical-align: middle; }
.vf-mini-barra > span { display: block; height: 100%; background: var(--vf-marca-escura, #295E6E); border-radius: 3px; }
.vf-mini-barra > span.vf-mini-barra__cheia { background: #C62828; }

/* Painel: indicadores. Paleta validada (scripts/validate_palette.js): azul, laranja, roxo; status bom/ruim com rótulo e ícone */
.vf-cat-1 { background: #1A84B8; }
.vf-cat-2 { background: #C97A12; }
.vf-cat-3 { background: #7A5BB5; }
.vf-st-bom { background: #2E7D32; }
.vf-st-ruim { background: #C62828; }
.vf-ind-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.vf-ind-kpi { height: auto; }
.vf-ind-kpi__rotulo { font-size: .78rem; color: var(--vf-texto-suave, #5b6b72); font-weight: 600; }
.vf-ind-kpi__valor { font-family: var(--vf-titulo); font-weight: 800; font-size: 1.75rem; line-height: 1.2; color: var(--vf-preto, #111); margin: .2rem 0; }
.vf-ind-kpi__sub { font-size: .78rem; color: var(--vf-texto-suave, #5b6b72); }
.vf-ind-colunas { display: flex; align-items: flex-end; gap: 2px; height: 200px; padding-top: 1.25rem; }
.vf-ind-coluna { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.vf-ind-coluna__barra { width: min(100%, 36px); min-height: 2px; background: #1A84B8; border-radius: 4px 4px 0 0; }
.vf-ind-coluna:hover .vf-ind-coluna__barra { filter: brightness(.9); }
.vf-ind-coluna__valor { font-size: .72rem; color: var(--vf-texto-suave, #5b6b72); margin-bottom: .2rem; }
.vf-ind-coluna__rotulo { font-size: .7rem; color: var(--vf-texto-suave, #5b6b72); margin-top: .35rem; white-space: nowrap; border-top: 1px solid var(--vf-linha, #e3ecef); width: 100%; text-align: center; padding-top: .3rem; }
.vf-ind-empilhada { display: flex; gap: 2px; height: 22px; border-radius: 6px; overflow: hidden; }
.vf-ind-empilhada > span { display: block; height: 100%; }
.vf-ind-legenda { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .88rem; }
.vf-ind-legenda li { display: flex; align-items: center; gap: .4rem; }
.vf-ind-legenda .vf-ico { width: 1rem; height: 1rem; }
.vf-ind-marca { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.vf-ind-barras { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.vf-ind-barras li { display: grid; grid-template-columns: minmax(0, 38%) 1fr auto; align-items: center; gap: .5rem; font-size: .84rem; }
.vf-ind-barras--largo li { grid-template-columns: minmax(0, 32%) 1fr auto; }
.vf-ind-barras__rotulo { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vf-ind-barras__trilho { height: 10px; background: transparent; }
.vf-ind-barras__trilho > span { display: block; height: 100%; min-width: 2px; border-radius: 0 4px 4px 0; }
.vf-ind-barras li:hover .vf-ind-barras__trilho > span { filter: brightness(.9); }
.vf-ind-barras__valor { font-variant-numeric: tabular-nums; color: var(--vf-preto, #111); font-weight: 600; }
.vf-ind-filtros { height: auto; }
/* Select2 no tamanho dos campos pequenos (filtros dos indicadores) */
.form-select-sm + .select2-container--default .select2-selection--single { height: calc(1.5em + .5rem + 2px); }
.form-select-sm + .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: calc(1.5em + .5rem); font-size: .875rem; padding-left: .5rem; }
.form-select-sm + .select2-container--default .select2-selection--single .select2-selection__arrow { height: calc(1.5em + .5rem); }
.vf-ind-kpi__valor { white-space: nowrap; font-size: clamp(1.25rem, 1.6vw, 1.75rem); }
/* Nas páginas do painel os campos têm 46px e raio 12px (.vf-pagina): o Select2 segue o mesmo */
.vf-pagina .select2-container--default .select2-selection--single,
.vf-pagina .form-select-sm + .select2-container--default .select2-selection--single { height: 46px; border-radius: 12px; border-color: #C9D5DE; }
.vf-pagina .select2-container--default .select2-selection--single .select2-selection__rendered,
.vf-pagina .form-select-sm + .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; }
.vf-pagina .select2-container--default .select2-selection--single .select2-selection__arrow,
.vf-pagina .form-select-sm + .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }

/* Logo da empresa no topo do painel: fundo claro para qualquer cor de logo */
.vf-logo-cliente { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 4px 10px; height: 46px; max-width: 210px; }
.vf-logo-cliente img { max-height: 38px; max-width: 190px; width: auto; height: auto; object-fit: contain; }

/* Minha conta: logo da empresa (recorte e prévia) */
.vf-logo-atual { display: flex; align-items: center; min-height: 72px; padding: .5rem .75rem; border: 1px dashed var(--vf-linha, #e3ecef); border-radius: 12px;
    background-color: #fff; background-image: linear-gradient(45deg, #f1f4f6 25%, transparent 25%, transparent 75%, #f1f4f6 75%), linear-gradient(45deg, #f1f4f6 25%, transparent 25%, transparent 75%, #f1f4f6 75%);
    background-size: 16px 16px; background-position: 0 0, 8px 8px; }
.vf-logo-atual img { max-height: 70px; max-width: 100%; object-fit: contain; }
.vf-logo-area { max-height: 320px; background: #f4f6f8; border-radius: 8px; overflow: hidden; }
.vf-logo-area img { display: block; max-width: 100%; }
.vf-logo-previas { display: flex; flex-wrap: wrap; gap: .75rem; }
.vf-logo-previa { display: flex; flex-direction: column; align-items: center; gap: .3rem; font-size: .72rem; color: var(--vf-texto-suave, #5b6b72); }
.vf-logo-previa canvas { border-radius: 8px; }
.vf-logo-previa--topo canvas { background: #fff; outline: 8px solid var(--vf-cabecalho, #2b2b2b); margin: 8px; }
.vf-logo-previa--laudo canvas { background: #fff; border: 1px solid var(--vf-linha, #e3ecef); }

/* Login da empresa com logo: o logo ao lado do nome, na largura do formulário (o nome diminui para caber) */
.vf-acesso-marca { display: flex; align-items: center; gap: .85rem; margin-bottom: .8rem; }
.vf-acesso-marca__logo { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: clamp(96px, 28vw, 135px); height: clamp(60px, 16vw, 72px);
    padding: .4rem .6rem; }
.vf-acesso--logo .vf-olho { width: 100%; border-top: 1px solid #a8e0ff; }
.vf-acesso-marca__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vf-abre .vf-acesso-marca h1 { min-width: 0; margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); overflow-wrap: anywhere; }

/* PN-03: validade do cartão nas telas Minha conta e Faturas */
.vf-validade-cartao { display: flex; flex-direction: column; gap: .15rem; border: 1px solid; border-radius: .65rem; padding: .55rem .8rem; margin-top: .4rem; }
.vf-validade-cartao--vigente { color: #14532d; border-color: #86cba0; background: #eaf7ee; }
.vf-validade-cartao--a-vencer { color: #713f12; border-color: #e5ba54; background: #fff6db; }
.vf-validade-cartao--vencido { color: #8f2020; border-color: #e4a4a4; background: #fcecec; }
.vf-validade-cartao--sem-informacao { color: #475569; border-color: #b8c1cc; background: #f2f4f6; }
.vf-cartao-atual.vf-validade-cartao { flex-direction: row; }

/* PN-02: sinaleira da régua no topo do painel, bloco de atraso em Faturas e tela de bloqueio */
.vf-sinaleira { border: 1px solid; border-radius: .65rem; padding: .7rem 1rem; margin-bottom: 1rem; position: sticky; top: 88px; z-index: 1010; }
.vf-btn-regularizar, .vf-btn-regularizar:hover, .vf-btn-regularizar:focus { background: #c62828 !important; border-color: #c62828 !important; color: #fff !important; font-weight: 700; }
.vf-btn-regularizar:hover { background: #a91f1f !important; border-color: #a91f1f !important; }
.vf-sinaleira--aviso { color: #713f12; border-color: #e5ba54; background: #fff6db; }
.vf-sinaleira--bloqueado { color: #8f2020; border-color: #e4a4a4; background: #fcecec; }
.vf-regua { border: 1px solid #e4a4a4; border-left-width: 5px; border-radius: .65rem; padding: 1rem 1.15rem; background: #fcecec; color: #5e1717; }
.vf-regua__etapas { padding-left: 1.2rem; margin-bottom: .75rem; }
.vf-regua__passou { text-decoration: line-through; opacity: .7; }
.vf-bloqueado { max-width: 560px; }
/* PN-04: cancelar e desistir, em Plano */
.vf-desistir { border-color: #e5ba54; }
.vf-cancelar-aviso p { line-height: 1.55; }
.vf-cancelar-aviso form { margin-top: 1rem; }

/* PN-11: administração da API no painel */
.vf-api { max-width: 1120px; }
.vf-api .vf-card { height: auto; }
.vf-api pre { padding: 1rem; overflow-x: auto; border-radius: .65rem; background: #f2f5f7; color: #152c39; }
.vf-api code { overflow-wrap: anywhere; }
.vf-api-segredo dd { margin-bottom: .7rem; }
.vf-api-segredo code { user-select: all; }
.vf-api-tabela { min-width: 850px; }
.vf-api-tabela td { max-width: 220px; overflow-wrap: anywhere; }

/* Botões das lojas (Views/Shared/_Lojas.cshtml): pílula preta com texto branco, como os selos das lojas. */
.vf-lojas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.vf-loja { display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: .45rem 1.2rem .45rem .95rem; border-radius: 14px;
    background: var(--vf-preto); color: var(--vf-branco) !important; text-decoration: none !important; border: 1.5px solid #3a3f45;
    font-family: var(--vf-titulo); font-weight: 800; font-size: 1.02rem; line-height: 1.1; box-shadow: 0 10px 24px -14px rgba(17, 17, 17, .7); }
.vf-loja small { display: block; font-family: "Open Sans", system-ui, sans-serif; font-weight: 600; font-size: .7rem; letter-spacing: .02em; opacity: .85; }
.vf-loja .vf-ico { width: 1.5rem; height: 1.5rem; color: #32BCFF; }
.vf-loja:hover { background: #1f2328; transform: translateY(-1px); }
.vf-loja:focus-visible { outline: 3px solid var(--vf-azul); outline-offset: 3px; }
.vf-abertura .vf-lojas { justify-content: center; }
@media (min-width: 992px) { .vf-abertura--video .vf-lojas { justify-content: flex-start; } }
.vf-rodape__lojas .vf-lojas { margin-top: 1.1rem; }
.vf-rodape__lojas .vf-loja { border-color: #4a5058; }


/* Páginas de resultado do cadastro (parabéns, processando, recusado): listas com o check da home */
.vf-resultado__passos { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.vf-resultado__passos li { display: flex; align-items: flex-start; gap: .6rem; line-height: 1.5; }
.vf-resultado__passos .vf-ico { flex: none; width: 1.35rem; height: 1.35rem; margin-top: .1rem; padding: .22rem; background: var(--vf-preto); color: var(--vf-azul); border-radius: 50%; stroke-width: 3; }
.vf-resultado__numerada { margin: 0 0 1rem; padding-left: 1.25rem; display: grid; gap: .5rem; line-height: 1.5; }
.vf-resultado__numerada li::marker { font-family: var(--vf-titulo); font-weight: 800; }
.vf-resultado .spinner-border { color: var(--vf-azul); }
