@font-face {
  font-family: "Roboto";
  src: url("../fontes/roboto-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fontes/roboto-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fontes/roboto-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("../fontes/roboto-black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ambar: #e49a00;
  --preto: #111111;
  --tinta: #111111;
  --texto: #1a1a1a;
  --fundo: #f3f3f1;
  --papel: #ffffff;
  --linha: #111111;
  --faixa-secao: #ececec;
  --borda-fraca: #d8d8d8;
  --mutado: #888888;
  --sobre-escuro: #ffffff;
  --moldura: #1c1c28;
  --sombra: 0 18px 40px rgba(0, 0, 0, 0.18);
  --max: 1120px;
  --raio: 16px;
  --topo: 4.5rem;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

html[data-tema-aparencia="escuro"] {
  color-scheme: dark;
  --tinta: #f3f3f1;
  --texto: #f3f3f1;
  --fundo: #161615;
  --papel: #242422;
  --linha: #f3f3f1;
  --faixa-secao: #1c1c1b;
  --borda-fraca: #3a3a38;
  --mutado: #a3a3a0;
  --moldura: #0e0e10;
  --sombra: 0 18px 40px rgba(0, 0, 0, 0.45);
}

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

body {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--texto);
  background: var(--fundo);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--tinta);
}

:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 3px;
}

.pular {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--ambar);
  color: var(--preto);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--preto);
}

.pular:focus {
  top: 0.75rem;
}

.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--fundo);
  border-bottom: 1px solid var(--borda-fraca);
}

.topo__interno {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  min-height: var(--topo);
}

.marca {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--tinta);
  margin-right: auto;
}

.marca img {
  display: block;
}

