:root {
  --bg: #050505;
  --white: #f7f7f7;
  --muted: rgba(255, 255, 255, 0.84);
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --yellow: #f4b000;
  --orange: #f58212;
  --green: #1fcf84;
  --blue: #0d63ff;
  --pink: #ff2b72;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

/* subtle texture */
.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.05) 45%, transparent 48%),
    repeating-linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 14px);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hl {
  color: var(--yellow);
}

/* HERO (matches modelo.png) */
.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  padding: 74px 0 64px;
}

.hero-bg {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  z-index: -3;
  background: url("../img/background.png");
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  overflow: hidden;
}

.hero-overlay {
  display: none;
}

.hero-wrap {
  display: grid;
  align-items: end;
  align-content: end;
  justify-items: start;
  min-height: 520px;
}

.hero-left {
  width: min(660px, 100%);
}

.logo-stack {
  text-transform: uppercase;
  user-select: none;
}

.logo-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-desafio {
  font-weight: 1000;
  letter-spacing: 0.09em;
  font-size: clamp(22px, 2.2vw, 30px);
  color: rgba(255, 255, 255, 0.96);
}

.logo-mountain {
  width: 92px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  transform: translateY(-2px);
}

.logo-mountain svg {
  width: 92px;
  height: 54px;
}

.logo-radical {
  margin-top: 6px;
  font-family: Impact, "Arial Black", Arial, Helvetica, sans-serif;
  font-weight: 1000;
  font-size: clamp(66px, 8.6vw, 104px);
  letter-spacing: -0.02em;
  line-height: 0.88;
  transform: skewX(-12deg);
  text-shadow:
    0 14px 34px rgba(0, 0, 0, 0.7),
    0 2px 0 rgba(0, 0, 0, 0.6);
}

.logo-year {
  margin-top: 8px;
  font-family: Impact, "Arial Black", Arial, Helvetica, sans-serif;
  font-weight: 1000;
  font-size: clamp(58px, 7.6vw, 96px);
  letter-spacing: 0.02em;
  color: var(--yellow);
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1.35;
  font-size: clamp(14px, 1.5vw, 18px);
}

.cta-main {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8c74a, #f4a000);
  color: #0b0b0b;
  font-weight: 1000;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow:
    0 18px 50px rgba(244, 160, 0, 0.2),
    0 18px 64px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease, filter 0.18s ease;
  user-select: none;
}

.cta-main:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.cta-main:active {
  transform: translateY(0px);
}

.cta-arrow {
  font-size: 22px;
  line-height: 1;
  transform: translateY(1px);
}

/* SECTION TITLE BAR */
.section {
  padding: 44px 0;
}

.section-access {
  padding-top: 0;
}

.section-title {
  margin-top: -20px;
  padding: 22px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.section-title h2 {
  text-align: center;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  position: relative;
}

.section-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 3px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(244, 160, 0, 0.92), transparent);
  border-radius: 999px;
}

/* ACCESS CARDS */
.access-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.access-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.76)),
    url("../img/fundoblocoss.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  padding: 22px 18px 18px;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  min-height: 284px;
  display: grid;
  align-content: start;
  gap: 10px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.access-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.86) 70%);
  z-index: 0;
}

.access-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
  z-index: 1;
}

.access-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.access-card:hover::after {
  opacity: 1;
}

.access-icon,
.access-title,
.access-desc {
  position: relative;
  z-index: 2;
}

.access-icon {
  display: grid;
  justify-items: center;
  padding-top: 2px;
  margin-bottom: 4px;
}

.icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.icon-circle svg {
  width: 34px;
  height: 34px;
}

.icon-circle--orange {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 54%), linear-gradient(180deg, #ff9f1c, #e26b00);
}

.icon-circle--insta {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.38), transparent 52%), linear-gradient(135deg, #ffb12a, #ff2b72 48%, #7d3cff);
}

.icon-circle--facebook {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.38), transparent 52%), linear-gradient(180deg, #227bff, #0b46b0);
}

.icon-circle--pix {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 54%), linear-gradient(180deg, #17d28b, #0b9d66);
}

.access-title {
  margin-top: 10px;
  text-align: center;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 17px;
}

.access-desc {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
  font-size: 13.5px;
  padding: 0 4px;
}

