/**
 * hero.css — RevisaCursos
 * Seção hero da home (destaque) e banner de anúncio.
 */

.hero {
  position: relative;
  overflow: hidden;
  background: hsl(var(--brand-dark));
  color: #fff;
}

.hero__glow {
  pointer-events: none;
  position: absolute;
  right: -6rem;
  top: -6rem;
  height: 24rem;
  width: 24rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.3);
  filter: blur(64px);
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 4rem 1.25rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__title {
  margin: 1.25rem 0 0;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.05;
}
.hero__title .accent { color: hsl(var(--primary)); }

.hero__lead {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
}

.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__actions .btn-pill {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.hero__featured {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  color: hsl(var(--foreground));
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}
.hero__featured-img { aspect-ratio: 16/9; overflow: hidden; }
.hero__featured-img img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hero__featured:hover .hero__featured-img img { transform: scale(1.05); }
.hero__featured-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.hero__featured-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: hsl(var(--primary)); }
.hero__featured-title { font-size: 1.25rem; font-weight: 700; }

@media (min-width: 768px) {
  .hero__grid { grid-template-columns: 1fr 1fr; padding: 6rem 1.25rem; }
  .hero__title { font-size: 3.75rem; }
}

/* ==========================================================================
   4. Ad banner
   ========================================================================== */

.ad-banner-wrap { padding: 2.5rem 0; }
.ad-banner-wrap.is-compact { padding: 3rem 0; }

.ad-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid hsl(var(--border) / 0.6);
  height: 9rem;
}
.ad-banner.is-compact { height: 6rem; }

.ad-banner img { height: 100%; width: 100%; object-fit: cover; }

.ad-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0,0,0,0.25);
  color: #fff;
}
.ad-banner__label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.15em; opacity: 0.8; }
.ad-banner__title { font-family: "Sora", sans-serif; font-size: 1.125rem; font-weight: 700; }
.ad-banner__sub { font-size: 0.75rem; opacity: 0.9; }

@media (min-width: 768px) {
  .ad-banner { height: 11rem; }
  .ad-banner__title { font-size: 1.5rem; }
}

