/* Founders OS. Marca: Masi Negócios (Brand Green #AFF000, Brand Dark Green #0C1C16, Inter).
   Composição: abertura preta com o produto no centro, depois seções claras e calmas.
   Uma família só (Inter), títulos em 600 com entrelinha e espaçamento apertados, sem caixa alta. */
:root {
  --lima: #aff000;
  --lima-forte: #c4ff3d;
  --verde-escuro: #0c1c16;
  --preto: #000;
  --grafite: #222;
  --tinta: #1d1d1f;
  --cinza: #6e6e73;
  --cinza-claro: #86868b;
  --linha: #d2d2d7;
  --fundo: #f5f5f7;
  --branco: #fff;
  --sobre-preto: #f5f5f7;
  --sobre-preto-2: rgba(245, 245, 247, 0.62);
  --familia: "Inter", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --largura: 1080px;
  --margem: clamp(1.25rem, 4vw, 3rem);
  --nav: 52px;
  --raio: 20px;
  --raio-p: 12px;
  --curva: cubic-bezier(0.22, 1, 0.36, 1);
  /* O chip nunca passa da altura da tela: metade dele precisa caber junto com o texto. */
  --chip: min(594px, 92vw, 66svh);
}

* { box-sizing: border-box; }
html { background: var(--grafite); scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  background: var(--branco); color: var(--tinta);
  font: 400 17px/1.47 var(--familia); letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
::selection { background: var(--lima); color: var(--verde-escuro); }
:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; border-radius: 6px; }

.pular { position: absolute; z-index: 60; top: 0.75rem; left: -9999px; padding: 0.7rem 1rem; background: var(--branco); color: var(--tinta); font-weight: 600; text-decoration: none; border-radius: 980px; }
.pular:focus { left: 0.75rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.028em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.07; }

