:root {
  color-scheme: dark;
  --yellow: #f8e81f;
  --black: #060201;
  --white: #ffffff;
  --content-width: 660px;
  --page-gutter: 16px;
  --button-radius: 10px;
  --transition: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(rgba(6, 2, 1, 0.78), rgba(6, 2, 1, 0.94)),
    url("Materiais/Imagens/Background-Black-Brasil.jpg") center top / cover fixed;
}

.page-shell {
  width: min(calc(100% - (2 * var(--page-gutter))), var(--content-width));
  margin-inline: auto;
  padding-top: clamp(32px, 6vw, 52px);
  text-align: center;
}

.brand__logo {
  display: block;
  width: min(100%, 330px);
  height: auto;
  margin: 0 auto;
}

.brand p {
  max-width: 520px;
  margin: 18px auto clamp(28px, 5vw, 38px);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.73rem, 2.5vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.links {
  display: grid;
  gap: clamp(12px, 2.5vw, 15px);
}

.link-button {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 15px 24px;
  border: 2px solid var(--yellow);
  border-radius: var(--button-radius);
  color: var(--black);
  background: var(--yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform var(--transition),
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
  animation: button-in 420ms both;
}

.link-button:nth-child(2) { animation-delay: 35ms; }
.link-button:nth-child(3) { animation-delay: 70ms; }
.link-button:nth-child(4) { animation-delay: 105ms; }
.link-button:nth-child(5) { animation-delay: 140ms; }
.link-button:nth-child(6) { animation-delay: 175ms; }
.link-button:nth-child(7) { animation-delay: 210ms; }
.link-button:nth-child(8) { animation-delay: 245ms; }
.link-button:nth-child(9) { animation-delay: 280ms; }

a.link-button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.34), transparent 70%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

a.link-button:focus-visible {
  color: var(--yellow);
  background: var(--black);
  outline: 3px solid var(--white);
  outline-offset: 3px;
  transform: translateY(-2px);
}

a.link-button:active {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transform: translateY(1px) scale(0.99);
}

.link-button--soon {
  flex-direction: column;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(6, 2, 1, 0.72);
  border-color: rgba(248, 232, 31, 0.42);
  cursor: default;
}

.link-button--soon small {
  margin-top: 4px;
  color: var(--yellow);
  font-size: 0.67rem;
  letter-spacing: 0.14em;
}

.footer {
  width: 100%;
  margin-top: clamp(30px, 6vw, 44px);
  overflow: hidden;
}

.footer__products {
  display: block;
  width: min(100%, 920px);
  height: auto;
  margin: 0 auto -2px;
}

.footer__logo {
  display: block;
  width: 140px;
  height: auto;
  margin: 22px auto 10px;
}

.footer p {
  margin: 0;
  padding: 0 16px max(24px, env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
}

@keyframes button-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@media (hover: hover) {
  a.link-button:hover {
    color: var(--yellow);
    background: var(--black);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
    transform: translateY(-2px);
  }

  a.link-button:hover::after {
    transform: translateX(120%);
  }
}

@media (max-width: 480px) {
  :root {
    --page-gutter: 12px;
  }

  body {
    background-attachment: scroll;
  }

  .brand__logo {
    width: min(82%, 300px);
  }

  .link-button {
    min-height: 58px;
    padding-inline: 16px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-button,
  a.link-button::after {
    animation: none;
    transition: none;
  }
}
