/* ------------------------------------------------------------------ */
/* iamVici · Entretenimento (rascunho)                                 */
/* Cinema escuro, um episódio por vez, vermelho do mascote como acento */
/* ------------------------------------------------------------------ */
:root {
  --bg: #0b0b0d;
  --bg-2: #141417;
  --ink: #f4f3f1;
  --ink-2: rgb(244 243 241 / 0.64);
  --ink-3: rgb(244 243 241 / 0.56);
  --line: rgb(244 243 241 / 0.12);
  --red: #ff0040;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 10px;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-title: clamp(28px, 3vw, 46px);
  --t-sub: clamp(20px, 1.8vw, 26px);
}
/* com o menu lateral, o conteúdo começa depois dele (como na versão azul) */
@media (min-width: 861px) {
  :root {
    --gutter: max(clamp(84px, 6.4vw, 104px), calc((100vw - var(--max)) / 2));
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}
html.lenis,
html.lenis body {
  height: auto;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
::selection {
  background: var(--red);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 3px;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease-out), color 0.3s;
}
.link:hover {
  background-size: 0% 1px;
  background-position: 100% 100%;
  color: var(--red);
}

/* ---------------- abertura e grão ---------------- */
.bars {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.bars i {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #000;
  transition: transform 1.3s var(--ease);
}
.bars i:first-child {
  top: 0;
}
.bars i:last-child {
  bottom: 0;
}
html.open .bars i:first-child {
  transform: translateY(-100%);
}
html.open .bars i:last-child {
  transform: translateY(100%);
}
.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------------- topo ---------------- */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding-inline: var(--gutter);
  transition: background-color 0.4s, transform 0.6s var(--ease-out);
}
.top[data-scrolled] {
  background: rgb(11 11 13 / 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.top[data-hidden] {
  transform: translateY(-100%);
}
.logo img {
  width: 92px;
  height: auto;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav a {
  transition: color 0.3s;
}
.nav a:hover {
  color: var(--ink);
}
/* seletor de tema: mesmo elemento da versão azul (Header.module.css), efeito gota do Sunshine */
.theme-switch {
  --ts-bg: #f4f3f1;
  --ts-ink: #0b0b0d;
  --ts-muted: rgb(11 11 13 / 0.55);
  position: relative;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}
.ts-svg {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}
.ts-goo {
  position: absolute;
  inset: 0;
  filter: url(#ts-gota);
  pointer-events: none;
}
.ts-blob {
  position: absolute;
  top: 0;
  height: 40px;
  border-radius: 999px;
  background: var(--ts-bg);
}
.ts-opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ts-muted);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s;
}
.ts-opt:hover {
  color: var(--ts-ink);
}
.ts-opt[data-on] {
  padding-left: 10px;
  color: var(--ts-ink);
  cursor: default;
}
.ts-cat {
  display: none;
}
.ts-opt[data-on] .ts-cat {
  display: block;
}

/* ---------------- hero ---------------- */
.hero {
  padding-top: clamp(120px, 12vw, 200px);
}

/* ---------------- palco: a Laevatain no centro ---------------- */
@font-face {
  font-family: "Clash Display";
  src: url("assets/fonts/ClashDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
.stage {
  position: relative;
  /* a rolagem extra conduz a transição (como o hero do Avareza) */
  height: 280vh;
  background: var(--bg);
}
.stage-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
}
/* fundo: o mesmo mármore em dither da versão azul, em grafite */
.stage-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

/* Designer Desenvolvedor Artista: uma linha só, passando atrás da personagem */
.stage-marquee {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: -1;
  transform: translateY(-50%);
  overflow: hidden;
  pointer-events: none;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-track span {
  flex: none;
  padding-right: 0.6em;
  font-family: "Clash Display", "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(96px, 14vw, 240px);
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #1a1a1f;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* personagem centralizada, apoiada no rodapé do palco */
.hero-actor {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  bottom: -12%;
  height: 112%;
  aspect-ratio: 16 / 9;
  translate: calc(-50% + var(--px, 0px)) var(--py, 0px);
  transition: translate 0.8s var(--ease-out);
  pointer-events: none;
}
.hero-actor video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  filter: saturate(1.35);
}
.actor-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(1.35);
}
/* com o shader ativo, os vídeos só alimentam a textura */
html.actor-gl-on .hero-actor video {
  opacity: 0.001 !important;
}
.hero-actor .idle {
  opacity: 0;
}
.hero-actor.idling .idle {
  opacity: 1;
}
.hero-actor.idling .enter {
  opacity: 0;
}
/* sombra no chão: a personagem some no fundo, sem corte seco */
.stage-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 34%;
  background:
    radial-gradient(40% 70% at 50% 100%, rgb(11 11 13 / 0.9), transparent 70%),
    linear-gradient(to top, var(--bg) 6%, rgb(11 11 13 / 0.7) 40%, transparent);
  pointer-events: none;
}

.stage-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 104px;
  gap: 16px;
  pointer-events: none;
}
.stage-copy > * {
  pointer-events: auto;
  max-width: 30ch;
}
.stage-cat {
  width: 56px;
  height: auto;
  margin-bottom: 4px;
}
.stage-copy .hero-title {
  margin-top: 0;
  max-width: 12ch;
}
.stage-sub {
  font-size: 15px;
  color: var(--ink-2);
}

/* card do projeto em cena, à direita (como nos sites de jogos) */
.project-card-wrap {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  top: 22%;
  width: 300px;
}
.flame-gl {
  position: absolute;
  left: -48px;
  right: -48px;
  top: -150px;
  bottom: -40px;
  width: calc(100% + 96px);
  height: calc(100% + 190px);
  pointer-events: none;
}
.project-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px 8px 8px;
  border-radius: 12px;
  background: rgb(16 16 19 / 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.3s, box-shadow 0.3s, translate 0.5s var(--ease-out);
}
.project-card:hover {
  background: rgb(24 24 28 / 0.95);
  box-shadow: inset 0 0 0 1px rgb(255 80 40 / 0.55);
}
.pc-thumb {
  flex: none;
  width: 112px;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-2);
}
.pc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.8s var(--ease-out);
}
.project-card:hover .pc-thumb img {
  scale: 1.06;
}
.pc-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pc-text small {
  font-size: 12px;
  color: var(--ink-3);
}
.pc-text strong {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

/* Role para conhecer: igual ao Sanshou e ao Sunshine */
.role {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 40px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.3s;
}
.role:hover {
  color: var(--ink);
}
.fio {
  position: relative;
  width: 1px;
  height: 34px;
  background: rgb(244 243 241 / 0.25);
  overflow: hidden;
}
.fio::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 40%;
  background: var(--ink);
  animation: desce 2.2s var(--ease-out) infinite;
}
@keyframes desce {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(260%);
  }
}
.stage-credit {
  position: absolute;
  left: var(--gutter);
  bottom: 40px;
  z-index: 3;
  font-size: 11px;
  color: var(--ink-3);
}

