/* Kaze: tokens, base, menu, botões de loja, painel parado, estrada e as seções da página. */

:root {
  --asfalto: #0D0F12;
  --asfalto-molhado: #181D23;
  --vidro: #06080B;
  --amarelo: #F2C230;
  --papel: #F2F1EC;
  --concreto: #A9B1BA;
  --grafite: #4A5159;
  --borda: #2E353D;
  --ok: #4CC38A;
  --nao: #FF6B5E;
  --chanfro: 14px;
  --fonte-titulo: "Barlow Condensed", "Arial Narrow", sans-serif;
  --fonte-texto: "Barlow", system-ui, sans-serif;

  --estrada: #24282E;
  --linha-branca: rgba(242, 241, 236, .85);
  --menu-altura: 56px;
  --margem: 20px;
  --secao-espaco: clamp(96px, 14vw, 176px);
  --coluna: 620px;
}

@media (min-width: 768px) {
  :root {
    --menu-altura: 64px;
    --margem: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --margem: 40px;
  }
}

/* Base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  background: var(--asfalto);
  scroll-padding-top: calc(var(--menu-altura) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--asfalto);
  color: var(--papel);
  font-family: var(--fonte-texto);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

h1,
h2 {
  font-family: var(--fonte-titulo);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 8.5vw, 7.5rem);
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  max-width: var(--coluna);
}

h3 {
  font-family: var(--fonte-texto);
  font-weight: 600;
  font-size: 1.333rem;
  line-height: 1.25;
  text-wrap: balance;
}

p {
  max-width: 62ch;
  text-wrap: pretty;
}

.linha {
  display: block;
}

.destaque {
  color: var(--amarelo);
}

.link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

.link:hover {
  text-decoration-thickness: 3px;
}

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

.secao--amarela :focus-visible,
.secao--clara :focus-visible {
  outline-color: var(--asfalto);
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--margem);
}

/* Menu */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--menu-altura);
  background: rgba(13, 15, 18, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.menu--topo {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.menu-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}

.menu-logo {
  display: block;
  flex: none;
  width: 104px;
  margin-right: auto;
  color: var(--amarelo);
}

.menu-logo svg {
  width: 104px;
  height: auto;
}

.menu-links {
  display: none;
}

.menu-links a {
  padding: 8px 0;
  color: var(--papel);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.menu-links a:hover {
  color: var(--amarelo);
}

@media (min-width: 768px) {
  .menu-logo {
    margin-right: 0;
  }

  .menu-links {
    display: flex;
    gap: 28px;
    margin-right: auto;
  }
}

/* Botões de loja. O chanfro fica no ::before para o foco (outline) não ser cortado pelo clip-path. */

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

.loja {
  --corte: var(--chanfro);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  color: var(--asfalto);
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.loja::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--amarelo);
  clip-path: polygon(var(--corte) 0, 100% 0, 100% calc(100% - var(--corte)), calc(100% - var(--corte)) 100%, 0 100%, 0 var(--corte));
}

.loja:hover::before {
  filter: brightness(.94);
}

.loja--escura {
  color: var(--amarelo);
}

.loja--escura::before {
  background: var(--asfalto);
}

.loja--escura:hover::before {
  filter: none;
  background: var(--asfalto-molhado);
}

.loja--pequena {
  --corte: 9px;
  flex: none;
  min-height: 40px;
  padding: 0 20px;
  font-size: .9375rem;
}

.loja--em-breve {
  color: var(--papel);
  cursor: default;
}

.loja--em-breve::before,
.loja--em-breve:hover::before {
  filter: none;
  background: transparent;
  border: 2px dashed var(--amarelo);
}

/* O clip-path corta o tracejado nos dois cantos chanfrados: estas duas diagonais fecham o contorno. */
.loja--em-breve::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M0 15.41L15.41 0' stroke='%23F2C230' stroke-width='2'/%3E%3C/svg%3E") left top / 16px 16px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M.59 16L16 .59' stroke='%23F2C230' stroke-width='2'/%3E%3C/svg%3E") right bottom / 16px 16px no-repeat;
  pointer-events: none;
}

.loja--escura.loja--em-breve {
  color: var(--asfalto);
}

.loja--escura.loja--em-breve::before,
.loja--escura.loja--em-breve:hover::before {
  background: transparent;
  border-color: var(--asfalto);
}

.loja--escura.loja--em-breve::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M0 15.41L15.41 0' stroke='%230D0F12' stroke-width='2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M.59 16L16 .59' stroke='%230D0F12' stroke-width='2'/%3E%3C/svg%3E");
}

