/* DreamSchool – Landing Page
   Design espacial com neon azul e vermelho
   ================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --preto:       #000000;
  --azul-escuro: #000429;
  --azul-navy:   #011f61;
  --azul:        #0f5597;
  --azul-eletrico:#2d66e2;
  --azul-neon:   #2cb1fd;
  --vermelho:    #ff4757;
  --vermelho-dark:#c9001a;
  --branco:      #ffffff;
  --cinza-claro: #cccccc;
  --texto-muted: #999999;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--preto);
  color: var(--branco);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ── HEADER ── */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 14px 28px;
  z-index: 100;
  background: transparent;
  transition: background .3s;
}
.top-nav.scrolled {
  background: rgba(0, 4, 41, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.top-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-menu ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
}
.nav-menu ul li a {
  text-decoration: none;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 600;
  transition: color .2s;
}
.nav-menu ul li a:hover { color: var(--azul-neon); }
.auth-buttons { display: flex; align-items: center; }
.btn-matricula {
  background: linear-gradient(135deg, var(--azul-neon), var(--azul-eletrico));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 0 12px rgba(44,177,253,.4);
  white-space: nowrap;
}
.btn-matricula:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(44,177,253,.7);
}
.close-menu { display: none; }
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 20;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 60px 60px;
  background: radial-gradient(ellipse at 20% 50%, rgba(1,31,97,0.8) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(45,102,226,0.2) 0%, transparent 50%),
              var(--preto);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(1,31,97,0.5) 0%, transparent 70%);
  pointer-events: none;
}
.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 40%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 55%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 25%, rgba(255,255,255,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 80%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 70%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 30%, rgba(255,255,255,.5) 0%, transparent 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 560px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(44,177,253,.12);
  border: 1px solid rgba(44,177,253,.35);
  color: var(--azul-neon);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--azul-neon);
  animation: blink 1.8s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .3; transform: scale(1.4); }
}
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.hero h1 em {
  font-style: normal;
  color: var(--azul-neon);
  text-shadow: 0 0 20px rgba(44,177,253,.6), 0 0 40px rgba(44,177,253,.3);
}
.hero-sub {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--azul-neon), var(--azul-eletrico));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 14px;
  padding: 15px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 0 16px rgba(44,177,253,.5);
  animation: glowPulse 2s infinite ease-in-out;
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 14px rgba(45,102,226,.7), 0 0 24px rgba(44,177,253,.3); }
  50%      { box-shadow: 0 0 28px rgba(45,102,226,1), 0 0 44px rgba(44,177,253,.6); }
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 15px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.4);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: all .2s;
}
.btn-ghost:hover { border-color: var(--azul-neon); color: var(--azul-neon); background: rgba(44,177,253,.08); }
.hero-astronauta {
  position: absolute;
  right: -5%;
  bottom: 0;
  z-index: 3;
  animation: flutuar 6s ease-in-out infinite;
}
.hero-astronauta img {
  width: clamp(280px, 45vw, 700px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(44,177,253,.4));
}
@keyframes flutuar {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}

/* ── STATS ── */
.stats-bar {
  background: var(--azul);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  text-align: center;
  padding: 14px 28px;
  border-right: 1px solid rgba(255,255,255,.15);
  flex: 1;
  min-width: 100px;
}
.stat:last-child { border-right: none; }
.stat strong {
  display: block;
  font-weight: 900;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--azul-neon);
  text-shadow: 0 0 10px rgba(44,177,253,.5);
}
.stat span {
  font-size: 10px;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── FAIXA ANIMADA ── */
.faixa-scroll {
  background: var(--azul);
  padding: 16px 0;
  overflow: hidden;
}
.faixa-scroll.faixa-red { background: var(--vermelho-dark); }
.faixa-inner {
  white-space: nowrap;
  display: flex;
  animation: scrollFaixa 14s linear infinite;
}
.faixa-inner span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding-right: 50px;
  color: #fff;
}
@keyframes scrollFaixa {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── CURSOS ── */
.cursos-sec {
  background: rgba(1,31,97,.5);
}
.sec {
  padding: 56px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.sec-title {
  font-weight: 800;
  font-size: clamp(22px, 4vw, 32px);
  text-align: center;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.sec-sub {
  text-align: center;
  color: rgba(255,255,255,.65);
  font-size: 14px;
  margin-bottom: 36px;
}
.cursos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.curso-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(44,177,253,.2);
  border-radius: 16px;
  padding: 28px 18px 22px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.curso-card:hover {
  transform: translateY(-6px);
  border-color: var(--azul-neon);
  box-shadow: 0 0 24px rgba(44,177,253,.25), 0 12px 40px rgba(0,0,0,.4);
}
.curso-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--azul-neon), transparent);
  transform: scaleX(0);
  transition: transform .3s;
}
.curso-card:hover .curso-glow { transform: scaleX(1); }
.curso-ico { font-size: 40px; display: block; margin-bottom: 14px; }
.curso-card h3 {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}
.curso-card p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.55; }
.curso-tag {
  display: inline-block;
  margin-top: 12px;
  background: rgba(44,177,253,.15);
  color: var(--azul-neon);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: 1px solid rgba(44,177,253,.3);
}

/* ── BENEFÍCIOS ── */
.bene-sec { background: var(--azul-escuro); }
.bene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.bene-card {
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 22px 16px;
  border-left: 3px solid var(--azul-neon);
  transition: transform .2s, box-shadow .2s;
}
.bene-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 16px rgba(44,177,253,.15);
}
.bene-ico { font-size: 26px; margin-bottom: 10px; display: block; }
.bene-card h4 {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin-bottom: 5px;
}
.bene-card p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.55; }