/* frase que surge quando a Laevatain vira brasa, e o véu final */
.stage-question {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.stage-question p {
  max-width: 16ch;
  text-align: center;
  font-family: "Clash Display", "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 72px);
  line-height: 1.05;
}
.q-word {
  display: inline-block;
  opacity: 0;
}
.stage-veil {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
}

/* ---------------- menu lateral e barra de rolagem (da versão azul) ---------------- */
:root {
  --rail-x: max(16px, calc((100vw - 1440px) / 2 - 64px));
}
.dock {
  position: fixed;
  left: var(--rail-x);
  top: 50%;
  z-index: 60;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgb(20 20 23 / 0.9);
  box-shadow: inset 0 0 0 1px var(--line);
}
.dock-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.dock-btn:active {
  transform: scale(0.9);
}
.dock-btn[aria-pressed="true"] {
  color: var(--red);
}
.dock-lang {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.dock-cat img {
  width: 26px;
  height: 26px;
  transition: transform 0.5s var(--ease-out);
}
.dock-tip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-4px, -50%);
  transition: opacity 0.2s, transform 0.3s var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) {
  .dock-btn:hover {
    background: var(--ink);
    color: var(--bg);
  }
  .dock-cat:hover {
    background: rgb(244 243 241 / 0.1);
  }
  .dock-cat:hover img {
    transform: scale(1.12) rotate(-4deg);
  }
  .dock-btn:hover .dock-tip {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
.dock-bars {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 14px;
}
.dock-bars i {
  display: block;
  width: 2px;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  transform: scaleY(0.3);
  transition: transform 0.4s;
}
.dock-bars i:nth-child(2) {
  transform: scaleY(0.55);
}
.dock-bars i:nth-child(3) {
  transform: scaleY(0.4);
}
[aria-pressed="true"] .dock-bars i {
  animation: sbar 1s ease-in-out infinite;
}
[aria-pressed="true"] .dock-bars i:nth-child(2) {
  animation-delay: -0.35s;
}
[aria-pressed="true"] .dock-bars i:nth-child(3) {
  animation-delay: -0.6s;
}
[aria-pressed="true"] .dock-bars i:nth-child(4) {
  animation-delay: -0.15s;
}
@keyframes sbar {
  0%,
  100% {
    transform: scaleY(0.25);
  }
  50% {
    transform: scaleY(1);
  }
}

.rail {
  position: fixed;
  right: calc(var(--rail-x) + 16px);
  top: 50%;
  z-index: 60;
  transform: translateY(-50%);
  padding: 4px;
  border-radius: 99px;
  background: rgb(20 20 23 / 0.9);
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0.55;
  transition: opacity 0.5s;
}
.rail:hover,
.rail[data-active] {
  opacity: 1;
}
.rail-track {
  position: relative;
  width: 6px;
  height: 132px;
  border-radius: 99px;
  background: rgb(244 243 241 / 0.1);
  cursor: pointer;
  touch-action: none;
}
.rail-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  border-radius: 99px;
  background: var(--ink);
  cursor: grab;
  transition: background-color 0.3s;
}
.rail-thumb:active {
  cursor: grabbing;
  background: var(--red);
}
@media (max-width: 860px), (hover: none) {
  .rail {
    display: none;
  }
}
@media (max-width: 860px) {
  .dock {
    display: none;
  }
}

.hero-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px clamp(24px, 4vw, 80px);
  align-items: end;
}
.hero-title {
  margin-top: 14px;
  font-size: var(--t-title);
  max-width: 17ch;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 38ch;
}
.hero-side .link {
  color: var(--ink);
}

/* fatias: abre a ativa, fecha as outras */
.slices {
  display: flex;
  gap: 8px;
  height: min(66vh, 640px);
  min-height: 380px;
  margin-top: clamp(36px, 4vw, 56px);
}
.slice {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  text-align: left;
  transition: flex-grow 0.95s var(--ease);
}
.slice.is-on {
  flex-grow: 6;
}
.slice img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: grayscale(0.85) brightness(0.55);
  transition: transform 1.4s var(--ease-out), filter 0.9s var(--ease);
}
.slice.is-on img {
  transform: scale(1);
  filter: none;
}
.slice:not(.is-on):hover img {
  filter: grayscale(0.3) brightness(0.75);
}
.slice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.72), transparent 46%);
  pointer-events: none;
}
.slice-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.slice.is-on .slice-tag {
  color: var(--red);
}
.slice-v {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 1;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.4s;
}
.slice.is-on .slice-v {
  opacity: 0;
}
.slice-info {
  position: absolute;
  left: clamp(18px, 2vw, 28px);
  bottom: clamp(18px, 2vw, 28px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s;
}
.slice.is-on .slice-info {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s 0.45s, transform 0.9s 0.45s var(--ease-out);
}
.slice-info small {
  font-size: 12px;
  color: var(--ink-2);
}
.slice-info strong {
  font-size: var(--t-sub);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.slice-info em {
  font-style: normal;
  font-size: 14px;
  color: var(--ink-2);
}
/* barra do autoplay */
.slice-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  height: 2px;
  width: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.slice.is-on .slice-bar {
  animation: bar var(--dur, 5s) linear forwards;
}
.slices:hover .slice.is-on .slice-bar {
  animation-play-state: paused;
}
@keyframes bar {
  to { transform: scaleX(1); }
}

/* ---------------- sinopse ---------------- */
.synopsis {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: 24px clamp(24px, 4vw, 80px);
  padding-block: clamp(120px, 14vw, 220px);
}
.synopsis-text {
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.02em;
  max-width: 30ch;
}
.synopsis-text .w {
  opacity: 0.16;
}

/* ---------------- episódios ---------------- */
.episodes {
  display: flex;
  flex-direction: column;
  gap: clamp(140px, 16vw, 240px);
}
.ep {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.ep-meta {
  grid-column: 1 / span 4;
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ep-media {
  grid-column: 6 / span 7;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.6vw, 24px);
}
.ep.flip .ep-meta {
  grid-column: 9 / span 4;
  grid-row: 1;
}
.ep.flip .ep-media {
  grid-column: 1 / span 7;
  grid-row: 1;
}
.ep-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--red);
}
.ep-title {
  font-size: var(--t-title);
}
.ep-kicker {
  font-size: 14px;
  color: var(--ink-3);
}
.ep-text {
  margin-top: 6px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 40ch;
}
.ep-dl {
  display: flex;
  flex-direction: column;
  margin: 10px 0 8px;
  box-shadow: inset 0 1px 0 var(--line);
}
.ep-dl div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 11px 0;
  box-shadow: inset 0 -1px 0 var(--line);
  font-size: 14px;
}
.ep-dl dt {
  color: var(--ink-3);
}

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  aspect-ratio: 16 / 9;
}
.frame img,
.frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.frame.tall {
  aspect-ratio: 5 / 7;
}
.frame.wide {
  aspect-ratio: 2560 / 424;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 1.6vw, 24px);
}

