@font-face {
  font-family: Bricolage;
  src: url('/l/fontes/BricolageGrotesque_800ExtraBold.ttf');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url('/l/fontes/Barlow_500Medium.ttf');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url('/l/fontes/Barlow_700Bold.ttf');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Condensed;
  src: url('/l/fontes/BarlowCondensed_800ExtraBold_Italic.ttf');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--nevoa);
  color: var(--tinta);
  font:
    500 18px/1.55 Barlow,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 5px;
}
a {
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
.marca {
  font-family: Bricolage, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
}
h1 {
  font-size: clamp(44px, 5.6vw, 78px);
  margin: 20px 0 24px;
}
h1 em {
  font-style: normal;
  box-shadow: inset 0 -0.18em var(--manga);
}
h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin: 14px 0 24px;
}
h3 {
  font-size: 24px;
  margin: 20px 0 12px;
}
p {
  margin: 0 0 20px;
}
.pular {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--branco);
  padding: 12px;
  z-index: 10;
}
.pular:focus {
  top: 12px;
}
header,
footer,
main {
  max-width: 1200px;
  margin: auto;
  padding: 0 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 110px;
}
.marca {
  font-size: 28px;
  text-decoration: none;
  white-space: nowrap;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
nav a,
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 16px;
}
nav a[aria-current='page'] {
  font-weight: 700;
  text-decoration-thickness: 3px;
}
.selo,
.idade,
.tira,
.carimbo,
.numero {
  font:
    italic 800 18px/1.2 Condensed,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.selo {
  margin-bottom: 16px;
}
.abertura {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 60px 0 90px;
}
.chamada {
  font-size: 25px;
  line-height: 1.35;
}
.apresentacao > p:not(.selo) {
  max-width: 490px;
}
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 60px;
  padding: 14px 26px;
  border-radius: 40px;
  background: var(--tinta);
  color: var(--branco);
  font-weight: 700;
  text-decoration: none;
}
.nota {
  font-size: 15px;
  color: var(--tinta2);
  margin-top: 16px;
}
.baralho {
  position: relative;
  margin: 0;
  min-width: 0;
  height: 430px;
}
.figurinha {
  position: absolute;
  border: 6px solid var(--branco);
  border-radius: 18px;
  background: var(--branco);
  box-shadow: 0 12px 26px var(--linha);
  width: 260px;
  overflow: hidden;
}
.face {
  height: 282px;
  border-radius: 12px 12px 0 0;
  display: grid;
  place-items: center;
  position: relative;
}
.face strong {
  font:
    800 48px/1 Bricolage,
    sans-serif;
  letter-spacing: -0.04em;
}
.manga {
  background: var(--manga);
}
.uva {
  background: var(--uva);
}
.hortela {
  background: var(--hortela);
}
.idade {
  position: absolute;
  top: 15px;
  right: 14px;
  background: var(--tinta);
  color: var(--branco);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 16px;
}
.tira {
  background: var(--tinta);
  color: var(--branco);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  border-radius: 0 0 12px 12px;
}
.tira span {
  color: var(--manga);
}
.menor {
  width: 200px;
  left: 0;
  top: 12px;
  transform: rotate(-12deg);
}
.menor .face {
  height: 230px;
}
.menor .face strong {
  font-size: 40px;
}
.principal {
  right: 5px;
  top: 54px;
  transform: rotate(7deg);
}
.carimbo {
  position: absolute;
  bottom: 26px;
  left: 24px;
  border: 2px solid var(--carimbo);
  color: var(--carimbo);
  background: var(--branco);
  padding: 7px 12px;
  transform: rotate(-10deg);
}
figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: var(--tinta2);
}
.como {
  padding: 64px 0;
  border-top: 2px solid var(--linha);
}
.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 42px;
}
.numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  font-size: 24px;
}
.passos p {
  color: var(--tinta2);
}
.lembrar {
  background: var(--uva-soft);
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 24px 0 70px;
}
.link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
}
.folha {
  max-width: 780px;
  margin: 36px auto 70px;
  background: var(--branco);
  border-radius: 24px;
  padding: 44px;
}
.folha h1 {
  font-size: clamp(36px, 5vw, 52px);
}
.folha h2 {
  font-size: 26px;
  margin-top: 38px;
}
.folha p {
  overflow-wrap: anywhere;
}
.aviso {
  padding: 16px 20px;
  border-left: 4px solid var(--carimbo);
  background: var(--manga-soft);
  font-size: 16px;
}
footer {
  border-top: 2px solid var(--linha);
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
}
footer p {
  font-size: 15px;
  color: var(--tinta2);
  margin-bottom: 0;
}
footer nav {
  align-items: flex-start;
}
footer .marca {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
}
@media (max-width: 760px) {
  header,
  footer,
  main {
    padding-left: 20px;
    padding-right: 20px;
  }
  header {
    padding-top: 20px;
    padding-bottom: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  nav {
    gap: 0 16px;
  }
  .abertura {
    grid-template-columns: 1fr;
    padding: 34px 0 48px;
    gap: 38px;
  }
  .baralho {
    height: 395px;
    width: 100%;
    max-width: 400px;
    justify-self: center;
  }
  .figurinha {
    width: 240px;
  }
  .face {
    height: 258px;
  }
  .menor {
    width: 180px;
  }
  .menor .face {
    height: 220px;
  }
  .principal {
    right: 12px;
  }
  .passos {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .passos article {
    border-bottom: 1px solid var(--linha);
    padding-bottom: 12px;
  }
  .como {
    padding: 40px 0;
  }
  .lembrar {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 6px;
    margin-bottom: 48px;
  }
  .folha {
    margin-top: 20px;
    padding: 28px 20px;
  }
  .chamada {
    font-size: 23px;
  }
  footer {
    flex-direction: column;
  }
  footer nav {
    gap: 0 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