@media (max-width: 479px) {
  .lojas {
    flex-direction: column;
    align-items: stretch;
  }

  .lojas .loja {
    width: 100%;
  }
}

@media (forced-colors: active) {
  .loja {
    border: 2px solid ButtonText;
  }
}

/* Topo */

.topo {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--menu-altura) + 28px) 0 48px;
  overflow-x: clip;
  text-align: center;
}

/* Contêiner mais largo que o das seções: a 1440 px a frase da campanha cabe em duas linhas. */
.topo-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1280px;
}

.topo h1 {
  margin-bottom: clamp(32px, 4vw, 44px);
}

.topo .painel--topo {
  margin-bottom: clamp(44px, 5vw, 60px);
}

.topo-texto {
  max-width: 34em;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.5;
}

.topo .lojas {
  justify-content: center;
  margin-top: 28px;
}

.condicoes {
  margin-top: 16px;
  color: var(--concreto);
  font-size: 1rem;
}

/* Painel desenhado (parado). A task 02 separa e junta as camadas com a rolagem. */

.painel {
  --corte: var(--chanfro);
  position: relative;
  z-index: 0;
  width: min(720px, 88vw);
  aspect-ratio: 16 / 6.4;
  container-type: inline-size;
}

.painel-moldura,
.painel-tela,
.painel-vidro {
  position: absolute;
}

.painel-moldura,
.painel-vidro {
  inset: 0;
  clip-path: polygon(var(--corte) 0, 100% 0, 100% calc(100% - var(--corte)), calc(100% - var(--corte)) 100%, 0 100%, 0 var(--corte));
}

.painel-moldura {
  background: var(--borda);
}

.painel-moldura::before {
  --dentro: calc(var(--corte) - .59px);
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--asfalto-molhado);
  clip-path: polygon(var(--dentro) 0, 100% 0, 100% calc(100% - var(--dentro)), calc(100% - var(--dentro)) 100%, 0 100%, 0 var(--dentro));
}

.painel-tela {
  --tela-corte: calc(var(--corte) * .6);
  inset: 4.4cqw 3.2cqw;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas:
    "rpm rpm rpm"
    "nav vel marcha";
  align-items: center;
  gap: 2.2cqw 3cqw;
  padding: 2.6cqw 3.4cqw 3cqw;
  background: var(--vidro);
  clip-path: polygon(var(--tela-corte) 0, 100% 0, 100% calc(100% - var(--tela-corte)), calc(100% - var(--tela-corte)) 100%, 0 100%, 0 var(--tela-corte));
}

.painel-rpm {
  grid-area: rpm;
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: .55cqw;
  height: 1.7cqw;
}

.painel-rpm i {
  background: var(--borda);
}

.painel-rpm .aceso {
  background: rgba(242, 241, 236, .85);
}

.painel-nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  height: 100%;
  padding: 0 2.4cqw;
  border: 1px solid var(--borda);
}

.painel-seta,
.painel-bandeira {
  flex: none;
  width: 11cqw;
  height: 11cqw;
}

.painel-seta {
  fill: none;
  stroke: var(--amarelo);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.painel-bandeira-mastro {
  fill: none;
  stroke: var(--amarelo);
  stroke-width: 7;
  stroke-linecap: round;
}

.painel-bandeira-borda {
  fill: none;
  stroke: var(--amarelo);
  stroke-width: 3;
}

.painel-bandeira-casas {
  fill: var(--amarelo);
}

.painel-distancia {
  color: var(--amarelo);
  font-family: var(--fonte-titulo);
  font-size: 7.2cqw;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.painel-velocidade {
  grid-area: vel;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 1.2cqw;
}

.painel-numero {
  color: var(--papel);
  font-family: var(--fonte-titulo);
  font-size: 17cqw;
  font-weight: 700;
  line-height: .8;
  font-variant-numeric: tabular-nums;
}

.painel-unidade {
  color: var(--concreto);
  font-family: var(--fonte-texto);
  font-size: max(9px, 2.5cqw);
  font-weight: 500;
  line-height: 1;
}

.painel-marcha {
  grid-area: marcha;
  display: grid;
  place-items: center;
  width: 8.6cqw;
  height: 10.6cqw;
  border: 2px solid var(--concreto);
  color: var(--papel);
  font-family: var(--fonte-titulo);
  font-size: 7.6cqw;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.painel-vidro {
  overflow: hidden;
  pointer-events: none;
}

.painel-vidro::before,
.painel-vidro::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  background: #fff;
  transform: skewX(-28deg);
}

.painel-vidro::before {
  left: 16%;
  width: 15%;
  opacity: .06;
}

.painel-vidro::after {
  left: 36%;
  width: 6%;
  opacity: .03;
}

/* Brilho no chão, embaixo do painel do topo: o único gradiente da página. */
.painel--topo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 82%;
  height: 44%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(242, 194, 48, .10), rgba(242, 194, 48, 0));
  pointer-events: none;
}

