/* Página inicial */

.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 88px) clamp(36px, 6vw, 72px);
  background:
    radial-gradient(1000px 460px at 8% -12%, rgba(242, 190, 54, 0.2), transparent 68%),
    radial-gradient(760px 420px at 98% 8%, rgba(229, 52, 46, 0.13), transparent 70%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* malha discreta, como o mapa do jogo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  line-height: 1.08;
  margin-bottom: 18px;
}

.gold-text {
  background: linear-gradient(180deg, var(--gold-hi) 20%, var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-stats dt {
  color: var(--text-mute);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.hero-video {
  display: block;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}

.hero-video:hover {
  transform: translateY(-4px);
  border-color: var(--gold-deep);
}

.hero-video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-2);
}

.hero-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45));
}

.hero-video-play .icon {
  width: 72px;
  height: 72px;
  padding: 22px 19px 22px 25px;
  background: var(--red);
  border-radius: 50%;
  color: #fff;
  fill: currentColor;
  box-shadow: 0 12px 34px rgba(229, 52, 46, 0.45);
  transition: transform 0.18s ease;
}

.hero-video:hover .hero-video-play .icon {
  transform: scale(1.08);
}

.hero-video-body {
  display: block;
  padding: 14px 8px 8px;
}

.hero-video-body .video-title {
  font-size: 1.08rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* cartões de destaque */
.feature-card .card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
}

/* curso e eventos */
.learn-card {
  padding: clamp(22px, 3vw, 34px);
}

.learn-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.learn-card > p {
  font-size: 1rem;
}

.learn-card .check-list,
.learn-card .link-list {
  margin-top: 18px;
}

/* blog na home */
.home-blog {
  margin-top: 56px;
}

.post-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px;
}

.post-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}

.post-row h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.post-row p {
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  .post-row {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

.cta-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
