/* Seções das páginas. Base e componentes em visor.css. */
.page-top { padding-top: calc(var(--bar) + var(--s5)); }
.page-title { font-size: clamp(3.4rem, 10vw, 9rem); letter-spacing: -0.05em; line-height: 0.88; margin-bottom: var(--s3); }
.stat-col { display: flex; gap: var(--s4); }
.stat-col p { display: grid; }
.stat-col b { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
.stat-col span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* ---------- herói: o visor ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
#hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 80% at 70% 40%, transparent 40%, rgba(12, 10, 24, 0.75) 100%), linear-gradient(180deg, transparent 55%, rgba(12, 10, 24, 0.9) 100%); }
.hero-frame { position: absolute; z-index: 2; inset: calc(var(--bar) + 8px) clamp(10px, 2vw, 28px) clamp(10px, 2vw, 28px); pointer-events: none; }
.hero-frame .vf-c { inset: 0; --l: clamp(22px, 3vw, 40px); --c: rgba(241, 238, 250, 0.55); }
.focus { position: absolute; z-index: 2; left: 0; top: 0; width: 120px; height: 120px; border: 1.5px solid var(--lav); pointer-events: none; opacity: 0; transition: opacity 0.6s; }
.focus.on { opacity: 1; }
.focus span { position: absolute; left: -1.5px; top: -24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink); background: var(--lav); padding: 3px 6px; }
.hero-in { position: relative; z-index: 3; padding-bottom: clamp(88px, 12vh, 140px); }
.hero-k { margin-bottom: var(--s3); color: var(--on); }
.caption { display: grid; gap: 0.1em; font-size: clamp(2.6rem, 6.6vw, 6.4rem); letter-spacing: -0.045em; line-height: 0.95; max-width: 14ch; }
.caption span { display: block; }
.caption mark { background: var(--lav); color: var(--ink); padding: 0 0.12em; border-radius: 0.08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-acts { margin-top: var(--s4); }
.hero-foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(24px, 4vh, 40px); display: flex; justify-content: space-between; align-items: center; color: rgba(241, 238, 250, 0.7); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 28px; background: linear-gradient(var(--lav), transparent); animation: cue 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 760px) { .hero-foot span:first-child, .hero-foot span:last-child { display: none; } .hero-foot { justify-content: center; } .caption { font-size: clamp(2.3rem, 11vw, 3.4rem); } }

