/* Meu Acesso Mobile — site público.
   Um único arquivo de estilo, sem fontes nem recursos externos (privacidade).
   Paleta azul do app: degradê #0381FD → #02AEFF, acento #1E5BD8. */

:root {
  color-scheme: light dark;

  --azul-1: #0381fd;
  --azul-2: #02aeff;
  --acento: #1e5bd8;
  --acento-forte: #1749b5;
  --degrade: linear-gradient(135deg, var(--azul-1) 0%, var(--azul-2) 100%);

  --fundo: #f5f8fd;
  --superficie: #ffffff;
  --superficie-2: #eef4fc;
  --borda: #dce5f2;
  --texto: #0e1b2e;
  --texto-2: #4a5a73;
  --link: #1e5bd8;
  --destaque-fundo: #e8f1ff;
  --destaque-borda: #c4dafb;
  --sombra: 0 1px 2px rgba(14, 27, 46, 0.06), 0 10px 30px rgba(14, 27, 46, 0.07);
  --sombra-icone: 0 10px 30px rgba(3, 129, 253, 0.35);
  --brilho: rgba(3, 129, 253, 0.14);
  --brilho-2: rgba(2, 174, 255, 0.12);

  --raio: 16px;
  --largura: 1080px;
  --leitura: 70ch;
  --fonte: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #0a111d;
    --superficie: #111b2b;
    --superficie-2: #16233a;
    --borda: #22324c;
    --texto: #e7eef8;
    --texto-2: #a3b3ca;
    --link: #6fb6ff;
    --destaque-fundo: #0f2342;
    --destaque-borda: #1f3d6b;
    --sombra: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
    --sombra-icone: 0 10px 34px rgba(3, 129, 253, 0.45);
    --brilho: rgba(3, 129, 253, 0.2);
    --brilho-2: rgba(2, 174, 255, 0.12);
  }
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 2px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.75rem);
}

h3 {
  font-size: 1.15rem;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

strong {
  font-weight: 650;
}

.pular {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--acento);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.pular:focus {
  top: 12px;
}

.recipiente {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Cabeçalho ---------- */

.topo {
  position: relative;
  border-bottom: 1px solid var(--borda);
  background: var(--superficie);
}

.topo::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--degrade);
}

.topo .recipiente {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 14px;
  padding-bottom: 12px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--texto);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.marca:hover {
  text-decoration: none;
}

.marca img {
  width: 34px;
  height: 34px;
  border-radius: 22.37%;
  box-shadow: 0 2px 8px rgba(3, 129, 253, 0.3);
}

.menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--texto-2);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
}

.menu a:hover {
  color: var(--texto);
  background: var(--superficie-2);
}

.menu a[aria-current="page"] {
  color: var(--link);
  background: var(--destaque-fundo);
}

@media (max-width: 520px) {
  .topo .recipiente {
    justify-content: flex-start;
  }
  .menu {
    width: 100%;
    margin-left: -12px;
  }
}

/* ---------- Botões ---------- */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  background: var(--acento);
  color: #fff;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.botao:hover {
  background: var(--acento-forte);
  text-decoration: none;
}

.botao:active {
  transform: translateY(1px);
}

.botao svg {
  width: 20px;
  height: 20px;
}

.botao-secundario {
  background: var(--superficie);
  color: var(--link);
  border-color: var(--borda);
}

.botao-secundario:hover {
  background: var(--superficie-2);
}

.icone-linha {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Página inicial ---------- */

.heroi {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
}

.heroi::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  background: radial-gradient(42% 50% at 18% 30%, var(--brilho), transparent 70%),
    radial-gradient(38% 45% at 85% 20%, var(--brilho-2), transparent 70%);
  pointer-events: none;
}

.heroi .recipiente {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 48px;
}

.icone-app {
  width: 104px;
  height: 104px;
  border-radius: 22.37%;
  box-shadow: var(--sombra-icone);
  margin-bottom: 24px;
}

.selo {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--destaque-fundo);
  border: 1px solid var(--destaque-borda);
  color: var(--link);
  font-size: 0.85rem;
  font-weight: 650;
}

