/* Base e layout — fundo preto com verde em movimento */
:root {
  --base: #000000;
  --contrast: #ffffff;
  --accent: #22c55e;
  --accent-bright: #4ade80;
  --accent2: #16a34a;
  --gradient-text: linear-gradient(135deg, #4ade80, #22c55e);
  --font-main: 'Manrope', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-main); background: var(--base); color: var(--contrast); overflow-x: hidden; }

/* Container principal + fundo com verde em movimento */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #000;
}

/* Camada de verde em movimento (brilho que se desloca) */
.landing-page::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 60% 80% at 20% 30%,
    rgba(34, 197, 94, 0.25) 0%,
    rgba(34, 197, 94, 0.08) 25%,
    transparent 50%
  );
  animation: green-move 8s ease-in-out infinite;
}

.landing-page::after {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse 50% 70% at 80% 70%,
    rgba(22, 163, 74, 0.15) 0%,
    transparent 45%
  );
  animation: green-move 10s ease-in-out infinite reverse;
}

@keyframes green-move {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  25% { transform: translate(8%, -5%) scale(1.08); opacity: 0.85; }
  50% { transform: translate(-6%, 6%) scale(0.95); opacity: 1; }
  75% { transform: translate(4%, 2%) scale(1.02); opacity: 0.9; }
}

/* Seção topo */
.landing-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(20px, 5vw, 40px);
  text-align: center;
  position: relative;
  z-index: 1;
}

.landing-hero h1 {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.25em;
  max-width: 720px;
  color: #fff;
}

.text-gradient-imersao {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0 0 1.25em;
  color: var(--accent-bright);
}

/* Botão CTA — versão melhorada */
.btn-wrap { display: inline-block; margin: 0.5em 0; text-decoration: none; }

.btn-wrap.btn-cta-premium {
  position: relative;
  display: inline-block;
  border-radius: 50px;
  padding: 4px;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 35%, #16a34a 70%, #15803d 100%);
  background-size: 300% 300%;
  animation: btn-gradient-flow 5s ease infinite;
  box-shadow:
    0 6px 24px rgba(34, 197, 94, 0.45),
    0 0 0 1px rgba(255,255,255,0.2) inset,
    0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  overflow: hidden;
}

.btn-wrap.btn-cta-premium::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.4), transparent, rgba(255,255,255,0.2));
  background-size: 200% 200%;
  animation: btn-glow-ring 3s ease-in-out infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
}

@keyframes btn-glow-ring {
  0%, 100% { background-position: 0% 50%; opacity: 0.6; }
  50% { background-position: 100% 50%; opacity: 1; }
}

.btn-wrap.btn-cta-premium:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    0 16px 40px rgba(34, 197, 94, 0.55),
    0 0 32px rgba(74, 222, 128, 0.35),
    0 0 0 1px rgba(255,255,255,0.25) inset,
    0 4px 12px rgba(0,0,0,0.25);
}

.btn-cta-shine {
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), rgba(255,255,255,0.15), transparent);
  border-radius: 50px;
  transition: left 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-wrap.btn-cta-premium:hover .btn-cta-shine {
  left: 120%;
}

@keyframes btn-gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-cta-premium .btn-cta-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 40%, transparent 70%);
  background-color: #16a34a;
  border-radius: 46px;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3), 0 0 20px rgba(255,255,255,0.1);
  border: none;
  transition: gap 0.3s ease, background-color 0.3s ease, letter-spacing 0.3s ease, transform 0.2s ease;
}

.btn-wrap.btn-cta-premium:hover .btn-cta-box {
  background-color: #15803d;
  gap: 14px;
  letter-spacing: 0.08em;
}

.btn-cta-premium .arrow-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

.btn-wrap.btn-cta-premium:hover .arrow-icon {
  transform: translateX(6px);
}

/* Pequena pulsação sutil no botão (opcional) */
.btn-wrap.btn-cta-premium:active .btn-cta-box {
  transform: scale(0.98);
}

.btn-cta-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: #22c55e;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border: none;
  transition: background 0.2s, transform 0.2s;
}

a:hover .btn-cta-box {
  background: #16a34a;
  transform: translateY(-1px);
}

.btn-cta { color: inherit; }
.arrow-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* Imagem / slideshow central */
.landing-image-wrap {
  width: 100%;
  max-width: 720px;
  margin: 1.5rem auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.landing-image-wrap a { display: block; }
.landing-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.15);
}

/* Slideshow (se usar várias imagens) */
.slideshow { position: relative; width: 100%; border-radius: 12px; overflow: hidden; }
.slideshow .slide {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  border-radius: 12px;
}
.slideshow .slide.active { position: relative; opacity: 1; }

/* Faixa com degradê verde */
.degrade-horizontal {
  height: 6px;
  background: linear-gradient(90deg, transparent 0%, #16a34a 20%, #22c55e 50%, #16a34a 80%, transparent 100%);
  margin: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

/* Seção regras — fundo escuro com toque verde */
.landing-rules {
  background: rgba(0, 0, 0, 0.6);
  padding: clamp(24px, 5vw, 48px) clamp(20px, 4vw, 40px);
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(34, 197, 94, 0.2);
}

.landing-rules-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.landing-rules h2 {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  margin: 0;
  color: #fff;
}

.landing-rules .rules-text {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  line-height: 1.5;
  color: #d1fae5;
  margin: 0;
}

/* Footer */
.landing-footer {
  padding: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
  background: rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(34, 197, 94, 0.15);
}

.landing-rules .btn-wrap { margin-top: 0.5em; }

/* Botão secundário (Garantir cota) */
.btn-cta-box.btn-secondary-cta {
  background: #15803d;
}
a:hover .btn-cta-box.btn-secondary-cta {
  background: #166534;
}

/* Responsivo */
@media (max-width: 480px) {
  .btn-cta-box { padding: 12px 20px; font-size: 0.95rem; }
  .landing-hero h1 { font-size: 1.15rem; }
}
