/* RotaCerta: folha unica do site. Tokens da marca (docs/identidade/logo/GUIA_DA_MARCA.md) e os mesmos do portal da conta
   (web-cobranca/src/estilos.css): turquesa 5FD6CC, petroleo 0B6E6E, gelo F2F2EE, grafite 0B0E12; fonte Manrope (SIL OFL 1.1),
   hospedada aqui mesmo em /assets/fonts/. Claro e escuro: segue o aparelho e, se a pessoa tocar no botao de tema, vale a
   escolha dela (guardada no proprio aparelho; assets/tema.js). Nada de fonte, script ou imagem de outro site.
   Nenhum estilo dentro das paginas: tudo vem deste arquivo (a politica de seguranca nao precisa liberar estilo embutido). */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-var.woff2') format('woff2');
}

/* ---------- cores: claro (padrao) ---------- */
:root {
  /* marca (iguais nos dois temas) */
  --turquesa: #5fd6cc;
  --petroleo: #0b6e6e;
  --gelo: #f2f2ee;
  --grafite: #0b0e12;
  /* tokens compartilhados com o portal */
  --fundo: #f6f4f2;
  --texto: #1a1410;
  --texto-suave: #6a5f55;
  --cartao: #ffffff;
  --contorno: #d9d2cb;
  --contorno-forte: #8a7f75;
  --acao: #0b6e6e;
  --sobre-acao: #ffffff;
  --acao-suave: #d8edea;
  --sobre-acao-suave: #0b6e6e;
  --erro-fundo: #fbe4e4;
  --erro-texto: #5c0a0a;
  --ok-fundo: #ddf1e4;
  --ok-texto: #063d23;
  --aviso-fundo: #fff1c2;
  --aviso-texto: #4a3500;
  --neutro-fundo: #ede8e3;
  --neutro-texto: #1a1410;
  --topo-cima: #1f2733;
  --topo-baixo: #0b0f14;
  --sobre-topo: #f4f1ee;
  --faixa-demo: #3b2a6b;
  --sobre-faixa-demo: #ffffff;
  /* so do site */
  --secao-alt: #ffffff;
  --sobre-topo-suave: #c4c9d0;
  --destaque-topo: #5fd6cc;
  --heroi-1: #0b0e12;
  --heroi-2: #0d2b2b;
  --heroi-3: #084f4f;
  --rodape-fundo: #0b0f14;
  --sobre-rodape: #e4e8ec;
  --sobre-rodape-suave: #a9b0b8;
  --faixa-marca: #0b6e6e;
  --faixa-marca-fundo-item: #0a5f5f;
  --sobre-faixa-marca: #ffffff;
  --sobre-faixa-marca-suave: #e1f3f1;
  /* cartao do app (cores reais do app: ver docs/site_20nov/S2_DESIGN.md) */
  --app-miolo: #0a5c36;
  --app-texto: #ffffff;
  --app-apoio: #ffffff;
  --app-tile: #084b2c;
  --app-selo-fundo: #0a5c36;
  --app-selo-texto: #ffffff;
  --app-aro: #f4f1ee;
  --app-fio: #111418;
  --regua-verde: #0a5c36;
  --regua-amarelo: #f5c518;
  --regua-vermelho: #9b1c1c;
  color-scheme: light;
}