/* ---------------- créditos ---------------- */
.credits {
  position: relative;
  height: 210vh;
  margin-top: clamp(140px, 16vw, 240px);
}
.credits-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.credits-label {
  position: absolute;
  top: 50%;
  left: var(--gutter);
  transform: translateY(-50%);
}
.roll {
  width: min(560px, 100% - var(--gutter) * 2);
  text-align: center;
  will-change: transform;
}
.roll dl {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.roll dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.roll dd {
  margin-top: 8px;
  font-size: var(--t-sub);
  font-weight: 500;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.roll-end {
  margin-top: 96px;
  font-size: 14px;
  color: var(--red);
}

/* ---------------- próximo episódio ---------------- */
.next {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-block: clamp(120px, 12vw, 200px);
  text-align: center;
}
.next-cat {
  width: 84px;
  height: auto;
  margin-bottom: 8px;
  transition: transform 0.6s var(--ease-out);
}
.next:hover .next-cat {
  transform: translateY(-6px) rotate(-5deg);
}
.next-title {
  font-size: var(--t-title);
  max-width: 20ch;
}
.next-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--bg);
}
.btn.solid {
  background: var(--red);
  color: #fff;
  box-shadow: none;
}
.btn.solid:hover {
  background: #fff;
  color: var(--bg);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 28px 36px;
  font-size: 13px;
  color: var(--ink-3);
  box-shadow: inset 0 1px 0 var(--line);
}

/* entradas */
html.js [data-r] {
  opacity: 0;
  transform: translateY(24px);
}

/* ---------------- responsivo ---------------- */
@media (max-width: 1000px) {
  .nav {
    display: none;
  }
  .top {
    grid-template-columns: 1fr auto;
  }
  .hero-head,
  .synopsis {
    grid-template-columns: 1fr;
  }
  .ep,
  .ep.flip {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .ep-meta {
    position: static;
  }
}
@media (max-width: 700px) {
  .ts-opt:not([data-on]) {
    display: none;
  }
  .stage {
    min-height: 720px;
  }
  .hero-actor {
    height: 62%;
  }
  .stage-copy {
    justify-content: flex-start;
    padding-top: 104px;
  }
  .stage-marquee {
    top: 58%;
  }
  .project-card-wrap {
    top: auto;
    bottom: 92px;
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
  }
  .role,
  .stage-credit {
    bottom: 32px;
  }
  /* fatias viram uma pilha: a ativa abre na altura */
  .slices {
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .slice {
    flex: none;
    height: 64px;
    transition: height 0.9s var(--ease);
  }
  .slice.is-on {
    height: 62vw;
  }
  .slice-v {
    writing-mode: horizontal-tb;
    transform: none;
    left: auto;
    right: 16px;
    bottom: auto;
    top: 14px;
  }
  .slice-info strong {
    white-space: normal;
  }
  .row {
    grid-template-columns: 1fr;
  }
  .credits-label {
    top: 96px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stage {
    height: auto;
  }
  .hero-actor {
    transition: none;
  }
  .marquee-track,
  .fio::after,
  [aria-pressed="true"] .dock-bars i {
    animation: none;
  }
  .grain {
    animation: none;
  }
  .bars {
    display: none;
  }
  .slice,
  .slice img,
  .slice-info {
    transition: none;
  }
  .slice.is-on .slice-bar {
    animation: none;
  }
  html.js [data-r] {
    opacity: 1;
    transform: none;
  }
  .synopsis-text .w {
    opacity: 1;
  }
  .credits {
    height: auto;
  }
  .credits-stage {
    position: static;
    height: auto;
    padding-block: 80px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .credits-label {
    position: static;
    transform: none;
    margin-bottom: 40px;
  }
}

/* ================================================================== */
/* Estrutura nova (2026-11-07): projetos, Oshi, sobre, FAQ, VGen      */
/* ================================================================== */
.stage-place {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: var(--ink-2);
}
.sec-title {
  font-size: var(--t-title);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sec-head {
  margin-bottom: 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.btn-light {
  background: var(--ink);
  color: var(--bg);
}
.btn-ghost {
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (hover: hover) {
  .btn-light:hover {
    background: var(--red);
    color: #fff;
  }
  .btn-ghost:hover {
    background: var(--ink);
    color: var(--bg);
  }
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgb(255 0 64 / 0.14);
  color: #ff5c85;
  box-shadow: inset 0 0 0 1px rgb(255 0 64 / 0.35);
}


/* ---------------- projetos ---------------- */
.works {
  padding-top: clamp(48px, 5vw, 80px);
}
.feature {
  position: relative;
  display: block;
  height: min(78svh, 760px);
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-2);
}
.feature-media,
.card-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.feature-media video,
.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(11 11 13 / 0.92) 0%, rgb(11 11 13 / 0.6) 38%, transparent 70%);
  pointer-events: none;
}
.feature-info {
  position: absolute;
  z-index: 1;
  left: clamp(28px, 4vw, 64px);
  bottom: clamp(28px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 440px;
}
.feature-logo {
  width: 150px;
  height: auto;
  margin-bottom: 8px;
}
.feature-title {
  font-size: var(--t-title);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.feature-text {
  font-size: 15px;
  color: var(--ink-2);
}
.feature .btn {
  margin-top: 6px;
}
@media (hover: hover) {
  .feature:hover .btn-light {
    background: var(--red);
    color: #fff;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
  margin-top: clamp(16px, 1.6vw, 24px);
}
.card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.4s, transform 0.6s var(--ease-out);
}
.card-media {
  position: relative;
  inset: auto;
  aspect-ratio: 16 / 10;
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px 24px;
}
.card h3 {
  font-size: 20px;
  font-weight: 500;
}
.card p {
  font-size: 15px;
  color: var(--ink-2);
}
.card .card-note {
  font-size: 13px;
  color: var(--ink-3);
}
.card-cta {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
}
.card-cta span {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
@media (hover: hover) {
  .card:hover {
    box-shadow: inset 0 0 0 1px rgb(255 0 64 / 0.45);
    transform: translateY(-4px);
  }
  .card:hover .card-cta span {
    transform: translateX(4px);
  }
}


/* ---------------- Oshi ---------------- */
.oshi {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  padding-top: var(--section, clamp(112px, 11vw, 176px));
}
.oshi-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.oshi-text {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 52ch;
}
.oshi-list {
  width: 100%;
  margin: 6px 0 8px;
}
.oshi-list > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 12px 0;
  box-shadow: inset 0 -1px 0 var(--line);
  font-size: 14px;
}
.oshi-list dt {
  font-weight: 600;
}
.oshi-list dd {
  color: var(--ink-2);
}
.oshi-media {
  position: relative;
  padding-bottom: 12%;
}
.browser {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.5), inset 0 0 0 1px var(--line);
}
.browser-b {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62%;
}
.browser:not(.browser-b) {
  width: 86%;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #18181c;
  font-size: 11px;
  color: var(--ink-3);
}
.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(244 243 241 / 0.18);
}
.browser-bar em {
  margin-left: 8px;
  font-style: normal;
}
.browser video {
  width: 100%;
  height: auto;
}

/* ---------------- sobre (mesma ideia da versão azul) ---------------- */
.about {
  margin-top: var(--section, clamp(112px, 11vw, 176px));
  padding-block: clamp(96px, 9vw, 144px);
  background: var(--bg);
}
.about-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 112px);
}
.about-photo img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}
.about-photo figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-2);
}
.about-photo small {
  font-size: 12px;
  color: var(--ink-3);
}
.about-intro {
  font-size: var(--t-sub);
  font-weight: 500;
}
.about-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
}
.about-paras {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 28px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.6;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 36px;
  padding: 16px 0;
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.about-links a,
.about-links button {
  transition: color 0.3s;
}
.about-links a:hover,
.about-links button:hover {
  color: var(--ink);
}
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}
.about-h {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}
.about-ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  font-size: 15px;
}
.jobs li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.jobs em {
  font-style: normal;
  font-size: 13px;
  color: var(--ink-3);
}
.flag {
  flex: none;
  display: inline-flex;
}
.flag svg {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

/* ---------------- FAQ ---------------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 112px);
  padding-top: var(--section, clamp(112px, 11vw, 176px));
}
.faq-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.faq-side img {
  width: 104px;
  height: auto;
}
.faq-side p {
  max-width: 34ch;
  color: var(--ink-2);
}
.faq-item {
  box-shadow: inset 0 -1px 0 var(--line);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary i {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.faq-item summary i::after {
  transform: rotate(90deg);
}
.faq-item[open] summary {
  color: var(--red);
}
.faq-item[open] summary i::after {
  transform: rotate(0deg);
}
.faq-item p {
  padding: 0 4px 22px;
  max-width: 60ch;
  font-size: 15px;
  color: var(--ink-2);
}
.faq-item summary:hover {
  color: var(--red);
}

/* ---------------- card VGen (identidade da VGen) ---------------- */
.vgen-wrap {
  padding-block: var(--section, clamp(112px, 11vw, 176px));
}
.vgen {
  --vg-ink: #0c090d;
  --vg-lime: #b8ff26;
  --vg-lilac: #d0bfff;
  --vg-violet: #581fff;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  font-family: "Satoshi", "DM Sans", sans-serif;
  color: #fff;
  background:
    radial-gradient(60% 90% at 100% 0%, rgb(88 31 255 / 0.45), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgb(184 255 38 / 0.18), transparent 60%),
    var(--vg-ink);
  box-shadow: inset 0 0 0 1px rgb(208 191 255 / 0.18);
}
.vgen-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.vgen-chip {
  font-size: 13px;
  font-weight: 700;
  color: var(--vg-lilac);
}
.vgen-title {
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.vgen-title b {
  font-weight: 900;
  color: var(--vg-lime);
}
.vgen-text {
  font-size: 17px;
  color: rgb(255 255 255 / 0.72);
}
.vgen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.vgen-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  background: var(--vg-lime);
  color: var(--vg-ink);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.vgen-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.vgen-btn-ghost {
  background: rgb(255 255 255 / 0.08);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
}
@media (hover: hover) {
  .vgen-btn:hover {
    transform: translateY(-2px) rotate(-1deg);
  }
  .vgen-btn-ghost:hover {
    background: rgb(255 255 255 / 0.14);
  }
}
.vgen-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 8px 0 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  color: #fff;
  background: rgb(88 101 242 / 0.18);
  box-shadow: inset 0 0 0 1px rgb(88 101 242 / 0.5);
}
.vgen-discord svg {
  width: 20px;
  height: 20px;
  fill: #8f9bff;
}
.vgen-discord em {
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 999px;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  background: #5865f2;
  transition: background-color 0.3s;
}
.vgen-discord.is-done em {
  background: var(--vg-lime);
  color: var(--vg-ink);
}
.vgen-art {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 520px;
  rotate: 2deg;
}
.vgen-art img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 0 6px var(--vg-lilac), 0 30px 80px rgb(0 0 0 / 0.5);
}
.vgen-sticker {
  position: absolute;
  left: -18px;
  bottom: 26px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 15px;
  color: var(--vg-ink);
  background: var(--vg-lime);
  rotate: -8deg;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.35);
}
.vgen-spark {
  position: absolute;
  color: var(--vg-lime);
  font-size: 28px;
  animation: twinkle 2.4s ease-in-out infinite;
}
.vgen-spark.s1 {
  right: -10px;
  top: -18px;
}
.vgen-spark.s2 {
  left: 18%;
  top: -26px;
  color: var(--vg-lilac);
  font-size: 22px;
  animation-delay: -1.2s;
}
@keyframes twinkle {
  0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.6; }
  50% { transform: scale(1.15) rotate(20deg); opacity: 1; }
}