.topo__painel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topo__util {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.menu-botao {
  display: none;
  font: inherit;
  font-weight: 700;
  background: var(--papel);
  color: var(--tinta);
  border: 2px solid var(--linha);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.menu ul {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

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

.idiomas {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.idiomas a {
  color: var(--tinta);
  text-decoration: none;
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
}

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

.idiomas a[aria-current="page"] {
  background: var(--ambar);
  color: var(--preto);
  text-decoration: none;
}

.idiomas span {
  color: var(--mutado);
  padding: 0 0.05rem;
  user-select: none;
}

.tema-botao {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  background: var(--papel);
  color: var(--tinta);
  border: 2px solid var(--linha);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.tema-botao svg {
  display: none;
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  flex-shrink: 0;
}

.tema-botao svg.is-ativo {
  display: block;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--linha);
  text-align: center;
}

.botao svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.botao--secundario {
  background: var(--papel);
  color: var(--tinta);
}

.botao--escuro {
  background: var(--preto);
  color: var(--sobre-escuro);
  border-color: var(--preto);
}

.botao:hover {
  filter: brightness(0.96);
}

.hero {
  padding: 2.5rem 1.25rem 3.5rem;
}

.hero__grade {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.hero__marca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  color: var(--tinta);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__marca img {
  width: 4.5rem;
  height: 4.5rem;
}

section[id],
.baixar {
  scroll-margin-top: 5.25rem;
}

.hero__slogan {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
}

.hero__prova {
  margin: 0 0 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.pilulas {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pilulas li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--ambar);
  color: var(--preto);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  border: 2px solid var(--preto);
}

.pilulas img {
  flex-shrink: 0;
}

.hero__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 34rem;
}

.palco {
  position: relative;
  width: min(17.5rem, 100%);
  overflow: visible;
  justify-self: center;
}

.palco__onda {
  position: absolute;
  width: 186%;
  max-width: none;
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

html[data-tema-aparencia="escuro"] .palco__onda {
  filter: brightness(1.45);
}

.palco .celular {
  width: 100%;
  margin: 0;
}

.celular {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: min(17.5rem, 100%);
  background: var(--moldura);
  border-radius: 2rem;
  padding: 0.7rem;
  box-shadow: var(--sombra);
}

.celular picture {
  display: block;
}

.celular img {
  display: block;
  width: 100%;
  border-radius: 1.35rem;
  background: var(--papel);
}

.artigo {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.artigo h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.3;
  font-weight: 700;
}

.artigo__meta {
  margin: 0 0 1.75rem;
  font-weight: 500;
}

.artigo__card {
  background: var(--papel);
  border: 2px solid var(--linha);
  border-radius: var(--raio);
  padding: 1.2rem 1.3rem 0.35rem;
  margin-bottom: 1rem;
}

.artigo__card h2 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
}

.artigo__card p,
.artigo__card li {
  margin: 0 0 0.85rem;
}

.artigo__card ul {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
}

.artigo a[aria-current="page"] {
  font-weight: 700;
}

.secao {
  padding: 4rem 1.25rem;
}

.secao--faixa {
  background: var(--faixa-secao);
}

.secao__interno {
  max-width: var(--max);
  margin: 0 auto;
}

.secao__interno--estreito {
  max-width: 44rem;
}

.secao__interno--lado {
  display: grid;
  grid-template-columns: 1fr 17.5rem;
  gap: 3rem;
  align-items: center;
}

.secao__interno--inverso {
  grid-template-columns: 17.5rem 1fr;
}

.secao__interno--inverso .secao__copy {
  order: 2;
}

.secao h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.35;
  font-weight: 700;
  color: var(--tinta);
}

.faixa {
  display: inline;
  background: var(--ambar);
  color: var(--preto);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0.12em 0.28em;
  box-shadow: 0.12em 0 0 var(--ambar), -0.12em 0 0 var(--ambar);
}

.resto {
  font-weight: 500;
}

.secao p {
  margin: 0 0 1rem;
}

.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  counter-reset: passo;
}

.passos li {
  background: var(--papel);
  border: 2px solid var(--linha);
  border-radius: var(--raio);
  padding: 1.25rem 1.1rem 1.1rem;
}

.passos__numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.6rem;
  background: var(--ambar);
  border: 2px solid var(--preto);
  border-radius: 999px;
  font-weight: 900;
  color: var(--preto);
}

.passos p {
  margin: 0;
  font-weight: 500;
}

.fechamento {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.exemplo {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  max-width: 28rem;
}

.cartoes {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cartoes li,
.grade-publico li {
  background: var(--papel);
  border: 2px solid var(--linha);
  border-radius: var(--raio);
  padding: 1rem 1.1rem;
}

.cartoes h3,
.grade-publico h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.cartoes p,
.grade-publico p {
  margin: 0;
}

.grade-publico {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grade-publico li:last-child {
  grid-column: span 1;
}

.honestidade {
  font-size: 1.05rem;
  margin: 0;
}

.baixar {
  background: var(--ambar);
  color: var(--preto);
  padding: 4rem 1.25rem;
  text-align: center;
}

.baixar__interno {
  max-width: 40rem;
  margin: 0 auto;
}

.baixar h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
}

.baixar .botao {
  min-width: 16rem;
}

.baixar__apoio {
  margin: 1.25rem 0 0;
  font-weight: 500;
}

.faq details {
  background: var(--papel);
  border: 2px solid var(--linha);
  border-radius: var(--raio);
  padding: 0.2rem 1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.9rem 0;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  font-weight: 900;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin: 0 0 1rem;
}

.rodape {
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--borda-fraca);
}

.rodape__interno {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.rodape__marca {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0;
  font-weight: 900;
}

.rodape__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rodape__copy {
  max-width: var(--max);
  margin: 1.25rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--borda-fraca);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .topo__interno {
    flex-wrap: wrap;
  }

  .menu-botao {
    display: inline-flex;
  }

  .topo__painel {
    display: none;
    position: static;
    flex: 1 1 100%;
    width: 100%;
    margin: 0.25rem -1.25rem -0.75rem;
    padding: 0.25rem 1.25rem 1rem;
    background: var(--fundo);
    border-top: 1px solid var(--borda-fraca);
  }

  .topo.is-aberto .topo__painel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .menu ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .menu a {
    display: block;
    padding: 0.7rem 0;
    font-size: 1.1rem;
  }

  .topo__util {
    width: 100%;
    justify-content: space-between;
    gap: 0.6rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--borda-fraca);
  }

  .idiomas {
    flex-wrap: nowrap;
    min-width: 0;
  }

  .idiomas a {
    padding: 0.45rem 0.5rem;
    font-size: 0.95rem;
  }

  .tema-botao {
    width: auto;
    flex-shrink: 0;
    padding: 0.45rem 0.75rem;
  }

  .hero__grade,
  .secao__interno--lado,
  .secao__interno--inverso {
    grid-template-columns: 1fr;
  }

  .secao__interno--inverso .secao__copy {
    order: 0;
  }

  .passos,
  .grade-publico {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 0;
    order: -1;
  }

  .palco__onda {
    display: none;
  }

  .hero {
    padding-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
