/* =========================================================
   Crazy Pixel Community — Landing Page
   ========================================================= */

@font-face {
  font-family: "Bebas Neue Pro";
  src: url("../fonts/BebasNeuePro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Bebas Neue Pro";
  src: url("../fonts/BebasNeuePro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Base — azul-marinho profundo herdado do site da escola */
  --bg: #060b12;
  --bg-alt: #09121d;
  --surface: #0e1a28;
  --surface-2: #132335;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  /* Texto */
  --text: #eef3f8;
  --muted: #94a6b8;

  /* Marca */
  --orange: #ff9000;
  --orange-2: #ff5200;
  --blue: #37a7e5;
  --navy: #254a5e;
  --grad: linear-gradient(100deg, #ffb340 0%, var(--orange) 40%, var(--orange-2) 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);

  --font-display: "Bebas Neue Pro", "Bebas Neue", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .92;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.display--md { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.lead strong { color: var(--text); font-weight: 600; }
.subtitle { color: var(--muted); max-width: 640px; margin: 16px auto 0; font-size: 1.08rem; }
.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.text-gradient { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-orange { color: var(--orange); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: .98rem;
  padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 18px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--grad); color: #1a0c00;
  box-shadow: 0 10px 30px -8px rgba(255, 120, 0, .6), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(255, 120, 0, .75), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); }
.link-arrow { color: var(--orange); font-weight: 600; display: inline-block; margin-top: 36px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(6, 11, 18, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand__tag {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange);
  padding-left: 10px; border-left: 1px solid var(--line-strong); line-height: 1;
}
.header__actions { display: flex; align-items: center; gap: 20px; }
.login-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .88rem; font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.login-link:hover { color: var(--text); }
.nav { display: flex; gap: 32px; font-size: .92rem; color: var(--muted); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .55; }
.glow--orange { width: 520px; height: 520px; background: #ff6a00; right: 2%; top: 18%; opacity: .32; }
.glow--blue { width: 640px; height: 640px; background: #1c5d8a; left: -10%; top: -10%; opacity: .5; }
.grid-floor {
  position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%;
  background-image:
    linear-gradient(rgba(55,167,229,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55,167,229,.16) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.hero__copy .display { margin: 20px 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,144,0,.1); border: 1px solid rgba(255,144,0,.35); color: #ffc27a;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 44px; }
.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--text); }
.hero__stats span { font-size: .85rem; color: var(--muted); }

.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.stack {
  position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  background: var(--surface);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.stack img { width: 100%; height: 100%; object-fit: cover; }
.stack--back  { width: 58%; aspect-ratio: 4/3; top: 0; left: 0; transform: rotate(-6deg); opacity: .75; }
.stack--mid   { width: 52%; aspect-ratio: 4/3; top: 6%; right: 0; transform: rotate(5deg); opacity: .85; }
.stack--front { width: 78%; aspect-ratio: 808/632; bottom: 4%; left: 11%; z-index: 2; box-shadow: 0 40px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,144,0,.25), 0 0 80px -10px rgba(255,120,0,.35); }
.stack--front figcaption {
  position: absolute; left: 14px; bottom: 14px;
  font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: rgba(6,11,18,.7); backdrop-filter: blur(8px); border: 1px solid var(--line-strong);
}
.hero__visual:hover .stack--back { transform: rotate(-9deg) translate(-10px, -6px); }
.hero__visual:hover .stack--mid { transform: rotate(8deg) translate(10px, -6px); }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(14, 26, 40, .82); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.chip--live { top: 44%; left: -4%; }
.chip--discord { bottom: -1%; right: 2%; color: #a9b4ff; animation-delay: -3s; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 0 0 rgba(255,59,59,.7); animation: pulse 1.8s infinite; flex-shrink: 0; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,59,59,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,59,59,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,59,0); } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 22px 0; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 130px; width: auto; aspect-ratio: 808/632; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: 120px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: 64px; }

/* Dor */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain {
  padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(14,26,40,.4) 100%);
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
.pain:hover { border-color: rgba(255,144,0,.35); transform: translateY(-4px); }
.pain__icon { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--orange); display: block; margin-bottom: 20px; }
.pain h3 { font-size: 1.15rem; margin-bottom: 10px; }
.pain p { color: var(--muted); font-size: .96rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,144,0,.5), rgba(55,167,229,.5), transparent);
}
.step { text-align: center; padding: 0 12px; position: relative; }
.step__n {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%;
  font-family: var(--font-display); font-size: 2rem; color: var(--orange);
  background: var(--bg-alt); border: 1px solid rgba(255,144,0,.4);
  box-shadow: 0 0 0 8px var(--bg-alt), 0 0 40px -6px rgba(255,144,0,.45);
}
.step h3 { font-family: var(--font-display); font-size: 1.9rem; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "xl xl live"
    "xl xl discord"
    "m1 m2 m2";
  gap: 20px;
}
.card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--line-strong); }
.card h3 { font-size: 1.35rem; margin: 14px 0 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card--xl { grid-area: xl; min-height: 520px; padding: 0; }
.card--live { grid-area: live; background: radial-gradient(120% 120% at 100% 0%, rgba(255,59,59,.18), transparent 55%), var(--surface); }
.card--discord { grid-area: discord; background: radial-gradient(120% 120% at 100% 0%, rgba(88,101,242,.25), transparent 55%), var(--surface); }
.bento > .card--media:nth-of-type(4) { grid-area: m1; }
.bento > .card--media:nth-of-type(5) { grid-area: m2; }
.card--media { padding: 0; min-height: 360px; }
.card__media { position: absolute; inset: 0; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,11,18,0) 30%, rgba(6,11,18,.92) 82%); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { position: relative; padding: 32px; }
.card--xl .card__body h3 { font-size: 1.8rem; }
.card--xl .card__body p { max-width: 520px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,144,0,.14); color: #ffb560; border: 1px solid rgba(255,144,0,.3);
}
.tag--red { background: rgba(255,59,59,.12); color: #ff8a8a; border-color: rgba(255,59,59,.3); }
.tag--blue { background: rgba(88,101,242,.15); color: #aab3ff; border-color: rgba(88,101,242,.35); }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 17vw, 220px); gap: 16px; }
.gallery__item {
  position: relative; overflow: hidden; padding: 0; cursor: zoom-in;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery__item span {
  position: absolute; left: 12px; bottom: 12px;
  font-size: .8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: rgba(6,11,18,.75); backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(6px); transition: .3s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover span, .gallery__item:focus-visible span { opacity: 1; transform: none; }

/* Depoimentos */
.testimonials {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 24px;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab; -webkit-user-select: none; user-select: none;
}
.testimonials::-webkit-scrollbar { display: none; }
.testimonials.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.testimonials img { -webkit-user-drag: none; pointer-events: none; }
.quote {
  flex: 0 0 min(400px, 85vw); scroll-snap-align: center; margin: 0;
  padding: 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.65; position: relative; }
.quote blockquote::before {
  content: "“"; display: block; font-family: Georgia, serif; font-size: 4rem; line-height: .6;
  color: var(--orange); margin-bottom: 12px;
}
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,144,0,.5); }
.quote figcaption strong { display: block; font-size: .98rem; }
.quote figcaption span { font-size: .84rem; color: var(--muted); }

/* Professores */
.teachers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.teacher {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 36px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.teacher img { width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; border: 2px solid var(--line-strong); }
.teacher h3 { font-family: var(--font-display); font-size: 2.1rem; text-transform: uppercase; }
.teacher__role { display: block; color: var(--orange); font-size: .85rem; font-weight: 600; margin: 4px 0 14px; }
.teacher p { color: var(--muted); font-size: .96rem; }

/* Planos */
.pricing { overflow: hidden; }
.pricing__glow {
  position: absolute; width: 900px; height: 600px; left: 50%; top: 40%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255,110,0,.22), transparent); pointer-events: none;
}
.plans { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; align-items: center; }
.plan {
  position: relative;
  padding: 40px 36px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line);
}
.plan--featured {
  background: linear-gradient(180deg, rgba(255,144,0,.1), transparent 40%), var(--surface);
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 40px 80px -30px rgba(255,110,0,.45);
  padding: 52px 40px 44px;
}
.plan--featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.plan__badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  padding: 7px 16px; border-radius: 999px; background: var(--grad); color: #1a0c00;
}
.plan__name { font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 8px; }
.plan__price strong { font-family: var(--font-display); font-size: 5.4rem; line-height: .9; }
.plan--featured .plan__price strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__price .currency { font-size: 1.4rem; font-weight: 700; }
.plan__price small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.plan__note { color: var(--muted); font-size: .92rem; min-height: 2.8em; }
.plan__note strong { color: #ffb560; }
.plan__list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 12px; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.plan__list li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: rgba(255,144,0,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23ff9000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.guarantee {
  position: relative;
  display: flex; align-items: center; gap: 28px;
  max-width: 900px; margin: 48px auto 0; padding: 28px 32px;
  border-radius: var(--radius); border: 1px dashed rgba(255,144,0,.35); background: rgba(255,144,0,.04);
}
.guarantee__seal {
  flex-shrink: 0; width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--grad); color: #1a0c00;
  box-shadow: 0 0 0 6px rgba(255,144,0,.15);
}
.guarantee__seal strong { font-family: var(--font-display); font-size: 2.8rem; line-height: .8; }
.guarantee__seal span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.guarantee h3 { font-size: 1.2rem; margin-bottom: 6px; }
.guarantee p { color: var(--muted); font-size: .96rem; }
.secure { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 24px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s;
}
.faq details[open] { border-color: rgba(255,144,0,.35); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; font-weight: 600; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
/* "+" desenhado com duas barras: fica centrado no círculo em qualquer fonte */
.faq summary::after {
  content: ""; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background:
    linear-gradient(var(--orange), var(--orange)) center / 12px 2px no-repeat,
    linear-gradient(var(--orange), var(--orange)) center / 2px 12px no-repeat,
    rgba(255,255,255,.05);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover::after { background-color: rgba(255,144,0,.12); }
.faq details p { padding: 0 26px 24px; color: var(--muted); overflow: hidden; }

/* CTA final */
.final-cta { position: relative; padding: 160px 0; overflow: hidden; text-align: center; }
.final-cta__img { position: absolute; inset: 0; }
.final-cta__img img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(1.1); }
.final-cta__img::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 50% 50%, rgba(6,11,18,.55), var(--bg) 100%);
}
.final-cta__inner { position: relative; }
.final-cta .lead { margin: 24px auto 40px; max-width: 640px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 120px; background: var(--bg); }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center; }
.footer__brand img { height: 34px; width: auto; margin-bottom: 12px; }
.footer__brand p { color: var(--muted); font-size: .9rem; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.footer__links a:hover { color: var(--text); }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: #5f7183; font-size: .82rem; }

/* WhatsApp */
.whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -6px rgba(37,211,102,.55);
  transition: transform .2s;
}
.whatsapp:hover { transform: scale(1.08); }