/* ---------- cores: escuro, quando o aparelho esta no escuro ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --turquesa: #5fd6cc;
    --petroleo: #0b6e6e;
    --gelo: #f2f2ee;
    --grafite: #0b0e12;
    --fundo: #0b0e12;
    --texto: #f2f2ee;
    --texto-suave: #a9b0b8;
    --cartao: #1e232a;
    --contorno: #3a414a;
    --contorno-forte: #7d8691;
    --acao: #5fd6cc;
    --sobre-acao: #0b0e12;
    --acao-suave: #173b3a;
    --sobre-acao-suave: #7fe3da;
    --erro-fundo: #5c1a1a;
    --erro-texto: #ffe9e9;
    --ok-fundo: #0f4a2c;
    --ok-texto: #e8fff1;
    --aviso-fundo: #3d3206;
    --aviso-texto: #ffe9a8;
    --neutro-fundo: #262c34;
    --neutro-texto: #f2f2ee;
    --topo-cima: #161b22;
    --topo-baixo: #0b0e12;
    --sobre-topo: #f4f1ee;
    --faixa-demo: #3b2a6b;
    --sobre-faixa-demo: #ffffff;
    --secao-alt: #11161c;
    --sobre-topo-suave: #c4c9d0;
    --destaque-topo: #5fd6cc;
    --heroi-1: #0b0e12;
    --heroi-2: #0b1f1f;
    --heroi-3: #063b3b;
    --rodape-fundo: #07090c;
    --sobre-rodape: #e4e8ec;
    --sobre-rodape-suave: #a9b0b8;
    --faixa-marca: #0a5555;
    --faixa-marca-fundo-item: #094848;
    --sobre-faixa-marca: #ffffff;
    --sobre-faixa-marca-suave: #dff2f0;
    --app-miolo: #1e232a;
    --app-texto: #f2f2ee;
    --app-apoio: #a9b0b8;
    --app-tile: #262c34;
    --app-selo-fundo: #0a5c36;
    --app-selo-texto: #ffffff;
    --app-aro: #f4f1ee;
    --app-fio: #111418;
    --regua-verde: #0a5c36;
    --regua-amarelo: #f5c518;
    --regua-vermelho: #9b1c1c;
    color-scheme: dark;
  }
}

/* ---------- cores: escolha da pessoa (botao de tema); vale por cima do aparelho ---------- */
:root[data-tema='claro'] {
  --fundo: #f6f4f2;
  --texto: #1a1410;
  --texto-suave: #6a5f55;
  --cartao: #ffffff;
  --contorno: #d9d2cb;
  --contorno-forte: #8a7f75;
  --acao: #0b6e6e;
  --sobre-acao: #ffffff;
  --acao-suave: #d8edea;
  --sobre-acao-suave: #0b6e6e;
  --erro-fundo: #fbe4e4;
  --erro-texto: #5c0a0a;
  --ok-fundo: #ddf1e4;
  --ok-texto: #063d23;
  --aviso-fundo: #fff1c2;
  --aviso-texto: #4a3500;
  --neutro-fundo: #ede8e3;
  --neutro-texto: #1a1410;
  --topo-cima: #1f2733;
  --topo-baixo: #0b0f14;
  --secao-alt: #ffffff;
  --heroi-2: #0d2b2b;
  --heroi-3: #084f4f;
  --rodape-fundo: #0b0f14;
  --faixa-marca: #0b6e6e;
  --faixa-marca-fundo-item: #0a5f5f;
  --sobre-faixa-marca-suave: #e1f3f1;
  --app-miolo: #0a5c36;
  --app-texto: #ffffff;
  --app-apoio: #ffffff;
  --app-tile: #084b2c;
  color-scheme: light;
}
:root[data-tema='escuro'] {
  --fundo: #0b0e12;
  --texto: #f2f2ee;
  --texto-suave: #a9b0b8;
  --cartao: #1e232a;
  --contorno: #3a414a;
  --contorno-forte: #7d8691;
  --acao: #5fd6cc;
  --sobre-acao: #0b0e12;
  --acao-suave: #173b3a;
  --sobre-acao-suave: #7fe3da;
  --erro-fundo: #5c1a1a;
  --erro-texto: #ffe9e9;
  --ok-fundo: #0f4a2c;
  --ok-texto: #e8fff1;
  --aviso-fundo: #3d3206;
  --aviso-texto: #ffe9a8;
  --neutro-fundo: #262c34;
  --neutro-texto: #f2f2ee;
  --topo-cima: #161b22;
  --topo-baixo: #0b0e12;
  --secao-alt: #11161c;
  --heroi-2: #0b1f1f;
  --heroi-3: #063b3b;
  --rodape-fundo: #07090c;
  --faixa-marca: #0a5555;
  --faixa-marca-fundo-item: #094848;
  --sobre-faixa-marca-suave: #dff2f0;
  --app-miolo: #1e232a;
  --app-texto: #f2f2ee;
  --app-apoio: #a9b0b8;
  --app-tile: #262c34;
  color-scheme: dark;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--acao);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}
