/* CredTech — site institucional. Layout do Figma "CredTech-Digital" (home nova de 27/10/2026, #159; antes #74).
   Medidas tiradas do PDF do frame "Desktop 1440px | Home Page": conteúdo 1200px, bordas #DDDBD4, painéis #E6E6DF, títulos serifados. */
/* Fontes servidas pelo site (assets/fonts, SIL OFL), pré-carregadas no <head> pelo _partials/build.py */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/assets/fonts/source-serif-4-latin.woff2') format('woff2'); }

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  /* Variáveis "CredTech · Tokens" do Style Guide do Figma (550:1162): neutros frios, azul de destaque, raios 6/8/12 */
  --ink: #000000;            /* Uso/Texto/Principal, Uso/Ação/Primária */
  --ink-2: #1e1f23;          /* Paleta/Neutro/900 */
  --graphite: #2a2b30;       /* Paleta/Neutro/800, Uso/Ação/Primária hover */
  --button: #000000;
  --muted: #5e6068;          /* Uso/Texto/Secundário */
  --faint: #8a8c94;          /* Uso/Texto/Terciário */
  --line: #dcdde2;           /* Uso/Borda/Padrão */
  --line-soft: #e6e7eb;      /* Uso/Borda/Suave */
  --panel: #e6e7eb;          /* Uso/Fundo/Painel */
  --chip: #e6e7eb;
  --soft: #f5f5f7;           /* Uso/Fundo/Suave, Uso/Ação/Neutra */
  --soft-hover: #ededf0;     /* Uso/Ação/Neutra hover */
  --number: #dcdde2;
  --blue: #0088ff;           /* Uso/Ação/Destaque, Uso/Texto/Destaque */
  --blue-dark: #0070e0;      /* Uso/Ação/Destaque hover */
  --error: #b42318;
  --purple: #6938ef;
  --white: #ffffff;
  --radius: 6px;             /* Raio/Pequeno */
  --radius-md: 8px;          /* Raio/Médio */
  --radius-lg: 12px;         /* Raio/Grande */
  --header-h: 64px;
  --content: 1200px;
  /* títulos em Source Serif 4 Medium (500) com tamanho óptico automático, como o Figma: o corte de texto (opsz 20) deixava os títulos grandes grossos */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
picture { display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--content) + 48px); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 12px; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { left: 8px; }
.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.025em; }

/* ---------- Botões ----------
   Componente "Botão" do Style Guide: 40px (Semi Bold 14/20, 24px de lado) e 48px (Semi Bold 16/24, 28px de lado), raio 6.
   Estilos: Primária (preto), Secundária (contorno preto), Clara (branco, sobre fundo escuro), Contorno claro (só contorno branco),
   Contorno cinza (fundo branco, borda cinza, Medium) e Sutil (cinza claro). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 24px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 0; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-lg { height: 48px; padding: 0 28px; font-size: 16px; line-height: 24px; }
.btn-dark, .btn-glossy, .btn-graphite, .btn-ink { background: var(--ink); color: var(--white); }
.btn-dark:hover, .btn-glossy:hover, .btn-graphite:hover, .btn-ink:hover { background: var(--graphite); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--soft); }
.btn-gray { background: var(--white); color: var(--ink); border-color: var(--line); font-weight: 500; }
.btn-gray:hover { background: var(--soft); }
.btn-subtle { background: var(--soft); color: var(--ink); }
.btn-subtle:hover { background: var(--soft-hover); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--soft-hover); }
.btn-outline-light, .btn-ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover, .btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }
/* "Link com seta" (Cor=Azul): Semi Bold 14/20 azul, seta de 24 a 8px */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; height: 24px; font-size: 14px; font-weight: 600; line-height: 20px; letter-spacing: 0; color: var(--blue); }
.link-arrow svg { flex: none; width: 24px; height: 24px; transition: transform .15s; }
.link-arrow:hover, a:hover .link-arrow { color: var(--blue-dark); }
.link-arrow:hover svg, a:hover .link-arrow svg { transform: translateX(3px); }
/* "Em breve" (CredData Embedded e CredTech Advisory, páginas ainda não prontas): mesmo lugar e texto do "Saiba mais", cinza (Uso/Texto/Terciário), sem seta e sem clique */
.link-arrow.is-soon, .link-arrow.is-soon:hover { color: var(--faint); cursor: default; }
.is-soon, .soon-item { cursor: default; }
/* Pílula "Em breve" ao lado do nome no menu Soluções, no menu do celular e no rodapé: Tag pequena e cinza */
.soon-pill { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--chip); color: var(--muted); font-size: 11px; font-weight: 600; line-height: 18px; letter-spacing: 0; vertical-align: 1px; white-space: nowrap; text-decoration: none; }
/* "Link de texto": Medium 14/20 sublinhado; no hover fica azul */
.text-link { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--blue); }
/* "Tag" (Tema=Claro): pílula de 28px, Semi Bold 16 */
.pill {
  display: inline-block; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--chip);
  font-size: 16px; font-weight: 600; line-height: 28px;
}

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--white); border-bottom: 1px solid var(--line-soft); }
/* Componente "Cabeçalho" (Computador, Completo): 64px, marca 34 + divisória de 20, "Link do menu" Medium 14/20 com 8px de lado, botão de 40 */
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.nav-left, .nav-right { display: flex; align-items: center; }
.brand { display: flex; align-items: center; padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--line-soft); height: 20px; }
.brand img { flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 8px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: 0; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--soft); }
.nav-right .nav-link + .dropdown { margin-left: 1px; }
.nav-right .btn { margin-left: 17px; }
.caret { width: 16px; height: 16px; }
.dropdown-solutions > .nav-link { gap: 2px; }