/* ---------------- rodapé ---------------- */
.foot {
  background: var(--bg);
  padding-block: clamp(72px, 7vw, 112px) 32px;
  box-shadow: inset 0 1px 0 var(--line);
}
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.foot-close {
  font-family: "Clash Display", "DM Sans", sans-serif;
  font-size: var(--t-sub);
  font-weight: 500;
}
.foot-cols {
  display: flex;
  gap: clamp(48px, 10vw, 180px);
}
.foot-cols > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}
.foot-cols a,
.foot-cols button {
  transition: color 0.3s;
}
.foot-cols a:hover,
.foot-cols button:hover {
  color: var(--red);
}
.foot-h {
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--ink-3);
}
.foot-logo {
  width: min(560px, 60%);
  height: auto;
  margin-top: clamp(56px, 6vw, 96px);
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--ink-3);
}
.foot-bottom a:hover {
  color: var(--ink);
}

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .oshi,
  .about-in,
  .faq,
  .vgen {
    grid-template-columns: 1fr;
  }
  .vgen-art {
    justify-self: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vgen-spark {
    animation: none;
  }
}

/* ---------------- carregamento (igual ao da versão azul) ---------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: clip-path 1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader[data-phase="out"] {
  clip-path: inset(0 0 100% 0);
}
.loader-center {
  color: var(--red);
  transition: opacity 0.4s, transform 0.8s var(--ease);
}
.loader[data-phase="out"] .loader-center {
  opacity: 0;
  transform: translateY(-40px);
}
.ld {
  width: 44px;
  height: 44px;
}
.ld-seg {
  animation: ld-fade 1s linear infinite;
  animation-delay: calc(var(--ld-step) * 125ms - 1s);
}
@keyframes ld-fade {
  from { opacity: 1; }
  to { opacity: 0.2; }
}
html.seen .loader {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .ld-seg { animation: none; opacity: 0.6; }
}

/* ---------------- pontos fortes ---------------- */
.feature {
  cursor: default;
}
.feature-media {
  display: block;
}
.feature-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 6px;
}
.site-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: rgb(244 243 241 / 0.3);
  text-underline-offset: 4px;
  transition: color 0.3s, text-decoration-color 0.3s;
}
.site-link:hover {
  color: var(--ink);
  text-decoration-color: var(--red);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  list-style: none;
}
.tags li {
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: rgb(244 243 241 / 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tags-lg li {
  height: 30px;
  padding: 0 12px;
  font-size: 13px;
}
.stats {
  display: flex;
  gap: 28px;
  margin-top: 10px;
}
.stats dt {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--red);
}
.stats dd {
  font-size: 12px;
  color: var(--ink-3);
}

/* ================================================================== */
/* v3 (2026-11-07): projetos no modelo da versão azul, Sobre branco   */
/* com frost, FAQ igual ao azul, card da VGen com frost e selo         */
/* ================================================================== */

/* apresentação logo abaixo do hero (como a antiga sinopse) */
.synopsis {
  display: block;
  padding-block: clamp(72px, 8vw, 128px) 0;
}
.synopsis-text {
  max-width: 34ch;
}

/* entrada do título caractere por caractere (TextEffect da versão azul) */
[data-te] .te-word {
  display: inline-block;
  white-space: nowrap;
}
[data-te] .te-char {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.32em);
  animation: teIn 0.45s var(--ease-out) forwards;
  animation-play-state: paused;
}
html.te-go [data-te] .te-char {
  animation-play-state: running;
}
@keyframes teIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-te] .te-char {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* ---------------- projetos: info | mídias 16:10 empilhadas | destaques ---------------- */
.works {
  padding-top: clamp(80px, 8vw, 128px);
}
.works .sec-head {
  margin-bottom: clamp(32px, 3vw, 48px);
}
.sc-list {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 7vw, 112px);
}
.sc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: start;
}
.sc-info {
  grid-column: 1 / span 3;
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.sc-name {
  font-size: clamp(19px, 1.45vw, 22px);
  font-weight: 500;
}
.sc-cat {
  font-size: 13px;
  color: var(--ink-2);
}
.sc-lead {
  margin-top: 6px;
  font-size: clamp(17px, 1.2vw, 19px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.sc-text {
  font-size: 15px;
  color: var(--ink-2);
}

.sc-media {
  grid-column: 4 / span 6;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 36px);
  min-width: 0;
}
/* todas as mídias no mesmo quadro 16:10, como na versão azul */
.sc-item {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line);
}
.sc-item video,
.sc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sc-solutions {
  grid-column: 10 / span 3;
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sc-sol-title {
  padding-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: inset 0 -1px 0 var(--line);
}
.sc-sol-list {
  display: flex;
  flex-direction: column;
  list-style: none;
}
.sc-sol {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 15px;
  color: var(--ink-2);
}
.sc-sol::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.sc-visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding-bottom: 2px;
  font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  transition: background-size 0.4s var(--ease-out), color 0.3s;
}
.sc-visit + .sc-visit {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background-size: 100% 1px;
}
@media (hover: hover) {
  .sc-visit:hover {
    color: var(--red);
    background-size: 0% 2px;
    background-position: 100% 100%;
  }
}

/* ---------------- Sobre: fundo branco com frost ---------------- */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(96px, 9vw, 144px);
  padding-block: clamp(80px, 7vw, 120px);
  background: #fff;
  color: #222;
  --ink: #222;
  --ink-2: rgb(34 34 34 / 0.7);
  --ink-3: rgb(34 34 34 / 0.62);
  --line: rgb(34 34 34 / 0.12);
}
.about-frost,
.vgen-frost {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.about-frost {
  -webkit-mask-image: linear-gradient(to right, transparent 22%, #000 84%);
  mask-image: linear-gradient(to right, transparent 22%, #000 84%);
}
.frost-src {
  display: none;
}
.frost-content,
.frost-fill,
.frost-out {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about .frost-fill {
  background: #fff;
}
.about-in {
  position: relative;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
}
/* foto contida: a seção não fica gigante */
.about-photo img {
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}
.about-photo figcaption {
  color: var(--ink-2);
}
.about-links a,
.about-links button {
  color: var(--ink-2);
}
.about-links a:hover {
  color: var(--ink);
}
.about-cv {
  margin-left: auto;
  font-weight: 600;
  color: var(--ink) !important;
}
.about-cols {
  margin-top: 48px;
}
.flag svg {
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08);
}

/* ---------------- card VGen: frost, selo e crédito da artista ---------------- */
.vgen .frost-fill {
  background: transparent;
}
.vgen-frost {
  z-index: 0;
}
.vgen-info,
.vgen-art {
  position: relative;
  z-index: 1;
}
.vgen-art {
  rotate: 0deg;
  max-width: 500px;
}
.vgen-art > img {
  border-radius: 20px;
  box-shadow: none;
  filter: contrast(105%) saturate(120%);
}
/* crédito: o mesmo pílula com avatar do site da VGen; nome e @ aparecem no hover */
.vgen-credit {
  position: absolute;
  right: 6%;
  bottom: 18%;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  border-radius: 100px;
  background: rgb(255 255 255 / 0.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: background-color 0.3s, gap 0.4s var(--ease-out), padding 0.4s var(--ease-out);
}
.vgen-credit-img {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  overflow: hidden;
  flex: none;
}
.vgen-credit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vgen-credit-txt {
  display: flex;
  flex-direction: column;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: "Satoshi", sans-serif;
  transition: max-width 0.5s var(--ease-out);
}
.vgen-credit-txt b {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}
.vgen-credit-txt small {
  font-size: 12px;
  font-weight: 500;
  color: rgb(255 255 255 / 0.7);
}
.vgen-credit:hover,
.vgen-credit:focus-visible {
  gap: 10px;
  padding-right: 18px;
  background: rgb(255 255 255 / 0.2);
}
.vgen-credit:hover .vgen-credit-txt,
.vgen-credit:focus-visible .vgen-credit-txt {
  max-width: 160px;
}
.vgen-sticker,
.vgen-spark {
  display: none;
}
/* selo "Support + Mediation" girando */
.vgen-seal {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  translate: -50% -50%;
}
.vgen-seal svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: seal 18s linear infinite;
}
.vgen-seal text {
  font-family: "Satoshi", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  fill: #b8ff26;
}
.vgen-seal-ring {
  position: absolute;
  inset: 5%;
  border: 4px solid #581fff;
  border-radius: 50%;
}
.vgen-seal img {
  width: 64px;
  height: 64px;
  transition: transform 0.5s var(--ease-out);
}
.vgen-seal:hover img {
  transform: scale(1.12) rotate(-8deg);
}
@keyframes seal {
  to {
    rotate: 360deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vgen-seal svg {
    animation: none;
  }
}
@media (max-width: 1100px) {
  .sc-info {
    grid-column: 1 / span 4;
  }
  .sc-media {
    grid-column: 5 / span 8;
  }
  .sc-solutions {
    position: static;
    grid-column: 5 / span 8;
    margin-top: 24px;
  }
}
@media (max-width: 860px) {
  .sc-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .sc-info,
  .sc-solutions {
    position: static;
  }
}

/* troca de tema: Cascade Page Transition (Great UI), colunas pretas */
.cascade {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  overflow: hidden;
  pointer-events: none;
}
.cascade i {
  flex: 1;
  height: 100%;
  margin-left: -0.2px;
  will-change: transform;
}
html.swap-in::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0b0b0d;
}

/* ================================================================== */
/* v4: hero sem trecho preso nem véu; projetos no carrossel da azul   */
/* ================================================================== */
.stage {
  height: 100svh;
}
.stage-pin {
  position: relative;
}

/* cabeçalho de grupo (igual ao "Identidade Visual" da versão azul) */
.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: clamp(36px, 4vw, 56px);
  box-shadow: inset 0 -1px 0 var(--line);
}
.group-title {
  font-size: clamp(19px, 1.45vw, 22px);
  font-weight: 500;
}
.group-lead {
  color: var(--ink-2);
  text-align: right;
}
.works {
  padding-top: clamp(96px, 9vw, 144px);
}

/* carrossel: totem | capa | texto (porta do IdentityCarousel) */
.ic-viewport {
  overflow: hidden;
  border-radius: 16px;
}
.ic-track {
  --drag: 0px;
  display: flex;
  align-items: flex-start;
  transform: translate3d(calc(var(--i) * -100% + var(--drag)), 0, 0);
  transition: transform 0.9s var(--ease-out);
  touch-action: pan-y;
  cursor: grab;
}
.ic-track[data-dragging] {
  transition: none;
  cursor: grabbing;
}
.ic-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  align-items: stretch;
  user-select: none;
  transition: opacity 0.6s var(--ease-out);
}
.ic-slide[aria-hidden="true"] {
  opacity: 0.25;
}
.ic-totem {
  grid-column: 1 / span 3;
  position: relative;
  min-height: 320px;
  overflow: hidden;
  perspective: 900px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.tt-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.tt-card {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  aspect-ratio: 16 / 10;
  margin-top: -23.75%;
  border-radius: 10px;
  overflow: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.ic-shot {
  width: 100%;
  height: 100%;
  background: var(--bg-2);
}
.ic-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
/* capa: mesmo quadro da versão azul (808 / 632) */
.ic-cover {
  grid-column: 4 / span 5;
  align-self: start;
  aspect-ratio: 808 / 632;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
}
.ic-cover-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 1.2s var(--ease-out);
}
@media (hover: hover) {
  .ic-cover:hover .ic-cover-media {
    transform: scale(1.03);
  }
}
.ic-info {
  grid-column: 9 / span 4;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* ponto forte do projeto, com o marcador fixo da versão azul */
.ic-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.ic-kicker::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.ic-name {
  display: flex;
  align-items: flex-start;
  gap: 0.22em;
  font-size: clamp(28px, 2.9vw, 46px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.ic-flag {
  flex: none;
  height: 0.2em;
  width: auto;
  margin-top: 0.14em;
  border-radius: 1.5px;
}
.ic-meta {
  font-size: 14px;
  color: var(--ink-2);
}
.ic-summary {
  margin-top: 6px;
  max-width: 48ch;
  font-size: clamp(17px, 1.2vw, 19px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.ic-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  list-style: none;
}
.ic-chapters li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 13px;
  font-weight: 500;
}
.ic-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
  padding-top: 14px;
  box-shadow: inset 0 1px 0 var(--line);
}
.ic-facts dt {
  font-size: 13px;
  color: var(--ink-3);
}
.ic-facts dd {
  margin-top: 4px;
  font-size: 15px;
}
.ic-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 8px;
}
.ic-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  font-weight: 500;
  white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: color 0.3s, background-size 0.45s var(--ease-out);
}
.ic-more svg {
  transition: transform 0.45s var(--ease-out);
}
.ic-link {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.3s;
}
@media (hover: hover) {
  .ic-more:hover {
    color: var(--red);
    background-size: 0% 1.5px;
    background-position: 100% 100%;
  }
  .ic-more:hover svg {
    transform: translateX(4px);
  }
  .ic-link:hover {
    color: var(--ink);
  }
}
.ic-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(20px, 2.4vw, 32px);
}
.ic-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ic-arrows button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color 0.3s, color 0.3s, transform 0.35s var(--ease-out);
}
@media (hover: hover) {
  .ic-arrows button:hover {
    background: var(--ink);
    color: var(--bg);
  }
}
.ic-arrows button:active {
  transform: scale(0.92);
}
.ic-count {
  min-width: 48px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
/* abas líquidas (LiquidTabs da versão azul), pílula em vermelho */
.lt {
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  background: var(--bg-2);
  isolation: isolate;
}
.lt-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.lt-pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--red);
  transform-origin: 0 50%;
  will-change: transform, width;
}
.lt-top {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  pointer-events: none;
}
.lt-top .lt-tab {
  color: #fff;
}

