:root{
  --bg:#07111f;
  --bg-soft:#0d1a2f;
  --panel:#101b31;
  --stroke:rgba(255,255,255,.08);
  --text:#f4f7fb;
  --muted:#a9b5c9;
  --accent:#ff7a1a;
  --accent-2:#2bd17e;
  --shadow:0 20px 60px rgba(0,0,0,.28);
  --radius:22px;
  --max:1180px;
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at top, rgba(43,209,126,.08), transparent 22%),
    radial-gradient(circle at 90% 0%, rgba(255,122,26,.08), transparent 20%),
    linear-gradient(180deg,#07111f 0%, #0a1324 100%);
  color:var(--text);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
img,
.hero-card,
.route-card,
.quick-link,
.course-card,
.stat,
.container{min-width:0}

.container{
  width:min(var(--max), calc(100% - 32px));
  margin:0 auto;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:saturate(140%) blur(10px);
  background:rgba(7,17,31,.76);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.nav{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  font-weight:800;
  letter-spacing:.02em;
}

.brand img{
  width:42px;
  height:42px;
}

.brand small{
  display:block;
  color:var(--muted);
  font-weight:600;
}

.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}

.nav-links a{
  color:var(--muted);
  font-weight:600;
}

.nav-links a:hover{color:var(--text)}

.menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:#fff;
  font-size:24px;
  cursor:pointer;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  font-weight:800;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
  border:1px solid transparent;
}

.btn:hover{transform:translateY(-2px)}

.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 18px 38px rgba(255,122,26,.24);
}

.btn-secondary{
  background:rgba(255,255,255,.04);
  border-color:var(--stroke);
  color:var(--text);
}

/* HERO */
.hero{padding:82px 0 44px}

.hero-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  justify-items:center;
  max-width:900px;
  margin:auto;
}

.hero-card,
.hero-visual,
.route-card,
.benefit-card,
.op-card,
.course-card,
.ranking-card,
.quick-start,
.final-cta{
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
  border-radius:30px;
}

.hero-card,
.hero-visual,
.quick-start,
.final-cta{
  padding:28px;
}

.hero-card{
  width:100%;
  max-width:760px;
}

.kicker{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(43,209,126,.1);
  color:#a8ffd0;
  border:1px solid rgba(43,209,126,.2);
  font-size:.9rem;
  font-weight:700;
}

.hero h1{
  font-size:clamp(2.1rem, 3.2vw, 3.1rem);
  line-height:1.03;
  margin:16px 0;
  max-width:560px;
}

.hero p{
  font-size:1.07rem;
  color:var(--muted);
  max-width:64ch;
}

.hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:24px;
}

.hero-proof{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:26px;
}

.stat{
  background:rgba(255,255,255,.03);
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:18px;
}

.stat strong{
  display:block;
  font-size:1.25rem;
}

/* OPTIONAL MINI PANEL */
.hero-panel{
  height:100%;
  border-radius:24px;
  background:linear-gradient(180deg, #101c32 0%, #0d1628 100%);
  border:1px solid rgba(255,255,255,.06);
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.mini-browser{display:flex;gap:8px}
.mini-browser span{
  width:12px;
  height:12px;
  border-radius:50%;
  background:rgba(255,255,255,.16);
}

.mini-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:6px;
}

.mini-card{
  border-radius:18px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  padding:16px;
  min-height:120px;
}

.mini-card strong{
  display:block;
  margin-bottom:10px;
}

.mini-card p{
  font-size:.95rem;
  color:var(--muted);
  line-height:1.45;
}

/* SECTIONS */
.section{padding:52px 0 32px}

.section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:26px;
}

.section-head h2{
  font-size:clamp(1.55rem, 2.5vw, 2.35rem);
  margin:0;
}

.section-head p{
  margin:0;
  color:var(--muted);
  max-width:70ch;
}

.route-grid,
.benefit-grid,
.opportunity-grid,
.card-grid,
.quick-links,
.ranking-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:28px;
}

.route-card,
.benefit-card,
.op-card,
.ranking-card{
  padding:22px;
}

.route-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  display:grid;
  place-items:center;
  background:rgba(255,122,26,.12);
  border:1px solid rgba(255,122,26,.16);
  font-size:1.3rem;
  font-weight:800;
}

.route-card h3,
.benefit-card h3,
.op-card h3{
  margin:14px 0 8px;
}

.route-card p,
.benefit-card p,
.op-card p,
.ranking-card ol,
.quick-link span{
  color:var(--muted);
  line-height:1.55;
}

.route-link{
  margin-top:14px;
  display:inline-flex;
  color:#ffd4b2;
  font-weight:700;
}

.quick-start{margin-top:12px}

.quick-link{
  display:block;
  padding:22px;
  border-radius:20px;
  background:rgba(255,255,255,.03);
  border:1px solid var(--stroke);
}

.quick-link strong{
  display:block;
  margin-bottom:8px;
}

/* COURSE CARDS */
.course-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border:1px solid var(--stroke);
  box-shadow:var(--shadow);
  height:100%;
  width:100%;
}

.course-thumb{
  position:relative;
  aspect-ratio:16/10;
  background:#0f1a30;
}

.course-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.course-badge{
  position:absolute;
  top:14px;
  left:14px;
  background:rgba(43,209,126,.12);
  color:#afffd1;
  border:1px solid rgba(43,209,126,.22);
  font-size:.82rem;
  font-weight:800;
  padding:8px 10px;
  border-radius:999px;
}

