/* Valores de cor, tipo, espaço e raio: marca/tokens.json v1.0 (04/11/2026). Tema claro só (spec §5.4). */
@font-face { font-family: "Inter"; src: url("/fontes/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fontes/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fontes/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --cor-fundo: #FFFFFF;
  --cor-fundo-2: #F5F5F7;
  --cor-texto: #1D1D1F;
  --cor-texto-2: #6E6E73;
  --cor-texto-3: #86868B;
  --cor-linha: #D2D2D7;
  --cor-acento: #195DE6;
  --cor-sobre-acento: #FFFFFF;
  /* Fonte do sistema primeiro (D9); Inter auto-hospedada só onde não houver SF. */
  --fonte: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --raio: 6px;
  --margem: 20px;
  --secao: 96px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --margem: 32px; --secao: 112px; } }
@media (min-width: 1200px) { :root { --secao: 136px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cor-fundo); color: var(--cor-texto);
  font: 400 17px/1.53 var(--fonte); letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cor-acento); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cor-acento); outline-offset: 3px; border-radius: 2px; }

.faixa { max-width: 1120px; margin: 0 auto; padding: 0 var(--margem); }

.pular { position: absolute; left: var(--margem); top: -100px; background: var(--cor-fundo); padding: 8px 12px; border-radius: var(--raio); z-index: 10; }
.pular:focus { top: 8px; }