/* VGen: a arte assenta na base do cartão, como no site da plataforma */
.vgen {
  padding-bottom: 0;
  align-items: end;
}
.vgen-info {
  padding-bottom: clamp(32px, 5vw, 72px);
  align-self: center;
}
.vgen-art {
  align-self: end;
  justify-self: end;
}
.vgen-art > img {
  display: block;
  border-radius: 0;
}

@media (max-width: 860px) {
  .ic-slide {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .ic-totem {
    order: 2;
    height: 260px;
  }
  .group-head {
    flex-direction: column;
    gap: 8px;
  }
  .group-lead {
    text-align: left;
  }
}

.vgen-seal-ring {
  display: none;
}

/* mascote e local do hero entram junto com o título (depois do carregamento) */
.hero-in {
  opacity: 0;
  transform: translateY(16px);
}
html.te-go .hero-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .hero-in { opacity: 1; transform: none; }
}

/* VGen em verde (fundo da marca), sem brilho azul; três botões do mesmo tamanho */
.vgen {
  color: #0c090d;
  background: #b8ff26;
  box-shadow: none;
}
.vgen .frost-fill {
  background: #b8ff26;
}
.vgen-chip {
  color: #581fff;
}
.vgen-title b {
  color: #581fff;
}
.vgen-text {
  max-width: 44ch;
  color: rgb(12 9 13 / 0.72);
}
.vgen-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 700px;
}
.vgen-actions .vgen-btn {
  justify-content: center;
  height: 52px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}