strong {
  font-weight: 800;
}

/* foco do teclado sempre visivel: anel de 3 px na cor do texto (claro no escuro, escuro no claro) */
:focus-visible {
  outline: 3px solid var(--texto);
  outline-offset: 3px;
}
.faixa-escura :focus-visible {
  outline-color: var(--sobre-topo);
}
main {
  flex: 1 0 auto;
}
main:focus {
  outline: none;
}

.pular {
  position: absolute;
  left: 0.75rem;
  top: -4.5rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  background: var(--texto);
  color: var(--fundo);
  font-weight: 800;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
}
.pular:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container-estreito {
  max-width: 760px;
}
.so-leitor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- icones (sprite assets/icones.svg) ---------- */
.icone {
  display: inline-block;
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icone-pequeno {
  width: 1.125rem;
  height: 1.125rem;
}

/* ---------- botoes (alvo de toque de 48 px ou mais) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
}
.btn-primario {
  background: var(--acao);
  color: var(--sobre-acao);
}
.btn-secundario {
  background: transparent;
  color: var(--acao);
  border-color: var(--acao);
}
.btn-turquesa {
  background: var(--turquesa);
  color: var(--grafite);
}
.btn-turquesa:hover {
  background: #7fe3da;
}
.btn-contorno-claro {
  background: transparent;
  color: var(--sobre-topo);
  border-color: var(--sobre-topo-suave);
}
.btn-contorno-claro:hover {
  border-color: var(--turquesa);
  color: var(--turquesa);
}
/* "Em breve na Google Play": e so uma etiqueta de texto (sem caixa, sem borda, sem alvo de toque, nao recebe foco). O unico botao
   principal do heroi e "Ver os niveis"; quando a Play ligar (assets/ajustes.js), o botao da Play vem antes e ele passa a contorno. */
.etiqueta-breve {
  display: inline-block;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--sobre-topo-suave);
  cursor: default;
}
.chamada-final .etiqueta-breve {
  display: block;
}
.aviso-teste {
  margin: 1.5rem 0 0;
  max-width: 34em;
  padding-left: 0.875rem;
  border-left: 3px solid var(--destaque-topo);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--sobre-topo);
}
.heroi .aviso-teste + .acoes {
  margin-top: 1.25rem;
}
.btn-ver-niveis {
  background: var(--turquesa);
  color: var(--grafite);
}
.btn-ver-niveis:hover {
  background: #7fe3da;
}
.heroi .acoes [data-play-ligado]:not([hidden]) ~ .btn-ver-niveis {
  background: transparent;
  color: var(--sobre-topo);
  border-color: var(--sobre-topo-suave);
}
.heroi .acoes [data-play-ligado]:not([hidden]) ~ .btn-ver-niveis:hover {
  background: transparent;
  border-color: var(--turquesa);
  color: var(--turquesa);
}
.btn-pequeno {
  min-height: 3rem;
  padding: 0.625rem 1.125rem;
  font-size: 0.95rem;
}
.btn-bloco {
  display: flex;
  width: 100%;
}
.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}
.acoes-centro {
  justify-content: center;
  margin-top: 1.75rem;
}