/* ---------- sobre ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--s5); align-items: end; }
.about-grid h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
.about-text { display: grid; gap: var(--s4); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.stats div { padding: var(--s3) var(--s2) 0 0; }
.stats dt { font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 5vw, 4.4rem); letter-spacing: -0.05em; line-height: 1; color: var(--lav); }
.stats dd { margin: 8px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: var(--s4); } }

/* ---------- sistema criativo ---------- */
.modules { border-top: 1px solid var(--line); }
.mod { border-bottom: 1px solid var(--line); }
.mod summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 4.5rem minmax(0, 0.8fr) minmax(0, 1.2fr) 32px; align-items: center; gap: var(--s3); padding: clamp(18px, 2.6vw, 30px) 0; }
.mod summary::-webkit-details-marker { display: none; }
.mod .code { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--lav); border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 0; text-align: center; }
.mod h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -0.035em; transition: color 0.3s; }
.mod-sum { color: var(--muted); }
.mod summary i { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background 0.3s; }
.mod summary i::before, .mod summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--on); transform: translate(-50%, -50%); }
.mod summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.mod[open] summary i { background: var(--lav); border-color: var(--lav); }
.mod[open] summary i::before, .mod[open] summary i::after { background: var(--ink); }
.mod[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.mod summary:hover h3 { color: var(--lav); }
.mod-body { display: grid; grid-template-columns: 4.5rem minmax(0, 0.8fr) minmax(0, 1.2fr) 32px; gap: var(--s2) var(--s3); padding-bottom: var(--s4); }
.mod-body > * { grid-column: 3; justify-self: start; }
.mod-body p { color: var(--on); font-size: 1.08rem; max-width: 52ch; }
@media (max-width: 860px) { .mod summary { grid-template-columns: 3.4rem 1fr 32px; } .mod-sum { display: none; } .mod-body { grid-template-columns: 1fr; padding-left: calc(3.4rem + var(--s3)); } .mod-body > * { grid-column: 1; } }

/* ---------- convite para a IA ---------- */
.ia-teaser { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s5); align-items: center; padding: clamp(28px, 5vw, 64px); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, var(--ink-2), var(--panel)); text-decoration: none; transition: border-color 0.4s; }
.ia-teaser:hover { border-color: var(--line-2); }
.ia-teaser > div:first-child { display: grid; gap: var(--s2); }
.ia-teaser .link { justify-self: start; margin-top: var(--s2); }
.mini-tl { position: relative; display: grid; gap: 10px; padding: 18px; border-radius: 10px; background: rgba(12, 10, 24, 0.7); border: 1px solid var(--line); overflow: hidden; }
.mini-ruler { height: 14px; margin-left: 70px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 24px); }
.mini-track { position: relative; height: 28px; }
.mini-track span { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mini-track i { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; background: linear-gradient(180deg, #4b3a9a, #352a70); border: 1px solid rgba(196, 177, 255, 0.4); }
.mini-track:nth-of-type(2) i { left: 76px; width: 46%; }
.mini-track:nth-of-type(3) i:nth-of-type(1) { left: 110px; width: 22%; }
.mini-track:nth-of-type(3) i:nth-of-type(2) { left: 64%; width: 26%; }
.mini-track:nth-of-type(4) i:nth-of-type(1) { left: 90px; width: 18%; background: linear-gradient(180deg, #c4b1ff, #9d84ff); }
.mini-track:nth-of-type(4) i:nth-of-type(2) { left: 46%; width: 20%; }
.mini-track:nth-of-type(4) i:nth-of-type(3) { left: 72%; width: 22%; }
.mini-track:nth-of-type(5) i { left: 40%; width: 44%; }
.mini-track:nth-of-type(6) i { left: 70%; width: 18%; }
.playhead { position: absolute; top: 12px; bottom: 12px; left: 90px; width: 2px; background: var(--lav); animation: play 6s linear infinite; }
.playhead::before { content: ""; position: absolute; top: -6px; left: -5px; border: 6px solid transparent; border-top-color: var(--lav); }
@keyframes play { from { left: 90px; } to { left: calc(100% - 20px); } }
@media (prefers-reduced-motion: reduce) { .playhead { animation: none; left: 55%; } }
@media (max-width: 860px) { .ia-teaser { grid-template-columns: 1fr; gap: var(--s4); } }

/* ---------- convite para a Nixie (no visual dela) ---------- */
.nx-teaser { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 460px; overflow: hidden; background: #e9e5db; color: #0e0e0c; text-decoration: none; }
#nx-dots { width: 100%; height: 100%; min-height: 360px; }
.nx-copy { display: grid; align-content: center; gap: var(--s2); padding: clamp(28px, 5vw, 64px); font-family: var(--mono); border-left: 1px solid #8c887f; }
.nx-copy h2 { font-family: var(--mono); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.05; }
.nx-copy p { color: rgba(14, 14, 12, 0.7); font-size: 0.98rem; max-width: 46ch; }
.nx-tag { justify-self: start; background: #0e0e0c; color: #f4f1ea; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 8px; }
.nx-btn { justify-self: start; margin-top: var(--s1); border: 1px solid #0e0e0c; padding: 12px 16px; font-size: 13px; transition: background 0.3s, color 0.3s; }
.nx-teaser:hover .nx-btn { background: #0e0e0c; color: #f4f1ea; }
.nx-teaser:focus-visible { outline-color: #0e0e0c; }
@media (max-width: 860px) { .nx-teaser { grid-template-columns: 1fr; } .nx-copy { border-left: 0; border-top: 1px solid #8c887f; } #nx-dots { min-height: 300px; } }

/* ---------- skill ---------- */
.skill { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: var(--s5); align-items: center; text-decoration: none; }
.skill > div:last-child { display: grid; gap: var(--s2); justify-items: start; }
.skill-vf { max-width: 340px; }
.skill .btn { margin-top: var(--s2); }
@media (max-width: 760px) { .skill { grid-template-columns: 1fr; gap: var(--s4); } .skill-vf { max-width: 260px; } }
.cta-k { color: #2c2552; margin-bottom: var(--s3); }
.foot-lead { margin-top: var(--s2); font-size: 1rem; }

/* =================== página de IA =================== */
.ia-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--s5); align-items: end; }
.caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.caps li { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--mono); font-size: 13px; color: var(--on); background: var(--ink-2); transition: border-color 0.3s, transform 0.4s var(--ease); }
.caps li span { color: var(--lav); }
.caps li:hover { border-color: var(--line-2); transform: translateX(4px); }
@media (max-width: 900px) { .ia-hero { grid-template-columns: 1fr; gap: var(--s4); } }
.tl-upd { align-self: end; }

/* a timeline: faixas e clipes como num editor */
.tl { position: relative; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--ink-2), #100d22); padding: 18px 18px 22px; overflow: hidden; --head: 230px; }
.tl-ruler { display: flex; justify-content: space-between; margin-left: var(--head); padding: 0 4px 12px; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 2%) 0 100% / 100% 8px no-repeat; }
.tl-ruler span { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.tl-track { display: grid; grid-template-columns: var(--head) minmax(0, 1fr); align-items: stretch; border-bottom: 1px solid var(--line); }
.tl-track:last-of-type { border-bottom: 0; }
.tl-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 14px 4px; border-right: 1px solid var(--line); }
.tl-h b { font-weight: 700; font-size: 0.98rem; }
.tl-h span { font-family: var(--mono); font-size: 11px; color: var(--lav); border: 1px solid var(--line-2); border-radius: 4px; padding: 2px 6px; }
.tl-clips { list-style: none; margin: 0; padding: 10px 0 10px 10px; display: flex; gap: 6px; }
.clip { position: relative; flex: 2 1 0; min-width: 0; min-height: 76px; padding: 12px 14px; border-radius: 8px; background: linear-gradient(180deg, #3a2e7c, #2a2160); border: 1px solid rgba(196, 177, 255, 0.28); display: grid; align-content: start; gap: 2px; cursor: default; transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s; outline: none; }
.clip.w2 { flex-grow: 2; } .clip.w3 { flex-grow: 3; } .clip.w4 { flex-grow: 4; }
.clip::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, rgba(196, 177, 255, 0.45) 0 2px, transparent 2px 5px); }
.clip b { font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; line-height: 1.1; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip .mk { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.clip p { max-height: 0; overflow: hidden; font-size: 0.86rem; line-height: 1.35; color: var(--on); opacity: 0; transition: max-height 0.5s var(--ease), opacity 0.3s, margin 0.3s; }
.clip:hover, .clip:focus-visible, .clip.lit { background: linear-gradient(180deg, #4b3a9a, #352a70); border-color: rgba(196, 177, 255, 0.7); }
.clip:hover, .clip:focus-visible { transform: translateY(-3px); z-index: 2; }
.clip:hover p, .clip:focus-visible p { max-height: 8em; opacity: 1; margin-top: 6px; }
.clip.hot { background: linear-gradient(180deg, #c4b1ff, #a690ff); border-color: #d8cbff; }
.clip.hot b { color: var(--ink); } .clip.hot .mk { color: #3b2f74; } .clip.hot p { color: #1b1640; }
.clip.hot::before { background: repeating-linear-gradient(90deg, rgba(12, 10, 24, 0.35) 0 2px, transparent 2px 5px); }
.clip.gap { background: transparent; border: 1px dashed rgba(241, 238, 250, 0.08); pointer-events: none; }
.clip.gap::before { display: none; }
.tl-head { position: absolute; top: 14px; bottom: 14px; left: calc(var(--head) + 28px); width: 2px; background: var(--lav); pointer-events: none; animation: tlplay 14s linear infinite; }
.tl-head::before { content: ""; position: absolute; top: -8px; left: -6px; border: 7px solid transparent; border-top-color: var(--lav); }
@keyframes tlplay { from { left: calc(var(--head) + 28px); } to { left: calc(100% - 22px); } }
@media (prefers-reduced-motion: reduce) { .tl-head { animation: none; display: none; } }
.tl-note { display: flex; align-items: center; gap: 10px; margin-top: var(--s2); color: var(--muted); font-size: 0.95rem; }
.hot-dot { width: 12px; height: 12px; border-radius: 3px; background: var(--lav); }
@media (max-width: 900px) {
  .tl { --head: 0px; padding: 12px; }
  .tl-ruler, .tl-head { display: none; }
  .tl-track { grid-template-columns: 1fr; padding: 8px 0; }
  .tl-h { border-right: 0; padding: 8px 4px; }
  .tl-clips { flex-wrap: wrap; padding: 0 0 8px; }
  .clip { flex: 1 1 calc(50% - 6px); }
  .clip.gap { display: none; }
  .clip p { max-height: none; opacity: 1; margin-top: 6px; }
}

/* =================== página Sobre =================== */
.traits { margin-top: var(--s3); }
.journey { list-style: none; margin: 0; padding: 0; position: relative; display: grid; }
.journey::before { content: ""; position: absolute; left: 11.5rem; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--lav), var(--line) 30%); }
.journey li { display: grid; grid-template-columns: 11.5rem minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: baseline; gap: var(--s4); padding: clamp(16px, 2.2vw, 26px) 0; border-bottom: 1px solid var(--line); position: relative; transition: background 0.3s; }
.journey li::before { content: ""; position: absolute; left: calc(11.5rem - 5px); top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--line-2); transform: translateY(-50%); }
.journey li.now::before { background: var(--lav); border-color: var(--lav); box-shadow: 0 0 0 6px rgba(196, 177, 255, 0.15); }
.journey time { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.journey .now time { color: var(--lav); }
.journey h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); padding-left: var(--s3); transition: color 0.3s, transform 0.4s var(--ease); }
.journey p { color: var(--muted); }
.journey li:hover h3 { color: var(--lav); transform: translateX(6px); }
@media (max-width: 760px) { .journey::before { left: 5px; } .journey li { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; } .journey li::before { left: 0; top: 30px; } .journey h3 { padding-left: 0; } }
.soft { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--s5); }
.sw { display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-2); transition: border-color 0.3s, transform 0.4s var(--ease); }
.sw:hover { border-color: var(--line-2); transform: translateY(-4px); }
.sw .ab { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.2rem; color: var(--lav); background: var(--panel); border: 1px solid var(--line-2); margin-bottom: 8px; }
.sw b { font-size: 1.05rem; }
.sw small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lv { display: block; height: 3px; border-radius: 2px; background: var(--line); margin-top: 8px; position: relative; overflow: hidden; }
.lv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--lav-2), var(--lav)); transform-origin: left; }
.lv.l5::after { transform: scaleX(0.94); } .lv.l3::after { transform: scaleX(0.62); }
@media (max-width: 1000px) { .soft { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .soft { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.areas-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); }
.areas-grid .hud { margin-bottom: var(--s2); }
.tools.big li { font-family: var(--body); font-size: 0.98rem; letter-spacing: 0; text-transform: none; padding: 10px 16px; color: var(--on); }
.comp { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.comp div { background: var(--ink-2); padding: 18px; }
.comp dt { font-family: var(--display); font-weight: 800; font-size: 1.2rem; }
.comp dd { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .areas-grid { grid-template-columns: 1fr; gap: var(--s4); } }
.two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--s5); }
.small-h { font-size: clamp(2rem, 3.6vw, 3rem); margin: var(--s2) 0 var(--s3); }
.awards { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.awards li { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s3); padding: 16px 0; border-bottom: 1px solid var(--line); }
.awards time { font-family: var(--mono); font-size: 13px; color: var(--lav); padding-top: 2px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } .awards li { grid-template-columns: 5.5rem 1fr; } }

/* passos do método */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.steps li { display: grid; align-content: start; gap: 12px; padding: 22px 20px 26px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); position: relative; overflow: hidden; transition: border-color 0.3s, transform 0.4s var(--ease); }
.steps li::after { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 2px; background: linear-gradient(90deg, var(--lav), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.steps li:hover { border-color: var(--line-2); transform: translateY(-4px); }
.steps li:hover::after { transform: scaleX(1); }
.steps .hud { color: var(--lav); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