.vgen-actions .vgen-btn:not(.vgen-btn-ghost):not(.vgen-discord) {
  background: #0c090d;
  color: #b8ff26;
}
.vgen-actions .vgen-btn-ghost {
  background: rgb(12 9 13 / 0.08);
  color: #0c090d;
  box-shadow: inset 0 0 0 1px rgb(12 9 13 / 0.18);
}
.vgen-actions .vgen-discord {
  gap: 8px;
  background: #5865f2;
  color: #fff;
  box-shadow: none;
}
.vgen-actions .vgen-discord svg {
  fill: #fff;
  stroke: none;
}
.vgen-actions .vgen-discord em {
  height: auto;
  padding: 0;
  background: none;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.8;
}
.vgen-actions .vgen-discord.is-done em {
  color: #b8ff26;
  background: none;
  opacity: 1;
}
.vgen-seal text {
  fill: #0c090d;
}

/* selo junto da arte (canto superior esquerdo), com disco escuro para o VG verde aparecer */
.vgen-art .vgen-seal {
  left: -64px;
  top: 4%;
  width: 168px;
  height: 168px;
  translate: none;
}
.vgen-seal::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #0c090d;
}
.vgen-seal img {
  position: relative;
}
.vgen-btn svg {
  flex: none;
}

.vgen-art .vgen-seal img {
  width: 64px;
  height: 64px;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

/* VGen: um botão por linha, mesmo tamanho; Discord abaixo */
.vgen-actions {
  grid-template-columns: minmax(0, 280px);
  max-width: none;
}
.vgen-btn-logo {
  width: 24px;
  height: 24px;
  flex: none;
}

/* ================================================================== */
/* v5: mídias sem corte, sem marcador, VGen ajustado, botões de metal */
/* ================================================================== */

/* capas e cards na proporção das próprias mídias (16:9 e 16:10): nada cortado */
.ic-cover {
  aspect-ratio: 16 / 10;
  background: #000;
}
.ic-cover-media {
  object-fit: contain;
}
.tt-card {
  aspect-ratio: 16 / 10;
  background: #000;
}
.ic-shot img {
  object-fit: contain;
}
.sc-item {
  background: #000;
}
.sc-item video,
.sc-item img {
  object-fit: contain;
}
/* sem a bolinha antes do ponto forte */
.ic-kicker::before {
  display: none;
}
.sc-flag {
  display: inline-block;
  width: auto;
  height: 0.62em;
  margin-left: 6px;
  vertical-align: 0.18em;
  border-radius: 1.5px;
}

/* Sobre: foto do mesmo tamanho da versão azul (400 × 500) */
.about-in {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.about-photo img {
  max-width: 400px;
  aspect-ratio: 4 / 5;
}

/* VGen: personagem maior; selo no canto de cima, quase saindo do cartão */
.vgen {
  overflow: visible;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}
.vgen-frost {
  border-radius: 16px;
  overflow: hidden;
}
.vgen-art {
  max-width: 640px;
  width: 100%;
  margin-top: -40px;
}
.vgen > .vgen-seal {
  left: auto;
  right: -58px;
  top: -62px;
  width: 172px;
  height: 172px;
  translate: none;
}
/* texto verde com contorno escuro: aparece sobre o verde e sobre o preto */
.vgen > .vgen-seal text {
  fill: #b8ff26;
  stroke: #0c090d;
  stroke-width: 4px;
  paint-order: stroke;
  stroke-linejoin: round;
}
.vgen > .vgen-seal img {
  width: 64px;
  height: 64px;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

/* ---------------- botões de metal (MetalButton da versão azul) ---------------- */
.mb-fx {
  display: inline-flex;
  border-radius: 999px;
}
.mb-fx[data-metal-fx-unsupported] .mb-btn {
  box-shadow: inset 0 0 0 1px var(--line);
}
.mb-fx-solid {
  background: #0c090d;
}
.mb-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out);
}
.mb-solid {
  background: #0c090d;
  color: #fff;
}
.mb-light {
  background: var(--bg-2);
  color: var(--ink);
}
.mb-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.45s var(--ease-out);
}
/* tinta do hover: círculo que nasce no cursor */
.mb-fill {
  --x: 50%;
  --y: 50%;
  --d: 260px;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--d);
  height: var(--d);
  margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
  border-radius: 50%;
  background: var(--red);
  transform: scale(0);
  transition: transform 0.6s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