/* ---------- topo ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--topo-cima), var(--topo-baixo));
  color: var(--sobre-topo);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topo-interno {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  min-height: 4rem;
}
.marca-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding-right: 0.5rem;
}
.marca-logo {
  display: block;
  height: 1.875rem;
  width: auto;
}
.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.25rem;
  margin-left: auto;
}
.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 0.75rem;
  color: var(--sobre-topo);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 10px;
}
.menu a:hover {
  color: var(--destaque-topo);
}
.menu a[aria-current='page'] {
  color: var(--destaque-topo);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.topo-acoes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icone-botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  font: inherit;
  color: var(--sobre-topo);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  cursor: pointer;
}
.icone-botao:hover {
  border-color: var(--destaque-topo);
  color: var(--destaque-topo);
}
/* o botao de tema e o do menu so aparecem se o JavaScript funcionar (sem ele, o menu fica aberto e o tema segue o aparelho) */
.tema-botao,
.menu-botao {
  display: none;
}
.js .tema-botao {
  display: inline-flex;
}
.tema-botao .sol {
  display: none;
}
.tema-botao .lua {
  display: inline-block;
}
:root[data-tema='escuro'] .tema-botao .sol {
  display: inline-block;
}
:root[data-tema='escuro'] .tema-botao .lua {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-tema='claro']) .tema-botao .sol {
    display: inline-block;
  }
  :root:not([data-tema='claro']) .tema-botao .lua {
    display: none;
  }
}
.menu-botao .fechar {
  display: none;
}
.menu-botao[aria-expanded='true'] .fechar {
  display: inline-block;
}
.menu-botao[aria-expanded='true'] .abrir {
  display: none;
}
@media (max-width: 860px) {
  .topo-interno {
    justify-content: space-between;
  }
  .menu {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding-bottom: 0.5rem;
  }
  .js .menu {
    display: none;
  }
  .js .menu.aberto {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .js .menu-botao {
    display: inline-flex;
  }
  .topo-acoes {
    margin-left: auto;
  }
  .cta-topo {
    display: none;
  }
}

/* ---------- heroi ---------- */
.heroi {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--heroi-1) 0%, var(--heroi-2) 55%, var(--heroi-3) 100%);
  color: var(--sobre-topo);
  padding: 3.5rem 0 4rem;
}
.heroi-rota {
  position: absolute;
  right: -4%;
  top: 0;
  width: 70%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}
.heroi-rota path {
  fill: none;
  stroke: var(--destaque-topo);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.16;
}
.heroi-rota circle {
  fill: var(--sobre-topo);
  opacity: 0.3;
}
@media (max-width: 860px) {
  .heroi-rota {
    width: 100%;
    right: -12%;
  }
  .heroi-rota circle {
    display: none;
  }
}
.heroi-grade {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) {
  .heroi {
    padding: 2.5rem 0 3rem;
  }
  .heroi-grade {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
}
.etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--destaque-topo);
  border: 1px solid rgba(95, 214, 204, 0.45);
  border-radius: 999px;
}
.titulo-grande {
  font-size: clamp(2rem, 6.4vw, 3.4rem);
  letter-spacing: -0.03em;
}
.destaque {
  color: var(--destaque-topo);
}
.sub {
  margin-top: 1.125rem;
  max-width: 34em;
  font-size: clamp(1.0625rem, 2.4vw, 1.2rem);
  color: var(--sobre-topo-suave);
}
.heroi .acoes {
  margin-top: 1.75rem;
}
.mini-nota {
  margin-top: 1rem;
  max-width: 36em;
  font-size: 0.95rem;
  color: var(--sobre-topo-suave);
}
.mini-nota strong {
  color: var(--sobre-topo);
}

/* ---------- cartao-ilustracao: o cartao do app, com as cores reais dele ---------- */
.cartao-app-moldura {
  margin: 0;
  max-width: 24rem;
  width: 100%;
  justify-self: center;
}
.cartao-app {
  background: var(--app-miolo);
  color: var(--app-texto);
  border-radius: 20px;
  padding: 1.25rem;
  /* aro claro de 2 e fio escuro de 1, em qualquer tema (EstiloCartao.kt) */
  box-shadow: 0 0 0 2px var(--app-aro), 0 0 0 3px var(--app-fio), 0 26px 60px rgba(0, 0, 0, 0.45);
}
.cartao-app-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.cartao-app-veredito {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 999px;
}
.cartao-app .selo-app {
  padding: 0.25rem 0.75rem 0.25rem 0.5rem;
  background: var(--app-selo-fundo);
  color: var(--app-selo-texto);
}
.cartao-app-glifo {
  width: 1.125rem;
  height: 1.125rem;
  fill: currentColor;
}
.cartao-app-origem {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--app-apoio);
}
.cartao-app-grande {
  margin: 0.75rem 0 0.25rem;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.cartao-app-grande .por {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--app-apoio);
}
.cartao-app-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.cartao-app-tile {
  padding: 0.5rem 0.75rem;
  background: var(--app-tile);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--app-apoio);
  font-variant-numeric: tabular-nums;
}
.cartao-app-tile strong {
  color: var(--app-texto);
}
.cartao-app-regua {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  height: 0.625rem;
  margin-top: 1rem;
  padding: 2px;
  background: var(--app-tile);
  border-radius: 99px;
}
.cartao-app-regua span {
  border-radius: 99px;
  outline: 1px solid rgba(255, 255, 255, 0.55);
  outline-offset: 0;
}
.cartao-app-regua .v {
  background: var(--regua-verde);
}
.cartao-app-regua .a {
  background: var(--regua-amarelo);
}
.cartao-app-regua .r {
  background: var(--regua-vermelho);
}
.cartao-app-rotulos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.375rem;
  font-size: 0.85rem;
  color: var(--app-apoio);
}
.cartao-app-rotulos span:nth-child(2) {
  text-align: center;
}
.cartao-app-rotulos span:nth-child(3) {
  text-align: right;
}
.cartao-app-moldura figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--sobre-topo-suave);
}