.access-btn {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b0b0b;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.access-btn--orange {
  background: linear-gradient(180deg, #ffb12a, #f58212);
}

.access-btn--pink {
  background: linear-gradient(180deg, #ff5b86, #ff2b72);
}

.access-btn--blue {
  background: linear-gradient(180deg, #1d7cff, #0d63ff);
}

.access-btn--green {
  background: linear-gradient(180deg, #3cf0a3, #1fcf84);
}

.access-card--inscricao::after {
  border: 2px solid rgba(245, 130, 18, 0.6);
}

.access-card--instagram::after {
  border: 2px solid rgba(255, 43, 114, 0.6);
}

.access-card--facebook::after {
  border: 2px solid rgba(13, 99, 255, 0.6);
}

.access-card--pix::after {
  border: 2px solid rgba(31, 207, 132, 0.6);
}

/* PIX PANEL */
.section-pix {
  padding-top: 20px;
}

.pix-panel {
  border-radius: 22px;
  border: 2px solid rgba(244, 160, 0, 0.6);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: grid;
  grid-template-columns: 230px 1fr;
}

.pix-left {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 30%, rgba(245, 130, 18, 0.28), transparent 60%);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px;
}

.pix-emblem-img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6));
}

.pix-right {
  padding: 24px 22px 20px;
}

.pix-right h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pix-right p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.pix-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.pix-keybox {
  border-radius: 14px;
  border: 2px dashed rgba(244, 160, 0, 0.7);
  background: rgba(0, 0, 0, 0.38);
  padding: 14px 16px;
  display: flex;
  align-items: center;
}

.pix-keytext {
  font-family: Impact, "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--yellow);
  letter-spacing: 0.04em;
  line-height: 1;
}

.pix-copy {
  height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, #f8c74a, #f4a000);
  color: #0b0b0b;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, filter 0.18s ease;
  user-select: none;
}

.pix-copy:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.pix-copy:active {
  transform: translateY(0px);
}

.pix-copy-ic {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
}

.pix-copy-ic svg {
  width: 20px;
  height: 20px;
}

.pix-alert {
  margin-top: 14px;
  border-radius: 12px;
  border: 2px solid rgba(31, 207, 132, 0.7);
  background: rgba(0, 0, 0, 0.28);
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
}

.pix-alert[hidden] {
  display: none !important;
}

.pix-alert-ic {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(31, 207, 132, 0.22);
  border: 1px solid rgba(31, 207, 132, 0.55);
  color: #79ffca;
}

/* FEATURES ROW */
.section-features {
  padding-top: 14px;
  padding-bottom: 36px;
}

.features-grid {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.42);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  overflow: hidden;
}

.feature {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.feature:last-child {
  border-right: 0;
}

.feature-ic {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  color: var(--yellow);
}

.feature-ic svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-desc {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.35;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.6);
  padding: 26px 0;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-logo {
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-logo2 {
  color: rgba(255, 255, 255, 0.95);
}

.footer-center {
  text-align: center;
  display: grid;
  gap: 4px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.social {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, background 0.18s ease;
}

.social:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.social svg {
  width: 20px;
  height: 20px;
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #27e07a, #12b85f);
  color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.55);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.wa-float:active {
  transform: translateY(0px);
  filter: brightness(0.98);
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .access-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pix-panel {
    grid-template-columns: 1fr;
  }

  .pix-left {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature:nth-child(2n) {
    border-right: 0;
  }

  .feature:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(1120px, calc(100% - 22px));
  }

  .hero {
    min-height: unset;
    padding: 16px 0 26px;
    align-items: start;
  }

  .hero-bg {
    top: 10px;
    bottom: auto;
    width: min(1120px, calc(100% - 22px));
    aspect-ratio: 1702 / 924;
    height: auto;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
  }

  .hero-wrap {
    min-height: unset;
    align-items: start;
    align-content: start;
    padding-top: calc((100vw - 22px) * 924 / 1702 + 14px);
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .pix-actions {
    grid-template-columns: 1fr;
  }

  .pix-copy {
    width: 100%;
  }

  .pix-keytext {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: 0;
  }

  .feature + .feature {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

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

  .cta-main,
  .access-card,
  .pix-copy,
  .social,
  .wa-float {
    transition: none !important;
  }
}