@media (hover: hover) {
  .mb-btn:hover .mb-fill {
    transform: scale(1);
    transition-duration: 0.75s;
  }
  .mb-btn:hover .mb-label {
    color: #fff;
  }
}
.mb-btn:active {
  transform: scale(0.97);
}
/* no cartão da VGen os dois primários ocupam a mesma largura */
.vgen-actions .mb-fx {
  width: 100%;
}
.vgen-actions .mb-btn {
  width: 100%;
  height: 52px;
  font-size: 14px;
  font-weight: 700;
  color: #b8ff26;
}
.vgen-actions .vgen-discord.mb-btn {
  background: #0c090d;
  color: #fff;
}
.vgen-actions .vgen-discord .mb-label svg {
  width: 20px;
  height: 20px;
  fill: #8f9bff;
}
.vgen-actions .mb-fill {
  background: #581fff;
}
@media (prefers-reduced-motion: reduce) {
  .mb-fill {
    transition: none;
  }
}

/* ================================================================== */
/* v6: frase centralizada, Oshi logo depois, carrossel equilibrado    */
/* ================================================================== */
.statement {
  --p: 0;
  padding: clamp(112px, 11vw, 176px) var(--gutter) 0;
}
.st-text {
  max-width: 30ch;
  margin-inline: auto;
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}
.st-w {
  color: color-mix(in srgb, var(--ink) calc(18% + 82% * clamp(0, (var(--p) - var(--k)) * 9, 1)), #26262b);
  transition: color 0.25s linear;
}
.st-close {
  display: block;
}
.st-close .st-w {
  color: color-mix(in srgb, var(--red) calc(18% + 82% * clamp(0, (var(--p) - var(--k)) * 9, 1)), #26262b);
}
.sc-info .sc-text + .sc-text {
  margin-top: -2px;
}

/* carrossel: totem e texto acompanham a altura da capa */
.ic-slide {
  align-items: center;
}
.ic-totem {
  align-self: stretch;
  min-height: 0;
}
.ic-cover {
  align-self: center;
}
.ic-info {
  gap: 12px;
}
.ic-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.3s, background-color 0.3s;
}
@media (hover: hover) {
  .ic-icon:hover {
    color: var(--bg);
    background: var(--ink);
  }
}

/* VGen: hover verde da VGen no perfil e azul do Discord no Discord */
.vgen-actions .mb-btn .mb-fill {
  background: #b8ff26;
}
.vgen-actions .vgen-discord .mb-fill {
  background: #5865f2;
}
@media (hover: hover) {
  .vgen-actions .mb-btn:hover .mb-label {
    color: #0c090d;
  }
  .vgen-actions .vgen-discord:hover .mb-label {
    color: #fff;
  }
  .vgen-actions .vgen-discord:hover .mb-label svg {
    fill: #fff;
  }
}
@media (max-width: 860px) {
  .st-text {
    text-align: left;
  }
}

.about-cv {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ================================================================== */
/* v7: hero como o azul, Contatar do FAQ, respiro antes do Sobre      */
/* ================================================================== */
.stage-cat {
  width: clamp(88px, 8vw, 124px);
  margin-bottom: 8px;
}
.stage-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  font-size: 15px;
}
.stage-logo {
  width: 104px;
  height: auto;
  margin-bottom: 6px;
}
.stage-name {
  font-weight: 500;
}
.stage-place {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-2);
}
.stage-place svg {
  flex: none;
  border-radius: 1.5px;
}
.stage-copy {
  padding-bottom: 72px;
}
.stage-copy .stage-meta,
.stage-copy .stage-cat {
  max-width: none;
}
/* Contatar do FAQ: mesmo botão claro de metal da versão azul */
.faq-side .mb-fx {
  margin-top: 4px;
}
.faq-side .mb-btn {
  height: 46px;
  padding: 0 22px;
  color: #fff;
}
.faq-side .mb-btn:hover .mb-label {
  color: #fff;
}
/* mais respiro entre Comissões e Estudos e o Sobre */
#projetos {
  padding-bottom: clamp(48px, 5vw, 80px);
}
.about {
  margin-top: clamp(112px, 11vw, 176px);
}