/* ---------- faixa de confianca ---------- */
.faixa-conf {
  background: var(--faixa-marca);
  color: var(--sobre-faixa-marca);
}
.faixa-conf ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  padding: 1rem 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.faixa-conf li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- secoes ---------- */
.secao {
  padding: 4.5rem 0;
}
.secao-alt {
  background: var(--secao-alt);
}
.secao-sem-topo {
  padding-top: 0;
}
@media (max-width: 600px) {
  .secao {
    padding: 3.25rem 0;
  }
}
.kicker {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acao);
}
h2.titulo-secao {
  margin-top: 0.5rem;
  font-size: clamp(1.6rem, 4.2vw, 2.25rem);
}
.lead {
  margin-top: 0.75rem;
  max-width: 44em;
  color: var(--texto-suave);
}
.grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.grade > * {
  min-width: 0;
}
.grade-centro {
  margin-top: 1.875rem;
}

/* recursos */
.recurso {
  background: var(--cartao);
  border: 1px solid var(--contorno);
  border-radius: 18px;
  padding: 1.5rem;
}
.recurso-icone {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  background: var(--acao-suave);
  color: var(--sobre-acao-suave);
  border-radius: 14px;
}
.recurso h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.recurso p {
  color: var(--texto-suave);
  font-size: 0.97rem;
}

