/* CredFácil · identidade das rotas de SEO (04/11/2026)
   Nasce do site/css/credfacil.css da home: azul de ação #2563EB (hover ESCURECE para #1D4ED8, texto branco
   5,17:1 e 6,7:1), letra Figtree (o mesmo arquivo da home, /fonts/figtree-var.woff2), fundo claro de papel
   e tinta quase preta. Luxo = muito respiro, uma cor só de ação e o print real grande. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/fonts/figtree-var.woff2") format("woff2"); }

:root {
  --acao: #2563EB;
  --acao-forte: #1D4ED8;
  --tinta: #121417;
  --tinta-2: #3F454D;          /* texto de apoio: 9,6:1 sobre o papel */
  --papel: #FAFAF8;
  --papel-2: #F1F0EC;
  --linha: #E2E1DC;
  --noite: #0B1220;            /* faixa escura do fecho, na matiz do azul */
  --ok: #0F7A4A;
  --alerta: #B42318;
  --fonte: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 76rem;
  --raio: 14px;
  --raio-g: 22px;
  --nav-h: 64px;
  /* escala fluida 360 → 1440 */
  --f-0: clamp(0.9375rem, 0.9rem + 0.17vw, 1.0625rem);
  --f-1: clamp(1.0625rem, 0.99rem + 0.3vw, 1.25rem);
  --f-2: clamp(1.375rem, 1.2rem + 0.75vw, 1.875rem);
  --f-3: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  --f-h1: clamp(2.125rem, 1.55rem + 2.55vw, 4rem);
  --sp-sec: clamp(2.75rem, 1.9rem + 3.8vw, 6rem);
  --sp: clamp(1rem, 0.8rem + 0.9vw, 1.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font-family: var(--fonte); font-size: var(--f-0); line-height: 1.6; color: var(--tinta); background: var(--papel); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acao-forte); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--acao); outline-offset: 3px; border-radius: 6px; }
.shell { width: min(100% - 2 * var(--sp), var(--shell)); margin-inline: auto; }
.leitura { max-width: 66ch; }
.apoio { color: var(--tinta-2); }

/* botões: cor viva = texto branco; o hover escurece, nunca clareia */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75rem 1.25rem; border-radius: 999px; font: 600 var(--f-0)/1.1 var(--fonte); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s cubic-bezier(.22,1,.36,1), background-color .18s, box-shadow .18s; white-space: nowrap; }
.btn--acao { background: var(--acao); color: #fff; box-shadow: 0 8px 24px -10px rgba(37, 99, 235, .7); }
.btn--linha { background: #fff; color: var(--tinta); border-color: var(--linha); }
.btn--zap { background: #fff; color: var(--tinta); border-color: var(--linha); }
.btn--zap svg { color: #128C4A; }
.btn:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .btn--acao:hover { background: var(--acao-forte); transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(29, 78, 216, .8); }
  .btn--linha:hover, .btn--zap:hover { border-color: var(--tinta); transform: translateY(-1px); }
}
.btn--p { min-height: 44px; padding: .55rem 1rem; font-size: .9375rem; }

/* cabeçalho fixo: logo oficial solto + Entrar e Abrir conta (a hero de sistema capta também no topo).
   No topo da página ele é ESTENDIDO e sem fundo próprio, sobre a luz da hero (na largura do conteúdo); depois de rolar
   vira CÁPSULA: pílula centrada, com respiro nas laterais e cantos inteiros, vidro claro por cima da página (doutrina,
   portão topo-estendido / topo-capsula-apos-rolar). O rota.js liga [data-rolou] passando de 16 px de rolagem; a troca
   anima só transform, opacity e cor de fundo (a largura troca junto, sem animar). Sem JS fica o topo estendido. */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; padding-top: env(safe-area-inset-top); pointer-events: none; }
.topo .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; pointer-events: auto;
  border-radius: 999px; background-color: rgba(255, 255, 255, 0); box-shadow: 0 0 0 1px rgba(18, 20, 23, 0);
  transition: background-color .3s cubic-bezier(.22,1,.36,1), box-shadow .3s cubic-bezier(.22,1,.36,1), transform .3s cubic-bezier(.22,1,.36,1); }
.topo[data-rolou] .shell { width: min(100% - 1rem, 56rem); padding: .375rem .375rem .375rem 1rem; transform: translateY(6px);
  background-color: rgba(255, 255, 255, .84); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  box-shadow: 0 0 0 1px rgba(18, 20, 23, .07), 0 1px 0 rgba(255, 255, 255, .9) inset, 0 14px 34px -14px rgba(11, 18, 32, .28); }
@media (min-width: 48rem) { .topo[data-rolou] .shell { width: min(100% - 2 * var(--sp), 56rem); padding-left: 1.375rem; } }
.topo__logo { display: inline-flex; align-items: center; min-height: 44px; }
.topo__logo img { height: 30px; width: auto; }
.topo__acoes { display: flex; gap: .5rem; align-items: center; }

/* rodapé: as rotas, a linha do produto e a assinatura da VisionX, sem CNPJ */
.rodape { background: var(--noite); color: #D6DAE1; padding: var(--sp-sec) 0 calc(1.5rem + env(safe-area-inset-bottom)); }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape__logo img { height: 30px; width: auto; }
.rodape__grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; margin-top: 2rem; }
.rodape__grade h3 { font-size: .8125rem; color: #AEB5C0; font-weight: 600; margin-bottom: .5rem; letter-spacing: .02em; }
.rodape__grade ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.rodape__grade li a { display: inline-block; padding: .4rem 0; min-height: 44px; font-size: .9375rem; line-height: 1.6; }
.rodape__base { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .875rem; color: #C3C9D2; }
.rodape__vx { display: inline-flex; align-items: center; gap: .5rem; color: #C3C9D2 !important; min-height: 44px; }
.rodape__vx svg { width: 16px; height: 16px; fill: #fff; }
@media (min-width: 48rem) { .rodape__grade { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* menos movimento: só um fade curto */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .16s !important; animation-iteration-count: 1 !important; }
}
