:root {
  color-scheme: dark;
  --ink: #f6f8fb;
  --muted: #b6becd;
  --line: rgba(255, 255, 255, 0.16);
  --blue: #607fac;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #050812;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #050812;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page-background {
  position: fixed;
  z-index: 0;
  inset: 0;
  background:
    url("https://links.jefersoncunha.com/versao-teste/assets/background.png") center top / cover no-repeat;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 20px 38px;
}

.hero-copy {
  width: min(720px, 100%);
  padding: 48px 24px 78px;
  text-align: center;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.9);
  animation: hero-in 0.9s ease-out both;
}

.eyebrow {
  margin: 0 0 8px;
  color: #b8c9e4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero-copy > p:last-child {
  max-width: 620px;
  margin: 12px auto 0;
  color: #d4d9e2;
  font-size: clamp(0.98rem, 2.5vw, 1.15rem);
  line-height: 1.55;
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #dce4f0;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue .arrow {
  font-size: 1.25rem;
  animation: cue 1.8s ease-in-out infinite;
}

.links-section {
  position: relative;
  min-height: 100svh;
  padding: 58px 16px 34px;
  background: linear-gradient(180deg, rgba(5, 8, 18, 0.9), #050812 28%, #050812);
}

.links-list {
  width: min(860px, 100%);
  margin: 0 auto;
}

.banner-card {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 17, 29, 0.72);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  transform: translateZ(0);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.banner-card:hover,
.banner-card:focus-visible {
  border-color: rgba(155, 184, 225, 0.72);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.48), 0 0 0 3px rgba(96, 127, 172, 0.2);
  outline: none;
  transform: translateY(-3px);
}

.banner-card img {
  display: block;
  width: 100%;
  height: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  width: min(860px, 100%);
  margin: 42px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.social-links a {
  min-width: 104px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #edf2fa;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(155, 184, 225, 0.72);
  background: rgba(96, 127, 172, 0.26);
  outline: none;
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (min-width: 900px) {
  .page-background {
    background:
      linear-gradient(180deg, rgba(2, 5, 13, 0.02) 0%, rgba(2, 5, 13, 0.15) 48%, #050812 100%),
      linear-gradient(90deg, rgba(5, 8, 18, 0.3), rgba(5, 8, 18, 0) 52%, rgba(5, 8, 18, 0.34)),
      url("assets/background.png") center 12% / cover no-repeat;
  }

  .hero-copy {
    padding-bottom: 88px;
  }

  .links-section {
    padding-top: 82px;
  }

  .banner-card {
    margin-bottom: 24px;
    border-radius: 22px;
  }
}

@media (max-width: 480px) {
  .page-background {
    background:
      linear-gradient(180deg, rgba(2, 5, 13, 0.02) 0%, rgba(2, 5, 13, 0.12) 44%, #050812 98%),
      url("assets/background.png") center top / cover no-repeat;
  }

  .hero {
    padding-inline: 14px;
  }

  .hero-copy {
    padding-inline: 8px;
  }

  .links-section {
    padding-inline: 10px;
  }

  .banner-card {
    margin-bottom: 13px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
.page-background {
  background-image: url("https://links.jefersoncunha.com/versao-teste/assets/background.png") !important;
  background-position: center top !important;
  background-size: 620px auto !important;
  background-repeat: no-repeat !important;
  background-color: #050812 !important;
}

@media (max-width: 700px) {
  .page-background {
    background-size: 100% auto !important;
  }
}
/* Ajuste da primeira tela para celulares */
@media (max-width: 700px) {
  .hero {
    min-height: 58svh;
    padding: 16px 14px 18px;
    align-items: flex-end;
  }

  .hero-copy {
    padding: 0 8px 18px;
  }

  .scroll-cue {
    display: none;
  }

  .links-section {
    min-height: auto;
    padding: 12px 10px 28px;
  }
}