.heroi h1 {
  margin-bottom: 0.3em;
}

.heroi h1 .destaque {
  color: var(--link);
  white-space: nowrap;
}

.chamada {
  font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem);
  color: var(--texto-2);
  max-width: 34em;
  margin-bottom: 1.4em;
}

.lojas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.lojas-aviso {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px dashed var(--destaque-borda);
  background: var(--superficie);
  color: var(--texto-2);
  font-size: 0.95rem;
}

.lojas-aviso svg {
  width: 20px;
  height: 20px;
  color: var(--link);
}

/* Celular ilustrativo (decorativo, sem dados reais) */

.celular {
  justify-self: center;
  width: min(300px, 100%);
  aspect-ratio: 9 / 18.5;
  padding: 12px;
  border-radius: 44px;
  background: #0b1424;
  box-shadow: 0 30px 60px rgba(3, 60, 140, 0.28), inset 0 0 0 2px #26344c;
}

.tela {
  height: 100%;
  border-radius: 33px;
  overflow: hidden;
  background: var(--superficie);
  display: flex;
  flex-direction: column;
}

.tela-topo {
  padding: 30px 16px 14px;
  background: var(--degrade);
  color: #fff;
}

.tela-topo .tela-titulo {
  height: 12px;
  width: 52%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
}

.tela-abas {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.tela-abas span {
  height: 20px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.tela-abas span:first-child {
  background: rgba(255, 255, 255, 0.95);
}

.tela-lista {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  flex: 1;
}

.tela-lista li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--borda);
}

.tela-lista .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--degrade);
  opacity: 0.9;
}

.tela-lista li:nth-child(2) .avatar {
  background: linear-gradient(135deg, #1e5bd8, #0381fd);
}

.tela-lista li:nth-child(3) .avatar {
  background: linear-gradient(135deg, #02aeff, #7fd3ff);
}

.tela-lista li:nth-child(4) .avatar {
  background: linear-gradient(135deg, #0381fd, #6ab8ff);
}

.tela-lista .linhas span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--borda);
}

.tela-lista .linhas span:first-child {
  width: 70%;
  height: 9px;
  margin-bottom: 7px;
  background: var(--texto-2);
  opacity: 0.55;
}

.tela-lista .linhas span:last-child {
  width: 92%;
}

.tela-lista .contador {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--acento);
}

.tela-lista .etiqueta {
  width: 34px;
  height: 14px;
  border-radius: 999px;
  background: var(--destaque-fundo);
  border: 1px solid var(--destaque-borda);
}

.tela-balao {
  margin: 0 14px 18px auto;
  width: 62%;
  padding: 12px;
  border-radius: 16px 16px 4px 16px;
  background: var(--degrade);
}

.tela-balao span {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
}

.tela-balao span + span {
  width: 60%;
  margin-top: 6px;
}

@media (max-width: 860px) {
  .heroi {
    padding: 40px 0 36px;
  }
  .heroi .recipiente {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .celular {
    width: min(240px, 72%);
  }
}

@media (max-width: 580px) {
  .celular {
    width: min(200px, 60%);
    padding: 9px;
    border-radius: 36px;
  }
  .tela {
    border-radius: 28px;
  }
}

/* Seções da página inicial */

.secao {
  padding: 56px 0;
}

.secao-alt {
  background: var(--superficie);
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}

.secao-cabeca {
  max-width: 44em;
  margin-bottom: 32px;
}

.secao-cabeca p {
  color: var(--texto-2);
  margin: 0;
}

.aviso-quem {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: var(--raio);
  background: var(--destaque-fundo);
  border: 1px solid var(--destaque-borda);
}

.aviso-quem p:last-child {
  margin-bottom: 0;
}

.aviso-quem h2 {
  font-size: 1.3rem;
}

.ladrilho {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--degrade);
  color: #fff;
  box-shadow: 0 6px 16px rgba(3, 129, 253, 0.28);
  flex-shrink: 0;
}

.ladrilho svg {
  width: 24px;
  height: 24px;
}

.recursos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.recurso {
  padding: 22px;
  border-radius: var(--raio);
  background: var(--superficie);
  border: 1px solid var(--borda);
}