/* ── FORMULÁRIO ── */
.form-sec {
  background: radial-gradient(ellipse at center, rgba(1,31,97,.9) 0%, var(--preto) 100%);
  padding: 64px 20px;
  position: relative;
  overflow: hidden;
}
.form-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 20%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 60%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 15%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 75%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 85%, rgba(255,255,255,.5) 0%, transparent 100%);
  pointer-events: none;
}
.form-card {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(10,14,42,.95);
  border: 1px solid rgba(44,177,253,.25);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 0 60px rgba(44,177,253,.1), 0 24px 64px rgba(0,0,0,.5);
  position: relative;
  z-index: 2;
}
.form-card h2 {
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  text-align: center;
  margin-bottom: 6px;
}
.form-card .fsub {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 26px;
  line-height: 1.6;
}
.fgrp { margin-bottom: 14px; }
.fgrp label {
  display: block;
  font-weight: 600;
  font-size: 11px;
  color: var(--azul-neon);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.fgrp input,
.fgrp select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(44,177,253,.25);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: rgba(255,255,255,.06);
  outline: none;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}
.fgrp input::placeholder { color: rgba(255,255,255,.35); }
.fgrp input:focus,
.fgrp select:focus {
  border-color: var(--azul-neon);
  background: rgba(44,177,253,.08);
}
.fgrp select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232cb1fd' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  color: rgba(255,255,255,.8);
}
.fgrp select option { background: #0a0e2a; color: #fff; }
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--azul-neon), var(--azul-eletrico));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  padding: 15px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 8px;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 0 16px rgba(44,177,253,.4);
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 0 28px rgba(44,177,253,.7); }
.btn-submit:active { transform: translateY(0); }
.btn-submit.loading { background: #444; cursor: not-allowed; box-shadow: none; transform: none; }
.f-privacy {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  margin-top: 14px;
}
.f-privacy a { color: var(--azul-neon); text-decoration: underline; font-size: 11px; }
#success { display: none; text-align: center; padding: 20px 0; }
#success .chk { font-size: 60px; display: block; margin-bottom: 14px; }
#success h3 { font-weight: 800; font-size: 22px; color: var(--azul-neon); margin-bottom: 8px; }
#success p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.6; }

/* ── FOOTER ── */
footer {
  background: #000;
  border-top: 1px solid rgba(44,177,253,.15);
  padding: 40px 20px 20px;
}
.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 12px;
}
.footer-desc {
  color: rgba(255,255,255,.5);
  font-size: 13px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.social-icon {
  width: 40px;
  height: 40px;
  background: #a80303;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, background .2s;
}
.social-icon:hover { transform: scale(1.15); background: #555; }
.social-icon svg { width: 20px; height: 20px; fill: #fff; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.8; }
.footer-copy span { font-size: 12px; }

/* ── FLOAT CTA ── */
.float-cta {
  position: fixed;
  bottom: 20px; right: 20px;
  background: linear-gradient(135deg, var(--azul-neon), var(--azul-eletrico));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 13px;
  padding: 13px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(44,177,253,.5);
  z-index: 200;
  text-transform: uppercase;
  letter-spacing: .5px;
  animation: fbounce 3s ease-in-out infinite;
}
.float-cta:hover { box-shadow: 0 0 32px rgba(44,177,253,.8); }
@keyframes fbounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ── WHATSAPP ── */
.whatsapp-btn {
  position: fixed;
  bottom: 20px; left: 20px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(37,211,102,.7);
  z-index: 200;
  transition: transform .2s;
  animation: whatsGlow 2s infinite ease-in-out;
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn img { width: 30px; height: 30px; }
@keyframes whatsGlow {
  0%,100% { box-shadow: 0 0 10px rgba(37,211,102,.6); }
  50%      { box-shadow: 0 0 26px rgba(37,211,102,1); }
}

/* ── RESPONSIVIDADE ── */

/* Tablet */
@media (max-width: 900px) {
  .hero-astronauta img { width: clamp(200px, 40vw, 400px); }
  .hero { padding: 100px 32px 60px; }
}

@media (max-width: 768px) {
  .nav-menu ul { display: none; }
  .menu-toggle { display: block; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: linear-gradient(135deg, rgba(0,132,255,.95), rgba(0,0,0,.85));
    backdrop-filter: blur(6px);
    z-index: 500;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: translateY(-100%);
    transition: transform .3s ease;
  }
  .nav-menu.active {
    display: flex;
    transform: translateY(0);
  }
  .nav-menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  .nav-menu ul li a {
    font-size: 22px;
    padding: 12px 28px;
    border-radius: 50px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    display: inline-block;
  }
  .close-menu {
    display: block;
    position: absolute;
    top: 20px; right: 24px;
    font-size: 38px;
    color: #fff;
    cursor: pointer;
    z-index: 501;
  }
  .hero {
    padding: 100px 24px 60px;
    min-height: 100vh;
  }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 5rem); }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .hero-astronauta {
    position: absolute;
    right: -30%;
    bottom: 0;
    opacity: .35;
    z-index: 1;
  }
  .hero-astronauta img { width: 80vw; }
  .hero-content { position: relative; z-index: 3; }
  .stats-bar { flex-wrap: wrap; }
  .stat { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(1), .stat:nth-child(2) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
  .cursos-grid { grid-template-columns: repeat(2, 1fr); }
  .bene-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 28px 20px; }
  .float-cta { bottom: 14px; right: 14px; font-size: 12px; padding: 11px 16px; }
  .whatsapp-btn { bottom: 14px; left: 14px; width: 48px; height: 48px; }
  .whatsapp-btn img { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .cursos-grid { grid-template-columns: 1fr; }
  .bene-grid { grid-template-columns: 1fr; }
  .sec { padding: 40px 16px; }
  .hero { padding: 90px 16px 50px; }
}