.previa { background: var(--cor-texto); color: #FFFFFF; font-size: 13px; line-height: 18px; padding: 8px var(--margem); text-align: center; }
.previa strong { font-weight: 600; }

/* Cabeçalho: wordmark + um link de texto. */
.topo-faixa { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marca { display: block; margin-left: -10px; }
.marca img { height: 44px; width: auto; }
.topo-links { display: flex; gap: 24px; }
.topo-link { font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; min-height: 36px; }
.topo-link[aria-current="page"] { color: var(--cor-texto); }
/* Em 360 px o logo e os dois links não cabem; o botão do hero, logo abaixo, leva ao mesmo e-mail. */
@media (max-width: 479px) { .topo-email { display: none; } }

/* Hero */
.hero { padding: 40px 0 var(--secao); }
.hero-sobre { font-size: 17px; font-weight: 500; color: var(--cor-texto-2); margin-bottom: 12px; }
.hero-titulo {
  font-weight: 600; font-size: clamp(32px, 6.6vw, 80px); line-height: 1.06; letter-spacing: -0.03em;
  max-width: 15.5em;
}
.hero-apoio { margin-top: 16px; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.4; color: var(--cor-texto-2); max-width: 34em; }
.hero .botao { margin-top: 32px; }
@media (min-width: 768px) { .hero { padding-top: 96px; } .hero-apoio { margin-top: 24px; } .hero .botao { margin-top: 40px; } }
.hero-curto { padding-bottom: 48px; }
@media (min-width: 768px) { .hero-curto { padding-bottom: 64px; } }

/* Botão único: o mesmo nome e o mesmo destino em todas as páginas. */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 20px; border-radius: var(--raio);
  background: var(--cor-acento); color: var(--cor-sobre-acento);
  font-size: 15px; font-weight: 500; letter-spacing: 0;
  transition: background-color .15s ease, transform .15s ease;
}
.botao:hover { text-decoration: none; background: #144FC4; }
.botao:active { transform: scale(.98); }

.link { font-weight: 500; }

/* Seções */
.secao { padding: var(--secao) 0; }
.cinza { background: var(--cor-fundo-2); }
.curta { padding: 80px 0; }
.titulo { font-weight: 600; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.022em; }
.duas { display: grid; gap: 32px; }
@media (min-width: 900px) { .duas { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }

.produto { background: var(--cor-fundo); border-radius: var(--raio); padding: 32px 24px; }
@media (min-width: 768px) { .produto { padding: 48px; } }
.produto-nome { font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
.produto-nicho { margin-top: 8px; color: var(--cor-texto-2); }
.produto-frase { margin-top: 24px; font-size: 21px; line-height: 1.45; }
.produto .link { display: inline-block; margin-top: 24px; font-size: 17px; }

.tese { margin-top: 40px; display: grid; gap: 16px; }
.tese li { font-size: clamp(24px, 2.6vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.018em; color: var(--cor-texto-3); }
.tese li:last-child { color: var(--cor-texto); }
@media (min-width: 768px) { .tese { margin-top: 56px; gap: 20px; } }

.nota { margin-top: 16px; color: var(--cor-texto-2); max-width: 36em; }
.passos { margin-top: 48px; display: grid; gap: 40px; counter-reset: passo; }
.passos li { counter-increment: passo; }
.passos li::before {
  content: counter(passo); display: block; font-size: 48px; line-height: 1; font-weight: 600;
  letter-spacing: -0.03em; color: var(--cor-acento); margin-bottom: 16px;
}
.passos h3 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.passos p { margin-top: 8px; }
@media (min-width: 768px) { .passos { grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; } }
@media (min-width: 768px) { .passos.quatro { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .passos.quatro { grid-template-columns: repeat(4, 1fr); } }
.passos-final { margin-top: 48px; }

.texto-grande { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.35; letter-spacing: -0.012em; }
.texto-grande p + p { margin-top: 16px; }

.perguntas { display: grid; gap: 32px; }
.perguntas dt { font-size: 21px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.perguntas dd { margin-top: 8px; max-width: 36em; }

.ficha { display: grid; gap: 24px; }
.ficha div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; }
.ficha dt { color: var(--cor-texto-2); }
.ficha dd { font-weight: 500; font-size: 21px; line-height: 1.35; }
@media (max-width: 480px) { .ficha div { grid-template-columns: 1fr; gap: 2px; } }

.declaracao { margin-top: 32px; font-size: clamp(21px, 2.4vw, 28px); line-height: 1.35; letter-spacing: -0.014em; max-width: 30em; }
@media (min-width: 768px) { .declaracao { margin-top: 48px; } }

.solucao { display: grid; gap: 24px; counter-reset: item; }
.solucao li { font-size: 21px; line-height: 1.45; padding-left: 28px; position: relative; }
.solucao li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--cor-acento); }

.telas { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 900px) { .telas { grid-template-columns: repeat(3, 1fr); } }
.telas figure { margin: 0; }
.telas .rotulo { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--cor-texto-2); }
.telas figcaption { margin-top: 8px; }

.final { text-align: center; }
.final .titulo { max-width: 14em; margin: 0 auto; }
.final .botao { margin-top: 32px; }
.miudo { margin-top: 16px; font-size: 13px; line-height: 18px; color: var(--cor-texto-2); }
.hero-404 .miudo { font-size: 17px; margin-top: 24px; }
.hero-404 { min-height: 60vh; }

.secao-texto { padding-top: 0; }
.texto-legal { max-width: calc(40em + 2 * var(--margem)); margin-left: max(0px, calc((100% - 1120px) / 2)); }
.texto-legal h2 { font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; margin-top: 40px; }
.texto-legal h2:first-child { margin-top: 0; }
.texto-legal p { margin-top: 8px; }

/* Rodapé: dados do Decreto 7.962/2013, art. 2º. */
.rodape { background: var(--cor-fundo-2); padding: 64px 0 48px; font-size: 13px; line-height: 20px; color: var(--cor-texto-2); }
.rodape-faixa { display: grid; gap: 24px; }
.rodape-nome img { height: 64px; width: auto; margin-left: -14px; }
.rodape-dados { max-width: 60ch; }
.rodape-dados p + p { margin-top: 4px; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 8px; }
.rodape-links a { color: var(--cor-texto); }
.rodape-dados a { color: var(--cor-texto); }
.rodape a, .rodape-links span { display: inline-block; min-height: 24px; line-height: 24px; }

/* Movimento: só a entrada do hero, sutil. Sem JS; desligado com prefers-reduced-motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero .faixa > * { animation: entrar .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .faixa > :nth-child(2) { animation-delay: .06s; }
  .hero .faixa > :nth-child(3) { animation-delay: .12s; }
  .hero .faixa > :nth-child(4) { animation-delay: .18s; }
}
@keyframes entrar { from { opacity: 0; transform: translateY(12px); } }

/* Cabeçalho translúcido (vidro da apple.com). Sem suporte a backdrop-filter, fica o fundo branco quase opaco. */
.topo { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / .94); }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .topo { background: rgb(255 255 255 / .72); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8); }
}

/* Entrada das seções ao rolar e transição entre páginas: só CSS, só onde o navegador suporta e o visitante não pediu menos movimento. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .secao .faixa { animation: entrar linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
  @view-transition { navigation: auto; }
}