.recurso h3 {
  margin: 16px 0 6px;
}

.recurso p {
  margin: 0;
  color: var(--texto-2);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .recursos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .recursos {
    grid-template-columns: 1fr;
  }
  .aviso-quem {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.cartoes-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cartao {
  padding: 26px;
  border-radius: var(--raio);
  background: var(--superficie);
  border: 1px solid var(--borda);
  box-shadow: var(--sombra);
}

.cartao h2 {
  font-size: 1.3rem;
  margin-top: 16px;
}

.cartao p {
  color: var(--texto-2);
}

.cartao p:last-child {
  margin-bottom: 0;
}

.secao-alt .cartao {
  background: var(--fundo);
  box-shadow: none;
}

@media (max-width: 720px) {
  .cartoes-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Páginas de texto (privacidade, termos, suporte) ---------- */

.pagina-cabeca {
  position: relative;
  overflow: hidden;
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--borda);
  background: var(--superficie);
}

.pagina-cabeca::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 120% at 0% 0%, var(--brilho), transparent 70%);
  pointer-events: none;
}

.pagina-cabeca .recipiente {
  position: relative;
}

.pagina-cabeca h1 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  margin-bottom: 0.25em;
}

.pagina-cabeca p {
  margin: 0;
  color: var(--texto-2);
  max-width: var(--leitura);
}

.data {
  display: inline-block;
  margin-top: 14px !important;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--superficie-2);
  border: 1px solid var(--borda);
  font-size: 0.9rem;
}

.documento {
  display: grid;
  grid-template-columns: minmax(0, var(--leitura));
  justify-content: center;
  gap: 32px;
  padding-top: 36px;
  padding-bottom: 64px;
}

@media (min-width: 1040px) {
  .documento.com-indice {
    grid-template-columns: 250px minmax(0, var(--leitura));
    gap: 56px;
  }
  .documento.com-indice .indice {
    position: sticky;
    top: 24px;
    align-self: start;
    max-height: calc(100vh - 48px);
    overflow: auto;
  }
}

.indice {
  padding: 18px 20px;
  border-radius: var(--raio);
  background: var(--superficie);
  border: 1px solid var(--borda);
  font-size: 0.95rem;
}

.indice h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--texto-2);
  margin-bottom: 10px;
}

.indice ol {
  margin: 0;
  padding-left: 1.4em;
}

.indice li {
  margin: 4px 0;
  padding-left: 2px;
}

.indice li::marker {
  color: var(--texto-2);
  font-variant-numeric: tabular-nums;
}

.indice a {
  text-decoration: none;
}

.indice a:hover {
  text-decoration: underline;
}

.texto {
  min-width: 0;
  line-height: 1.7;
}

.texto > section {
  scroll-margin-top: 20px;
}

.texto h2 {
  margin-top: 2.2em;
  padding-top: 0.2em;
  scroll-margin-top: 20px;
}

.texto > section:first-child h2,
.texto > h2:first-child,
.texto > .resumo + section h2 {
  margin-top: 1.2em;
}

.texto h3 {
  margin-top: 1.6em;
  scroll-margin-top: 20px;
}

.texto ul,
.texto ol {
  padding-left: 1.3em;
}

.texto li {
  margin: 0.35em 0;
}

.texto li::marker {
  color: var(--azul-1);
}

.resumo {
  padding: 22px 24px;
  border-radius: var(--raio);
  background: var(--destaque-fundo);
  border: 1px solid var(--destaque-borda);
}

.resumo h2 {
  margin-top: 0 !important;
  font-size: 1.2rem;
}

.resumo ul {
  margin: 0;
}

.nota {
  padding: 14px 18px;
  border-left: 4px solid var(--azul-1);
  border-radius: 0 12px 12px 0;
  background: var(--superficie-2);
}

.nota p:last-child {
  margin-bottom: 0;
}

.onde {
  display: grid;
  gap: 14px;
  margin: 1.2em 0 1.6em;
}

.onde-item {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--superficie);
  border: 1px solid var(--borda);
}

.onde-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.onde-item h3 svg {
  width: 22px;
  height: 22px;
  color: var(--link);
  flex-shrink: 0;
}

