.skip-link {
  position: absolute;
  left: 8px;
  top: -40px;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  z-index: 5;
}

.skip-link:focus {
  top: 8px;
}

.site {
  width: min(760px, 100%);
  margin: 0 auto;
  background: #fff;
}

.topo-marca {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 12px;
}

.topo-marca img {
  display: block;
  width: auto;
  height: auto;
}

.logo {
  width: 246px;
  height: 120px;
}

.pecas {
  width: 160px;
  height: 43px;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--accent);
}

.menu a {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  padding: 12px 18px;
}

.menu a:hover,
.menu a[aria-current="page"] {
  background: #9e1b16;
}

.miolo {
  padding: 15px 22px 18px;
}

h1 {
  margin: 0 0 15px;
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
}

.texto p {
  margin: 0 0 5px;
  font-size: 12px;
  line-height: 1.45;
}

.texto .intro,
.texto .ponte {
  margin-bottom: 10px;
}

.destaque {
  color: var(--accent);
  font-weight: 700;
}

.bloco {
  width: min(90%, 520px);
  margin: 0 auto 10px;
}

.slogan {
  width: min(90%, 520px);
  margin: 25px auto 0;
  text-align: right;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
}

.destaques {
  background: url("/imagens/traco.jpg") left top repeat-y;
  padding: 0 8px 0 18px;
}

.destaques h2 {
  margin: 0 0 8px;
  padding-left: 8px;
  font-size: 17px;
  color: var(--accent);
}

.destaques img {
  display: block;
  width: 147px;
  height: 107px;
  margin: 0 auto 8px;
}

.empresa {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 12px;
  align-items: start;
}

.empresa img {
  width: 360px;
  height: 190px;
  justify-self: end;
}

.empresa .resto {
  margin-top: 14px;
}

.produtos-topo {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 15px;
}

.produtos-topo h1 {
  margin: 0;
}

.paginas {
  font-size: 12px;
  white-space: nowrap;
}

.paginas a {
  color: #000;
  font-weight: 700;
  text-decoration: none;
}

.paginas a:hover,
.nota {
  color: var(--accent);
}

.paginas .atual {
  font-weight: 400;
}

.grade {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.grade li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  border-left: 1px solid #d5d5d5;
  padding: 6px 0 12px;
}

.grade li:nth-child(4n + 1) {
  border-left: 0;
}

.grade img {
  width: 147px;
  height: 107px;
  object-fit: cover;
}

.grade a {
  display: block;
  line-height: 0;
}

.grade a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.aviso {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #cccccc;
  background: #f3f3f3;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.aviso img {
  width: 20px;
  height: 20px;
}

.formulario {
  width: 100%;
  border-collapse: separate;
  border-spacing: 6px 8px;
}

.formulario td {
  font-size: 12px;
  color: var(--muted);
  vertical-align: middle;
}

.formulario .obrigatorio {
  color: var(--accent);
}

.formulario input[type="text"],
.formulario textarea {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8pt;
  border: 1px solid #cccccc;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

.formulario textarea {
  min-height: 140px;
  resize: vertical;
}

.formulario button {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9pt;
  color: #000;
  border: 1px solid #cccccc;
  background: #fff;
  padding: 2px 10px;
  cursor: pointer;
}

.obrigatorio-nota {
  text-align: right;
  color: var(--muted);
  margin: 8px 0 0;
}

.rodape {
  min-height: 64px;
  background: #c4161c url("/imagens/rodape.jpg") left top repeat-x;
  color: #fff;
  padding: 12px 22px;
  box-sizing: border-box;
}

.rodape p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.rodape a {
  color: #fff;
  text-decoration: none;
}

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

.lightbox {
  border: 0;
  padding: 12px;
  background: #fff;
  max-width: min(640px, 96vw);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.lightbox button {
  display: block;
  margin: 0 0 8px auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  border: 1px solid #cccccc;
  background: #fff;
  cursor: pointer;
}

@media (max-width: 760px) {
  .topo-marca {
    padding-inline: 14px;
  }

  .logo {
    width: min(246px, 62vw);
    height: auto;
  }

  .pecas {
    width: min(160px, 28vw);
    height: auto;
  }

  .miolo,
  .rodape {
    padding-inline: 14px;
  }

  .home-grid,
  .empresa {
    grid-template-columns: 1fr;
  }

  .destaques {
    background: none;
    border-top: 1px solid #e5e5e5;
    margin-top: 18px;
    padding: 16px 0 0;
  }

  .empresa img {
    width: min(360px, 100%);
    height: auto;
    justify-self: start;
  }

  .grade {
    grid-template-columns: repeat(2, 1fr);
  }

  .grade li,
  .grade li:nth-child(4n + 1) {
    border-left: 0;
  }

  .grade li:nth-child(odd) {
    border-right: 1px solid #d5d5d5;
  }

  .formulario,
  .formulario tbody,
  .formulario tr,
  .formulario td {
    display: block;
    width: 100%;
  }

  .formulario td.rotulo {
    text-align: left;
    padding-top: 6px;
  }
}
