:root {
  --bg: #0B0B10;
  --bg-deep: #1A0133;
  --surface: #15101F;
  --surface-2: #1E1530;
  --line: #2E2245;
  --primary: #B269FD;
  --button: #8E2DE2;
  --cyan: #00D3FD;
  --text: #E8E2F2;
  --muted: #A99DBE;
  --silver: #C3D9E5;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section.alt { background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%); }
.eyebrow { color: var(--cyan); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6em; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 680px; }
.price { color: var(--cyan); font-weight: 800; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 16, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.nav a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: 1rem; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; border-radius: 999px; padding: 13px 24px; border: 1px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn-primary { background: var(--button); color: #fff; box-shadow: 0 6px 24px rgba(142, 45, 226, .35); }
.btn-primary:hover { background: var(--primary); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--primary); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }

/* Hero */
.hero { padding: 72px 0 64px; background: radial-gradient(1000px 500px at 80% 0%, rgba(178, 105, 253, .22), transparent 60%), var(--bg-deep); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
.hero h1 span { color: var(--primary); }
.hero .sub { color: var(--silver); font-size: 1.15rem; font-weight: 600; margin-bottom: 1em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 14px; }
.hero-note { color: var(--muted); font-size: .92rem; }
.hero-video { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 9 / 16; max-height: 560px; margin: 0 auto; background: #000; }
.hero-video video, .hero-video img { width: 100%; height: 100%; object-fit: cover; }

/* Offer card */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card.featured { border-color: var(--primary); background: linear-gradient(160deg, #2A0F4D 0%, var(--surface) 70%); }
.card h3 { font-size: 1.25rem; }
.card ul { padding-left: 1.1em; margin: 0 0 1.2em; }
.card li { margin: .3em 0; }
.big-price { font-size: 2.6rem; font-weight: 800; color: var(--cyan); line-height: 1; margin: .2em 0 .4em; }
.big-price small { font-size: 1rem; color: var(--muted); font-weight: 600; }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps { counter-reset: s; }
.step { position: relative; padding-top: 44px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 26px; width: 30px; height: 30px; border-radius: 50%; background: var(--button); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .9rem; top: 16px; }
.step { padding-top: 62px; }

/* Catalog */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.filters + .filters { margin-top: 0; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 7px 14px; font-size: .88rem; cursor: pointer; font-family: inherit; }
.chip.on { border-color: var(--cyan); color: var(--text); background: #0F2430; }
.filter-label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; width: 100%; margin-bottom: 2px; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 44vw), 1fr)); gap: 18px; margin-top: 22px; }
.item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.item .media { position: relative; aspect-ratio: 9 / 16; background: #000; cursor: pointer; }
.item .media img, .item .media video, .item .media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); border: 0; cursor: pointer; width: 100%; }
.play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(142, 45, 226, .9); display: grid; place-items: center; box-shadow: 0 4px 20px rgba(0, 0, 0, .5); }
.play span::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.item .body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.code { font-family: Consolas, "Courier New", monospace; color: var(--cyan); font-size: .82rem; font-weight: 700; }
.item h3 { font-size: 1.02rem; margin: 0; }
.tags { color: var(--muted); font-size: .82rem; }
.item p { color: var(--muted); font-size: .9rem; margin: 0; }
.badge { align-self: flex-start; font-size: .75rem; font-weight: 700; border-radius: 6px; padding: 3px 8px; margin-top: 4px; }
.badge.yes { background: #0F2430; color: var(--cyan); }
.badge.custom { background: #2A1B3E; color: var(--primary); }
.item .btn { margin-top: auto; text-align: center; }
.item .details { font-size: .82rem; color: var(--muted); }
.empty { color: var(--muted); padding: 20px 0; }

/* Presenters */
.presenters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.presenter { text-align: center; }
.presenter img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.presenter h3 { margin-top: 12px; }

/* Start */
.chosen { display: none; border: 1px dashed var(--cyan); border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; background: #0F2430; }
.chosen.show { display: block; }
.footer { padding: 36px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer img { height: 34px; width: auto; }

/* Sticky mobile CTA */
.sticky-cta { display: none; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; }
.featured-row .item:nth-child(n+4) { display: none; }
.sticky-cta .btn { width: 100%; text-align: center; }

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px 20px 22px; border-bottom: 1px solid var(--line); align-items: flex-start; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 40px 0 48px; }
  .hero .wrap, .offer { grid-template-columns: 1fr; }
  .hero-video { max-height: 460px; max-width: 280px; }
  .section { padding: 54px 0; }
  .catalog { gap: 12px; }
  .item .body { padding: 10px 10px 12px; }
  .item p.desc { font-size: .84rem; }
  .presenters { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .presenter p { display: none; }
  .sticky-cta { display: block; }
}
@media (max-width: 380px) {
  .catalog { grid-template-columns: 1fr; }
  .item .media { aspect-ratio: 4 / 5; }
}
@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* Redes sociais */
.social { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.social-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); text-decoration: none; font-size: .9rem; transition: border-color .2s, color .2s; }
.social-link:hover, .social-link:focus-visible { border-color: var(--cyan); color: var(--cyan); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.footer .social-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.footer .social-link { padding: 9px; }

/* Foco visível para navegação por teclado */
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