.onde-item ul {
  margin: 0;
}

/* Tabela que vira cartões no celular */

.tabela {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1em 0 1.6em;
  font-size: 0.97rem;
  line-height: 1.55;
  border: 1px solid var(--borda);
  border-radius: 14px;
  overflow: hidden;
  background: var(--superficie);
}

.tabela th,
.tabela td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--borda);
}

.tabela thead th {
  background: var(--superficie-2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--texto-2);
}

.tabela tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .tabela thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .tabela,
  .tabela tbody,
  .tabela tr,
  .tabela td {
    display: block;
    width: 100%;
  }
  .tabela tr {
    padding: 6px 0;
    border-bottom: 1px solid var(--borda);
  }
  .tabela tbody tr:last-child {
    border-bottom: 0;
  }
  .tabela td {
    border-bottom: 0;
    padding: 6px 16px;
  }
  .tabela td::before {
    content: attr(data-rotulo);
    display: block;
    font-size: 0.78rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--texto-2);
  }
}

/* Suporte */

.contato-destaque {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border-radius: var(--raio);
  background: var(--superficie);
  border: 1px solid var(--borda);
  box-shadow: var(--sombra);
}

.contato-destaque h2 {
  margin: 0 0 4px !important;
  font-size: 1.25rem;
}

.contato-destaque p {
  margin: 0 0 12px;
  color: var(--texto-2);
}

@media (max-width: 520px) {
  .contato-destaque {
    grid-template-columns: 1fr;
  }
  .contato-destaque .botao {
    width: 100%;
  }
}

.passos {
  counter-reset: passo;
  list-style: none;
  padding-left: 0 !important;
}

.passos li {
  position: relative;
  padding-left: 2.4em;
  margin: 0.8em 0;
}

.passos li::before {
  counter-increment: passo;
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--acento);
  color: #fff;
  font-size: 0.85em;
  font-weight: 700;
}

.caminho {
  display: inline;
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--superficie-2);
  border: 1px solid var(--borda);
  font-weight: 600;
  white-space: nowrap;
}

.perguntas {
  display: grid;
  gap: 10px;
  margin: 1em 0 1.6em;
}

.perguntas details {
  border-radius: 14px;
  background: var(--superficie);
  border: 1px solid var(--borda);
  scroll-margin-top: 20px;
}

.perguntas summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 650;
  line-height: 1.4;
}

.perguntas summary::-webkit-details-marker {
  display: none;
}

.perguntas summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--link);
  border-bottom: 2px solid var(--link);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.15s ease;
}

.perguntas details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.perguntas details[open] summary {
  border-bottom: 1px solid var(--borda);
}

.perguntas .resposta {
  padding: 14px 18px 4px;
}

/* ---------- Página 404 ---------- */

.erro {
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 72px;
  padding-bottom: 80px;
}

.erro .icone-app {
  margin: 0 auto 24px;
}

.erro .codigo {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--link);
  margin-bottom: 6px;
}

.erro p {
  color: var(--texto-2);
  max-width: 32em;
  margin-left: auto;
  margin-right: auto;
}

.erro .acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

/* ---------- Rodapé ---------- */

.rodape {
  border-top: 1px solid var(--borda);
  background: var(--superficie);
  color: var(--texto-2);
  font-size: 0.92rem;
}

.rodape .recipiente {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  padding-bottom: 28px;
}

.rodape p {
  margin: 0;
}

.rodape ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rodape a {
  color: var(--texto-2);
}

.rodape a:hover {
  color: var(--link);
}

.rodape .sep {
  margin: 0 6px;
  opacity: 0.6;
}

/* ---------- Impressão ---------- */

@media print {
  .topo::before,
  .menu,
  .indice,
  .pular,
  .celular {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }
  .pagina-cabeca,
  .rodape,
  .resumo,
  .onde-item,
  .tabela {
    background: #fff !important;
    box-shadow: none !important;
  }
  .documento {
    display: block;
    padding: 0;
  }
  a {
    color: #000;
  }
  .perguntas details {
    border: 0;
  }
}
