/* ===== Variáveis (edite aqui as cores) ===== */
:root {
  --bg: #05070f;
  --bg-alt: #09101e;
  --panel: #0d1830;
  --line: #1b2d4d;
  --cyan: #22d3ee;
  --cyan-dim: #0e7490;
  --text: #f1f5f9;
  --muted: #9aa8bd;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Courier New", monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }
ul, ol, dl { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cyan); color: #00131a; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* ===== Botão ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: .9rem 2.2rem;
  background: var(--cyan); color: #00131a; font-weight: 800; letter-spacing: .04em;
  text-decoration: none; border-radius: 6px;
  box-shadow: 0 0 0 1px var(--cyan), 0 8px 28px rgba(34, 211, 238, .28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: #67e8f9; transform: translateY(-2px); box-shadow: 0 0 0 1px #67e8f9, 0 12px 34px rgba(34, 211, 238, .4); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 44px; padding: .5rem 1.2rem; font-size: .9rem; box-shadow: none; }

/* ===== Barra superior ===== */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(5, 7, 15, .92); border-bottom: 1px solid var(--line);
  transform: translateY(-100%); transition: transform .25s ease;
}
.topbar.show { transform: none; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.brand { font-weight: 700; font-size: .95rem; }
.prompt { color: var(--cyan); font-family: var(--mono); margin-right: .35rem; }

/* ===== Hero ===== */
.hero {
  position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(circle at 80% 30%, rgba(34, 211, 238, .13), transparent 45%),
    radial-gradient(circle, rgba(34, 211, 238, .28) 1px, transparent 1.5px) 0 0 / 38px 38px,
    var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero__lead { color: var(--cyan); font-family: var(--mono); font-size: 1rem; max-width: 34ch; margin-bottom: 1.4rem; }
h1 { font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 800; text-transform: uppercase; margin-bottom: 1.2rem; }
.cursor { display: inline-block; width: .5em; height: .09em; margin-left: .12em; background: var(--cyan); vertical-align: baseline; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__sub { font-size: 1.25rem; color: #dbe5f1; max-width: 32ch; margin-bottom: 2rem; }
.hero__meta { margin: 1.1rem 0 0; color: var(--muted); font-size: .95rem; }
.hero__cover { justify-self: center; position: relative; width: min(100%, 300px); }
.hero__cover::before {
  content: ""; position: absolute; inset: -14px; border: 1px solid var(--cyan-dim); border-radius: 6px; opacity: .6;
}
.hero__cover img {
  position: relative; width: 100%; border-radius: 3px;
  box-shadow: 0 0 60px rgba(34, 211, 238, .22), 0 24px 50px rgba(0, 0, 0, .6);
  animation: rise .8s ease both;
}
.hero__text > * { animation: rise .7s ease both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; }
.hero__text > :nth-child(5) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ===== Seções ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.7rem); font-weight: 800; margin-bottom: 1.5rem; }
.lead { font-size: 1.2rem; color: #dbe5f1; max-width: 60ch; }
.section p { color: #d3deec; max-width: 62ch; }
.pull {
  margin-top: 2rem; padding-left: 1.2rem; border-left: 3px solid var(--cyan);
  font-size: clamp(1.3rem, 3.5vw, 1.7rem); font-weight: 700; line-height: 1.35; color: var(--text) !important;
}

/* Vídeo */
.section--flush { padding-bottom: 0; }
.video { margin-top: 1.5rem; background: #000; border: 1px solid var(--cyan-dim); border-radius: 10px; overflow: hidden; box-shadow: 0 0 50px rgba(34, 211, 238, .1); }
.video video { display: block; width: 100%; max-height: 80vh; background: #000; }

/* Destaques */
.cards { display: grid; gap: 1rem; margin-top: 2rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--cyan);
  border-radius: 6px; padding: 1.4rem 1.3rem; min-height: 96px; display: flex; flex-direction: column; justify-content: center;
}
.card strong { font-size: 1.1rem; line-height: 1.3; }
.card .card__big { font-size: 2.6rem; font-family: var(--mono); color: var(--cyan); line-height: 1; }
.card span { color: var(--muted); }

/* Capítulos */
.chapters { border-left: 1px solid var(--line); margin-top: 2rem; }
.chapter { position: relative; padding: 0 0 2.2rem 1.8rem; }
.chapter:last-child { padding-bottom: 0; }
.chapter::before {
  content: ""; position: absolute; left: -6px; top: .35rem; width: 11px; height: 11px;
  background: var(--cyan); border-radius: 50%; box-shadow: 0 0 12px var(--cyan);
}
.chapter__n { font-family: var(--mono); color: var(--cyan); font-size: .9rem; }
.chapter h3 { font-size: 1.5rem; margin: .2rem 0 .4rem; }
.chapter p { margin: 0; color: var(--muted); }

/* Para quem é */
.ticks { margin-top: 1rem; }
.ticks li { position: relative; padding: .9rem 0 .9rem 2.2rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ">"; position: absolute; left: 0; color: var(--cyan); font-family: var(--mono); font-weight: 700; }

/* Por que aprender */
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 2.5rem; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); }
.why > div { padding: 1.5rem 1.2rem; border-right: 1px solid var(--line); }
.why > div:last-child { border-right: 0; }
.why dt { font-weight: 800; color: var(--cyan); margin-bottom: .5rem; line-height: 1.25; }
.why dd { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }

/* Oferta */
.offer {
  display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center;
  background: var(--panel); border: 1px solid var(--cyan-dim); border-radius: 10px;
  padding: clamp(1.5rem, 5vw, 3rem); box-shadow: 0 0 60px rgba(34, 211, 238, .1);
}
.offer img { border-radius: 3px; box-shadow: 0 16px 40px rgba(0, 0, 0, .55); }
.offer h2 { text-transform: uppercase; margin-bottom: 1rem; }
.price { font-size: clamp(3rem, 9vw, 4.4rem); font-weight: 800; line-height: 1; color: var(--text) !important; margin: 1.2rem 0 1.6rem !important; }
.price span { font-size: .4em; color: var(--cyan); margin-right: .2em; }

/* FAQ */
.faq { margin-top: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 700; font-size: 1.1rem; position: relative; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); color: var(--cyan); font-family: var(--mono); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 1.2rem; }

/* CTA final */
.final {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background:
    radial-gradient(circle at 50% 0, rgba(34, 211, 238, .14), transparent 55%),
    radial-gradient(circle, rgba(34, 211, 238, .2) 1px, transparent 1.5px) 0 0 / 38px 38px,
    var(--bg);
  border-top: 1px solid var(--line);
}
.final h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
.final p { color: #dbe5f1; margin: 0 auto 2rem; max-width: 46ch; }

/* Rodapé */
.footer { padding: 2.5rem 0; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .95rem; }
.footer p { margin: 0 0 .25rem; }
.footer strong { color: var(--text); }

/* ===== Responsivo ===== */
@media (max-width: 960px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .why > div:last-child { border-bottom: 0; }
}
@media (max-width: 760px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__lead, .hero__sub { margin-inline: auto; }
  .hero__cover { order: -1; width: min(70%, 240px); }
  .hero__text .btn { width: 100%; }
  .offer { grid-template-columns: 1fr; text-align: center; }
  .offer img { width: 190px; margin-inline: auto; }
  .offer p { margin-inline: auto; }
  .offer .btn, .final .btn { width: 100%; }
  .ticks li, .pull { text-align: left; }
}
@media (max-width: 520px) {
  .cards--3, .why { grid-template-columns: 1fr; }
  .brand { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