/* Menu "Soluções" como no Figma (frame "Navbar Produtos & Serviços"): abre no hover, 16px da borda esquerda, fundo escurecido e desfocado */
.dropdown { position: relative; }
.dropdown-solutions { position: static; }
.dropdown-solutions.open > .nav-link { background: var(--soft); }
.dropdown-panel {
  position: absolute; top: calc(100% + 9px); left: 16px; z-index: 2; width: min(953px, calc(100vw - 32px)); display: none;
  grid-template-columns: 399fr 441fr; column-gap: 32px; background: var(--white); border-radius: 8px; padding: 24px;
  box-shadow: 0 4px 6px rgba(16,24,40,.03), 0 12px 16px rgba(16,24,40,.08);
}
.dropdown-panel::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 9px; } /* ponte para o hover não fechar no vão */
.dropdown.open .dropdown-panel { display: grid; }
.site-header::after { content: ''; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 1; background: rgba(26,24,12,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .15s, visibility .15s; pointer-events: none; }
.site-header:has(.dropdown-solutions.open)::after { opacity: 1; visibility: visible; }
.dropdown-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dropdown-col + .dropdown-col { border-left: 1px solid var(--line); padding-left: 32px; }
.dropdown-label { margin: 0; font-size: 10px; line-height: 20px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.dropdown-item { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; border-radius: 8px; }
.dropdown-item + .dropdown-item { margin-top: -4px; }
.dropdown-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--soft); color: var(--ink); }
.dropdown-icon svg { display: block; width: 20px; height: 20px; }
.dropdown-item strong { display: block; font-size: 14px; line-height: 24px; font-weight: 500; letter-spacing: 0; }
.dropdown-item small { display: block; font-size: 14px; line-height: 20px; color: var(--muted); }
.dropdown-item:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.dropdown-item.is-soon strong { color: var(--faint); }
.dropdown-item.is-soon:hover strong { text-decoration: none; }
.dropdown-item.is-soon .dropdown-icon { color: var(--faint); }
.login-panel { left: auto; right: 0; width: 280px; grid-template-columns: 1fr; padding: 8px; }
.login-panel a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 15px; }
.login-panel a:hover { background: var(--soft); }
.login-panel small { display: block; color: var(--muted); font-size: 13px; }
/* Menu do "Teste grátis": escolhe o produto em que a conta é criada (aberto pelo app.js embaixo do botão clicado) */
.trial-menu { position: fixed; z-index: 60; width: 280px; padding: 8px; background: var(--white); border-radius: 8px; box-shadow: 0 4px 6px rgba(16,24,40,.03), 0 12px 16px rgba(16,24,40,.08), 0 0 0 1px rgba(0,0,0,.04); }
.trial-menu[hidden] { display: none; }
.trial-menu a { display: block; padding: 10px 12px; border-radius: 6px; font-size: 15px; color: var(--ink); }
.trial-menu a:hover { background: var(--soft); }
.trial-menu small { display: block; color: var(--muted); font-size: 13px; }

/* Cabeçalho mínimo (cadastro): só a marca e o botão Entrar com o painel de login */
.site-header-min .brand { border-right: 0; padding-right: 0; margin-right: 0; }

.site-header-min .login-panel { top: calc(100% + 8px); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.mobile-menu { display: none; }

/* ---------- Home: topo ----------
   Frame "Desktop 1440px | Home Page" (551:7003): 80px do cabeçalho até a tag, tag → título 16, título serifado 72/72,
   texto 16/24 de 668px, botões de 40 a 43px do texto, 80px até a faixa da imagem. */
.hero { text-align: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-size: 72px; line-height: 72px; letter-spacing: -0.04em; margin: 16px auto 0; max-width: 868px; }
.hero p { font-size: 16px; line-height: 24px; max-width: 668px; margin: 16px auto 0; }
.hero .actions { margin-top: 43px; }
.hero .br-mob { display: none; } /* quebra do título só no celular (computador e tablet quebram depois de "inteligente") */
.actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.showcase { position: relative; height: 912px; overflow: hidden; background: var(--panel); }
.showcase-art img, .cta-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Degradê branco do alto da pintura (Figma: 2º preenchimento da pintura, branco cheio a 2% e transparente a 29%). Fica no CSS,
   preso ao topo da faixa e com altura fixa em px, para não sumir em telas largas (a imagem é ampliada e cortada no alto).
   Medidas do Figma a partir do topo da área visível: 1440 = cheio até 2,9px e some em 183,5px; 834 = 1,7 / 105,9; 375 = 0,8 / 47,7. */
.showcase-art::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--fade-b, 183.5px); pointer-events: none;
  background: linear-gradient(to bottom, #fff var(--fade-a, 2.9px), rgba(255, 255, 255, 0) var(--fade-b, 183.5px)); }
/* Moldura de vidro da tela do produto (a mesma do topo das páginas de produto): branco translúcido com desfoque,
   12px de respiro e raio 22; a tela dentro tem raio 8 e nenhuma borda cinza. */
.dock-glass { --screen-r: clamp(3px, .7vw, 8px); padding: 12px; border-radius: calc(var(--screen-r) + 12px); /* regra do designer: 12px de vidro em toda largura, raio = raio da tela + 12 */
  background: rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(23px); backdrop-filter: blur(23px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), 0 18px 48px rgba(0, 0, 0, .08); }
.dock-glass img { display: block; width: 100%; height: auto; border-radius: var(--screen-r); background: var(--white); }
/* Topo da Home (Figma "Group 17" em 1440/834/375): vidro + tela + janela de videochamada, tudo proporcional à largura do vidro (--g).
   Medidas do Figma em 1440: vidro 1110 x 702, 94,5px abaixo do topo da pintura e 32px à direita do centro; vidro com 11,35px de respiro
   e raio 20,4; tela com raio 7,6. A janela de videochamada fica por cima, saindo pela esquerda (7,3% do vidro para fora, 40,3% da altura para baixo). */
.showcase { container-type: inline-size; }
.showcase-frame { --g: min(1110px, (100cqw - 48px) / 1.0728); --shift: .0287; position: relative; z-index: 1; box-sizing: border-box;
  width: var(--g); margin: 94.5px 0 0 calc(50cqw - var(--g) * (.5 - var(--shift))); }
.showcase-frame.dock-glass { --screen-r: calc(var(--g) * .00682); padding: calc(var(--g) * .01022); border-radius: calc(var(--g) * .0184); }
/* janela de videochamada: a imagem inclui a sombra, por isso começa um pouco antes da borda da janela */
.showcase-call { position: absolute; left: -8.34%; top: 40.28%; width: 23.41%; z-index: 2; }
.showcase-frame .showcase-call img { width: 100%; height: auto; border-radius: 0; background: none; }

/* Janelas de app desenhadas em HTML (painel do CredData e automação do Advisory; dados fictícios) */
.app-window { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.25); border: 1px solid rgba(0,0,0,.06); }
.app-bar { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; background: var(--soft); border-bottom: 1px solid var(--line-soft); }
.app-dots { display: flex; gap: 6px; }
.app-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app-url { flex: 1; max-width: 340px; margin: 0 auto; height: 26px; border-radius: 6px; background: var(--white); font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 6px; }
.tag { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 10px; background: #e7f6ec; color: #1f7a3d; }
.bi-body, .flow-body { min-height: 560px; padding: 20px 22px; text-align: left; background: var(--soft); }
.bi-head, .flow-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.bi-head b, .flow-head b { display: block; font-size: 15px; }
.bi-head small, .flow-head small { color: var(--muted); font-size: 12px; }
.bi-chips { display: flex; gap: 6px; }
.bi-chips span { font-size: 11px; padding: 4px 10px; border-radius: 6px; background: var(--white); border: 1px solid var(--line-soft); color: var(--muted); }
.bi-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.bi-kpi, .bi-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: 10px; }
.bi-kpi { padding: 12px 14px; }
.bi-kpi small { display: block; font-size: 11px; color: var(--muted); }
.bi-kpi b { display: block; font-size: 20px; letter-spacing: -0.02em; margin: 4px 0 2px; }
.bi-kpi em { font-style: normal; font-size: 11px; font-weight: 600; }
.bi-kpi em.up { color: #1f7a3d; }
.bi-kpi em.down { color: #1f7a3d; } /* inadimplência caindo é bom */
.bi-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.bi-bars { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.bi-card { padding: 14px; }
.bi-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13px; }
.bi-card-head span { font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.bi-card-head i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-left: 6px; }
.bi-chart { display: block; width: 100%; height: 130px; }
.bi-axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); padding: 4px 4px 0; }
.bi-bars { display: grid; gap: 14px; padding-top: 6px; }
.bi-bars div { display: grid; grid-template-columns: 70px 1fr 32px; align-items: center; gap: 8px; font-size: 11px; }
.bi-bars span { color: var(--muted); }
.bi-bars i { display: block; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #6938ef, #a78bfa); }
.bi-bars b { text-align: right; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.flow::before { content: ''; position: absolute; left: 31px; top: 24px; bottom: 24px; border-left: 2px dashed var(--line); }
.flow li { position: relative; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line-soft); border-radius: 10px; padding: 12px 14px; }
.flow-ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--white); font-size: 13px; font-weight: 700; }
.flow li b { display: block; font-size: 13px; }
.flow li small { display: block; font-size: 11px; color: var(--muted); }
.flow li em { font-style: normal; font-size: 11px; color: var(--muted); white-space: nowrap; }

