/* Visão Web — Curso de Criação de Sites */
body { margin: 0; background: #08080A; color: #F5F5F7; font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #F5F5F7; } a:hover { color: #FFFFFF; }
*, *::before, *::after { box-sizing: border-box; }
.cw { overflow-x: clip; position: relative; }
.cw h1, .cw h2, .cw h3 { font-family: Unbounded, Inter, sans-serif; font-weight: 500; letter-spacing: -0.025em; margin: 0; }
.cw p { margin: 0; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #B46CFF; font-weight: 500; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.lede { max-width: 60ch; font-size: 18px; line-height: 1.65; color: #B4B4BC; }
.sec { padding: 140px 0; position: relative; }
.sec-h { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.04; margin-top: 18px; }
.hl { color: #B46CFF; }
:focus-visible { outline: 2px solid #B46CFF; outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid #8200D6; background: #8200D6; color: #F5F5F7; font: 600 15px/1 Inter, sans-serif; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s; box-shadow: 0 10px 40px -12px rgba(130,0,214,.7); }
.btn:hover { background: #B46CFF; border-color: #B46CFF; color: #08080A; box-shadow: 0 10px 50px -10px rgba(180,108,255,.8); }
.btn .arr { transition: transform .2s ease-out; display: inline-block; }
.btn:hover .arr, .btn:focus-visible .arr { transform: translateX(4px); }
.btn.ghost { background: transparent; border-color: rgba(245,245,247,.24); box-shadow: none; color: #F5F5F7; }
.btn.ghost:hover { border-color: #F5F5F7; background: rgba(245,245,247,.06); color: #FFFFFF; }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background-color .22s, border-color .22s; border-bottom: 1px solid transparent; }
.hdr.compact { background: rgba(8,8,10,.74); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: rgba(245,245,247,.07); }
.hdr-in { height: 84px; display: flex; align-items: center; gap: 24px; transition: height .22s ease-out; }
.hdr.compact .hdr-in { height: 64px; }
.hdr-logo { display: flex; align-items: center; min-height: 44px; }
.hdr-logo img { height: 38px; width: auto; display: block; transition: height .22s; }
.hdr.compact .hdr-logo img { height: 30px; }
.hdr-nav { display: flex; gap: 2px; margin-left: auto; }
.hdr-nav a { color: #C9C9D0; text-decoration: none; font-size: 14px; font-weight: 500; padding: 12px 12px; border-radius: 8px; transition: color .18s; }
.hdr-nav a:hover { color: #FFFFFF; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(245,245,247,.2); background: transparent; color: #F5F5F7; align-items: center; justify-content: center; cursor: pointer; margin-left: auto; }
.mnav { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: #08080A; color: #F5F5F7; }
.mnav[open] { display: flex; flex-direction: column; animation: fade .25s ease-out; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; height: 68px; border-bottom: 1px solid rgba(245,245,247,.08); }
.mnav-links { display: flex; flex-direction: column; padding: 20px; }
.mnav-links a { font-family: Unbounded, sans-serif; font-size: 26px; color: #F5F5F7; text-decoration: none; padding: 16px 0; border-bottom: 1px solid rgba(245,245,247,.08); }
.iconbtn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(245,245,247,.2); background: transparent; color: inherit; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* hero */
.hero { position: relative; min-height: 100vh; padding: 150px 0 90px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(245,245,247,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(245,245,247,.045) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000, transparent 75%); }
.hero-glow { position: absolute; width: 900px; height: 900px; right: -260px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(130,0,214,.32), rgba(130,0,214,0) 62%); }
.arc { position: absolute; border-radius: 50%; border: 2px solid transparent; }
.arc1 { width: 640px; height: 640px; right: 4%; top: 12%; border-top-color: rgba(180,108,255,.55); border-right-color: rgba(180,108,255,.15); transform: rotate(-18deg); animation: arcspin 40s linear infinite; }
.arc2 { width: 820px; height: 820px; right: -6%; top: 2%; border-bottom-color: rgba(130,0,214,.4); transform: rotate(30deg); animation: arcspin 60s linear infinite reverse; }
@keyframes arcspin { to { transform: rotate(342deg); } }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.0; margin-top: 22px; }
.hero h1 .ln { display: block; }
.hero h1 .ln > span { display: inline-block; }
.hero-p { margin-top: 28px; font-size: 19px; line-height: 1.6; color: #B4B4BC; max-width: 46ch; }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(245,245,247,.12); font-size: 13px; color: #C9C9D0; background: rgba(245,245,247,.03); }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: #B46CFF; }
.rise { animation: rise .75s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; } .d4 { animation-delay: .38s; } .d5 { animation-delay: .5s; } .d6 { animation-delay: .62s; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* hero visual */
.hv { position: relative; height: 560px; perspective: 1600px; }
.hv-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(-10deg + var(--tx, 0) * 4deg)) rotateX(calc(4deg + var(--ty, 0) * -4deg)); transition: transform .6s ease-out; animation: enter 1.1s cubic-bezier(.2,.7,.2,1) .2s both; }
@keyframes enter { from { opacity: 0; transform: rotateY(-24deg) rotateX(10deg) translateZ(-200px); } }
.win { position: absolute; border-radius: 14px; overflow: hidden; background: #111116; box-shadow: 0 0 0 1px rgba(245,245,247,.1), 0 40px 100px -30px rgba(0,0,0,.9); }
.win-bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid rgba(245,245,247,.07); background: #0D0D11; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2C2C33; }
.win-bar span { margin-left: 10px; font: 400 12px 'JetBrains Mono', monospace; color: #8B8B93; }
.ed { left: 0; top: 30px; width: 76%; height: 400px; transform: translateZ(-60px); animation: floatA 9s ease-in-out infinite; }
.br { right: 0; bottom: 10px; width: 66%; height: 360px; background: #F5F5F7; transform: translateZ(60px); animation: floatB 10s ease-in-out infinite; }
@keyframes floatA { 0%, 100% { translate: 0 -6px; } 50% { translate: 0 6px; } }
@keyframes floatB { 0%, 100% { translate: 0 6px; } 50% { translate: 0 -6px; } }
.br .win-bar { background: #E9E9ED; border-bottom-color: #DADADF; }
.br .win-bar i { background: #CFCFD5; }
.br .win-bar span { color: #6B6B74; background: #FFFFFF; border-radius: 6px; padding: 3px 10px; }
.code { padding: 18px 20px; font: 400 13px/1.85 'JetBrains Mono', monospace; color: #C9C9D0; white-space: pre; overflow: hidden; }
.code .ln { display: block; opacity: 0; animation: typeIn .4s ease-out forwards; }
@keyframes typeIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.n { color: #4A4A52; display: inline-block; width: 26px; user-select: none; }
.tg { color: #FF7AB6; } .at { color: #B46CFF; } .st { color: #9BE8B4; } .pr { color: #7CC7FF; } .va { color: #FFC977; } .cm { color: #5B5B63; font-style: italic; } .kw { color: #B46CFF; } .fn { color: #7CC7FF; }
.caret { display: inline-block; width: 8px; height: 16px; background: #B46CFF; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mini-site { padding: 22px; color: #08080A; display: flex; flex-direction: column; gap: 16px; height: calc(100% - 36px); }
.ms-nav { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.ms-nav b { font-family: Unbounded, sans-serif; font-size: 13px; }
.ms-hero { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: center; }
.ms-h { font-family: Unbounded, sans-serif; font-size: 24px; line-height: 1.02; font-weight: 600; letter-spacing: -0.03em; }
.ms-btn { display: inline-flex; margin-top: 12px; background: #08080A; color: #F5F5F7; border-radius: 999px; padding: 8px 14px; font-size: 11px; font-weight: 500; }
.ms-img { height: 100%; min-height: 150px; border-radius: 10px; background: radial-gradient(circle at 70% 30%, #B46CFF 0 14%, transparent 15%), linear-gradient(150deg, #2A0A45, #8200D6 60%, #B46CFF); }
.badge-float { position: absolute; left: 8%; bottom: 40px; transform: translateZ(120px); display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(17,17,22,.9); border: 1px solid rgba(180,108,255,.4); backdrop-filter: blur(10px); font-size: 13px; color: #E4E4E8; box-shadow: 0 20px 50px -20px rgba(130,0,214,.7); animation: floatA 7s ease-in-out infinite; }
.badge-float b { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; background: #8200D6; align-items: center; justify-content: center; }

/* marquee */
.marq { border-top: 1px solid rgba(245,245,247,.07); border-bottom: 1px solid rgba(245,245,247,.07); overflow: hidden; padding: 22px 0; }
.marq-track { display: flex; gap: 48px; width: max-content; animation: marq 40s linear infinite; }
.marq-track span { font-family: Unbounded, sans-serif; font-size: 20px; color: #6B6B74; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marq-track span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: #8200D6; transform: rotate(45deg); }
@keyframes marq { to { transform: translateX(-50%); } }

/* method */
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.card { position: relative; border-radius: 20px; padding: 32px; background: #0E0E12; border: 1px solid rgba(245,245,247,.08); overflow: hidden; transition: border-color .25s, transform .25s ease-out; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(130,0,214,.22), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: rgba(180,108,255,.4); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card .ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(130,0,214,.14); border: 1px solid rgba(180,108,255,.3); color: #B46CFF; }
.card h3 { font-size: 22px; margin-top: 28px; line-height: 1.2; }
.card p { margin-top: 14px; color: #A1A1AA; line-height: 1.65; font-size: 15px; }
.card .num { position: absolute; right: 28px; top: 26px; font-family: Unbounded, sans-serif; font-size: 13px; color: #4A4A52; }

/* playground */
.pg { margin-top: 56px; border-radius: 24px; border: 1px solid rgba(245,245,247,.1); background: #0C0C10; overflow: hidden; box-shadow: 0 60px 140px -60px rgba(130,0,214,.5); }
.pg-steps { display: flex; gap: 6px; padding: 14px; border-bottom: 1px solid rgba(245,245,247,.08); overflow-x: auto; position: relative; }
.pg-step { flex: 1 0 auto; min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #8B8B93; font: 500 14px Inter, sans-serif; cursor: pointer; transition: color .2s, background-color .2s, border-color .2s; white-space: nowrap; }
.pg-step b { font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 12px; width: 24px; height: 24px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; background: rgba(245,245,247,.06); color: #8B8B93; transition: background-color .2s, color .2s; }
.pg-step:hover { color: #F5F5F7; }
.pg-step[aria-selected="true"] { color: #F5F5F7; background: rgba(130,0,214,.14); border-color: rgba(180,108,255,.35); }
.pg-step[aria-selected="true"] b { background: #8200D6; color: #F5F5F7; }
.pg-step.done b { background: rgba(180,108,255,.25); color: #E4D0FF; }
.pg-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 560px; }
.pg-code { border-right: 1px solid rgba(245,245,247,.08); display: flex; flex-direction: column; }
.pg-file { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-bottom: 1px solid rgba(245,245,247,.06); font: 400 12px 'JetBrains Mono', monospace; color: #8B8B93; }
.pg-file b { color: #E4E4E8; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: rgba(245,245,247,.06); }
.pg-code pre { margin: 0; padding: 20px; font: 400 13px/1.85 'JetBrains Mono', monospace; color: #C9C9D0; white-space: pre; overflow: auto; flex: 1; animation: fadeUp .35s ease-out; }
.pg-explain { padding: 20px; border-top: 1px solid rgba(245,245,247,.06); }
.pg-explain h3 { font-size: 18px; }
.pg-explain p { margin-top: 8px; color: #A1A1AA; line-height: 1.6; font-size: 14px; max-width: 52ch; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pg-prev { position: relative; display: flex; flex-direction: column; background: radial-gradient(ellipse at 50% 0%, rgba(130,0,214,.18), transparent 60%), #0A0A0D; padding: 20px; gap: 14px; }
.pg-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(245,245,247,.06); position: relative; }
.seg button { position: relative; z-index: 1; min-height: 40px; width: 104px; border: 0; background: transparent; font: 500 13px Inter, sans-serif; color: #A1A1AA; cursor: pointer; border-radius: 999px; transition: color .2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg button[aria-pressed="true"] { color: #F5F5F7; }
.seg button:disabled { cursor: not-allowed; opacity: .45; }
.seg-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: 104px; border-radius: 999px; background: #8200D6; transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.hint { font-size: 12px; color: #8B8B93; }
.pg-frame-wrap { flex: 1; display: flex; justify-content: center; align-items: flex-start; }
.pg-frame { width: 100%; border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(245,245,247,.12), 0 30px 80px -30px rgba(0,0,0,.8); transition: width .5s cubic-bezier(.2,.7,.2,1), border-radius .5s; container-type: inline-size; }
.pg-frame.phone { width: 340px; border-radius: 28px; box-shadow: 0 0 0 8px #1A1A1F, 0 0 0 9px rgba(245,245,247,.15), 0 30px 80px -30px rgba(0,0,0,.8); }
.pg-url { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #EDEDF0; border-bottom: 1px solid #DADADF; }
.pg-url i { width: 9px; height: 9px; border-radius: 50%; background: #CFCFD5; }
.pg-url span { margin-left: 8px; font: 400 11px 'JetBrains Mono', monospace; color: #6B6B74; }

/* the demo site inside the playground, built up by levels */
.ds { font-family: 'Times New Roman', serif; color: #000000; padding: 10px; font-size: 15px; line-height: 1.35; min-height: 380px; transition: background-color .5s, color .5s, padding .5s; position: relative; }
.ds h4 { font-size: 24px; margin: 10px 0; font-weight: 700; transition: font-size .5s; }
.ds .ds-nav { display: block; }
.ds .ds-nav ul { margin: 4px 0; padding-left: 22px; }
.ds .ds-nav a { color: #0000EE; text-decoration: underline; }
.ds .ds-hero, .ds .ds-cards { display: block; }
.ds .ds-img { display: block; width: 120px; height: 70px; border: 1px solid #999999; margin: 8px 0; font: 11px sans-serif; color: #777777; text-align: center; line-height: 70px; }
.ds .ds-card { border: 0; margin: 6px 0; }
.ds button.ds-btn { font: 13px sans-serif; margin: 6px 0; padding: 2px 8px; cursor: default; }
.ds .ds-toast { display: none; }
/* lv1: layout */
.ds.lv1 { font-family: Inter, sans-serif; padding: 24px 28px; }
.ds.lv1 .ds-nav { display: flex; justify-content: space-between; align-items: center; }
.ds.lv1 .ds-nav ul { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.ds.lv1 .ds-nav a { color: inherit; text-decoration: none; font-size: 13px; }
.ds.lv1 .ds-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center; margin: 26px 0; }
.ds.lv1 .ds-img { width: 100%; height: 170px; margin: 0; border-radius: 0; border: 1px dashed #BDBDC4; line-height: 170px; }
.ds.lv1 .ds-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ds.lv1 .ds-card { border: 1px dashed #BDBDC4; padding: 12px; margin: 0; font-size: 12px; }
.ds.lv1 .ds-card b { display: block; margin-bottom: 4px; }
.ds.lv1 h4 { font-family: Inter, sans-serif; }
/* lv2: visual design */
.ds.lv2 { background: #0E0B12; color: #F2EEF6; }
.ds.lv2 .ds-logo { font-family: Unbounded, sans-serif; font-size: 14px; letter-spacing: -0.02em; }
.ds.lv2 .ds-nav a { color: #CFC6DA; }
.ds.lv2 h4 { font-family: Unbounded, sans-serif; font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.035em; }
.ds.lv2 .ds-lead { color: #A79DB4; font-size: 13px; line-height: 1.6; }
.ds.lv2 .ds-img { border: 0; border-radius: 16px; color: transparent; background: radial-gradient(circle at 72% 28%, #F4D9A8 0 10%, transparent 11%), radial-gradient(circle at 30% 85%, rgba(180,108,255,.6), transparent 45%), linear-gradient(150deg, #2A0A45, #8200D6 60%, #C79BFF); }
.ds.lv2 .ds-card { border: 1px solid rgba(242,238,246,.12); border-radius: 12px; background: rgba(242,238,246,.04); }
.ds.lv2 .ds-card b { color: #E6D3FF; }
.ds.lv2 button.ds-btn { font: 600 13px Inter, sans-serif; background: #F2EEF6; color: #0E0B12; border: 0; border-radius: 999px; padding: 12px 20px; margin-top: 16px; }
@container (max-width: 480px) {
  .ds.lv3 { padding: 18px 16px; }
  .ds.lv3 .ds-nav ul { display: none; }
  .ds.lv3 .ds-nav .ds-burger { display: inline-flex; }
  .ds.lv3 .ds-hero { grid-template-columns: 1fr; }
  .ds.lv3 .ds-img { order: -1; height: 140px; }
  .ds.lv3 h4 { font-size: 28px; }
  .ds.lv3 .ds-cards { grid-template-columns: 1fr; }
  .ds.lv3 button.ds-btn { width: 100%; }
}
.ds .ds-burger { display: none; width: 30px; height: 30px; border-radius: 8px; border: 1px solid rgba(242,238,246,.3); align-items: center; justify-content: center; font-size: 14px; }
/* lv4: interaction */
.ds.lv4 button.ds-btn { cursor: pointer; transition: transform .15s, background-color .2s; }
.ds.lv4 button.ds-btn:hover { background: #B46CFF; }
.ds.lv4 button.ds-btn:active { transform: scale(.97); }
.ds.lv4 .ds-toast.on { display: flex; position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); align-items: center; gap: 10px; background: #F2EEF6; color: #0E0B12; padding: 10px 14px; border-radius: 12px; font: 500 12px Inter, sans-serif; box-shadow: 0 12px 30px rgba(0,0,0,.4); animation: toast .35s cubic-bezier(.2,.7,.2,1); white-space: nowrap; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } }
.ds .ds-count { font: 500 11px 'JetBrains Mono', monospace; color: #A79DB4; margin-left: 10px; }

/* modules */
.mods { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; margin-top: 64px; align-items: start; }
.mod-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(245,245,247,.1); }
.mod-list li { border-bottom: 1px solid rgba(245,245,247,.1); }
.mod-btn { all: unset; box-sizing: border-box; width: 100%; min-height: 64px; display: flex; align-items: center; gap: 18px; padding: 16px 8px; cursor: pointer; color: #8B8B93; transition: color .2s, padding-left .25s; }
.mod-btn:hover { color: #F5F5F7; }
.mod-btn:focus-visible { outline: 2px solid #B46CFF; outline-offset: 2px; }
.mod-btn .n { font: 500 12px 'JetBrains Mono', monospace; width: 28px; color: #4A4A52; transition: color .2s; }
.mod-btn .t { flex: 1; font-size: 17px; font-weight: 500; }
.mod-btn .mk { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(245,245,247,.15); display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, border-color .2s, transform .25s; }
.mod-btn.on { color: #F5F5F7; padding-left: 14px; }
.mod-btn.on .n { color: #B46CFF; }
.mod-btn.on .mk { background: #8200D6; border-color: #8200D6; transform: rotate(-45deg); }
.mod-acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease-out; }
.mod-acc.open { grid-template-rows: 1fr; }
.mod-acc > div { overflow: hidden; }
.mod-acc .inner { padding: 0 8px 20px 54px; color: #B4B4BC; line-height: 1.6; font-size: 15px; }
.mod-acc ul { margin: 10px 0 0; padding-left: 18px; }
.mod-detail { position: sticky; top: 100px; border-radius: 22px; border: 1px solid rgba(245,245,247,.1); background: linear-gradient(160deg, rgba(130,0,214,.16), rgba(14,14,18,1) 45%); padding: 36px; min-height: 440px; overflow: hidden; }
.mod-detail .big { position: absolute; right: -10px; bottom: -40px; font-family: Unbounded, sans-serif; font-size: 220px; line-height: 1; color: rgba(245,245,247,.035); font-weight: 700; pointer-events: none; }
.mod-detail-in { position: relative; animation: fadeUp .35s ease-out; }
.mod-detail h3 { font-size: 28px; line-height: 1.15; margin-top: 14px; }
.mod-detail p { margin-top: 14px; color: #B4B4BC; line-height: 1.65; max-width: 52ch; }
.mod-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.mod-cols h4 { margin: 0 0 12px; font: 500 12px Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8B8B93; }
.mod-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mod-cols li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #E4E4E8; line-height: 1.45; }
.mod-cols li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 8px; border-radius: 2px; background: #B46CFF; transform: rotate(45deg); }
.note { margin-top: 22px; font-size: 13px; color: #8B8B93; border-left: 2px solid #8200D6; padding-left: 12px; line-height: 1.5; }

/* projects */
.proj-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.proj { border-radius: 22px; border: 1px solid rgba(245,245,247,.08); background: #0E0E12; overflow: hidden; transition: border-color .25s, transform .25s ease-out; }
.proj:hover { border-color: rgba(180,108,255,.4); transform: translateY(-4px); }
.proj-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.proj-media > div { position: absolute; inset: 0; transition: transform .35s ease-out; }
.proj:hover .proj-media > div { transform: scale(1.03); }
.proj-body { padding: 26px 28px 30px; }
.proj-body .tag { font: 500 12px 'JetBrains Mono', monospace; color: #B46CFF; }
.proj-body h3 { font-size: 22px; margin-top: 10px; }
.proj-body p { margin-top: 10px; color: #A1A1AA; line-height: 1.6; font-size: 15px; max-width: 48ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chips span { font: 400 12px 'JetBrains Mono', monospace; color: #C9C9D0; border: 1px solid rgba(245,245,247,.12); border-radius: 6px; padding: 4px 8px; }
.pa { grid-column: span 7; } .pb { grid-column: span 5; } .pc { grid-column: span 12; }
.pc .proj-media { aspect-ratio: 21 / 8; }

/* audience */
.aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.aud-col { border-radius: 22px; padding: 36px; border: 1px solid rgba(245,245,247,.08); background: #0E0E12; }
.aud-col.yes { background: linear-gradient(160deg, rgba(130,0,214,.18), #0E0E12 55%); border-color: rgba(180,108,255,.3); }
.aud-col h3 { font-size: 22px; }
.aud-col ul { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.aud-col li { display: flex; gap: 14px; align-items: flex-start; color: #D4D4DA; line-height: 1.5; font-size: 16px; }
.aud-col li svg { flex: 0 0 auto; margin-top: 2px; }

/* instructor */
.inst { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.inst-photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, #1A1A20, #0B0B0E); border: 1px solid rgba(245,245,247,.08); display: flex; align-items: center; justify-content: center; }
.inst-photo .ring { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 2px solid transparent; border-top-color: #8200D6; border-left-color: rgba(130,0,214,.3); transform: rotate(-30deg); }
.inst-photo .ini { font-family: Unbounded, sans-serif; font-size: 96px; color: rgba(245,245,247,.1); font-weight: 600; }
.inst-photo small { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 12px; color: #6B6B74; }
.inst-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* offer */
.offer { position: relative; border-radius: 28px; padding: clamp(28px, 5vw, 64px); background: radial-gradient(ellipse at 100% 0%, rgba(130,0,214,.45), transparent 55%), #0E0E12; border: 1px solid rgba(180,108,255,.3); overflow: hidden; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; }
.offer dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(245,245,247,.08); border-radius: 16px; overflow: hidden; border: 1px solid rgba(245,245,247,.08); align-self: start; }
.offer dl div { background: #0F0F14; padding: 20px; }
.offer dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8B8B93; }
.offer dd { margin: 10px 0 0; }
.tbc { display: inline-block; font-size: 13px; color: #C9C9D0; border: 1px dashed rgba(245,245,247,.28); border-radius: 6px; padding: 3px 8px; }
.incl { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.incl li { display: flex; gap: 12px; color: #D4D4DA; font-size: 15px; line-height: 1.5; }
.incl li::before { content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: #8200D6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%23F5F5F7' stroke-width='1.8'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* faq */
.faq { margin-top: 48px; border-top: 1px solid rgba(245,245,247,.1); }
.faq-item { border-bottom: 1px solid rgba(245,245,247,.1); }
.faq-q { all: unset; box-sizing: border-box; width: 100%; min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 4px; cursor: pointer; font-size: 18px; font-weight: 500; color: #E4E4E8; }
.faq-q:focus-visible { outline: 2px solid #B46CFF; outline-offset: 2px; }
.faq-q .pm { position: relative; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(245,245,247,.2); transition: background-color .2s, border-color .2s, transform .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; }
.faq-q .pm::after { transform: rotate(90deg); transition: transform .3s; }
.faq-q[aria-expanded="true"] .pm { background: #8200D6; border-color: #8200D6; }
.faq-q[aria-expanded="true"] .pm::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease-out; }
.faq-a.open { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 60px 24px 4px; color: #B4B4BC; line-height: 1.7; max-width: 70ch; }

/* form */
.signup { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 500; }
.field .help { font-size: 13px; color: #8B8B93; }
.field input, .field select, .field textarea { font: 400 16px Inter, sans-serif; color: #F5F5F7; background: #121217; border: 1.5px solid rgba(245,245,247,.16); border-radius: 12px; min-height: 52px; padding: 13px 16px; transition: border-color .18s, box-shadow .18s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #B46CFF; box-shadow: 0 0 0 4px rgba(180,108,255,.2); }
.field [aria-invalid="true"] { border-color: #FF7BA9; }
.err { font-size: 13px; color: #FF9CC0; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.status { margin-top: 18px; border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.55; border: 1px solid rgba(245,245,247,.2); background: #121217; color: #D4D4DA; }
.formcard { border-radius: 24px; padding: clamp(24px, 4vw, 40px); background: #0E0E12; border: 1px solid rgba(245,245,247,.08); }

footer.ft { border-top: 1px solid rgba(245,245,247,.07); padding: 48px 0 40px; color: #8B8B93; font-size: 14px; }
.ft-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.ft img { height: 40px; width: auto; display: block; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease-out, transform .75s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hdr-nav, .hdr .btn.ctx { display: none; }
  .burger { display: inline-flex; }
  .hdr-in { height: 68px; }
  .hdr-logo img { height: 30px; }
  .hero { padding: 110px 0 60px; min-height: 0; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hv { height: 400px; }
  .ed { width: 92%; height: 280px; }
  .br { width: 82%; height: 250px; }
  .ms-h { font-size: 18px; }
  .arc1, .arc2 { display: none; }
  .sec { padding: 96px 0; }
  .method-grid, .aud { grid-template-columns: 1fr; }
  .pg-body { grid-template-columns: 1fr; }
  .pg-code { border-right: 0; border-bottom: 1px solid rgba(245,245,247,.08); }
  .pg-code pre { max-height: 300px; font-size: 12px; }
  .pg-frame.phone { width: min(340px, 100%); }
  .mods, .inst, .offer, .signup { grid-template-columns: 1fr; gap: 40px; }
  .mod-detail { display: none; }
  .pa, .pb, .pc { grid-column: 1 / -1; }
  .pc .proj-media { aspect-ratio: 16 / 10; }
  .row2 { grid-template-columns: 1fr; }
  .faq-a p { padding-right: 4px; }
  .offer dl { grid-template-columns: 1fr; }
  .inst-photo { max-width: 360px; }
}
@media (min-width: 961px) { .mod-acc { display: none; } }
@media (hover: none) { .hv-tilt { transform: rotateY(-10deg) rotateX(4deg); } }
.rm *, .rm *::before, .rm *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
.rm [data-reveal] { opacity: 1; transform: none; }
.rm .code .ln { opacity: 1; }

/* ===== motion system v2 ===== */
.cw { --vh: 9px; }
.hdr-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, #8200D6, #B46CFF); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--hx, 70%) var(--hy, 40%), rgba(180,108,255,.10), transparent 60%); transition: background .2s; }
.ed { transform: translateZ(-60px) translateY(calc(var(--hs, 0) * -70px)); }
.br { transform: translateZ(60px) translateY(calc(var(--hs, 0) * 50px)); }
.badge-float { transform: translateZ(120px) translateY(calc(var(--hs, 0) * 110px)); }
.hero-in > div:first-child { transform: translateY(calc(var(--hs, 0) * -40px)); opacity: calc(1 - var(--hs, 0) * 0.9); }
[data-mag] { will-change: transform; transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .2s, border-color .2s, color .2s, box-shadow .25s; }

/* split line reveal */
.split[data-reveal] { opacity: 1; transform: none; }
.split .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split .ln > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.16,.84,.24,1); }
.split.in .ln > span { transform: none; }
.split .ln:nth-child(2) > span { transition-delay: .09s; }
.split .ln:nth-child(3) > span { transition-delay: .18s; }

/* typing lines in playground */
.pg-code pre .l { display: block; opacity: 0; transform: translateX(-8px); animation: typeIn .35s ease-out forwards; animation-delay: calc(var(--i) * 45ms); }

/* tilt cards */
.card { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: border-color .25s, opacity .7s ease-out, transform .45s cubic-bezier(.2,.7,.2,1); }
.card:hover { --lift: -4px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); }

/* ===== ANATOMIA (pinned, scroll-linked) ===== */
.an { position: relative; height: calc(var(--vh) * 300); }
.an-stage { position: sticky; top: 0; height: calc(var(--vh) * 100); overflow: hidden; display: flex; align-items: center; }
.an-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 50% at 68% 50%, rgba(130,0,214,.16), transparent 70%); }
.an-in { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: center; width: 100%; }
.an-copy { position: relative; min-height: 340px; }
.an-t { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(24px); transition: opacity .45s ease-out, transform .5s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.an-copy[data-active="intro"] .an-t[data-k="intro"], .an-copy[data-active="0"] .an-t[data-k="0"], .an-copy[data-active="1"] .an-t[data-k="1"], .an-copy[data-active="2"] .an-t[data-k="2"], .an-copy[data-active="3"] .an-t[data-k="3"], .an-copy[data-active="outro"] .an-t[data-k="outro"] { opacity: 1; transform: none; pointer-events: auto; }
.an-t .tagk { font: 500 13px 'JetBrains Mono', monospace; color: #B46CFF; }
.an-t h2 { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; margin-top: 14px; }
.an-t p { margin-top: 18px; color: #B4B4BC; line-height: 1.65; font-size: 17px; max-width: 40ch; }
.an-rail { display: flex; gap: 8px; margin-top: 380px; }
.an-rail span { flex: 1; height: 3px; border-radius: 2px; background: rgba(245,245,247,.1); overflow: hidden; position: relative; }
.an-rail span i { position: absolute; inset: 0; background: #B46CFF; transform-origin: left; transform: scaleX(var(--f, 0)); }
.an-rail-l { display: flex; gap: 8px; margin-top: 10px; }
.an-rail-l span { flex: 1; font: 500 11px 'JetBrains Mono', monospace; color: #6B6B74; transition: color .3s; }
.an-rail-l span.on { color: #E4D0FF; }
.an-view { position: relative; height: calc(var(--vh) * 80); max-height: 720px; perspective: 1800px; perspective-origin: 50% 40%; }
.an-stack { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: scale(var(--as, 1)) rotateX(var(--ax, 0deg)) rotateZ(var(--az, 0deg)); will-change: transform; }
.an-l { position: absolute; width: 600px; height: 380px; left: -300px; top: -190px; border-radius: 16px; transform: translateZ(calc(var(--i) * var(--gap, 0px))); transition: opacity .4s ease-out, box-shadow .4s, filter .4s; will-change: transform; }
.an-stack[data-active="0"] .an-l:not(.l0), .an-stack[data-active="1"] .an-l:not(.l1), .an-stack[data-active="2"] .an-l:not(.l2), .an-stack[data-active="3"] .an-l:not(.l3) { opacity: .18; }
.an-stack[data-active="0"] .l0, .an-stack[data-active="1"] .l1, .an-stack[data-active="2"] .l2, .an-stack[data-active="3"] .l3 { box-shadow: 0 0 0 1.5px #B46CFF, 0 30px 90px -20px rgba(130,0,214,.8); }
.an-lab { position: absolute; right: -14px; top: -14px; font: 500 12px 'JetBrains Mono', monospace; color: #F5F5F7; background: #8200D6; border-radius: 8px; padding: 6px 10px; opacity: var(--lab, 0); transition: opacity .3s; white-space: nowrap; }
.l0 { background: #0F0F14; border: 1px dashed rgba(180,108,255,.45); padding: 22px; display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto 1fr auto; gap: 14px; }
.l0 .tb { border: 1px dashed rgba(245,245,247,.25); border-radius: 6px; padding: 8px 10px; font: 400 11px 'JetBrains Mono', monospace; color: #FF7AB6; display: flex; flex-direction: column; gap: 8px; }
.l0 .tb em { font-style: normal; color: #6B6B74; }
.l1 { background: rgba(14,11,18,.35); border: 1px solid rgba(124,199,255,.35); overflow: hidden; }
.l1 .cols { position: absolute; inset: 0 22px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.l1 .cols i { background: rgba(124,199,255,.07); border-left: 1px solid rgba(124,199,255,.2); border-right: 1px solid rgba(124,199,255,.2); }
.l1 .gapm { position: absolute; font: 500 11px 'JetBrains Mono', monospace; color: #7CC7FF; background: rgba(8,8,10,.8); border: 1px solid rgba(124,199,255,.4); border-radius: 6px; padding: 4px 8px; }
.l1 .box { position: absolute; border: 1.5px solid rgba(124,199,255,.7); border-radius: 6px; background: rgba(124,199,255,.06); }
.l2 { background: #0E0B12; overflow: hidden; padding: 24px 28px; display: flex; flex-direction: column; gap: 18px; color: #F2EEF6; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9); }
.l2 .n2 { display: flex; justify-content: space-between; font-size: 12px; color: #CFC6DA; }
.l2 .n2 b { font-family: Unbounded, sans-serif; color: #F2EEF6; font-size: 14px; }
.l2 .h2r { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: center; }
.l2 .t { font-family: Unbounded, sans-serif; font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.035em; }
.l2 .p { margin-top: 12px; font-size: 12px; color: #A79DB4; line-height: 1.5; }
.l2 .b { display: inline-flex; margin-top: 16px; background: #F2EEF6; color: #0E0B12; border-radius: 99px; padding: 10px 18px; font-size: 12px; font-weight: 600; }
.l2 .im { height: 100%; min-height: 180px; border-radius: 14px; background: radial-gradient(circle at 72% 28%, #F4D9A8 0 10%, transparent 11%), radial-gradient(circle at 30% 85%, rgba(180,108,255,.6), transparent 45%), linear-gradient(150deg, #2A0A45, #8200D6 60%, #C79BFF); }
.l2 .cd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.l2 .cd i { height: 44px; border-radius: 10px; border: 1px solid rgba(242,238,246,.12); background: rgba(242,238,246,.04); }
.l3 { pointer-events: none; }
.l3 .cur { position: absolute; left: 128px; top: 232px; }
.l3 .ring { position: absolute; left: 96px; top: 206px; width: 70px; height: 70px; border-radius: 50%; border: 2px solid #B46CFF; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.l3 .toast { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); background: #F2EEF6; color: #0E0B12; border-radius: 12px; padding: 10px 14px; font: 500 12px Inter, sans-serif; white-space: nowrap; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.l3 .evt { position: absolute; right: 26px; top: 70px; font: 400 11px/1.7 'JetBrains Mono', monospace; color: #C9C9D0; background: rgba(8,8,10,.85); border: 1px solid rgba(180,108,255,.4); border-radius: 10px; padding: 10px 12px; }

/* ===== JORNADA (scroll-drawn path) ===== */
.jr { position: relative; }
.jr-svg { width: 100%; height: auto; display: block; margin-top: 40px; overflow: visible; }
.jr-path-bg { stroke: rgba(245,245,247,.08); }
.jr-path { stroke: url(#jrg); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--jp, 0)); filter: drop-shadow(0 0 8px rgba(130,0,214,.7)); }
.jr-node circle.o { fill: #08080A; stroke: rgba(245,245,247,.2); transition: stroke .4s, fill .4s; }
.jr-node circle.c { fill: #B46CFF; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.jr-node.on circle.o { stroke: #B46CFF; fill: #1A0A2A; }
.jr-node.on circle.c { transform: scale(1); }
.jr-node text { font: 500 15px Inter, sans-serif; fill: #6B6B74; transition: fill .4s; }
.jr-node text.k { font: 500 12px 'JetBrains Mono', monospace; }
.jr-node.on text { fill: #F5F5F7; }
.jr-node.on text.k { fill: #B46CFF; }
.jr-list { display: none; list-style: none; margin: 40px 0 0; padding: 0 0 0 34px; position: relative; }
.jr-list::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: rgba(245,245,247,.1); }
.jr-list::after { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: #B46CFF; transform-origin: top; transform: scaleY(var(--jp, 0)); }
.jr-list li { position: relative; padding: 0 0 30px; color: #8B8B93; transition: color .4s; }
.jr-list li::before { content: ""; position: absolute; left: -31px; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(245,245,247,.2); background: #08080A; z-index: 1; transition: background-color .4s, border-color .4s; }
.jr-list li.on { color: #F5F5F7; }
.jr-list li.on::before { background: #B46CFF; border-color: #B46CFF; }
.jr-list b { display: block; font: 500 12px 'JetBrains Mono', monospace; color: #B46CFF; margin-bottom: 4px; }

/* ===== PROJETOS horizontais ===== */
.hp { position: relative; height: calc(var(--vh) * 300); }
.hp-stage { position: sticky; top: 0; height: calc(var(--vh) * 100); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.hp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.hp-track { display: flex; gap: 28px; padding: 0 clamp(20px, 4vw, 48px); width: max-content; will-change: transform; }
.hp-card { width: min(62vw, 780px); flex: 0 0 auto; border-radius: 24px; border: 1px solid rgba(245,245,247,.08); background: #0E0E12; overflow: hidden; transition: border-color .25s; }
.hp-card:hover { border-color: rgba(180,108,255,.45); }
.hp-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.hp-media > div { position: absolute; inset: 0 -8%; transform: translateX(var(--par, 0px)); }
.hp-body { padding: 24px 28px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: end; }
.hp-body .tag { font: 500 12px 'JetBrains Mono', monospace; color: #B46CFF; }
.hp-body h3 { font-size: 24px; margin-top: 10px; }
.hp-body p { margin-top: 10px; color: #A1A1AA; line-height: 1.6; font-size: 15px; max-width: 44ch; }
.hp-cta { width: min(40vw, 460px); flex: 0 0 auto; border-radius: 24px; border: 1px dashed rgba(180,108,255,.45); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 44px; background: radial-gradient(circle at 30% 20%, rgba(130,0,214,.25), transparent 60%); }
.hp-cta h3 { font-size: 30px; line-height: 1.1; }
.hp-bar { height: 2px; background: rgba(245,245,247,.08); border-radius: 2px; overflow: hidden; }
.hp-bar i { display: block; height: 100%; background: #B46CFF; transform-origin: left; transform: scaleX(var(--hpp, 0)); }

/* ===== CTA de preenchimento ===== */
.fillsec { padding: 160px 0 40px; }
.fill-h { font-family: Unbounded, sans-serif; font-weight: 600; font-size: clamp(40px, 8vw, 128px); line-height: .98; letter-spacing: -0.045em; margin: 0; background: linear-gradient(180deg, #F5F5F7 0%, #F5F5F7 var(--fp, 0%), #232329 var(--fp, 0%), #232329 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fill-h em { font-style: normal; background: linear-gradient(180deg, #B46CFF 0%, #B46CFF var(--fp, 0%), #2A1A3A var(--fp, 0%)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* instructor ring spins with scroll */
.inst-photo .ring { transform: rotate(calc(-30deg + var(--ir, 0) * 220deg)); }

/* static preview + reduced motion: no pinning */
.static .an, .static .hp, .rm .an, .rm .hp { height: auto; }
.static .an-stage, .static .hp-stage, .rm .an-stage, .rm .hp-stage { position: relative; height: auto; min-height: 0; padding: 120px 0; }
.static .hp-track, .rm .hp-track { width: auto; flex-wrap: wrap; transform: none !important; }
.static .hp-card, .rm .hp-card { width: calc(50% - 14px); }
.static .hp-cta, .rm .hp-cta { width: calc(50% - 14px); }
.static .an-view, .rm .an-view { height: 640px; }
.rm .split .ln > span { transform: none; }
.rm .pg-code pre .l { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .an { height: calc(var(--vh) * 220); }
  .an-in { grid-template-columns: 1fr; gap: 0; }
  .an-stage { align-items: flex-start; padding-top: 88px; }
  .an-copy { min-height: 230px; }
  .an-t p { font-size: 15px; margin-top: 12px; }
  .an-rail, .an-rail-l { display: none; }
  .an-view { height: calc(var(--vh) * 52); }
  .jr-svg { display: none; }
  .jr-list { display: block; }
  .hp { height: auto; }
  .hp-stage { position: relative; height: auto; padding: 96px 0; }
  .hp-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 12px; }
  .hp-card, .hp-cta { width: 84vw; scroll-snap-align: start; }
  .hp-bar { display: none; }
  .static .hp-card, .static .hp-cta, .rm .hp-card, .rm .hp-cta { width: 84vw; }
  .fillsec { padding-top: 110px; }
}

/* utilidades da versão publicada */
[hidden] { display: none !important; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:target { scroll-margin-top: 80px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ajustes finais */
.signup > *, .mods > *, .inst > *, .offer > *, .an-in > *, .hero-in > * { min-width: 0; }
.field select, .field input, .field textarea { width: 100%; max-width: 100%; }
.hp-stage { padding-top: 64px; gap: 32px; }
.hp-card { width: min(50vw, 640px); }
@media (max-width: 960px) {
  .hp-stage { padding-top: 96px; }
  .hp-card, .hp-cta { width: 84vw; }
  .fill-h { font-size: clamp(34px, 10vw, 64px); }
  .hero-p { font-size: 17px; margin-top: 20px; }
}
.hp-media > div { inset: 0 -4%; }
.hp-body { display: block; }
.hp-body > div { display: block; }