.course-badge-custom{
  position:absolute;
  top:14px;
  left:14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  font-size:.82rem;
  font-weight:800;
  line-height:1;
  color:#fff;
  background:rgba(255,122,26,.92);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  z-index:2;
}

.course-badge-custom.is-green{background:rgba(43,209,126,.92)}
.course-badge-custom.is-blue{background:rgba(79,209,255,.92)}
.course-badge-custom.is-dark{background:rgba(18,28,46,.96)}

.course-body{padding:18px}

.eyebrow{
  display:inline-block;
  color:#ffd4b1;
  font-size:.86rem;
  font-weight:700;
  margin-bottom:8px;
}

.course-body h3{
  margin:0 0 8px;
  font-size:1.2rem;
}

.course-copy{
  color:var(--muted);
  line-height:1.58;
  min-height:72px;
}

.course-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:14px 0 10px;
}

.pill{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-size:.82rem;
  font-weight:700;
}

.price-pill{
  background:rgba(255,122,26,.1);
  border-color:rgba(255,122,26,.18);
}

.micro-benefit{
  margin:0 0 16px;
  color:#dbe7f7;
  font-weight:600;
}

/* CATALOG */
.catalog-shell{padding:34px 0 80px}
.catalog-hero{padding:60px 0 26px}

.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:10px 0 20px;
}

.filter-btn{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.03);
  color:var(--text);
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  font-weight:700;
  cursor:pointer;
}

.filter-btn.is-active{
  background:rgba(255,122,26,.12);
  border-color:rgba(255,122,26,.2);
}

.category-block{padding:18px 0 6px}

.category-header{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:18px;
  margin-bottom:12px;
}

.category-header p,
.stage-head p,
.footer p,
.logo-note{
  color:var(--muted);
}

.stage-block{padding:10px 0 8px}

.stage-head h3{margin:0 0 8px}

/* FOOTER */
.footer{
  border-top:1px solid rgba(255,255,255,.06);
  padding:26px 0 40px;
  color:var(--muted);
}

/* ANIMATIONS */
.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .55s ease, transform .55s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:none;
}

/* FLOATING LIVE BOX */
.fluxo-live{
  position:fixed;
  left:20px;
  bottom:20px;
  background:#101b31;
  color:#fff;
  padding:12px 16px;
  border-radius:10px;
  font-size:14px;
  opacity:0;
  transform:translateY(20px);
  transition:.3s;
  z-index:9999;
}

.fluxo-live.show{
  opacity:1;
  transform:translateY(0);
}

/* DESKTOP HERO WIDTH */
@media (min-width:1100px){
  .hero .container{
    width:100% !important;
    max-width:none !important;
    padding-left:6vw !important;
    padding-right:6vw !important;
    margin:0 !important;
  }

  .hero-grid{
    grid-template-columns:1fr;
    max-width:900px;
    margin:auto;
  }

  .hero-card{
    width:100% !important;
    max-width:980px !important;
    margin:0 !important;
  }
}

/* MOBILE / WEBVIEW / TIKTOK FIX */
@media (max-width:980px){
  .nav{
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    padding:14px 0;
  }

  .brand{
    flex:1 1 auto;
    min-width:0;
    width:auto;
  }

  .menu-toggle{
    display:inline-flex;
    flex:0 0 auto;
  }

  .nav-links{
    display:none !important;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    padding-top:8px;
    margin-top:0;
  }

  .nav-links.active{
    display:flex !important;
  }

  .nav-links a,
  .nav-links .btn{
    width:100%;
  }

  .hero,
  .catalog-hero{
    padding-top:36px !important;
    padding-bottom:20px !important;
  }

  .hero-grid,
  .route-grid,
  .quick-links,
  .card-grid,
  .hero-proof,
  .ranking-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
  }

  .hero-card,
  .quick-start,
  .final-cta,
  .route-card,
  .course-card,
  .ranking-card{
    width:100% !important;
    max-width:100% !important;
  }

  .hero-card{
    text-align:left !important;
  }

  .hero-card h1,
  .hero-card p{
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  .hero-actions{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:12px !important;
  }

  .hero-actions .btn,
  .section-head .btn{
    width:100% !important;
  }

  .section-head{
    display:block !important;
  }

  .section-head .btn{
    margin-top:14px;
  }

  .route-card h3,
  .course-body h3,
  .quick-link strong,
  .brand span,
  .brand small{
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }

  .course-card{
    width:100% !important;
  }

  .course-thumb img{
    width:100% !important;
    height:100% !important;
  }

  .card-grid{
    gap:22px !important;
  }

  .fluxo-live,
  #fluxo-live-box{
    left:12px !important;
    right:12px !important;
    bottom:12px !important;
    max-width:none !important;
    width:auto !important;
  }
}

@media (max-width:640px){
  .container{
    width:min(100% - 24px, var(--max)) !important;
  }

  .hero-card,
  .quick-start,
  .final-cta{
    padding:20px !important;
  }

  .route-card,
  .course-body,
  .ranking-card{
    padding:18px !important;
  }

  .hero h1{
    font-size:clamp(2rem, 10vw, 3rem) !important;
    line-height:1.02 !important;
  }
}