/* Barra mobile */
.mobile-cta { display: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(3,6,10,.88); backdrop-filter: blur(6px); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.lightbox__close {
  position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface); font-size: 1.6rem; cursor: pointer;
}

/* ---------- Checkout ---------- */
.checkout {
  width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--line-strong); border-radius: 24px;
  background: var(--surface); color: var(--text);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.8), 0 0 80px -30px rgba(255,120,0,.4);
  overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent;
}
.checkout::backdrop { background: rgba(3,6,10,.82); backdrop-filter: blur(6px); }
.checkout[open] { animation: pop .3s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.checkout__close {
  position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--surface-2); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.checkout__view { padding: 32px; }
.checkout__head { margin-bottom: 20px; }
.checkout__head .kicker { margin-bottom: 8px; }
.checkout__head h2 { font-family: var(--font-display); font-size: 2.2rem; text-transform: uppercase; }
.checkout .muted { color: var(--muted); margin-top: 10px; font-size: .95rem; }

.seg, .methods { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.seg input, .methods input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .methods span {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; border-radius: 10px; font-weight: 600; font-size: .92rem; cursor: pointer;
  color: var(--muted); transition: background .2s, color .2s;
}
.seg em { font-style: normal; font-size: .72rem; padding: 2px 6px; border-radius: 6px; background: rgba(255,144,0,.18); color: #ffb560; }
.seg input:checked + span, .methods input:checked + span { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,144,0,.45); }
.seg input:focus-visible + span, .methods input:focus-visible + span { outline: 2px solid var(--orange); }
.checkout__summary { margin: 12px 0 4px; font-size: .95rem; color: var(--muted); text-align: center; }
.checkout__summary strong { color: var(--text); }

.fields { border: 0; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields__title { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.fields > .methods, .fields > .card-fields, .fields > .method-note { grid-column: 1 / -1; }
.card-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-fields[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field[hidden] { display: none; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: .82rem; color: var(--muted); font-weight: 500; }
.field input, .field select {
  width: 100%; padding: 13px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2394a6b8' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,144,0,.18); }
.field.is-invalid input { border-color: #ff5b5b; box-shadow: 0 0 0 3px rgba(255,91,91,.15); }
.method-note { font-size: .85rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.checkout__error {
  margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; font-size: .9rem;
  background: rgba(255,91,91,.1); border: 1px solid rgba(255,91,91,.35); color: #ffb3b3;
}
.checkout__error a { color: #ffd2a1; font-weight: 600; text-decoration: underline; }
#checkout-submit { margin-top: 22px; }
#checkout-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.checkout__secure { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 14px; }

.pix__qr { width: 220px; height: 220px; margin: 8px auto 20px; border-radius: 16px; background: #fff; padding: 10px; }
.pix__copy { display: flex; gap: 8px; }
.pix__copy input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-strong); color: var(--muted); font: inherit; font-size: .85rem; }
.pix__wait { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: .9rem; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); border-top-color: var(--orange); animation: spin .8s linear infinite; display: inline-block; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
  .checkout__view { padding: 24px 18px; }
  .checkout__head h2 { font-size: 1.9rem; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__copy { text-align: center; }
  .hero__copy .lead { margin: 0 auto; }
  .hero__ctas, .hero__stats { justify-content: center; }
  .hero__visual { justify-self: center; max-width: 520px; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "xl xl" "live discord" "m1 m2"; }
  .card--xl { min-height: 440px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 44px; }
  .header .btn { display: none; }
  .hero { padding-top: calc(var(--header-h) + 24px); min-height: auto; }
  .hero__ctas .btn { width: 100%; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 20px; justify-content: center; }
  .hero__stats span { font-size: .78rem; }
  .pain { padding: 24px 22px; }
  .pain__icon { font-size: 2rem; margin-bottom: 12px; }
  .hero__stats strong { font-size: 1.9rem; }
  .chip { font-size: .76rem; padding: 8px 12px; }
  .chip--live { left: 0; }
  .pain-grid, .steps, .teachers, .plans { grid-template-columns: 1fr; }
  .steps { gap: 40px; }
  .steps::before { display: none; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "xl" "live" "discord" "m1" "m2"; }
  .card--xl { min-height: 400px; }
  .card--media { min-height: 320px; }
  .card, .card__body { padding: 24px; }
  .card--xl, .card--media { padding: 0; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .teacher { flex-direction: column; padding: 28px; }
  .plan, .plan--featured { padding: 40px 24px 32px; }
  .plan__price strong { font-size: 4.4rem; }
  .guarantee { flex-direction: column; text-align: center; padding: 28px 20px; }
  .final-cta { padding: 110px 0; }
  .marquee__track img { height: 96px; }

  .mobile-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55;
    padding: 10px 10px 10px 20px; border-radius: 999px;
    background: rgba(14,26,40,.9); backdrop-filter: blur(14px); border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    transform: translateY(150%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta strong { display: block; font-size: .98rem; line-height: 1.2; }
  .mobile-cta span { font-size: .78rem; color: var(--muted); }
  .whatsapp { bottom: 90px; right: 16px; width: 52px; height: 52px; }
}

/* =========================================================
   A trilha: 7 cursos
   ========================================================= */
.track { background: radial-gradient(60% 50% at 50% 0%, rgba(255,144,0,.07), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.track .section__head { margin-bottom: 36px; }
.track__stats { list-style: none; margin: 0 auto 48px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.track__stats li { display: flex; align-items: baseline; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.track__stats strong { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--orange); }
.track__stats span { color: var(--muted); font-size: .92rem; }
.track__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.course { --c: var(--orange); position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s, opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.course:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 70%, transparent); }
.course__art { position: relative; height: 180px; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; overflow: hidden; padding: 16px 16px 0; background: radial-gradient(90% 100% at 50% 100%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); }
.course__art img { width: 100%; height: 100%; min-width: 0; min-height: 0; max-height: 100%; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 20px 24px rgba(0,0,0,.5)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.course:hover .course__art img { transform: scale(1.06) translateY(-4px); }
.course__n { position: absolute; left: 16px; top: 12px; z-index: 1; font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--c); opacity: .9; text-shadow: 0 4px 18px rgba(0,0,0,.6); }
.course__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.course__fase { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.course h3 { font-family: var(--font-display); font-size: 1.65rem; line-height: .98; text-transform: uppercase; }
.course p { color: var(--muted); font-size: .9rem; }
.course__topics { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.course__topics li { padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.course__meta { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 600; }
.course--cta { justify-content: center; gap: 12px; padding: 28px 24px; background: radial-gradient(120% 120% at 100% 0%, rgba(255,144,0,.22), transparent 60%), var(--surface); border-color: rgba(255,144,0,.4); }
.course--cta .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 1100px) { .track__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .track__grid { grid-template-columns: 1fr; }
  .track__stats li { padding: 8px 14px; }
  .track__stats strong { font-size: 1.4rem; }
  .course__art { height: 160px; }
}

/* =========================================================
   Cupom de desconto no checkout
   ========================================================= */
.cupom-box { display: grid; gap: 8px; margin: 0 0 14px; justify-items: end; }
.cupom-box:has(.cupom-box__linha:not([hidden])) { margin-top: 18px; }
.cupom-box__linha, .cupom-box__ok, .cupom-box__erro { width: 100%; }
.cupom-box [hidden] { display: none !important; }
.cupom-box__abrir { padding: 0; border: 0; background: none; color: var(--muted, #8b95a5); opacity: .7; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cupom-box__abrir:hover { opacity: 1; }
.cupom-box__linha { display: flex; gap: 8px; }
.cupom-box__linha input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.cupom-box__linha input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,144,0,.18); }
.cupom-box__ok { margin: 0; font-size: .88rem; color: #86efac; }
.cupom-box__erro { margin: 0; font-size: .88rem; color: #ff9c9c; }
.preco-antigo { color: var(--muted); font-weight: 400; }
