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

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

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

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

:root {
  color-scheme: light;
  --papel: #f8f6f0;
  --tinta: #20201c;
  --texto: #484840;
  --vermelho: #b93624;
  --linha: #d9d7ce;
  --margem: clamp(1.25rem, 5.5vw, 5.5rem);
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--papel);
  color: var(--tinta);
  font-family: Roboto, Arial, sans-serif;
  font-size: 1rem;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 5px; }
::selection { background: #f4c0aa; color: #20150f; }

.limite {
  width: min(100%, 96rem);
  padding-inline: var(--margem);
  margin-inline: auto;
}

.pular {
  position: absolute;
  z-index: 5;
  top: .5rem;
  left: var(--margem);
  padding: .8rem 1rem;
  transform: translateY(-150%);
  background: var(--tinta);
  color: white;
}
.pular:focus { transform: none; }

.cabecalho { border-bottom: 1px solid var(--linha); }
.barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  min-height: clamp(4rem, 6.1vw, 5.75rem);
}

.assinatura, .perfil, .botao { display: inline-flex; align-items: center; }
.assinatura {
  gap: .8rem;
  font-size: clamp(1rem, 1.7vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -.045em;
}

.pista-marca, .pista-marca::before, .pista-marca::after {
  border: 2px solid var(--vermelho);
  border-radius: 3rem;
}
.pista-marca {
  position: relative;
  display: block;
  width: 2.95rem;
  height: 1.7rem;
  transform: rotate(-13deg);
}
.pista-marca::before, .pista-marca::after {
  content: "";
  position: absolute;
}
.pista-marca::before { inset: 2.5px; }
.pista-marca::after { inset: 7px; }

.perfil {
  min-height: 2.75rem;
  gap: .55rem;
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}
.perfil:hover { color: var(--vermelho); }
.perfil:hover span:last-child { text-decoration: underline; text-underline-offset: .25em; }

.icone-instagram {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.16em;
  height: 1.16em;
  border: max(1.6px, .105em) solid currentColor;
  border-radius: 29%;
}
.icone-instagram::before {
  content: "";
  position: absolute;
  inset: 20%;
  border: max(1.5px, .1em) solid currentColor;
  border-radius: 50%;
}
.icone-instagram::after {
  content: "";
  position: absolute;
  width: 13%;
  height: 13%;
  top: 12%;
  right: 12%;
  border-radius: 50%;
  background: currentColor;
}

main {
  flex: 1 0 auto;
  display: grid;
  align-content: center;
}

.capa {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(2rem, 4.2vw, 5rem);
  padding-block: clamp(1.75rem, 3.3vw, 3.45rem);
}

.tema {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 clamp(1.5rem, 2.7vw, 2.6rem);
  color: var(--vermelho);
  font-size: .875rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .125em;
  text-transform: uppercase;
}
.tema span { width: 2rem; height: 2px; background: currentColor; }

h1 {
  margin: 0;
  font-size: clamp(5.75rem, 9.9vw, 9.7rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .89;
}
h1 em {
  display: block;
  color: var(--vermelho);
  font-weight: inherit;
  font-style: italic;
}

.convite { margin-top: clamp(1.75rem, 3.1vw, 3rem); }
.convite p {
  max-width: 37ch;
  margin: 0 0 1.65rem;
  color: var(--texto);
  font-size: clamp(1.0625rem, 1.32vw, 1.26rem);
  line-height: 1.58;
}
.convite strong { color: var(--tinta); font-weight: 700; }
.botao {
  min-height: 3.4rem;
  padding: .85rem 1.55rem;
  justify-content: center;
  gap: .72rem;
  border-radius: 10rem;
  background: var(--tinta);
  color: #fff;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s ease-out;
}
.botao:hover, .botao:active { background: #8f2b1c; }

.foto {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(29rem, 47vw, 43rem);
  height: clamp(29rem, min(47vw, 75svh), 43rem);
  border-top-right-radius: clamp(3rem, 6.5vw, 6.25rem);
  background: #963b25;
}
.foto picture, .foto img { display: block; width: 100%; height: 100%; }
.foto img { object-fit: cover; object-position: 63% 5%; }

.curvas, .curvas::before, .curvas::after {
  position: absolute;
  border: 1.5px solid rgba(255, 249, 225, .83);
  border-radius: 100rem;
}
.curvas {
  left: -35%;
  bottom: -30%;
  width: 71%;
  height: 50%;
  transform: rotate(-30deg);
  pointer-events: none;
}
.curvas::before, .curvas::after { content: ""; }
.curvas::before { inset: 8px; }
.curvas::after { inset: 17.5px; }

.rodape { border-top: 1px solid var(--linha); }
.creditos {
  min-height: 3.65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #5d5c54;
}
.creditos small { font-size: .8125rem; line-height: 1.35; }
.tracos {
  height: .9rem;
  width: 2rem;
  margin-inline-start: auto;
  transform: skew(-22deg);
  background: repeating-linear-gradient(90deg, var(--vermelho) 0 2px, transparent 2px 6px);
}

@media (max-width: 720px) {
  :root { --margem: clamp(1.2rem, 4.8vw, 2rem); }
  .barra { min-height: 4rem; }
  .assinatura { gap: .55rem; }
  .pista-marca { width: 2.45rem; height: 1.5rem; }
  .pista-marca::before { inset: 2px; }
  .pista-marca::after { inset: 6px; }
  .perfil { font-size: .875rem; gap: .4rem; }
  .capa {
    grid-template: "capa" auto "convite" auto / minmax(0, 1fr);
    gap: 0;
    padding-block: 1.2rem 1.75rem;
  }
  .texto { display: contents; }
  .foto, .titulo { grid-area: capa; }
  .foto {
    align-self: stretch;
    height: auto;
    min-height: clamp(19rem, 94vw, 30rem);
    border-top-right-radius: clamp(2.5rem, 12vw, 5rem);
  }
  .foto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(35deg, rgba(30, 13, 8, .88) 0%, rgba(35, 14, 8, .62) 26%, rgba(35, 14, 8, .22) 51%, transparent 72%);
  }
  .foto picture { position: absolute; inset: 0; }
  .foto img { object-position: 65% 5%; }
  .curvas { display: none; }
  .titulo {
    align-self: end;
    position: relative;
    z-index: 1;
    padding: clamp(1rem, 5vw, 2rem);
    color: #fffaf0;
  }
  .tema {
    gap: .5rem;
    margin-bottom: .9rem;
    color: inherit;
    font-size: .8125rem;
    letter-spacing: .1em;
  }
  .tema span { width: 1.3rem; }
  h1 { font-size: clamp(4.65rem, 18.5vw, 7rem); }
  h1 em { color: inherit; }
  .convite {
    grid-area: convite;
    margin-top: 1.4rem;
  }
  .convite p {
    max-width: 48ch;
    margin-bottom: 1.2rem;
    font-size: 1.0625rem;
    line-height: 1.52;
  }
  .botao { min-height: 3.2rem; }
  .creditos { min-height: 3.2rem; gap: .65rem; }
  .tracos { width: 1.55rem; height: .72rem; }
}

@media (max-width: 440px) {
  .botao { width: 100%; padding-inline: .9rem; }
}

@media (max-width: 350px) {
  .assinatura { font-size: .9375rem; }
  .perfil .icone-instagram { display: none; }
  .tracos { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .botao { transition: none; }
}