/* passos */
.passos {
  counter-reset: passo;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.passo {
  position: relative;
  background: var(--cartao);
  border: 1px solid var(--contorno);
  border-radius: 18px;
  padding: 1.5rem;
}
.passo::before {
  counter-increment: passo;
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.875rem;
  background: var(--acao);
  color: var(--sobre-acao);
  font-weight: 800;
  border-radius: 50%;
}
.passo h3 {
  margin-bottom: 0.375rem;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.passo p {
  color: var(--texto-suave);
  font-size: 0.97rem;
}

/* celular: icone e numero ao lado do titulo, para a pagina inicial pedir menos rolagem */
@media (max-width: 600px) {
  .recurso {
    display: grid;
    grid-template-columns: 3rem 1fr;
    column-gap: 0.875rem;
    align-items: center;
    padding: 1.125rem;
  }
  .recurso-icone {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
  .recurso h3,
  .recurso-nivel {
    grid-column: 2;
    margin-bottom: 0;
  }
  .recurso h3 + .recurso-nivel {
    margin-top: 0.25rem;
  }
  .recurso > p:not(.recurso-nivel) {
    grid-column: 1 / -1;
    margin-top: 0.75rem;
  }
  .passo {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    column-gap: 0.875rem;
    align-items: center;
    padding: 1.125rem;
  }
  .passo::before {
    margin-bottom: 0;
  }
  .passo h3 {
    margin-bottom: 0;
  }
  .passo p {
    grid-column: 1 / -1;
    margin-top: 0.625rem;
  }
  #planos .plano {
    padding: 1.125rem;
  }
}

/* faixa da marca (indicacao) */
.faixa-marca {
  background: var(--faixa-marca);
  color: var(--sobre-faixa-marca);
}
.faixa-marca .kicker {
  color: var(--sobre-faixa-marca);
}
.faixa-marca .lead {
  color: var(--sobre-faixa-marca-suave);
}
.niveis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.nivel {
  background: var(--faixa-marca-fundo-item);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  padding: 1.5rem;
}
.nivel .pct {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
}
.nivel h3 {
  margin: 0.375rem 0 0.5rem;
  font-size: 1.1rem;
}
.nivel p {
  color: var(--sobre-faixa-marca-suave);
  font-size: 0.95rem;
}
.nota-regua {
  margin-top: 1.375rem;
  max-width: 52em;
  font-size: 0.9rem;
  color: var(--sobre-faixa-marca-suave);
}

/* perguntas (details) */
.faq {
  margin-top: 1.75rem;
}
.faq details {
  margin-top: 0.75rem;
  background: var(--cartao);
  border: 1px solid var(--contorno);
  border-radius: 16px;
  padding: 0 1.25rem;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.75rem 0;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.25rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq details > p {
  padding: 0 0 1.125rem;
  color: var(--texto-suave);
  font-size: 0.97rem;
}
.faq a {
  font-weight: 800;
}

/* planos (resumo da home e pagina de planos) */
.plano {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cartao);
  border: 1px solid var(--contorno);
  border-radius: 20px;
  padding: 1.75rem;
}
.plano.melhor {
  border: 2px solid var(--acao);
  box-shadow: 0 14px 40px rgba(11, 110, 110, 0.16);
}
.plano.centro {
  align-items: center;
  text-align: center;
}
.plano.centro .btn {
  margin-top: 0.875rem;
}
.plano h2,
.plano h3 {
  font-size: 1.15rem;
}
.tag {
  position: absolute;
  top: -0.8rem;
  left: 1.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--acao);
  color: var(--sobre-acao);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 99px;
}
.preco {
  margin: 0.625rem 0 0.125rem;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--acao);
}
.preco small {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--texto-suave);
}
.equiv {
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--texto-suave);
}
.pequeno-nota {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--texto);
}
.lista-visto {
  flex: 1;
  list-style: none;
  margin: 1.125rem 0 1.375rem;
}
.lista-visto li {
  position: relative;
  margin-bottom: 0.625rem;
  padding-left: 1.75rem;
  font-size: 0.97rem;
}
/* o visto e desenhado com borda (sem emoji nem imagem) */
.lista-visto li::before {
  content: '';
  position: absolute;
  left: 0.125rem;
  top: 0.4em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 3px solid var(--acao);
  border-bottom: 3px solid var(--acao);
  transform: rotate(-45deg);
}
.obs {
  margin-top: 0.875rem;
  max-width: 58em;
  font-size: 0.9rem;
  color: var(--texto-suave);
}
.caixa {
  margin: 2.25rem 0 3.75rem;
  background: var(--cartao);
  border: 1px solid var(--contorno);
  border-radius: 20px;
  padding: 1.75rem;
}
.caixa h2 {
  margin-bottom: 0.875rem;
  font-size: 1.3rem;
}
.caixa ol {
  margin-left: 1.375rem;
}
.caixa li {
  margin-bottom: 0.5rem;
}
.caixa .pequeno {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--texto-suave);
}
.chamada {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin: 1.75rem 0 0.5rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--heroi-1), var(--heroi-2));
  color: var(--sobre-topo);
  border-radius: 20px;
}
.chamada strong {
  color: var(--destaque-topo);
}

/* ---------- pagina de texto (planos, fontes, 404) ---------- */
.pagina {
  padding: 1.5rem 0 4rem;
}
.voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  font-weight: 800;
  text-decoration: none;
}
.voltar:hover {
  text-decoration: underline;
}
.pagina h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
}
.pagina > .container > .lead {
  margin-top: 0.75rem;
}