@media (max-width: 767px) {
  .painel--topo {
    width: 100%;
  }
}

.painel--chegada {
  width: min(360px, 100%);
}

/* A estrada: atravessa as seções 2 a 8, por cima dos fundos e atrás do conteúdo. */

.estrada {
  position: relative;
  isolation: isolate;
}

.estrada::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 0;
  width: 22px;
  border-left: 2px solid var(--linha-branca);
  border-right: 2px solid var(--linha-branca);
  background: var(--estrada) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='50'%3E%3Crect width='3' height='28' fill='%23F2C230'/%3E%3C/svg%3E") center top / 3px 50px repeat-y;
  opacity: .7;
  pointer-events: none;
}

.estrada .wrap {
  position: relative;
  z-index: 1;
  padding-right: calc(var(--margem) + 22px);
}

@media (min-width: 768px) {
  .estrada::before {
    width: 72px;
    border-left-width: 3px;
    border-right-width: 3px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='72'%3E%3Crect width='4' height='40' fill='%23F2C230'/%3E%3C/svg%3E");
    background-size: 4px 72px;
    opacity: 1;
  }

  .estrada .wrap {
    padding-right: calc(72px + 40px);
  }
}

@media (min-width: 1024px) {
  .estrada::before {
    right: 9%;
    width: 128px;
    border-left-width: 4px;
    border-right-width: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='88'%3E%3Crect width='6' height='48' fill='%23F2C230'/%3E%3C/svg%3E");
    background-size: 6px 88px;
  }

  /* Coluna de conteúdo sem encostar na estrada: o que ela ocupa à direita menos a margem do contêiner. */
  .estrada .wrap {
    padding-right: max(var(--margem), calc(9% + 128px + 48px - max(0px, (100% - 1200px) / 2)));
  }
}

/* Seções da estrada */

.secao {
  padding-block: var(--secao-espaco);
}

.secao--amarela {
  background: var(--amarelo);
  color: var(--asfalto);
}

.secao--clara {
  background: var(--papel);
  color: var(--asfalto);
}

.abertura {
  margin-top: 28px;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
}

.nota {
  margin-top: 48px;
  color: var(--concreto);
}

/* Seção 2: celular no bolso */

.bolso-titulo {
  margin-top: clamp(56px, 7vw, 80px);
}

.bolso-lista {
  max-width: 520px;
  margin-top: 20px;
  border-top: 1px solid var(--borda);
}

.bolso-lista li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--borda);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.x {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--amarelo);
  color: var(--amarelo);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
}

/* Seção 3: como funciona */

.passos-grade {
  display: grid;
  gap: 56px;
  margin-top: 48px;
}

.passos {
  max-width: var(--coluna);
  border-top: 1px solid var(--borda);
  counter-reset: passo;
}

.passos li {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--borda);
  counter-increment: passo;
}

.passos li::before {
  content: counter(passo);
  grid-row: 1 / span 2;
  color: var(--amarelo);
  font-family: var(--fonte-titulo);
  font-size: 4.5rem;
  font-style: italic;
  font-weight: 800;
  line-height: .8;
}

.passos p {
  margin-top: 6px;
  color: var(--concreto);
}

.midia {
  --corte: var(--chanfro);
  align-self: start;
  max-width: 520px;
  padding: 20px 20px 18px;
  background: var(--asfalto-molhado);
  clip-path: polygon(var(--corte) 0, 100% 0, 100% calc(100% - var(--corte)), calc(100% - var(--corte)) 100%, 0 100%, 0 var(--corte));
}

.midia-desenho {
  width: 100%;
  height: auto;
}

.midia figcaption {
  margin-top: 14px;
  color: var(--concreto);
  font-size: 1rem;
}

.m-celular {
  fill: var(--asfalto);
  stroke: var(--concreto);
  stroke-width: 3;
}

.m-tela {
  fill: var(--vidro);
}

.m-alto-falante {
  fill: var(--borda);
}

.m-rua {
  fill: none;
  stroke: var(--borda);
  stroke-width: 2;
}

