/* Landing AudioAula — complementa main.css (design system dos exemplos) */

.site-body--landing .site-header {
  background: rgba(8, 11, 20, 0.82);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border);
}

.site-main--landing {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - var(--nav-h) - 60px);
}

.landing-page {
  overflow-x: clip;
}

/* ── Hero (referência: headline em camadas, halo, CTA premium) ── */
.hero.hero--landing {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 6.5rem) 24px clamp(3.5rem, 7vw, 5rem);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero.hero--landing .hero__content {
  position: relative;
  z-index: 1;
  gap: clamp(1.35rem, 3vw, 2rem);
}

/* Luz radial atrás do texto — evita fundo “chato” */
.hero.hero--landing .hero__content::before {
  content: "";
  position: absolute;
  left: -35%;
  top: -25%;
  width: 140%;
  height: 130%;
  background: radial-gradient(
      ellipse 65% 55% at 42% 38%,
      rgba(56, 189, 248, 0.16) 0%,
      transparent 62%
    ),
    radial-gradient(ellipse 55% 50% at 78% 62%, rgba(167, 139, 250, 0.12) 0%, transparent 58%),
    radial-gradient(ellipse 40% 35% at 55% 85%, rgba(233, 64, 87, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
  filter: blur(0);
}

@media (max-width: 860px) {
  .hero.hero--landing .hero__content::before {
    left: -15%;
    width: 130%;
    top: -15%;
  }
}

/* Badge superior — sem bolinha extra do main.css */
.hero.hero--landing .hero__eyebrow--landing {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  background: rgba(56, 189, 248, 0.06);
  color: rgba(125, 211, 252, 0.98);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.08), 0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(56, 189, 248, 0.12);
}

.hero.hero--landing .hero__eyebrow--landing::before {
  display: none;
}

.hero.hero--landing .hero__eyebrow-sep {
  margin: 0 0.35em;
  opacity: 0.65;
  font-weight: 400;
}

/* Headline em três leituras visuais */
.hero.hero--landing .hero__headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.02em;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.55rem, 6.2vw, 4.05rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  /* Evita síntese artificial de negrito que “alarga” o traço em alguns browsers */
  font-synthesis: none;
}

@media (max-width: 860px) {
  .hero.hero--landing .hero__headline {
    align-items: center;
    text-align: center;
  }
}

.hero.hero--landing .hero__title-plain {
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.hero.hero--landing .hero__title-row {
  display: block;
  line-height: 1.08;
}

.hero.hero--landing .hero__chunk {
  font-style: normal;
  display: inline;
}

.hero.hero--landing .hero__chunk--cyan-purple {
  background: linear-gradient(100deg, #00d2ff 0%, #8b4fc4 52%, #9d50bb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px rgba(0, 210, 255, 0.15));
}

.hero.hero--landing .hero__chunk--purple-pink {
  background: linear-gradient(100deg, #a855f7 0%, #c026d3 45%, #e94057 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 28px rgba(233, 64, 87, 0.12));
}

/* Sobrescreve .hero h1 em do main.css — não usamos mais em no landing */
.hero.hero--landing .hero__headline em {
  font-style: normal;
}

.hero.hero--landing .hero__sub--landing {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.72;
  color: #a8b4c8;
  max-width: 30rem;
}

.hero.hero--landing .hero__actions--landing {
  gap: 16px;
  margin-top: 0.25rem;
}

.hero.hero--landing .hero__btn-primary.btn-accent {
  background: linear-gradient(115deg, #22d3ee 0%, #6366f1 48%, #a855f7 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.35), 0 4px 16px rgba(99, 102, 241, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.hero.hero--landing .hero__btn-primary.btn-accent:hover {
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.45), 0 6px 24px rgba(168, 85, 247, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transform: translateY(-2px);
}

.hero.hero--landing .hero__btn-secondary.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.22);
  backdrop-filter: blur(10px);
}

.hero.hero--landing .hero__btn-secondary.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
}

.hero.hero--landing .hero__trust--landing {
  gap: clamp(12px, 3vw, 22px);
  margin-top: 0.35rem;
  padding-top: 0.25rem;
}

.hero.hero--landing .hero__trust--landing .hero__trust-item {
  font-size: 0.82rem;
  color: #8b9cb3;
  letter-spacing: 0.01em;
}

.hero.hero--landing .hero__trust--landing .hero__trust-item i {
  color: #38bdf8;
  opacity: 0.95;
}

/* Coluna do mockup — respiro */
.hero.hero--landing .hero__visual {
  position: relative;
}

.landing-flash {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

#cursos {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.landing-catalog-head .section-header {
  margin-bottom: 40px;
}

.landing-grid-cards.grid-cards {
  padding-bottom: 64px;
}

/* Reveal ao scroll (home.js → classe .is-visible) */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mockup + carousel (imagens dinâmicas) */
.phone-mockup--showcase {
  width: min(100%, 280px);
  margin: 0 auto;
}

.phone-mockup--showcase .app-showcase {
  width: 100%;
  animation: none;
}

.phone-mockup--showcase .phone-frame {
  width: 100%;
}

.phone-mockup--showcase .app-showcase .phone-screen {
  display: block;
  position: relative;
  padding: 0;
}

.app-showcase {
  position: relative;
  width: 100%;
}

.app-showcase__glow {
  position: absolute;
  inset: -18%;
  border-radius: 40px;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.22), transparent 58%),
    radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.18), transparent 50%);
  filter: blur(28px);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

.app-showcase__phone {
  position: relative;
  z-index: 1;
}

.app-showcase__slides {
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-surface);
}

.app-showcase__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.app-showcase__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.app-showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-showcase__nav {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 4;
}

.app-showcase__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(8, 11, 20, 0.88);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.app-showcase__btn:hover {
  border-color: var(--border-glow);
  background: rgba(16, 22, 38, 0.95);
  transform: scale(1.05);
}

.app-showcase__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.app-showcase__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(124, 143, 170, 0.45);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.app-showcase__dot.is-active {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transform: scale(1.35);
}

@media (max-width: 480px) {
  .landing-flash {
    padding: 0 16px;
  }
}