/* ---------- fontes dos dados ---------- */
.fonte {
  margin-top: 1rem;
  background: var(--cartao);
  border: 1px solid var(--contorno);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
}
.fonte h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.selo {
  display: inline-block;
  padding: 0.125rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
  border-radius: 999px;
}
.selo-ok {
  background: var(--ok-fundo);
  color: var(--ok-texto);
}
.selo-aviso {
  background: var(--aviso-fundo);
  color: var(--aviso-texto);
}
.selo-neutro {
  background: var(--neutro-fundo);
  color: var(--neutro-texto);
}
.selos {
  margin: 0.5rem 0 0.25rem;
}
.recurso-nivel {
  margin-bottom: 0.625rem;
}
.credito {
  margin-top: 0.75rem;
  padding-left: 0.875rem;
  border-left: 3px solid var(--acao);
  font-size: 0.97rem;
}
.fonte-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}
.fonte-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 3rem;
  font-weight: 700;
}
.secao-fontes {
  margin-top: 2.5rem;
}
.secao-fontes h2 {
  font-size: 1.3rem;
}
.quebra-livre {
  overflow-wrap: anywhere;
}

/* ---------- 404 ---------- */
.perdido {
  padding: 3.5rem 0 5rem;
  text-align: center;
}
.perdido-icone {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  background: var(--acao-suave);
  color: var(--sobre-acao-suave);
  border-radius: 22px;
}
.perdido-icone .icone {
  width: 2.5rem;
  height: 2.5rem;
}
.perdido-codigo {
  font-size: clamp(3.5rem, 18vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--acao);
}
.perdido h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 5vw, 2rem);
}
.perdido .lead {
  margin: 0.75rem auto 0;
}
.perdido .acoes {
  justify-content: center;
  margin-top: 1.75rem;
}

/* ---------- entrar (pagina de passagem) ---------- */
.passagem {
  display: grid;
  place-items: center;
  padding: 3rem 1.25rem 4rem;
  background: linear-gradient(160deg, var(--heroi-1), var(--heroi-2));
  color: var(--sobre-topo);
}
.passagem-caixa {
  width: 100%;
  max-width: 27rem;
  padding: 2.25rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(95, 214, 204, 0.3);
  border-radius: 22px;
}
.passagem-caixa .marca-logo {
  height: 2.5rem;
  margin: 0 auto 0.75rem;
}
.passagem-caixa h1 {
  margin: 0.75rem 0 0.375rem;
  font-size: 1.5rem;
}
.passagem-caixa p {
  color: var(--sobre-topo-suave);
  font-size: 0.97rem;
}
.passagem-caixa p + p {
  margin-top: 0.625rem;
}
.passagem-caixa .btn {
  margin-top: 1.5rem;
}

/* ---------- chamada final ---------- */
.chamada-final {
  background: var(--heroi-1);
  color: var(--sobre-topo);
  text-align: center;
  padding: 4.5rem 0;
}
.chamada-final h2 {
  font-size: clamp(1.6rem, 4.4vw, 2.3rem);
}
.chamada-final .sub {
  margin: 0.875rem auto 1.75rem;
}

/* ---------- rodape ---------- */
.rodape {
  background: var(--rodape-fundo);
  color: var(--sobre-rodape-suave);
  padding: 2.75rem 0 2rem;
  font-size: 0.95rem;
}
.rodape-grade {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
}
.rodape-grade > div {
  min-width: 0;
}
.rodape .marca-logo {
  height: 1.75rem;
}
.rodape-texto {
  margin-top: 0.75rem;
  max-width: 28em;
}
.rodape a {
  color: var(--sobre-rodape);
}
.rodape a:hover {
  color: var(--turquesa);
}
.rodape-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.rodape-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  text-decoration: none;
}
.rodape-links a:hover {
  text-decoration: underline;
}
.rodape-fim {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.rodape-fim p + p {
  margin-top: 0.25rem;
}
[hidden] {
  display: none !important;
}

/* ---------- movimento: so para quem aceita ---------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .btn,
  .icone-botao,
  .menu a {
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  }
  .btn:active {
    transform: translateY(1px);
  }
  .faq summary::after {
    transition: transform 0.2s ease;
  }
  .heroi-rota path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: rota-desenha 2.4s ease-out 0.2s forwards;
  }
  .heroi-rota circle {
    opacity: 0;
    animation: ponto-chega 0.5s ease-out 2.1s forwards;
  }
}
@keyframes rota-desenha {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes ponto-chega {
  to {
    opacity: 0.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* alto contraste do sistema: bordas aparecem */
@media (forced-colors: active) {
  .btn,
  .recurso,
  .passo,
  .plano,
  .fonte {
    border: 2px solid CanvasText;
  }
}