.m-rota {
  fill: none;
  stroke: var(--amarelo);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m-partida {
  fill: var(--papel);
}

.m-destino {
  fill: var(--amarelo);
}

.m-bt {
  fill: none;
  stroke: var(--amarelo);
  stroke-width: 3;
  stroke-dasharray: 8 7;
  stroke-linecap: round;
}

.m-rotulo {
  fill: var(--concreto);
  font-family: var(--fonte-texto);
  font-size: 16px;
  font-weight: 600;
}

.m-painel {
  fill: var(--vidro);
  stroke: var(--borda);
  stroke-width: 1.5;
}

.m-segmentos rect {
  fill: rgba(242, 241, 236, .85);
}

.m-segmentos--apagados rect {
  fill: var(--borda);
}

.m-seta {
  fill: none;
  stroke: var(--amarelo);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.m-distancia {
  fill: var(--amarelo);
  font-family: var(--fonte-titulo);
  font-size: 36px;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .passos-grade {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: 56px;
    align-items: start;
  }

  .midia {
    margin-top: 28px;
  }
}

/* Seção 4: o que vem junto (amarela) */

.junto {
  display: grid;
  margin-top: 48px;
  border-bottom: 2px solid var(--asfalto);
}

.junto-item {
  min-width: 0;
  padding: 36px 0 44px;
  border-top: 2px solid var(--asfalto);
}

.junto-item > p,
.junto-texto p {
  margin-top: 10px;
  color: var(--grafite);
}

.placas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 440px;
  margin-top: 28px;
}

.placas li {
  text-align: center;
}

.placas svg {
  width: 100%;
  max-width: 88px;
  height: auto;
  margin-inline: auto;
}

.placas span {
  display: block;
  margin-top: 10px;
  font-family: var(--fonte-titulo);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.1;
}

.placa-losango {
  fill: none;
  stroke: var(--asfalto);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.placa-seta {
  fill: none;
  stroke: var(--asfalto);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ufs {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 5px;
  max-width: 460px;
  margin-top: 28px;
}

.ufs li {
  display: grid;
  place-items: center;
  aspect-ratio: 1.15;
  border: 1.5px solid var(--asfalto);
  font-family: var(--fonte-titulo);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1;
}

.ufs .baixado {
  background: var(--asfalto);
  color: var(--amarelo);
}

.legenda {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--grafite);
  font-size: .875rem;
  font-weight: 500;
}

.legenda::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: var(--asfalto);
}

.rotas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 460px;
  margin-top: 28px;
}

.rota {
  padding: 12px 10px 12px;
  border: 1.5px solid var(--asfalto);
}

.rota svg {
  width: 100%;
  height: auto;
}

.rota span {
  display: block;
  margin-top: 8px;
  font-family: var(--fonte-titulo);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.1;
}

.rota--destaque {
  background: var(--asfalto);
  color: var(--amarelo);
}

.rota-linha {
  fill: none;
  stroke: currentColor;
  stroke-width: 9;
  stroke-linecap: round;
}

.rota-ponto {
  fill: currentColor;
}

.linha-tempo {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 460px;
  margin-top: 32px;
}

.linha-tempo::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--asfalto);
}

.linha-tempo li {
  position: relative;
  padding-top: 36px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.25;
}

.linha-tempo li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border: 2px solid var(--asfalto);
  border-radius: 50%;
  background: var(--amarelo);
}

.linha-tempo li:nth-child(2) {
  text-align: center;
}

.linha-tempo li:nth-child(2)::before {
  left: calc(50% - 11px);
}

.linha-tempo li:last-child {
  text-align: right;
}

.linha-tempo li:last-child::before {
  left: auto;
  right: 0;
  background: var(--asfalto);
}

.dados {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  max-width: 460px;
  margin-top: 28px;
}

.dados div {
  padding-top: 10px;
  border-top: 1.5px solid var(--asfalto);
}

.dados dt {
  color: var(--grafite);
  font-size: .875rem;
  font-weight: 500;
}