/* ---------- Seções ---------- */
/* Títulos de seção: "CredTech/Título serifado/48" (48/52, -3%) a 16px da tag */
.section { padding-top: 80px; }
.section-head { text-align: center; }
.section-head h2 { font-size: 48px; line-height: 52px; letter-spacing: -0.03em; margin: 16px auto 0; max-width: 726px; }
.section-head .btn { margin-top: 24px; }

/* Cartões dos 3 passos: 290px, borda padrão, raio 8, 20px de respiro */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 0; }
.step { min-height: 290px; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; display: flex; flex-direction: column; background: var(--white); }
.step-num::before { content: attr(data-num); }
.step-num { font-size: 40px; line-height: 40px; color: var(--number); font-weight: 400; margin-bottom: auto; padding-bottom: 64px; }
.step h3 { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.step p { margin: 7px 0 0; font-size: 16px; line-height: 24px; }
/* "Por que a CredTech" (Figma: 1945:103424 no 1440, 1931:25597 no 834, 1931:25634 no 375). Cada imagem já traz
   a pintura, o vidro e a tela do produto montados como no Figma; aqui só entram o raio e a borda de 1px. */
.section-why .section-head h2 { max-width: none; }
.why-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.why-media { position: relative; aspect-ratio: 384 / 300; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-media::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line-soft); border-radius: inherit; pointer-events: none; }
.why-card h3 { margin: 20px 0 0; font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.why-card p { margin: 8px 0 0; font-size: 16px; line-height: 24px; color: var(--muted); }
.why-actions { margin-top: 51px; }
.section-why + .section-offer { padding-top: 130px; } /* Figma: 130 dos botões até a tag "O que oferecemos" */

/* "O que oferecemos": cartões de 1200 x 630 (texto 599 + imagem), borda padrão, raio 8 */
.section-offer { padding-top: 150px; }
.section-offer .section-head { margin-bottom: 40px; }
.section-offer .section-head h2 { max-width: 612px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 630px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.feature + .feature { margin-top: 40px; }
.feature-text { padding: 36px 48px 52px; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.feature-label { display: inline-flex; align-items: center; gap: 14px; font-size: 16px; line-height: 24px; color: var(--muted); }
.feature-label img { width: 40px; height: 40px; border-radius: var(--radius-md); }
a.feature-label:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.feature h3 { font-size: 48px; line-height: 52px; letter-spacing: -0.03em; margin: 16px 0 0; }
.feature-text > p { font-size: 16px; line-height: 24px; margin: 16px 0 0; max-width: 503px; }
.feature-text > .link-arrow { margin-top: 16px; }
.checks { list-style: none; padding: 0; margin: auto 0 0; padding-top: 48px; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 24px; }
.checks svg { flex: none; margin-top: 4px; }
.feature-media { background: var(--panel); position: relative; overflow: hidden; }
.feature-media picture img { position: absolute; top: 40px; left: 40px; width: 760px; max-width: none; height: auto; border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgba(0,0,0,.14); border: 1px solid rgba(0,0,0,.06); }
.feature-media .app-window { position: absolute; top: 40px; left: 40px; width: calc(100% - 40px); }
.feature-media.art picture img { inset: 0; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; border: 0; border-radius: 0; box-shadow: none; } /* Home: arte do Figma (pintura + tela) ocupa a caixa toda */
.feature .checks svg { color: var(--blue); }

/* ---------- Depoimento ---------- */
.testimonial { padding-top: 150px; }
.quote-card { position: relative; margin: 26px 0 0; display: flex; gap: 73px; align-items: flex-start; min-height: 416px; padding: 43px 60px; border: 2px solid var(--line); background: var(--white); }
/* Os dois cartões de trás (o design prevê mais depoimentos) */
.quote-card::before, .quote-card::after { content: ''; position: absolute; z-index: -1; bottom: 6px; border: 2px solid var(--line); background: var(--white); } /* Figma: os de trás com a mesma borda do da frente */
.quote-card::before { top: -15px; left: 15px; right: 15px; }
.quote-card::after { top: -27px; left: 33px; right: 33px; z-index: -2; } /* cartão mais estreito fica atrás do do meio */
.testimonial { position: relative; z-index: 0; }
.quote-photo { flex: none; width: 247px; }
.quote-photo img { width: 247px; height: 330px; object-fit: cover; }
.quote-body { flex: 1; min-width: 0; }
.quote-card blockquote { margin: 0; font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption { margin-top: 60px; }
.quote-card figcaption b { display: block; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; }
.quote-card figcaption span { display: block; margin-top: 2px; font-size: 16px; line-height: 24px; color: var(--muted); }

/* ---------- Chamada final ----------
   "CredTech/Título/72" (Inter Semi Bold 72/80), "Título/24" e "Texto/14 Medium"; botões Clara + Contorno claro de 40 */
.cta { position: relative; margin-top: 150px; height: 800px; color: var(--white); overflow: hidden; background: #575852; }
.cta .container { position: relative; z-index: 1; padding-top: 223px; }
.cta h2 { font-size: 72px; line-height: 80px; letter-spacing: -0.05em; font-weight: 600; margin: 0; max-width: 608px; }
.cta .sub { font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -0.026em; margin: 31px 0 0; max-width: 440px; }
.cta .small { font-size: 14px; line-height: 20px; font-weight: 500; margin: 21px 0 0; }
.cta .actions { justify-content: flex-start; gap: 12px; margin-top: 25px; }

/* ---------- Rodapé ----------
   Componente "Rodapé" do Style Guide (Computador / Tablet / Celular). Textos 14/20, títulos "Rótulo/12", links legais 12/16 Medium.
   Marca e frase à esquerda, 3 colunas à direita, "Follow us", divisória e a linha legal. A altura mínima segura a divisória
   no lugar mesmo com as redes sociais escondidas (sem endereço no build.py). */
.site-footer { position: relative; background: var(--ink); color: var(--white); min-height: 385px; display: flex; flex-direction: column; padding-top: 37px; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding: 0 52px 0 47px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; width: 446px; }
.footer-logo { display: flex; align-items: center; gap: 14px; width: fit-content; }
.footer-logo img { width: 45px; height: 45px; border-radius: 10.6px; }
.footer-logo span { font-family: var(--font-sans); font-weight: 500; font-size: 32px; line-height: 40px; letter-spacing: -0.04em; }
.footer-brand p { margin: 0; max-width: 419px; font-size: 14px; line-height: 20px; color: rgba(255,255,255,.6); }
.footer-cols { display: grid; grid-template-columns: 151px 148px 164px; column-gap: 70px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; padding-top: 2px; }
.footer-col h2 { margin: 0 0 7px; font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.footer-col a { font-size: 14px; line-height: 20px; white-space: nowrap; }
.footer-col .soon-item { font-size: 14px; line-height: 20px; white-space: nowrap; color: rgba(255,255,255,.5); }
.footer-col .soon-pill { background: rgba(255,255,255,.12); color: rgba(255,255,255,.6); }
.footer-col a:hover, .footer-links a:hover, .footer-logo:hover span { text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; align-items: center; gap: 14px; margin-top: 122px; padding: 0 47px; font-size: 14px; line-height: 20px; color: rgba(255,255,255,.6); }
.footer-social-icons { display: flex; gap: 14px; }
.footer-social-icons > * { display: block; width: 27px; height: 27px; }
.footer-social-icons img { display: block; width: 100%; height: 100%; }
.footer-social-icons a:hover { opacity: .75; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: auto; padding: 12px 88px 19px 47px; border-top: 2px solid rgba(255,255,255,.2); font-size: 14px; line-height: 20px; }
.footer-bottom p { margin: 0; }
.footer-bottom .legal { color: rgba(255,255,255,.6); }
.footer-links { font-size: 12px; line-height: 16px; font-weight: 500; text-align: right; }
.footer-whatsapp { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 28px; background: #25d366; filter: drop-shadow(0 8px 12px rgba(0,0,0,.2)); }
.footer-whatsapp[hidden] { display: none; }
.footer-whatsapp img { display: block; width: 28px; height: 28px; }


/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 16px 16px; display: flex; flex-direction: column; min-height: 530px; }
.plan.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan-name { font-size: 15px; font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); margin: 4px 0 18px; }
.plan.featured .plan-name { border-color: var(--graphite); }
.plan-price { font-size: 18px; color: var(--muted); margin: 0; }
.plan-price b { font-size: 26px; font-weight: 500; color: var(--ink); }
.plan.featured .plan-price, .plan.featured .plan-note { color: rgba(255,255,255,.6); }
.plan.featured .plan-price b { color: var(--white); }
.plan-note { font-size: 12px; color: var(--muted); margin: 6px 0 22px; }
.plan ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 16px; }
.plan li { display: flex; gap: 14px; font-size: 14px; line-height: 1.35; }
.plan li svg { flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan.featured .btn { background: transparent; color: var(--white); border-color: var(--white); }
.plan.featured .btn:hover { background: var(--graphite); }

.faq { max-width: 704px; margin: 120px auto 120px; }
.faq h2 { text-align: center; font-size: 40px; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 40px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.faq details + details { margin-top: 16px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px; font-size: 16px; line-height: 24px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details[open] summary svg.faq-plus { transform: rotate(45deg); } /* "+" (fechada) que gira e vira "×" (aberta), Figma 17/11 */
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 16px; background: var(--soft); font-size: 14px; line-height: 20px; border-radius: 0 0 var(--radius-md) var(--radius-md); }
.faq .answer p { margin: 0; }
.faq .answer p + p { margin-top: 12px; }

/* ---------- Contato ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.split-media { position: relative; overflow: hidden; background: #3d3a33; min-height: 560px; }
.split-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-card { position: absolute; left: 130px; top: 50%; transform: translateY(-50%); width: 460px; max-width: calc(100% - 48px); background: var(--white); border-radius: 6px; padding: 30px 30px 32px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.split-card h2 { font-size: 32px; line-height: 1.15; margin: 0 0 14px; }
.split-card p { margin: 0 0 90px; font-size: 15px; line-height: 1.4; }
.split-card .checks { padding: 0; gap: 10px; }
.split-card .checks li { font-size: 15px; }
.split-form { display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.form-box { width: 100%; max-width: 480px; }
.form-box h1 { text-align: center; font-size: 36px; font-weight: 500; letter-spacing: -0.03em; margin: 0 0 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; font-size: 15px; background: var(--white); }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%235f5e5a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; cursor: pointer; }
.field select:invalid, .field select option[value=''] { color: var(--faint); }
.field textarea { height: 132px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
.phone { display: flex; }
.phone span { display: flex; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); font-size: 15px; color: var(--muted); }
.phone input { flex: 1; border-radius: 0 var(--radius) var(--radius) 0; min-width: 0; }
.consent { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); margin: 28px 0; }
.consent input { width: 18px; height: 18px; accent-color: var(--ink); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { font-size: 14px; color: var(--muted); margin: 14px 0 0; min-height: 20px; text-align: center; }
.form-box > .btn-outline { margin-top: 10px; }
.prepared { width: 100%; margin-top: 12px; height: 140px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; font-size: 13px; }

/* ---------- Páginas legais (termos, privacidade, exclusão de dados) ---------- */
.legal-page-header { padding: 64px 0 24px; }
.legal-page-header .container, .legal-content { max-width: 864px; }
.legal-page-title { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.025em; font-size: 48px; line-height: 1.05; margin: 22px 0 0; }
.legal-content { padding-bottom: 96px; }
.legal-content h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.legal-content h3 { font-size: 18px; margin: 24px 0 8px; }
.legal-content p, .legal-content li { font-size: 16px; line-height: 1.6; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-notice { background: var(--soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 16px; font-size: 14px; line-height: 1.5; margin: 8px 0 24px; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0; }
.legal-content th, .legal-content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-content th { background: var(--soft); }

/* ---------- Responsivo ----------
   Tablet e celular seguem os frames 834 (498:10635) e 375 (498:11090) do Figma. */
@media (max-width: 1260px) {
  .feature-text > p { max-width: none; }
}
@media (max-width: 1100px) {
  .hero h1 { font-size: 60px; line-height: 60px; }
  .feature h3 { font-size: 40px; line-height: 44px; }
  .feature-text { padding: 36px 36px 48px; }
  .quote-card { gap: 40px; padding: 40px; }
  .quote-card blockquote { font-size: 32px; line-height: 36px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 46px; padding-bottom: 36px; }
  .hero h1 { font-size: 48px; line-height: 52px; max-width: 550px; margin-top: 21px; }
  .hero p { margin-top: 21px; max-width: 470px; }
  .hero .actions { margin-top: 32px; }
  .showcase { height: 527px; --fade-a: 1.7px; --fade-b: 105.9px; }
  .showcase-frame { --g: min(659px, (100cqw - 48px) / 1.0728); --shift: .0364; margin-top: 55px; } /* Figma 834: vidro de 659 x 417, 55px abaixo, grupo com a videochamada centralizado */
  .section { padding-top: 70px; }
  .section-offer { padding-top: 80px; }
  .testimonial { padding-top: 80px; }
  .section-head h2 { font-size: 36px; line-height: 40px; max-width: 560px; margin-top: 22px; }
  .section-offer .section-head h2 { max-width: 470px; }
  .section-head .btn { margin-top: 32px; }
  .section-offer .section-head { margin-bottom: 40px; }
  .steps { gap: 24px; margin-top: 40px; }
  .step { min-height: 0; padding: 21px; }
  .step-num { padding-bottom: 40px; }
  .section-why .section-head h2 { margin-top: 16px; letter-spacing: -0.02em; }
  .why-media { border-radius: 4px; }
  .section-why + .section-offer { padding-top: 110px; }
  .plans { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; min-height: 0; }
  .feature + .feature { margin-top: 40px; }
  .feature-text { padding: 28px 24px 32px; }
  .feature h3 { font-size: 36px; line-height: 40px; margin-top: 22px; }
  .feature-text > p { margin-top: 18px; max-width: 480px; }
  .feature-text > .link-arrow { margin-top: 30px; }
  .checks { margin-top: 0; padding-top: 40px; gap: 13px; }
  .feature-media { height: 380px; }
  .feature-media.art { height: auto; aspect-ratio: 784 / 500; } /* tablet: recorte largo do Figma (784 x 500) com a tela no vidro */
  .feature-media picture img { left: 24px; top: 24px; width: 640px; }
  .feature-media .app-window { left: 24px; top: 24px; width: 640px; }
  .quote-card { gap: 34px; padding: 32px 22px; min-height: 0; }
  .quote-photo, .quote-photo img { width: 247px; height: 330px; }
  .quote-card blockquote { font-size: 28px; line-height: 32px; }
  .quote-card figcaption { margin-top: 28px; }
  .cta { margin-top: 80px; height: auto; }
  .cta .container { padding-top: 86px; padding-bottom: 80px; }
  .cta h2 { font-size: 48px; line-height: 48px; max-width: 520px; }
  .cta .sub { font-size: 24px; line-height: 28px; margin-top: 29px; max-width: 450px; }
  .cta .small { margin-top: 15px; }
  .cta .actions { margin-top: 24px; }
  /* Rodapé tablet (frame de 834px): tudo um pouco menor, as duas linhas legais quebram em duas */
  .site-footer { min-height: 376px; padding-top: 30px; }
  .footer-main { padding: 0 24px; gap: 24px; }
  .footer-brand { width: 299px; gap: 16.5px; }
  .footer-logo { gap: 12.9px; }
  .footer-logo img { width: 41.4px; height: 41.4px; border-radius: 9.7px; }
  .footer-logo span { font-size: 30px; line-height: 36px; }
  .footer-brand p { max-width: 265px; font-size: 14px; line-height: 20px; }
  .footer-cols { display: flex; justify-content: space-between; gap: 16px; width: 462px; }
  .footer-col { padding-top: 1.8px; }
  .footer-col h2 { margin-bottom: 7px; font-size: 12px; line-height: 18px; }
  .footer-col a { font-size: 14px; line-height: 20px; }
  .footer-social { gap: 14px; margin-top: 82px; padding: 0 24px; font-size: 14px; line-height: 20px; }
  .footer-social-icons { gap: 14px; }
  .footer-social-icons > * { width: 27px; height: 27px; }
  .footer-bottom { padding: 14px 12px 16px 24px; }
  .footer-bottom .legal span, .footer-links > span { display: block; height: 0; overflow: hidden; }
  .footer-links { width: 315px; text-align: left; }
  .footer-whatsapp { right: 17px; bottom: 17.6px; }
  .plan { min-height: 0; }
  .faq { margin: 80px auto; }
  .legal-page-title { font-size: 36px; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 520px; }
  .split-card { left: 24px; }
  .split-card p { margin-bottom: 40px; }
  .form-grid { grid-template-columns: 1fr; }
}
/* No 834 o Figma mantém o menu completo; o menu do celular entra abaixo disso */
@media (max-width: 700px) {
  .nav-left .nav-link, .nav-left .dropdown, .nav-right > :not(.menu-toggle):not(.btn) { display: none; }
  .brand { border-right: 0; }
  .nav-right .btn { margin-left: 0; margin-right: 8px; }
  .menu-toggle { display: grid; place-items: center; }
  .mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); z-index: 49; padding: 16px 24px 40px; overflow-y: auto; }
  .mobile-menu.open { display: block; }
  .mobile-menu .menu-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 24px 0 8px; }
  .mobile-menu a:not(.btn), .mobile-menu .soon-item { display: block; padding: 10px 0; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .mobile-menu .soon-item { color: var(--faint); }
  .mobile-menu .btn { margin-top: 24px; width: 100%; height: 48px; font-size: 16px; line-height: 24px; }
  .steps { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  /* Rodapé celular (frame de 375px): marca e frase; colunas uma embaixo da outra; "Follow us" depois das colunas; links legais antes do © */
  .site-footer { min-height: 0; padding-top: 37px; }
  .footer-main { display: contents; }
  .footer-brand { order: 1; width: auto; gap: 20px; padding: 0 24px; }
  .footer-logo { gap: 14px; }
  .footer-logo img { width: 45px; height: 45px; border-radius: 10.6px; }
  .footer-logo span { font-size: 32px; line-height: 40px; }
  .footer-brand p { max-width: 318px; font-size: 14px; line-height: 20px; }
  .footer-social { order: 3; gap: 14px; margin-top: 48px; padding: 0 24px; font-size: 14px; line-height: 20px; }
  .footer-social-icons { gap: 14px; }
  .footer-social-icons > * { width: 32px; height: 32px; }
  .footer-cols { order: 2; flex-direction: column; gap: 20px; width: auto; margin-top: 35px; padding: 0 24px; }
  .footer-col { padding-top: 2px; }
  .footer-col h2 { margin-bottom: 7px; font-size: 12px; line-height: 18px; }
  .footer-col a, .footer-col .soon-item { font-size: 14px; line-height: 24px; }
  .footer-bottom { order: 4; flex-direction: column-reverse; gap: 13px; margin-top: 26px; padding: 11px 24px 21px; }
  .footer-bottom .legal { color: rgba(255,255,255,.64); }
  .footer-whatsapp { right: 10px; bottom: 112px; }
}
@media (max-width: 520px) {
  /* Frame "375w light" da Home: título 48/52, seções 36/40, botões de 48 na largura toda */
  .hero { padding-top: 46px; padding-bottom: 56px; }
  .hero h1 { font-size: 48px; line-height: 52px; margin: 21px -8px 0; } /* a caixa do título passa um pouco do respiro, como no Figma (338 em 327) */
  .hero p { margin-top: 21px; }
  .hero .actions { flex-direction: column; align-items: stretch; margin-top: 32px; }
  .hero .btn, .section-head .btn, .cta .btn { height: 48px; padding: 0 28px; font-size: 16px; line-height: 24px; }
  .showcase { height: auto; padding: 21px 0; --fade-a: .8px; --fade-b: 47.7px; }
  .hero .br-mob { display: inline; } /* no celular o título quebra como no Figma 375: "Descubra um / jeito inteligente / de fazer negócios." */
  .showcase-frame { --g: calc((100cqw - 44px) / 1.0728); margin-top: 0; } /* Figma 375: vidro de 308 x 195 numa faixa de 237, grupo com a videochamada a 22px das bordas */
  .dock-glass { --screen-r: 2px; padding: 4px; border-radius: 6px; } /* Figma 375: no celular o vidro é fino (4px, tela com raio 2 e vidro com raio 6), não os 12px do computador */
  .section { padding-top: 60px; }
  .section-offer { padding-top: 70px; }
  .section-head h2 { font-size: 36px; line-height: 40px; margin-left: -4px; margin-right: -4px; }
  .section-offer .section-head h2 { max-width: 280px; }
  .section-head .btn { width: 100%; }
  .steps { margin-top: 40px; }
  .section-why .section-head h2 { margin-left: 0; margin-right: 0; } /* Figma 375: título na largura de 327, quebrando em "tudo / em uma?" */
  .section-why .br-wide { display: none; }
  .why-media { border-radius: 5px; }
  .why-actions { flex-direction: column; align-items: stretch; margin-top: 43px; }
  .why-actions .btn { height: 48px; padding: 0 28px; font-size: 16px; line-height: 24px; }
  .section-why + .section-offer { padding-top: 90px; }
  .feature h3 { font-size: 36px; line-height: 40px; }
  .feature-media picture img, .feature-media .app-window { width: 520px; }
  .quote-card { flex-direction: column; gap: 24px; padding: 24px; }
  .quote-photo, .quote-photo img { width: 100%; height: auto; aspect-ratio: 277 / 297; }
  .feature-media.art { height: auto; aspect-ratio: 599 / 628; }
  .feature-media.art.sq { aspect-ratio: 1 / 1; }
  .quote-card blockquote { font-size: 24px; line-height: 28px; }
  .cta { min-height: 615px; }
  .cta .container { padding-top: 86px; padding-bottom: 80px; }
  .cta h2 { font-size: 48px; line-height: 48px; }
  .cta .sub { font-size: 24px; line-height: 28px; }
  .cta .actions { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Home de 16/11/2026 (Figma "Desktop 1440px | Home Page" 551:7003, tablet 551:7469, celular 551:7935) ----------
   Títulos em Inter Medium (não mais serifados), botão principal azul ("Destaque"), bloco "Por que as empresas escolhem a CredTech?"
   em dois painéis, cards de produto com raio 18 e par de botões, e perguntas frequentes antes da chamada final. */
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); }
[data-page="home"] .nav-right .btn-dark { background: var(--blue); }
[data-page="home"] .nav-right .btn-dark:hover { background: var(--blue-dark); }
[data-page="home"] .hero h1 { font-weight: 500; font-size: 72px; line-height: 80px; letter-spacing: -0.05em; max-width: 1000px; }
[data-page="home"] .section-head h2 { font-weight: 500; font-size: 46px; line-height: 52px; letter-spacing: -0.03em; }

/* Por que a CredTech: painel claro (772) + painel azul (404), 24 entre eles, 560 de altura */
.why2 { display: grid; grid-template-columns: minmax(0, 772fr) minmax(0, 404fr); gap: 24px; padding-top: 80px; }
.why2-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 560px; border-radius: 18px; overflow: hidden; }
.why2-main { padding: 30px 40px; border: 1px solid var(--line); background: var(--white); }
.why2-main h2 { margin: 0; max-width: 490px; font-size: 46px; line-height: 52px; font-weight: 500; letter-spacing: -0.03em; }
.why2-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; max-width: 528px; }
.why2-list li { display: flex; gap: 16px; align-items: flex-start; }
.why2-icon { flex: none; display: grid; place-items: center; width: 24px; height: 24px; color: var(--blue); }
.why2-list h3 { margin: 0; font-size: 22px; line-height: 1.1; font-weight: 500; letter-spacing: -0.01em; color: #181818; }
.why2-list p { margin: 4px 0 0; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--muted); }
.why2-main .actions { justify-content: flex-start; gap: 10px; }
.why2-partners { padding: 40px; background: var(--blue); color: var(--white); }
.why2-badges { display: flex; align-items: center; gap: 15px; }
.why2-badges img, .why2-badge { flex: none; height: 80px; width: auto; color: var(--blue-dark); } /* faixa do selo da Meta: #0070E0 no Figma, mais escura que o painel */
.why2-partners-title { margin: 0; max-width: 323px; font-size: 26px; line-height: 32px; font-weight: 500; letter-spacing: -0.03em; }
.why2-proofs { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 24px; }
.why2-proofs h3 { display: flex; align-items: center; gap: 13px; margin: 0; font-size: 22px; line-height: 32px; font-weight: 500; letter-spacing: -0.01em; }
.why2-proofs h3 svg { flex: none; }
.why2-proofs p { margin: 8px 0 0 45px; max-width: 285px; font-size: 16px; line-height: 24px; font-weight: 500; }
.why2 + .section-offer { padding-top: 110px; }

/* Cards de produto: raio 18, título Inter 36/44, lista e botões no pé do card */
[data-page="home"] .feature { border-radius: 18px; }
[data-page="home"] .feature h3 { font-weight: 500; font-size: 36px; line-height: 44px; letter-spacing: -0.03em; max-width: 460px; }
[data-page="home"] .feature .checks { gap: 14px; }
[data-page="home"] .feature-text > p { color: var(--muted); }
.feature-actions { margin-top: 24px; justify-content: flex-start; gap: 10px; }
.btn.is-disabled { opacity: .4; cursor: default; pointer-events: none; } /* Botão Estado=Desativado: 40% de opacidade */

/* Perguntas frequentes da Home: título à esquerda (456), lista à direita (704), 10 entre as perguntas */
.home-faq { display: flex; gap: 40px; padding-top: 110px; padding-bottom: 110px; }
.home-faq-head { flex: none; width: 456px; display: flex; flex-direction: column; gap: 10px; }
.home-faq-head h2 { margin: 0; font-size: 36px; line-height: 44px; font-weight: 500; letter-spacing: -0.03em; }
.home-faq-head p { margin: 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.home-faq-head a { margin-left: 2px; font-weight: 500; color: var(--ink); text-decoration: underline; }
.faq.home-faq-list { flex: 1; min-width: 0; max-width: 704px; margin: 0 0 0 auto; }
.home-faq-list details + details { margin-top: 10px; }
.home-faq-list summary svg { color: var(--ink); }
.home-faq-list details[open] summary { border-bottom: 0; }
.home-faq + .cta { margin-top: 0; }
/* Topo, títulos, depoimento e chamada final com as medidas do Figma de 16/11/2026 (sem as tags acima dos títulos) */
[data-page="home"] .hero { padding-top: 80px; padding-bottom: 50px; }
[data-page="home"] .hero h1 { margin-top: 0; }
[data-page="home"] .hero p { margin-top: 16px; }
[data-page="home"] .hero .actions { margin-top: 27px; }
[data-page="home"] .section-head h2 { margin-top: 0; }
[data-page="home"] .testimonial { padding-top: 110px; }
[data-page="home"] .cta { height: 616px; }
[data-page="home"] .cta .container { padding-top: 131px; }

@media (max-width: 1100px) {
  [data-page="home"] .hero h1 { font-size: 60px; line-height: 66px; }
  /* Tablet (Figma 834): painéis um embaixo do outro; no azul, as duas parcerias lado a lado e o texto alinhado ao ícone */
  .why2 { grid-template-columns: 1fr; gap: 16px; }
  .why2-panel { min-height: 0; }
  .why2-main { padding: 40px 32px; }
  .why2-main h2 { max-width: 560px; font-size: 40px; line-height: 46px; }
  .why2-list { max-width: none; }
  .why2-partners { padding: 32px; justify-content: flex-start; }
  .why2-partners-title { max-width: none; }
  .why2-proofs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why2-proofs p { margin-left: 0; max-width: 328px; }
}
@media (max-width: 900px) {
  [data-page="home"] .hero { padding-top: 46px; padding-bottom: 36px; }
  [data-page="home"] .hero h1 { font-size: 48px; line-height: 53px; max-width: 640px; margin-top: 0; }
  [data-page="home"] .hero p { margin-top: 21px; }
  [data-page="home"] .hero .actions { margin-top: 33px; }
  [data-page="home"] .section-head h2 { font-size: 36px; line-height: 44px; margin-top: 0; }
  .why2 { padding-top: 50px; }
  .why2 + .section-offer { padding-top: 80px; }
  [data-page="home"] .feature h3 { font-size: 36px; line-height: 44px; max-width: none; }
  .feature-actions { margin-top: 28px; }
  [data-page="home"] .testimonial { padding-top: 93px; }
  [data-page="home"] .cta { height: auto; }
  [data-page="home"] .cta .container { padding-top: 80px; }
  /* Perguntas frequentes: título, lista e o "Ainda tem dúvidas?" embaixo da lista */
  .home-faq { flex-direction: column; gap: 24px; padding-top: 80px; padding-bottom: 80px; }
  .home-faq-head { display: contents; }
  .home-faq-head p { order: 2; }
  .faq.home-faq-list { order: 1; max-width: none; margin: 0; }
}
@media (max-width: 520px) {
  [data-page="home"] .hero { padding-top: 36px; padding-bottom: 36px; }
  [data-page="home"] .hero h1 { font-size: 44px; line-height: 49px; margin-left: 0; margin-right: 0; }
  [data-page="home"] .hero .br-wide { display: none; }
  [data-page="home"] .hero .actions { margin-top: 32px; }
  [data-page="home"] .section-head h2 { font-size: 32px; line-height: 38px; }
  .why2 { grid-template-columns: 1fr; padding-top: 50px; }
  .why2 + .section-offer { padding-top: 70px; }
  .why2-main { padding: 33px 20px; gap: 28px; }
  .why2-main h2 { max-width: 283px; font-size: 30px; line-height: 35px; }
  .why2-list h3, .why2-proofs h3 { font-size: 19px; }
  .why2-main .actions { flex-direction: column; align-items: stretch; }
  .why2-partners { padding: 32px 20px; gap: 28px; }
  .why2-partners-title { font-size: 22px; line-height: 28px; }
  .why2-proofs { margin-top: 28px; grid-template-columns: 1fr; }
  .why2-proofs p { margin-left: 45px; max-width: none; }
  [data-page="home"] .feature h3 { font-size: 32px; line-height: 38px; }
  .feature-actions { flex-direction: column; align-items: stretch; width: 100%; }
  [data-page="home"] .testimonial { padding-top: 44px; }
  .home-faq { gap: 24px; padding-top: 110px; padding-bottom: 64px; }
  .home-faq-head h2 { font-size: 30px; line-height: 44px; }
}

/* Quebras de linha do Figma no computador (bloco de parcerias e motivos); no tablet e no celular o texto quebra sozinho */
@media (max-width: 1100px) { .br-d { display: none; } }
.why2-proofs li:first-child p { max-width: 267px; } /* Figma: texto da Microsoft com 267 de largura, o da Meta com 285 */
@media (max-width: 1100px) { .why2-proofs li:first-child p { max-width: 328px; } }
@media (max-width: 520px) { .why2-proofs li:first-child p { max-width: none; } }

/* Home 17/11: textos de apoio em Uso/Texto/Secundário e cabeçalho de "Uma estrutura completa" à esquerda com descrição (Figma 551:7003) */
[data-page="home"] .hero p { color: var(--muted); }
.home-faq-list .answer { color: var(--muted); }
[data-page="home"] .section-offer .section-head { text-align: left; display: flex; flex-direction: column; gap: 20px; }
[data-page="home"] .section-offer .section-head h2 { max-width: 710px; margin: 0; }
[data-page="home"] .section-offer .section-head p { margin: 0; max-width: 644px; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--muted); }
@media (max-width: 900px) {
  [data-page="home"] .section-offer .section-head { gap: 10px; }
  [data-page="home"] .section-offer .section-head h2 { max-width: 548px; }
  [data-page="home"] .section-offer .section-head p { max-width: 549px; }
}
@media (max-width: 520px) {
  [data-page="home"] .section-offer .section-head h2 { max-width: none; margin: 0; }
  [data-page="home"] .section-offer .section-head p { max-width: 309px; }
}

/* "Por que a CredTech" no tablet: larguras de cada descrição do Figma (599 / 536 / 680) */
@media (max-width: 1100px) and (min-width: 521px) {
  .why2-list li:nth-child(1) p { max-width: 599px; }
  .why2-list li:nth-child(2) p { max-width: 536px; }
  .why2-list li:nth-child(3) p { max-width: 680px; }
}

/* Faixa "Somos especializados no mercado de crédito e financeiro" (Home e HubTech, Figma 3041:35155 / 3041:31248):
   ícones + nomes passando devagar da direita para a esquerda, com as pontas esmaecidas. */
.niches { padding-top: 60px; overflow: hidden; text-align: center; }
.niches .niches-title { margin: 0 auto; font-size: 12px; line-height: 14px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #8a8c94; }
.niches-track { display: flex; width: min(1280px, 100%); margin: 26px auto 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22.7%, #000 77.3%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22.7%, #000 77.3%, transparent 100%); }
.niches-row { display: flex; flex: none; gap: 30px; margin: 0; padding: 0 30px 0 0; list-style: none; animation: niches-scroll 40s linear infinite; }
.niches-row li { display: flex; align-items: center; flex: none; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--muted); white-space: nowrap; } /* designer 18/11: mais leve, sem chamar tanta atenção */
.niche-ico svg { stroke-width: 1.4; }
.niche-ico { display: grid; place-items: center; width: 49px; height: 49px; flex: none; }
@keyframes niches-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .niches-row { animation: none; } }
.niches + .why2 { padding-top: 80px; } /* designer 18/11: faixa mais perto dos cards */
@media (max-width: 1100px) { .niches + .why2 { padding-top: 50px; } }
.niches-track-m { display: none; }
@media (max-width: 520px) {
  /* Celular (Figma 3041:35018): duas linhas (5 + 4 nichos), letra 13 e ícone em caixa de 39, pontas esmaecidas de 130 px */
  .niches .niches-title { max-width: 275px; line-height: 14px; }
  .niches-track-d { display: none; }
  .niches-track-m { display: flex; margin-top: 24px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34.7%, #000 65.3%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 34.7%, #000 65.3%, transparent 100%); }
  .niches-track-m2 { margin-top: 8px; }
  .niches-track-m2 .niches-row { animation-direction: reverse; }
  .niches-row { gap: 18px; padding-right: 18px; animation-duration: 24s; }
  .niches-row li { font-size: 13px; line-height: 20px; }
  .niche-ico { width: 39px; height: 39px; }
  .niche-ico svg { width: 21px; height: 21px; }
  .niches + .why2 { padding-top: 50px; }
}
/* Home: chamada final nova (Figma 18/11, 551:7407): frase de 24 px numa linha só e texto de apoio com 540 de largura */
[data-page="home"] .cta .sub { max-width: 861px; margin-top: 14px; }
[data-page="home"] .cta .small { max-width: 540px; margin-top: 14px; }
@media (max-width: 900px) { [data-page="home"] .cta .sub { max-width: 520px; } }

/* ---------- Microanimações de rolagem (animacoes.js; designer 18/11/2026, referência dria.com) ----------
   Só valem com a classe "anim" no <html>, que o <head> liga quando o sistema não pede "reduzir movimento". */
.anim :is(.hero h1, .p-hero h1, main h2):not(.is-split) { opacity: 0; }
.anim .is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.anim .is-split .w > span { display: inline-block; translate: 0 105%; transition: translate 1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0ms) + var(--l, 0) * 120ms); }
.anim .is-split.in .w > span { translate: 0 0; }
.anim .rv { opacity: 0; translate: 0 28px; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), translate .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.anim .rv.in { opacity: 1; translate: 0 0; }
/* telas e imagens grandes sobem um pouco mais e crescem levemente */
/* imagens em molduras: sem subir; a imagem faz um leve zoom de 1.08 para 1 dentro da moldura */
.anim .rvm { overflow: hidden; opacity: 0; transition: opacity 1s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.anim .rvm img { scale: 1.08; transition: scale 1.4s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.anim .rvm.in { opacity: 1; }
.anim .rvm.in img { scale: 1; }
/* telas do topo: entram subindo e endireitam com a rolagem (--tilt e --ts vêm do animacoes.js) */
.anim .dock3d-stage { perspective: 1800px; }
.anim .dock3d { transform-origin: 50% 0; rotate: x var(--tilt, 18deg); scale: var(--ts, .92); opacity: 0; translate: 0 80px; transition: opacity 1.2s cubic-bezier(.2, .7, .2, 1), translate 1.2s cubic-bezier(.2, .7, .2, 1); }
.anim .dock3d.in { opacity: 1; translate: 0 0; }
@media (max-width: 700px) { .anim .dock3d { rotate: x calc(var(--tilt, 18deg) * .6); } }
/* FAQ: o "+" gira mais devagar; a resposta desliza (animacoes.js) */
.anim .faq details .answer { overflow: hidden; }
.anim .faq summary svg { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
/* divisórias entre os passos crescem de cima para baixo */
.anim .sc-steps li.rv + li.rv::before { scale: 1 0; transform-origin: top; transition: scale 1s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0ms) + 200ms); }
.anim .sc-steps li.rv.in + li.rv.in::before { scale: 1 1; }
/* pinturas de fundo andam mais devagar que a página */
.anim img.px { scale: 1.1; translate: 0 var(--py, 0); will-change: translate; }
@media (max-width: 700px) {
  .anim .sc-steps li.rv + li.rv::before { transform-origin: left; scale: 0 1; }
  .anim .sc-steps li.rv.in + li.rv.in::before { scale: 1 1; }
}

/* Cards de produto da Home: ao passar o mouse nos botões, a imagem do card dá um leve zoom (designer 18/11) */
.feature-media picture img { transition: scale .6s cubic-bezier(.2, .7, .2, 1); }
.feature:has(.feature-actions a:hover, .feature-actions a:focus-visible) .feature-media picture img { scale: 1.05; transition: scale .6s cubic-bezier(.2, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { .feature:has(.feature-actions a:hover, .feature-actions a:focus-visible) .feature-media picture img { scale: 1; } }
