:root {
  --bg: #000012;
  --navy: #0b1a33;
  --navy-deep: #071224;
  --surface: #102746;
  --gold: #e8c547;
  --gold-dim: #b8952f;
  --cream: #f5ede0;
  --cream-muted: #c9bba8;
  --glow: #2e72b6;
  --font-display: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(46, 114, 182, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(232, 197, 71, 0.08), transparent 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--bg) 45%, #020618 100%);
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: drift 14s ease-in-out infinite alternate;
}

.glow-a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  background: rgba(46, 114, 182, 0.55);
  top: 8%;
  left: -8%;
}

.glow-b {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  background: rgba(232, 197, 71, 0.18);
  bottom: 5%;
  right: -6%;
  animation-delay: -4s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(18px, -22px) scale(1.08);
  }
}

.stage {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 100svh;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.copy-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.65rem, 1.8vw, 1.1rem);
  max-width: 36rem;
}

.brand-mark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: 0.42em;
  color: var(--gold);
  text-indent: 0.42em;
}

.hero-visual {
  width: min(72vw, 340px);
  flex-shrink: 0;
}

.reizinho {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.55));
  animation: floaty 5.5s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 11vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-wrap: balance;
}

.support {
  margin: 0;
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--cream-muted);
  text-wrap: pretty;
}

.support strong {
  color: var(--gold);
  font-weight: 800;
}

.support strong.love {
  letter-spacing: 0.06em;
}

.motto {
  margin: 0.15rem 0 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  line-height: 1.45;
  color: var(--cream);
  text-wrap: pretty;
}

.wa-cta {
  --wa: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.45rem 0 0;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.wa-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.38);
}

.wa-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.wa-cta-icon {
  display: block;
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  flex-shrink: 0;
}

.beta {
  margin: 0.35rem 0 0;
  max-width: 28rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--gold);
}

.beta-mark {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--gold);
}

.foot {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem 1.75rem;
  text-align: center;
}

.copy {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(201, 187, 168, 0.45);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-delay-1 {
  animation-delay: 0.12s;
}
.reveal-delay-2 {
  animation-delay: 0.28s;
}
.reveal-delay-3 {
  animation-delay: 0.44s;
}
.reveal-delay-4 {
  animation-delay: 0.6s;
}
.reveal-delay-5 {
  animation-delay: 0.76s;
}
.reveal-delay-6 {
  animation-delay: 0.9s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lessons {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.lessons-title {
  margin: 0 auto 1.35rem;
  max-width: 16em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1.35rem);
  max-width: 860px;
  margin: 0 auto;
}

.lesson {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.lesson-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(232, 197, 71, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

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

.lesson-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(0, 0, 12, 0.55);
  border: 2px solid var(--gold);
  transform: translate(-50%, -50%);
}

.lesson-play::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--cream);
}

.lesson:hover .lesson-thumb,
.lesson:focus-visible .lesson-thumb {
  border-color: var(--gold);
}

.lesson:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.lesson-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--cream);
}

.lesson-modal {
  padding: 0;
  border: 0;
  background: transparent;
  width: min(92vw, 92vh, 560px);
  max-width: none;
}

.lesson-modal::backdrop {
  background: rgba(0, 0, 12, 0.82);
}

.lesson-dialog {
  position: relative;
}

.lesson-dialog video {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #000012;
  border-radius: 1rem;
  border: 1px solid rgba(232, 197, 71, 0.55);
}

.lesson-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 12, 0.72);
  color: var(--cream);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.lesson-caption {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--cream);
}

.play {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0.5rem clamp(1.25rem, 4vw, 2.5rem) clamp(3rem, 8vw, 5rem);
  display: grid;
  justify-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.play-frame {
  margin: 0;
  width: min(100%, 280px);
  padding: 0.55rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(232, 197, 71, 0.55), rgba(46, 114, 182, 0.35));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

.play-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.55rem;
}

.play-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 36rem;
}

.play .brand-mark {
  text-indent: 0;
}

.play-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.points {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.points li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--gold);
}

.points strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.points span {
  color: var(--cream-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

/* Desktop: Reizinho à esquerda, texto à direita (como o app). */
@media (min-width: 860px) {
  .stage {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: clamp(2rem, 5vw, 3.5rem);
    padding-block: clamp(2.5rem, 8vh, 5rem);
  }

  .hero-visual {
    width: min(42vw, 440px);
  }

  .copy-col {
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    max-width: 38rem;
  }

  .brand-mark {
    text-indent: 0;
  }

  .support {
    max-width: 36rem;
  }

  .play {
    grid-template-columns: 300px minmax(0, 1fr);
    justify-items: stretch;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .play-copy {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glow,
  .reizinho,
  .reveal {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