.dados dd {
  margin-top: 2px;
  font-family: var(--fonte-titulo);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.dados-nota {
  margin-top: 16px;
  color: var(--grafite);
  font-size: .875rem;
}

@media (min-width: 1024px) {
  .junto {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .junto-item:first-child {
    grid-column: 1 / -1;
  }

  .junto-item:nth-child(even) {
    padding-right: 40px;
  }

  .junto-item:nth-child(odd):not(:first-child) {
    padding-left: 40px;
    border-left: 2px solid var(--asfalto);
  }
}

@media (min-width: 1200px) {
  .junto-item--curva {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    align-items: center;
    gap: 48px;
  }

  .junto-item--curva .placas {
    margin-top: 0;
  }
}

/* Seção 5: minha moto. O formulário é da task 03; a lista aparece sempre. */

.verificador {
  margin-top: 40px;
}

.compat {
  display: grid;
  gap: 44px;
  margin-top: 56px;
}

.compat-grupo {
  --marcador: var(--ok);
}

.compat-grupo--talvez {
  --marcador: var(--amarelo);
}

.compat-grupo--nao {
  --marcador: var(--nao);
}

.compat h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compat h3::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: var(--marcador);
}

.compat ul {
  margin-top: 14px;
  border-top: 2px solid var(--marcador);
}

.compat li {
  padding: 12px 0;
  border-bottom: 1px solid var(--borda);
}

@media (min-width: 1024px) {
  .compat {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 48px;
  }

  .compat-grupo--nao {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.compat-nota .link {
  color: var(--amarelo);
}

/* Seção 6: preço (amarela) */

.preco-rotulo {
  font-size: 1.333rem;
  font-weight: 600;
  line-height: 1.3;
}

.preco-valor {
  margin: 6px 0 14px -0.04em;
  font-family: var(--fonte-titulo);
  font-size: clamp(6rem, 18vw, 12rem);
  font-style: italic;
  font-weight: 800;
  line-height: .85;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.preco-sem {
  font-size: 1.25rem;
  font-weight: 500;
}

.garantia {
  --corte: var(--chanfro);
  --dentro: calc(var(--corte) - 1.17px);
  position: relative;
  isolation: isolate;
  max-width: 460px;
  margin-top: 40px;
  padding: 24px 28px 26px;
}

.garantia::before,
.garantia::after {
  content: "";
  position: absolute;
}

.garantia::before {
  inset: 0;
  z-index: -2;
  background: var(--asfalto);
  clip-path: polygon(var(--corte) 0, 100% 0, 100% calc(100% - var(--corte)), calc(100% - var(--corte)) 100%, 0 100%, 0 var(--corte));
}

.garantia::after {
  inset: 2px;
  z-index: -1;
  background: var(--amarelo);
  clip-path: polygon(var(--dentro) 0, 100% 0, 100% calc(100% - var(--dentro)), calc(100% - var(--dentro)) 100%, 0 100%, 0 var(--dentro));
}

.garantia p {
  margin-top: 6px;
  color: var(--grafite);
}

.preco-inclui {
  margin-top: 56px;
}

.preco-lista {
  max-width: 520px;
  margin-top: 16px;
  border-top: 1.5px solid var(--asfalto);
}

.preco-lista li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1.5px solid var(--asfalto);
}

.preco-lista li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(12px + .775em - 5px);
  width: 10px;
  height: 10px;
  background: var(--asfalto);
  transform: rotate(45deg);
}

#preco .lojas {
  margin-top: 40px;
}

/* Seção 7: dúvidas (clara) */

.duvidas {
  max-width: 760px;
  margin-top: 48px;
  border-top: 1.5px solid var(--asfalto);
}

.duvidas details {
  border-bottom: 1.5px solid var(--asfalto);
}

.duvidas summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

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

.duvidas summary::after {
  content: "+";
  content: "+" / "";
  flex: none;
  width: 1em;
  font-family: var(--fonte-titulo);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.duvidas details[open] > summary::after {
  content: "\2212";
  content: "\2212" / "";
}

.duvidas details p {
  padding-bottom: 26px;
}

/* Seção 8: chegada */

.chegada {
  text-align: center;
}

.chegada-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.chegada .painel--chegada {
  margin-bottom: 56px;
}

.chegada h2 {
  max-width: none;
}

.chegada h2 + p {
  margin-top: 20px;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
}

.chegada .lojas {
  justify-content: center;
  margin-top: 36px;
}

/* Rodapé */

.rodape {
  position: relative;
  padding: 56px 0 48px;
  background: var(--asfalto);
}

.rodape::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='6'%3E%3Crect width='48' height='6' fill='%23F2C230'/%3E%3C/svg%3E") left center / 88px 6px repeat-x;
}

.rodape-topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.rodape-logo {
  width: 88px;
  height: auto;
  color: var(--amarelo);
}

.rodape-contato {
  display: flex;
  gap: 24px;
}

.rodape-contato a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .18em;
}

.rodape-avisos {
  display: grid;
  gap: 8px;
  margin-top: 32px;
  color: var(--concreto);
  font-size: .875rem;
  line-height: 1.5;
}

.rodape-avisos p {
  max-width: 78ch;
}

/* Página 404 */

.erro {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--menu-altura) + 48px) 0 72px;
}

.erro p {
  margin-top: 24px;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
}

.erro .lojas {
  margin-top: 36px;
}

.erro-faixa {
  width: min(360px, 100%);
  height: 6px;
  margin-bottom: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='6'%3E%3Crect width='48' height='6' fill='%23F2C230'/%3E%3C/svg%3E") left center / 88px 6px repeat-x;
}
