:root {
  --fundo: #ffffff;
  --fundo-suave: #f4f6f8;
  --texto: #16191d;
  --texto-suave: #4a5159;
  --linha: #d9dee3;
  --acento: #0b4f8a;
  --acento-escuro: #083a66;
  --largura: 46rem;
}

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

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

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.envoltorio {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.topo {
  border-bottom: 1px solid var(--linha);
  padding: 1.5rem 0;
}

.topo .envoltorio {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.marca {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--texto);
  text-decoration: none;
}

.navegacao {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

.navegacao a {
  color: var(--acento);
}

main {
  padding: 3rem 0 4rem;
}

h1 {
  font-size: 1.875rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.25rem;
}

h3 {
  font-size: 1.0625rem;
  margin: 1.75rem 0 0.5rem;
}

p,
li {
  color: var(--texto-suave);
  text-wrap: pretty;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.375rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--acento);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover,
a:focus {
  color: var(--acento-escuro);
}

a:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 2px;
  border-radius: 2px;
}

.chamada {
  font-size: 1.125rem;
  color: var(--texto);
  margin-bottom: 1rem;
}

.meta {
  font-size: 0.875rem;
  color: var(--texto-suave);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--linha);
}

.lista-links {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--linha);
}

.lista-links li {
  margin: 0;
  border-bottom: 1px solid var(--linha);
}

.lista-links a {
  display: block;
  padding: 0.9375rem 0;
  text-decoration: none;
  font-weight: 600;
}

.lista-links a:hover,
.lista-links a:focus {
  text-decoration: underline;
}

.lista-links span {
  display: block;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--texto-suave);
}

.destaque {
  background: var(--fundo-suave);
  border-left: 3px solid var(--acento);
  padding: 1rem 1.125rem;
  margin: 0 0 1.5rem;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
}

caption {
  text-align: left;
  font-size: 0.875rem;
  color: var(--texto-suave);
  padding-bottom: 0.5rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--linha);
  color: var(--texto-suave);
}

th {
  background: var(--fundo-suave);
  color: var(--texto);
  font-weight: 600;
}

.rodape {
  border-top: 1px solid var(--linha);
  padding: 2rem 0 3rem;
  font-size: 0.9375rem;
}

.rodape p {
  margin: 0 0 0.5rem;
}

@media (max-width: 32rem) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 1.625rem;
  }

  main {
    padding: 2.25rem 0 3rem;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  tr {
    margin-bottom: 1rem;
    border: 1px solid var(--linha);
  }

  td {
    border: none;
    border-bottom: 1px solid var(--linha);
  }

  tr td:last-child {
    border-bottom: none;
  }
}