/* hover dos botões de metal: a tinta nasce no cursor e cobre o botão inteiro (clip-path, sem falhas nas bordas) */
.mb-fill {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  transform: none;
  clip-path: circle(0% at var(--x, 50%) var(--y, 50%));
  transition: clip-path 0.55s var(--ease-out);
}
@media (hover: hover) {
  .mb-btn:hover .mb-fill {
    transform: none;
    clip-path: circle(150% at var(--x, 50%) var(--y, 50%));
    transition-duration: 0.7s;
  }
}
.vgen-title b {
  color: #fff;
}

/* ================================================================== */
/* celular                                                            */
/* ================================================================== */
main,
.foot {
  overflow-x: clip;
}
@media (max-width: 860px) {
  /* abas do carrossel: rolam na horizontal em vez de alargar a página */
  .ic-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .lt {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .lt::-webkit-scrollbar {
    display: none;
  }
  .lt-top {
    width: max-content;
    right: auto;
  }
  .lt-tab {
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }
  .ic-arrows {
    justify-content: space-between;
  }
  /* selo da VGen menor e dentro da tela */
  .vgen > .vgen-seal {
    right: 16px;
    top: -54px;
    width: 120px;
    height: 120px;
  }
  .vgen > .vgen-seal img {
    width: 44px;
    height: 44px;
  }
  .vgen-seal::before {
    width: 64px;
    height: 64px;
  }
  .vgen > .vgen-seal text {
    font-size: 19px;
  }
  .vgen-art {
    margin-top: 0;
    max-width: 420px;
    justify-self: center;
  }
  .vgen-actions {
    grid-template-columns: 1fr;
  }
  .vgen-actions .mb-fx,
  .vgen-actions .mb-btn {
    width: 100%;
  }
  /* Sobre empilhado: foto, texto, serviços e experiência */
  .about-photo img {
    max-width: 100%;
  }
  .about-cols {
    grid-template-columns: 1fr;
  }
  .about-links {
    flex-wrap: wrap;
  }
  .about-cv {
    margin-left: 0;
  }
  .jobs li {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  /* cabeçalho de grupo e frase */
  .statement {
    padding-top: clamp(80px, 18vw, 112px);
  }
  .foot-top {
    flex-direction: column;
  }
  .foot-logo {
    width: 100%;
  }
}
@media (max-width: 860px) {
  .about-in,
  .vgen {
    grid-template-columns: 1fr;
  }
  .about-in {
    gap: 32px;
  }
  .about-photo img {
    width: 100%;
    max-width: 100%;
  }
  .vgen {
    padding: 40px 24px 0;
  }
  .vgen-info {
    padding-bottom: 8px;
  }
  /* seletor de tema no celular: as duas opções, compactas (dá para voltar ao Institucional) */
  .ts-opt:not([data-on]) {
    display: inline-flex;
  }
  .ts-opt {
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }
  .ts-opt[data-on] {
    padding-left: 8px;
  }
  .ts-blob {
    height: 34px;
  }
  .ts-cat {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 860px) {
  .lt-tab {
    flex: none;
  }
}

/* mascote interativo do hero, um pouco menor que o da versão azul */
iamvici-gato.stage-cat {
  display: block;
  width: clamp(38px, 3.3vw, 52px);
  height: auto;
}

/* letras do título refeitas na troca de idioma: sem animar de novo */
[data-te] .te-char.te-done {
  animation: none;
  opacity: 1;
  filter: none;
  transform: none;
}

/* ---------------- rodapé branco com o mármore em dither ---------------- */
.foot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  color: #222;
  box-shadow: none;
  --ink: #222;
  --ink-2: rgb(34 34 34 / 0.7);
  --ink-3: rgb(34 34 34 / 0.62);
  --line: rgb(34 34 34 / 0.12);
}
.foot-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  opacity: 0.9;
  pointer-events: none;
}
.foot-cols a,
.foot-cols button {
  color: #222;
}

/* título do hero em Clash Display, um pouco maior */
@font-face {
  font-family: "Clash Display";
  src: url("assets/fonts/ClashDisplay-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
.stage-copy .hero-title {
  font-family: "Clash Display", "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 3.9vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 13ch;
}
.vgen-wrap {
  padding-bottom: clamp(72px, 7vw, 112px);
}

/* ================================================================== */
/* celular: revisão de legibilidade e uso (2026-11-09)                */
/* ================================================================== */
@media (max-width: 700px) {
  /* hero: a Laevatain ocupa o espaço que sobrava abaixo do texto */
  .stage-pin {
    min-height: 640px;
  }
  .hero-actor {
    height: 82%;
    bottom: 0;
  }
  .stage-copy {
    padding-top: 92px;
    background: linear-gradient(to bottom, var(--bg) 0%, rgb(11 11 13 / 0.92) 52%, rgb(11 11 13 / 0) 100%);
    bottom: auto;
    padding-bottom: 56px;
  }
  .stage-copy .hero-title {
    font-size: clamp(32px, 9.2vw, 40px);
    max-width: 14ch;
  }
  .stage-meta {
    font-size: 14px;
  }
  .stage-logo {
    width: 84px;
  }
  .stage-marquee {
    top: 64%;
  }
  .project-card-wrap {
    bottom: 76px;
  }
  .project-card {
    padding: 6px 14px 6px 6px;
  }
  .pc-thumb {
    width: 88px;
  }
  .flame-gl {
    top: -110px;
  }
  .role,
  .stage-credit {
    bottom: 24px;
  }
  /* Oshi: só as quatro mídias mais fortes no celular */
  #p-oshi .sc-item:nth-child(n + 5) {
    display: none;
  }
  .sc-text {
    font-size: 15px;
  }
  /* carrossel: no celular o cilindro de imagens some; capa, texto e abas bastam */
  .ic-totem {
    display: none;
  }
  .ic-name {
    font-size: 30px;
  }
  .ic-summary {
    font-size: 17px;
  }
  .works {
    padding-top: 72px;
  }
  .statement {
    padding-top: 72px;
  }
  .st-text {
    font-size: 24px;
  }
  /* VGen: selo menor e fora do título */
  .vgen > .vgen-seal {
    top: -46px;
    right: 8px;
    width: 104px;
    height: 104px;
  }
  .vgen-title {
    font-size: 34px;
  }
  .vgen-text {
    font-size: 15px;
  }
  .faq-item summary {
    font-size: 15px;
    padding-block: 16px;
  }
  .about {
    padding-block: 64px;
  }
}
@media (max-width: 700px) {
  /* o texto do hero fica sobre fundo sólido; a personagem começa logo abaixo */
  .stage-copy {
    background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 78%, rgb(11 11 13 / 0) 100%);
    padding-bottom: 40px;
  }
  .hero-actor {
    height: 70%;
    bottom: 6%;
  }
}
@media (max-width: 700px) {
  /* a personagem começa abaixo do texto: cabeça e rosto sempre visíveis */
  .stage-copy {
    background: none;
  }
  .hero-actor {
    top: auto;
    bottom: 0;
    height: calc(100% - 372px);
    min-height: 300px;
  }
  .stage-floor {
    height: 26%;
  }
}
@media (max-width: 380px) {
  .logo img {
    width: 76px;
  }
  .ts-opt {
    padding: 0 9px;
    font-size: 11px;
  }
  .theme-switch {
    gap: 3px;
  }
}