/* --- navegação ------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav); margin-bottom: calc(var(--nav) * -1);
  background: rgba(34, 34, 34, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--sobre-preto);
}
.nav-dentro { height: 100%; max-width: calc(var(--largura) + 2 * var(--margem)); margin: 0 auto; padding: 0 var(--margem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.nav-marca { justify-self: start; display: flex; align-items: center; height: 44px; }
.nav-marca img { height: 15px; width: auto; }
.nav-elos { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); font-size: 0.8rem; }
.nav-elos a { text-decoration: none; color: rgba(245, 245, 247, 0.8); padding: 0.9rem 0; transition: color 200ms ease; }
.nav-elos a:hover { color: #fff; }
.nav-fim { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.contador { font-size: 0.8rem; color: var(--sobre-preto-2); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* --- botões ------------------------------------------------------------- */
.botao {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.5rem; border: 0; border-radius: 980px; cursor: pointer;
  font: 500 1.0625rem/1.2 var(--familia); letter-spacing: -0.015em; text-decoration: none; white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--curva);
}
.botao:active { transform: scale(0.97); }
.botao-lima { background: var(--lima); color: var(--verde-escuro); }
.botao-lima:hover { background: var(--lima-forte); }
.botao-p { min-height: 30px; padding: 0.3rem 0.9rem; font-size: 0.8rem; }
.botao-escuro { background: var(--tinta); color: #fff; }
.botao-escuro:hover { background: #000; }
.botao-claro { background: rgba(0, 0, 0, 0.06); color: var(--tinta); }
.botao-claro:hover { background: rgba(0, 0, 0, 0.1); }
.botao-copiar { min-height: 34px; padding: 0.35rem 0.95rem; font-size: 0.875rem; background: var(--tinta); color: #fff; }
.botao-copiar:hover { background: #000; }
.botao-copiar[data-copiado] { background: var(--lima); color: var(--verde-escuro); }
.elo { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 48px; font-size: 1.0625rem; color: var(--lima); text-decoration: none; }
.elo:hover { text-decoration: underline; text-underline-offset: 4px; }
.elo-seta { font-size: 1.3em; line-height: 1; transition: transform 250ms var(--curva); }
.elo:hover .elo-seta { transform: translateX(3px); }
.link { min-height: 44px; font: inherit; font-size: 0.875rem; background: none; border: 0; padding: 0; color: #0066cc; cursor: pointer; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- abertura -------------------------------------------------------------
   Grafite. Texto, botão, logos e, por último, o chip, que fica a cavalo entre esta faixa e a
   seção branca: metade em cada uma, para as duas partes lerem como uma página só. */
.hero {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding: var(--nav) var(--margem) 0;
  background: var(--grafite); color: var(--sobre-preto); text-align: center;
  /* A dobra não é reta: uma barriga leve para baixo, mais funda no meio, onde o chip atravessa. */
  --barriga: clamp(10px, 1.7vw, 26px);
  border-radius: 0 0 50% 50% / 0 0 var(--barriga) var(--barriga);
}
.hero-texto { display: flex; flex-direction: column; align-items: center; padding-top: clamp(2.5rem, 8svh, 4.5rem); }
.hero-produto { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -0.01em; color: var(--lima); }
.hero h1 { margin-top: 0.35rem; font-size: clamp(2.6rem, min(6.4vw, 10.5svh), 5.6rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--lima); }
.hero-apoio { max-width: 34em; margin-top: clamp(0.9rem, 2svh, 1.4rem); font-size: clamp(1.0625rem, 1.55vw, 1.35rem); line-height: 1.38; color: var(--sobre-preto-2); text-wrap: balance; }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.4rem 1.6rem; margin-top: clamp(1.1rem, 2.6svh, 1.8rem); }

.logos { list-style: none; width: 100%; max-width: var(--largura); margin: clamp(2.2rem, 6svh, 4rem) auto 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: center; gap: 1.2rem clamp(1rem, 2.5vw, 2.5rem); }
.logos li { display: grid; place-items: center; height: 44px; }
.logos img { max-width: 100%; max-height: 30px; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.62; transition: opacity 250ms ease; }
.logos:hover img { opacity: 0.32; }
.logos li:hover img { opacity: 1; }

.chip { position: relative; z-index: 1; flex: none; width: var(--chip); height: var(--chip); margin-top: calc(var(--chip) * -0.06); margin-bottom: calc(var(--chip) * -0.5); }
/* Só existe transform enquanto o ponteiro está na abertura; parado, o chip não tem camada própria. */
.chip-palco { position: absolute; inset: 0; }
.chip-palco.inclina { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 420ms var(--curva); }
.chip-svg, .chip-aro { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chip-aro { pointer-events: none; }
.chip-corpo, .chip-sombra { position: absolute; left: 16%; top: 16%; width: 68%; height: 68%; }
.chip-corpo { display: block; max-width: none; }
/* Sombra de contato do chip sobre a página (o render vem recortado, sem sombra). Sem filtro. */
.chip-sombra { border-radius: 14.7%; box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38); }
.trilha { fill: none; stroke: var(--lima); stroke-width: 2; stroke-linecap: round; stroke-opacity: calc(0.28 + 0.5 * var(--aceso, 0)); stroke-dasharray: 1; stroke-dashoffset: 0; }
.contato { fill: var(--lima); fill-opacity: calc(0.55 + 0.45 * var(--aceso, 0)); }
.chip-luz { fill: var(--lima); opacity: calc(0.16 + 0.3 * var(--aceso, 0)); }

/* --- cabeçalho de seção ----------------------------------------------------- */
.secao-topo { max-width: 46rem; margin: 0 auto clamp(2.2rem, 5vw, 3.5rem); text-align: center; }
.sobretitulo { margin-bottom: 0.5rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--cinza); }
.secao-apoio { max-width: 32em; margin: 1rem auto 0; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.4; color: var(--cinza); text-wrap: balance; }

/* --- skills: uma área por vez, uma linha por skill --------------------------- */
/* O corpo do chip desce 34% do desenho para dentro desta seção: o respiro começa depois dele. */
.vitrine { padding: calc(var(--chip) * 0.34 + clamp(4rem, 8vw, 6rem)) var(--margem) clamp(4rem, 9vw, 7rem); background: var(--branco); }
.segmentado, .areas { display: flex; gap: 2px; padding: 3px; background: rgba(118, 118, 128, 0.12); border-radius: 980px; }
.areas { width: max-content; max-width: 100%; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.areas::-webkit-scrollbar { display: none; }
.aba {
  flex: none; min-height: 40px; padding: 0.4rem 1.05rem; border: 0; border-radius: 980px; background: transparent; cursor: pointer;
  font: 500 0.9375rem/1.2 var(--familia); letter-spacing: -0.01em; color: var(--tinta); white-space: nowrap;
  transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}
.aba small { margin-left: 0.4rem; font-size: 0.8125rem; font-weight: 400; color: var(--cinza-claro); font-variant-numeric: tabular-nums; }
.aba:hover { background: rgba(255, 255, 255, 0.55); }
.aba[aria-selected="true"], .aba[aria-pressed="true"] { background: var(--branco); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.04); }

/* Loja: a área aberta vira uma lista em três colunas; a chamada fecha embaixo. */
.loja { max-width: var(--largura); margin: clamp(1.8rem, 3.5vw, 2.6rem) auto 0; display: grid; gap: clamp(2rem, 4vw, 3rem); }
.trilho { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 2.25rem); }
.trilho li { min-width: 0; }
.trilho-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 46rem; margin-inline: auto; }
.movimento .trilho { animation: trocar 450ms var(--curva) backwards; }
/* A linha inteira é o botão: ícone, nome, para que serve e "Ver". A frase de exemplo fica na ficha. */
.app { width: 100%; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 0.9rem; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; letter-spacing: inherit; color: inherit; }
.app-icone { width: 60px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 22.5%; background: var(--verde-escuro); color: var(--lima); box-shadow: inset 0 0 0 1px rgba(175, 240, 0, 0.14); }
.app-icone svg { width: 46%; height: 46%; }
.app-texto { grid-column: 2; min-width: 0; display: grid; gap: 0.15rem; padding: 0.85rem 0; }
.app-texto strong { font-size: 1rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-texto > span { font-size: 0.8125rem; line-height: 1.35; color: var(--cinza); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-ver { min-width: 62px; padding: 0.32rem 0.9rem; border-radius: 980px; background: var(--fundo); font-size: 0.8125rem; font-weight: 700; text-align: center; color: var(--verde-escuro); transition: background-color 200ms ease; }
.app:hover .app-ver, .app:focus-visible .app-ver { background: var(--lima); }
/* O fio entre as linhas começa depois do ícone, como na loja. */
.trilho li:not(.app-fim) .app { background: linear-gradient(var(--linha), var(--linha)) no-repeat calc(60px + 0.9rem) 100% / 100% 1px; }

/* Ficha: folha sobre a página. No celular sobe de baixo. */
.ficha { width: min(30rem, calc(100vw - 2rem)); max-height: calc(100svh - 2rem); margin: auto; padding: 0; border: 0; border-radius: 24px; background: var(--branco); color: var(--tinta); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); overflow: auto; }
.ficha::backdrop { background: rgba(12, 28, 22, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ficha-dentro { position: relative; display: grid; gap: 0.9rem; padding: clamp(1.4rem, 4vw, 2rem); }
.ficha-fechar { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--fundo); color: var(--cinza); cursor: pointer; }
.ficha-fechar:hover { background: #e8e8ed; color: var(--tinta); }
.ficha-fechar svg { width: 16px; height: 16px; }
.ficha-topo { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 1.1rem; padding-right: 2.2rem; }
.ficha-topo .app-icone { width: 84px; }
.ficha-topo h3 { font-size: clamp(1.35rem, 3vw, 1.6rem); line-height: 1.15; letter-spacing: -0.022em; }
.ficha-topo p { margin-top: 0.25rem; font-size: 0.875rem; color: var(--cinza); }
.ficha-para { font-size: 1.0625rem; line-height: 1.45; }
.ficha small { margin-top: 0.4rem; font-size: 0.8125rem; color: var(--cinza); }
.ficha .copiar { margin-top: -0.4rem; background: var(--fundo); border-color: transparent; }
.ficha .botao-lima { margin-top: 0.5rem; width: 100%; }
.movimento .ficha[open] { animation: ficha-entra 380ms var(--curva) both; }
.movimento .ficha[open]::backdrop { animation: fundo-entra 300ms ease both; }
.movimento .ficha.saindo { animation: ficha-sai 240ms ease both; }
.movimento .ficha.saindo::backdrop { animation: fundo-sai 240ms ease both; }
@keyframes ficha-entra { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
@keyframes ficha-sai { to { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes fundo-entra { from { opacity: 0; } }
@keyframes fundo-sai { to { opacity: 0; } }
/* O exemplo é a frase que a pessoa vai colar no chat: campo branco com o botão dentro. */
.copiar { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.5rem 0.5rem 1.1rem; background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio-p); }
.copiar code { flex: 1; min-width: 0; font: 400 1rem/1.35 var(--familia); letter-spacing: -0.011em; color: var(--tinta); overflow-wrap: anywhere; user-select: all; }
.copiar-endereco code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.95rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; overflow-wrap: normal; overflow-x: auto; }

.chamada { padding: clamp(1.6rem, 3.5vw, 2.6rem) clamp(1.4rem, 3.5vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; background: var(--grafite); color: var(--sobre-preto); border-radius: var(--raio); }
.chamada h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.15; }
.chamada p { margin-top: 0.4rem; color: var(--sobre-preto-2); }

/* --- instalação ------------------------------------------------------------ */
.instalacao { padding: clamp(5rem, 11vw, 9rem) var(--margem) clamp(4rem, 8vw, 6rem); background: var(--fundo); }
.segmentado .aba { min-height: 34px; padding: 0.3rem 0.95rem; font-size: 0.875rem; }
.instalacao-corpo { max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.painel { position: sticky; top: calc(var(--nav) + 2rem); }

/* Progresso: uma linha vertical com um ponto por passo. */
.trilha-passos { list-style: none; margin: 0; padding: 0; display: grid; }
.marco { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.9rem; padding-bottom: 1.7rem; }
.marco:last-child { padding-bottom: 0; }
.marco::before { content: ""; position: absolute; left: 13.5px; top: 30px; bottom: 2px; width: 1px; background: var(--linha); transition: background-color 400ms ease; }
.marco:last-child::before { display: none; }
.marco-ponto { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--linha); background: var(--fundo); font-size: 0.8125rem; font-weight: 600; color: var(--cinza-claro); font-variant-numeric: tabular-nums; transition: background-color 400ms ease, color 400ms ease, border-color 400ms ease; }
.marco-ponto svg { width: 14px; height: 14px; }
.marco-nome { padding-top: 0.2rem; font-size: 0.9375rem; line-height: 1.3; color: var(--cinza-claro); }
.marco-nome small { display: block; font-size: 0.8125rem; color: var(--cinza-claro); }
.marco-feito .marco-ponto { background: var(--verde-escuro); border-color: var(--verde-escuro); color: var(--lima); }
.marco-feito::before { background: var(--verde-escuro); }
.marco-feito .marco-nome { color: var(--cinza); }
.marco-atual .marco-ponto { background: var(--lima); border-color: var(--lima); color: var(--verde-escuro); }
.marco-atual .marco-nome { color: var(--tinta); font-weight: 600; }
.marco-atual .marco-nome small { font-weight: 400; }

.jornada { min-width: 0; }
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
.passo { padding: 1.1rem 1.4rem; border-radius: var(--raio); background: var(--branco); }
.passo-cabecalho { display: flex; align-items: center; gap: 1rem; }
.passo-cabecalho h3 { flex: 1; font-size: 1.0625rem; line-height: 1.2; letter-spacing: -0.015em; }
.passo-numero { flex: none; width: 1.9rem; font-size: 0.9375rem; font-weight: 600; color: var(--cinza-claro); font-variant-numeric: tabular-nums; }
.passo-numero svg { width: 18px; height: 18px; color: var(--verde-escuro); }
.passo-tempo { font-size: 0.875rem; color: var(--cinza-claro); white-space: nowrap; font-variant-numeric: tabular-nums; }
.passo-atual { padding: clamp(1.5rem, 3.4vw, 2.6rem); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03), 0 18px 48px -18px rgba(0, 0, 0, 0.16); }
.passo-atual .passo-cabecalho { align-items: baseline; }
.passo-atual .passo-cabecalho h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.08; letter-spacing: -0.03em; }
.passo-atual .passo-numero { width: auto; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--cinza-claro); }
.passo-feito { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.2rem 1rem; padding-block: 0.6rem; background: transparent; }
.passo-feito .passo-cabecalho { flex: 1; }
.passo-feito h3 { font-weight: 500; color: var(--cinza); }
.passo-feito .passo-tempo { display: none; }
.passo-bloqueado { background: transparent; box-shadow: inset 0 0 0 1px var(--linha); }
.passo-bloqueado h3 { font-weight: 500; color: var(--cinza-claro); }
.passo-corpo { margin-top: 1.1rem; }
.passo-corpo > p { margin-bottom: 1rem; }
.intro { font-size: clamp(1.0625rem, 1.5vw, 1.2rem); line-height: 1.4; color: var(--cinza); }

.acoes-lista { list-style: none; counter-reset: acao; margin: 1.6rem 0 1.4rem; padding: 0; display: grid; gap: 1.3rem; }
.acao { counter-increment: acao; position: relative; padding-left: 2.6rem; }
.acao::before { content: counter(acao); position: absolute; left: 0; top: -0.05rem; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; background: var(--fundo); color: var(--tinta); border-radius: 50%; font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.acao > p { margin-bottom: 0.6rem; }
.acao strong { font-weight: 600; }
.acao .copiar { margin: 0.5rem 0; background: var(--fundo); border-color: transparent; }

.print { margin: 0.8rem 0 0; overflow: hidden; border-radius: var(--raio-p); background: var(--branco); border: 1px solid var(--linha); }
.print a { display: block; }
.print img { width: 100%; height: auto; }
.print figcaption { padding: 0.5rem 0.9rem; border-top: 1px solid var(--linha); font-size: 0.8125rem; color: var(--cinza); }

.opcoes { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.opcao { min-height: 48px; padding: 0.55rem 1.4rem; border: 1px solid var(--linha); border-radius: var(--raio-p); background: var(--branco); cursor: pointer; font: 500 1.0625rem/1.2 var(--familia); letter-spacing: -0.015em; color: var(--tinta); transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }
.opcao:hover { border-color: var(--cinza-claro); }
.opcao-escolhida { border-color: var(--tinta); box-shadow: inset 0 0 0 1px var(--tinta); }

.acoes { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.nota { margin-bottom: 1rem; padding: 0.9rem 1.1rem; background: var(--fundo); border-radius: var(--raio-p); font-size: 0.9375rem; color: var(--cinza); }
.alerta { margin-top: 1.1rem; padding: 1rem 1.2rem; background: var(--tinta); color: var(--sobre-preto); border-radius: var(--raio-p); }
.alerta strong { font-weight: 600; color: var(--lima); }

.pronto { margin-top: 0.75rem; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--raio); background: var(--preto); color: var(--sobre-preto); }
.pronto .sobretitulo { color: var(--lima); }
.pronto h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.pronto p:not(.sobretitulo) { max-width: 32em; margin: 1rem 0 1.6rem; font-size: clamp(1.0625rem, 1.5vw, 1.2rem); color: var(--sobre-preto-2); }

/* --- ajuda -------------------------------------------------------------- */
.ajuda { padding: 0 var(--margem) clamp(5rem, 10vw, 8rem); background: var(--fundo); }
.ajuda h2 { max-width: 46rem; margin: 0 auto 1.6rem; padding-top: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--linha); font-size: clamp(1.7rem, 3.4vw, 2.5rem); text-align: center; }
.ajuda-lista { max-width: 46rem; margin: 0 auto; border-top: 1px solid var(--linha); }
details { border-bottom: 1px solid var(--linha); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; padding: 1rem 0; font-size: clamp(1.0625rem, 1.5vw, 1.2rem); font-weight: 600; letter-spacing: -0.018em; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
/* Sinal de mais feito de dois traços; aberto, vira xis. */
summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(var(--tinta), var(--tinta)) center / 100% 1.5px no-repeat, linear-gradient(var(--tinta), var(--tinta)) center / 1.5px 100% no-repeat; transition: transform 350ms var(--curva); }
details[open] summary::after { transform: rotate(45deg); }
details p { max-width: 40em; padding: 0 0 1.4rem; color: var(--cinza); }
.recomecar { max-width: 46rem; margin: 1.6rem auto 0; text-align: center; }

/* --- rodapé ------------------------------------------------------------- */
.rodape { padding: 2rem var(--margem) 3rem; background: var(--fundo); font-size: 0.75rem; line-height: 1.5; color: var(--cinza); }
.rodape-dentro { max-width: var(--largura); margin: 0 auto; padding-top: 1.6rem; border-top: 1px solid var(--linha); }
.rodape img { height: 14px; width: auto; margin-bottom: 1.1rem; opacity: 0.85; }
.rodape p + p { margin-top: 0.4rem; }
.rodape a { color: var(--tinta); text-underline-offset: 2px; }

/* --- movimento ----------------------------------------------------------
   Só entrada e resposta a rolagem ou clique. Nenhuma animação em laço.
   O estado inicial só vale com a classe .movimento no <html> (posta pelo efeitos.js),
   então sem JavaScript ou com movimento reduzido nada fica escondido. */
.movimento [data-revela] { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--curva), transform 900ms var(--curva); }
.movimento [data-revela].visto { opacity: 1; transform: none; }
.movimento .hero-texto > * { opacity: 0; transform: translateY(22px); animation: subir 1000ms var(--curva) forwards; }
.movimento .hero-texto > :nth-child(2) { animation-delay: 90ms; }
.movimento .hero-texto > :nth-child(3) { animation-delay: 200ms; }
.movimento .hero-texto > :nth-child(4) { animation-delay: 300ms; }
.movimento .hero-texto > :nth-child(5) { animation-delay: 380ms; }
.movimento .chip { animation: chip-entra 1400ms var(--curva) 250ms backwards; }
.movimento .trilha { stroke-dashoffset: 1; animation: tracar 1300ms var(--curva) calc(900ms + var(--i) * 45ms) forwards; }
.movimento .logos li { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--curva) calc(var(--n, 0) * 60ms), transform 700ms var(--curva) calc(var(--n, 0) * 60ms); }
.movimento .logos.visto li { opacity: 1; transform: none; }
.movimento .passo-atual, .movimento .pronto { animation: trocar 550ms var(--curva) both; }
@keyframes chip-entra { from { opacity: 0; transform: translateY(40px); } }
@keyframes subir { to { opacity: 1; transform: none; } }
@keyframes tracar { to { stroke-dashoffset: 0; } }
@keyframes trocar { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* --- responsivo ------------------------------------------------------- */
@media (max-width: 900px) {
  .instalacao-corpo { grid-template-columns: minmax(0, 1fr); }
  .painel { position: static; }
  /* No celular o progresso deita: cinco pontos numa linha, com o nome só do passo da vez. */
  .trilha-passos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .marco { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; padding-bottom: 0; }
  .marco::before { left: 34px; right: -6px; top: 13.5px; bottom: auto; width: auto; height: 1px; }
  .marco-nome { font-size: 0.75rem; }
  .marco-nome small { display: none; }
  .marco:not(.marco-atual) .marco-nome { display: none; }
  .marco-atual .marco-nome { width: max-content; max-width: 60vw; }
  .marco:nth-child(n + 4).marco-atual .marco-nome { justify-self: end; text-align: right; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* No celular a lista corre para o lado, três por coluna, com a próxima coluna à mostra. */
  .trilho { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: min(86%, 24rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin-inline: calc(var(--margem) * -1); padding-inline: var(--margem); scroll-padding-inline: var(--margem); }
  .trilho::-webkit-scrollbar { display: none; }
  .trilho li { scroll-snap-align: start; }
  .trilho-2 { max-width: none; }
  .trilho-curto { grid-auto-columns: 100%; }
  .trilho li.app-fim .app { background: linear-gradient(var(--linha), var(--linha)) no-repeat calc(60px + 0.9rem) 100% / 100% 1px; }
  .trilho li:nth-child(3n) .app, .trilho li:last-child .app { background: none; }
}
@media (max-width: 640px) {
  .nav-dentro { grid-template-columns: 1fr auto; }
  .nav-elos { display: none; }
  .areas { width: auto; margin-inline: calc(var(--margem) * -1); padding-inline: var(--margem); border-radius: 0; background: transparent; gap: 0.4rem; }
  .areas .aba { background: rgba(118, 118, 128, 0.12); }
  .areas .aba[aria-selected="true"] { background: var(--verde-escuro); color: #fff; box-shadow: none; }
  .areas .aba[aria-selected="true"] small { color: rgba(255, 255, 255, 0.6); }
  .copiar { align-items: flex-end; flex-direction: column; padding: 0.9rem; }
  .copiar code { align-self: stretch; }
  .copiar-endereco code { font-size: 0.875rem; }
  .chamada .botao, .acoes .botao { width: 100%; }
  .ficha { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .ficha-dentro { padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
  .botao { white-space: normal; text-align: center; }
  .passo { padding-inline: 1.1rem; }
}
@media (max-width: 420px) {
  .nav .contador { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--grafite); }
}
