/*
 * VERTEX — Interface Constelação
 * Uma linguagem única para todo o produto: painéis em órbita, sinalização
 * luminosa e profundidade discreta. Apenas opacity/transform são animados.
 */
:root {
  --experience-edge: color-mix(in srgb, var(--line) 78%, transparent);
  --experience-glass: color-mix(in srgb, var(--surface) 92%, transparent);
  --experience-shadow: 0 18px 50px color-mix(in srgb, var(--deep-surface) 12%, transparent);
  --experience-radius: clamp(22px, 2.4vw, 34px);
  --experience-gutter: clamp(14px, 3vw, 48px);
}

html { background: var(--paper); }
body {
  min-width: 0;
  background:
    radial-gradient(circle at 9% 14%, color-mix(in srgb, var(--brand-mid) 14%, transparent), transparent 25rem),
    radial-gradient(circle at 88% 36%, color-mix(in srgb, var(--brand-end) 11%, transparent), transparent 32rem),
    var(--paper);
}
body::before {
  display: block;
  z-index: -2;
  opacity: .22;
  background-image:
    linear-gradient(color-mix(in srgb, var(--line) 34%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 34%, transparent) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* Barra de comando: uma peça compacta, sempre reconhecível, sem blur custoso. */
.topbar {
  position: sticky;
  z-index: 1100;
  top: 10px;
  width: auto;
  min-height: 68px;
  margin: 10px var(--experience-gutter) 0;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--experience-edge);
  border-radius: 20px;
  background: color-mix(in srgb, var(--paper) 91%, transparent);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--deep-surface) 10%, transparent);
  backdrop-filter: none;
}
.topbar-primary { gap: 11px; }
.app-menu-toggle {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: none;
  backdrop-filter: none;
}
.app-navigation:hover .app-menu-toggle,
.app-navigation:focus-within .app-menu-toggle,
.app-navigation.is-open .app-menu-toggle {
  transform: translateY(-1px) rotate(0deg);
  box-shadow: 0 8px 22px var(--accent-glow);
}
.brand { gap: 9px; }
.brand-mark { width: 28px; height: 30px; }
.brand-word { font-size: .98rem; letter-spacing: .18em; }
.studio-navigation {
  justify-self: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--experience-edge);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-soft) 74%, transparent);
}
.studio-navigation a {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: .71rem;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.studio-navigation a::after { display: none; }
.studio-navigation a:hover,
.studio-navigation a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--deep-surface) 9%, transparent);
}
.topbar-actions { justify-self: end; }
.theme-toggle { min-height: 40px; padding: 0 5px; border-radius: 13px; }
.theme-toggle__icon { width: 30px; height: 30px; border-radius: 10px; background: var(--surface); }
.app-menu {
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--experience-shadow);
  backdrop-filter: none;
}

main, body > footer { width: 100%; margin-inline: auto; padding-inline: var(--experience-gutter); }
main { padding-top: 10px; }
.app-page { min-height: min(720px, calc(100vh - 140px)); }
.app-page.app-page-enter { animation: experience-page-enter .48s cubic-bezier(.16, 1, .3, 1) both; }
.app-page.app-page-enter > :is(.app-page__heading, .mode-switch, .hero-proof, .workspace, .download-hub, .technology-note, .how-it-works, .student-statement) {
  animation: experience-section-rise .52s cubic-bezier(.16, 1, .3, 1) both;
}
.app-page.app-page-enter > :nth-child(2) { animation-delay: .06s; }
.app-page.app-page-enter > :nth-child(3) { animation-delay: .12s; }
.app-page.app-page-enter > :nth-child(4) { animation-delay: .18s; }

/* Início: uma cena espacial, não uma página editorial convencional. */
.studio-hero.hero {
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 4.5vw, 80px);
  min-height: min(770px, calc(100svh - 118px));
  margin-top: 14px;
  padding: clamp(36px, 6vw, 84px);
  overflow: hidden;
  border: 1px solid var(--experience-edge);
  border-radius: var(--experience-radius);
  background:
    radial-gradient(circle at 18% 28%, color-mix(in srgb, var(--brand-mid) 18%, transparent), transparent 27%),
    radial-gradient(circle at 76% 63%, color-mix(in srgb, var(--brand-end) 13%, transparent), transparent 30%),
    color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: var(--experience-shadow);
}
.studio-hero.hero::before {
  inset: 0;
  opacity: .68;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--line) 50%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--line) 50%, transparent) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(135deg, #000, transparent 74%);
}
.studio-hero.hero::after {
  top: 9%;
  right: 8%;
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-end);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--brand-end) 11%, transparent), 0 0 28px var(--accent-glow);
  animation: experience-beacon 2.8s ease-in-out infinite;
}
.studio-hero__copy { max-width: 570px; align-self: center; }
.studio-hero__eyebrow {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: .6rem;
  letter-spacing: .16em;
}
.studio-hero__eyebrow > span { width: 7px; height: 7px; animation: experience-status 2.4s ease-in-out infinite; }
.studio-hero h1 { max-width: 8.5ch; font-size: clamp(3.7rem, 7.3vw, 8.1rem); letter-spacing: -.07em; }
.studio-hero h1 span { color: var(--brand-end); }
.studio-hero .hero-copy { max-width: 390px; margin-block: 24px; font-size: .94rem; }
.studio-start.primary-button {
  min-height: 52px;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--brand-start), var(--brand-mid));
  box-shadow: 0 10px 24px var(--accent-glow);
}
.studio-text-link { min-height: 52px; border-radius: 14px; background: var(--surface); backdrop-filter: none; }
.studio-hero__route { max-width: 420px; margin-top: 32px; padding-top: 15px; }
.studio-hero__route dd { font-size: .67rem; }
.studio-art { align-self: center; }
.studio-art__stage {
  width: min(100%, 650px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--brand-end) 15%, transparent), transparent 32%),
    transparent;
}
.studio-art__stage::before { border-style: solid; opacity: .56; animation: experience-orbit-drift 22s linear infinite; }
.studio-art__stage::after { animation: none; opacity: .7; }
.studio-art__eyebrow,
.studio-art__coordinate { display: none; }
.studio-art__orbit-label { background: color-mix(in srgb, var(--surface) 96%, transparent); box-shadow: 0 6px 18px color-mix(in srgb, var(--deep-surface) 12%, transparent); }
.studio-art__add { background: var(--surface); backdrop-filter: none; box-shadow: 0 8px 20px var(--accent-glow); }
.studio-art__caption { padding-inline: 4px; }
.studio-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}
.studio-paths__intro {
  grid-column: 1 / -1;
  min-height: 110px;
  padding: 22px 4px 10px;
  border: 0;
}
.studio-paths__intro h2 { margin-top: 12px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.studio-paths__intro::after { right: 12px; bottom: 18px; }
.studio-path {
  min-height: 250px;
  padding: 27px;
  border: 1px solid var(--experience-edge);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--deep-surface) 8%, transparent);
}
.studio-path::before { background: linear-gradient(135deg, transparent 42%, color-mix(in srgb, var(--brand-end) 13%, transparent), transparent 66%); }
.studio-path:hover,
.studio-path:focus-visible {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand-end) 58%, var(--line));
  background: var(--surface);
}
.studio-path h3 { margin-top: 42px; }
.studio-manifesto { min-height: 230px; padding: clamp(60px, 9vw, 130px) 24px; }
.studio-manifesto h2 { max-width: 760px; background: transparent; }

/* Tradutor: o centro da experiência vira uma estação de sinais clara e guiada. */
#page-tradutor { padding-top: 20px; }
.app-page__heading {
  max-width: none;
  margin: 0 0 16px;
  padding: clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, .65fr);
  gap: 30px;
  border: 1px solid var(--experience-edge);
  border-radius: var(--experience-radius);
  text-align: left;
  background:
    linear-gradient(118deg, color-mix(in srgb, var(--brand-mid) 9%, transparent), transparent 52%),
    var(--surface);
}
.app-page__heading h1 { max-width: 700px; font-size: clamp(2.45rem, 5vw, 5.15rem); }
.app-page__heading > p:last-child { align-self: end; max-width: 360px; margin: 0; font-size: .92rem; }
.mode-switch {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--experience-edge);
  border-radius: 20px;
  background: var(--surface);
}
.mode-button {
  min-height: 112px;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.mode-button + .mode-button { border-left: 1px solid var(--experience-edge); }
.mode-button.is-active { color: #fff; background: linear-gradient(120deg, var(--brand-start), var(--brand-mid)); }
.mode-button.is-active .mode-icon { background: rgb(255 255 255 / .14); color: #fff; }
.mode-button.is-active small { color: rgb(255 255 255 / .76); }
.hero-proof { justify-content: flex-start; margin: 15px 0 4px; }
.hero-proof li { border-radius: 10px; background: var(--surface); }
.workspace { gap: 18px; padding: 18px 0 68px; }
.camera-card, .result-card, .input-card, .avatar-card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--experience-edge);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--experience-shadow);
}
.camera-card::before, .result-card::before, .input-card::before, .avatar-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 2px;
  content: '';
  background: linear-gradient(90deg, var(--brand-end), transparent);
}
.camera-stage {
  min-height: 410px;
  border: 1px solid color-mix(in srgb, var(--brand-end) 24%, var(--line));
  border-radius: 18px;
  background:
    radial-gradient(circle at 52% 40%, color-mix(in srgb, var(--brand-end) 26%, transparent), transparent 26%),
    linear-gradient(135deg, var(--deep-surface), color-mix(in srgb, var(--deep-surface) 78%, var(--brand-mid)));
}
.camera-stage::before { opacity: .12; background-size: 42px 42px; }
.result-card, .avatar-card { align-self: stretch; }
.choice-card { border-radius: 13px; }
.translation-result, .phrase-preview, .dictionary-coverage, .recognition-details { border-radius: 16px; }
.phrase-preview:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1rem;
}
.phrase-preview__source { flex: 1 1 13rem; min-width: 0; overflow-wrap: anywhere; }
#replay-avatar { min-height: 44px; }
#replay-avatar[hidden] { display: none; }
.camera-framing-status { border-inline-start: 2px solid var(--line); padding-inline-start: .65rem; }
.avatar-local-demo { margin-block: .75rem; padding-block: .6rem; border-block: 1px solid var(--line); }
.avatar-local-demo summary { cursor: pointer; font-weight: 650; padding-block: .5rem; }
.avatar-local-demo img { display: block; max-inline-size: 100%; block-size: auto; margin: .5rem auto; }
.avatar-local-demo p { margin: .5rem 0; color: var(--ink-soft); font-size: .86rem; }
.text-card .textarea-wrap, .input-card .textarea-wrap { border-radius: 16px; }

/* Instalação: trata o dispositivo como uma peça central, com profundidade leve. */
.download-hub {
  overflow: hidden;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 90px);
  margin-top: 20px;
  padding: clamp(30px, 5vw, 70px);
  border: 1px solid var(--experience-edge);
  border-radius: var(--experience-radius);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  box-shadow: var(--experience-shadow);
}
.download-hub__visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--experience-edge);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--brand-end) 20%, transparent), transparent 25%),
    linear-gradient(135deg, color-mix(in srgb, var(--deep-surface) 90%, var(--brand-mid)), var(--deep-surface));
}
.download-hub__visual.has-orbit-scene::before,
.download-hub__visual.has-orbit-scene::after { content: none; }
.download-phone {
  position: relative;
  z-index: 1;
  transform: rotate(-7deg) translateY(0);
  animation: experience-device-float 4.8s ease-in-out infinite;
}
.download-hub__content h1 { font-size: clamp(2.65rem, 5.4vw, 5.75rem); }
.download-action { border-radius: 16px; }

/* Cenas declarativas: órbitas de verdade no plano inclinado, sem vídeo, GIF,
   filtros animados ou loop JavaScript. Cada satélite acompanha seu anel. */
.vertex-scene {
  --scene-ring-size: 82%;
  --scene-orbit-speed: 1;
  --scene-core-tilt: 0deg;
  --scene-core-lift: -8px;
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 560px);
  min-width: 0;
  aspect-ratio: 1;
  margin-inline: auto;
  perspective: 900px;
  transform-style: preserve-3d;
  pointer-events: none;
}
.vertex-scene__ring {
  --ring-inclination: 62deg;
  --ring-tilt: -24deg;
  --ring-period: 24s;
  --ring-delay: -4s;
  --ring-direction: normal;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: var(--scene-ring-size);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--brand-mid) 36%, var(--line));
  border-top-color: color-mix(in srgb, var(--brand-end) 76%, var(--line));
  border-radius: 50%;
  color: var(--brand-end);
  transform: translate(-50%, -50%) rotateZ(var(--ring-tilt)) rotateX(var(--ring-inclination)) rotateZ(0deg);
  transform-style: preserve-3d;
  animation: experience-scene-orbit calc(var(--ring-period) * var(--scene-orbit-speed)) linear infinite;
  animation-delay: calc(var(--ring-delay) + var(--scene-instance-delay, 0s));
  animation-direction: var(--ring-direction);
}
.vertex-scene__ring--two {
  --ring-inclination: 68deg;
  --ring-tilt: 48deg;
  --ring-period: 32s;
  --ring-delay: -11s;
  --ring-direction: reverse;
  width: calc(var(--scene-ring-size) * .89);
  color: var(--brand-mid);
  border-top-color: color-mix(in srgb, var(--brand-mid) 82%, var(--line));
}
.vertex-scene__ring--three {
  --ring-inclination: 32deg;
  --ring-tilt: -66deg;
  --ring-period: 41s;
  --ring-delay: -19s;
  width: calc(var(--scene-ring-size) * .72);
  color: var(--brand-start);
  border-style: dashed;
  border-color: color-mix(in srgb, var(--brand-mid) 26%, var(--line));
}
.vertex-scene__satellite {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(8px, 1.3vw, 12px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, currentColor 75%, var(--surface));
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--surface), currentColor 62%);
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 9%, transparent);
  transform: translate(-50%, -50%);
}
.vertex-scene__satellite--two,
.vertex-scene__ring > .vertex-scene__satellite:nth-child(2) { top: 100%; }
.vertex-scene__core {
  position: relative;
  z-index: 2;
  grid-area: 1 / 1;
  max-width: 100%;
  transform: translate3d(0, 0, 0) rotateZ(var(--scene-core-tilt));
  animation: experience-scene-core 8s ease-in-out infinite;
  animation-delay: var(--scene-instance-delay, 0s);
}
.vertex-scene--app {
  --scene-ring-size: 118%;
  --scene-core-tilt: -7deg;
  --scene-core-lift: -10px;
}
.vertex-scene--app .download-phone { animation-name: experience-scene-core; }
.vertex-low-power .vertex-scene { --scene-orbit-speed: 1.6; --scene-core-lift: -5px; }
.vertex-low-power .vertex-scene__core { animation-duration: 12s; }
.vertex-scene.is-scene-running :is(.vertex-scene__ring, .vertex-scene__core) { will-change: transform; }

/* Only decorative regions pause. Camera loading indicators and interactive
   form feedback keep their own lifecycle. Visibility comes from one observer. */
.vertex-motion-region:not(.is-motion-running),
.vertex-motion-region:not(.is-motion-running) *,
.vertex-motion-region:not(.is-motion-running)::before,
.vertex-motion-region:not(.is-motion-running)::after,
.vertex-motion-region:not(.is-motion-running) *::before,
.vertex-motion-region:not(.is-motion-running) *::after {
  animation-play-state: paused !important;
}
body.studio-motion-paused .vertex-motion-region,
body.studio-motion-paused .vertex-motion-region *,
body.vertex-document-hidden .vertex-motion-region,
body.vertex-document-hidden .vertex-motion-region * { animation-play-state: paused !important; }
[data-orbit-scene].vertex-motion-region:not(.is-scene-running) .vertex-scene__ring,
[data-orbit-scene].vertex-motion-region:not(.is-scene-running) .vertex-scene__core { animation-play-state: paused; }


/* Sobre: o projeto se apresenta como uma coleção de módulos conectados. */
.technology-note {
  overflow: hidden;
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, .78fr);
  gap: 42px 64px;
  margin-top: 20px;
  padding: clamp(34px, 6vw, 84px);
  border: 1px solid var(--experience-edge);
  border-radius: var(--experience-radius);
  background:
    radial-gradient(circle at 82% 25%, color-mix(in srgb, var(--brand-end) 15%, transparent), transparent 22%),
    color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--experience-shadow);
}
.technology-note::before {
  display: block;
  inset: auto 7% 10% auto;
  width: 108px;
  height: 108px;
  border: 1px solid var(--brand-end);
  border-radius: 50%;
  opacity: .35;
  transform: none;
}
.technology-note__copy { gap: 54px; }
.technology-note__copy h1 { font-size: clamp(2.55rem, 5.2vw, 5.45rem); }
.technology-note__impact { max-width: 620px; padding: 22px 24px; border: 1px solid color-mix(in srgb, var(--brand-end) 35%, var(--line)); border-radius: 18px; background: var(--surface); }
.how-it-works { grid-template-columns: minmax(230px, .55fr) minmax(0, 1.45fr); gap: 50px; padding: clamp(54px, 7vw, 96px) 0; }
.feature-list { gap: 12px; border: 0; }
.feature-list article {
  min-height: 196px;
  padding: 26px;
  border: 1px solid var(--experience-edge) !important;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.feature-list article:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand-end) 55%, var(--line)) !important; background: var(--surface); }
.student-statement { gap: clamp(36px, 7vw, 100px); padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--experience-edge); }
.student-statement > header { position: relative; padding-left: 23px; }
.student-statement > header::before { position: absolute; inset: 5px auto 5px 0; width: 2px; content: ''; background: linear-gradient(var(--brand-end), transparent); }
.student-statement__principles { display: grid; grid-template-columns: 1fr; gap: 12px; border: 0; }
.student-statement__principles article {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  min-height: 0;
  padding: 24px;
  border: 1px solid var(--experience-edge);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  transition: transform .2s ease, border-color .2s ease;
}
.student-statement__principles article h3,
.student-statement__principles article p { grid-column: 2; }
.student-statement__principles article:hover { transform: translateX(6px); }

body > footer { margin-top: 10px; padding-block: 34px; border-top: 1px solid var(--experience-edge); }

/* Movimento orienta, sem virar enfeite: a linha marca a leitura e a luz reage
   apenas em aparelhos que suportam o efeito sem comprometer a câmera. */
.experience-scroll-line {
  position: fixed;
  z-index: 1200;
  inset: 0 auto 0 0;
  width: 3px;
  pointer-events: none;
  background: linear-gradient(var(--brand-start), var(--brand-mid), var(--brand-end));
  transform: scaleY(var(--experience-scroll, 0));
  transform-origin: top;
  transition: transform .08s linear;
}
.experience-pointer-light {
  position: absolute;
  z-index: 0;
  top: -115px;
  left: -115px;
  width: 230px;
  height: 230px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-end) 14%, transparent), transparent 68%);
  transition: opacity .28s ease;
  will-change: transform;
}
:is(.studio-path, .feature-list article, .technology-note__impact, .camera-card, .result-card, .input-card, .avatar-card) {
  isolation: isolate;
  overflow: hidden;
}
:is(.studio-path, .feature-list article, .technology-note__impact, .camera-card, .result-card, .input-card, .avatar-card) > :not(.experience-pointer-light) {
  position: relative;
  z-index: 1;
}
.vertex-low-power .studio-hero.hero::after,
.vertex-low-power .studio-art__stage::before,
.vertex-low-power .download-phone:not(.vertex-scene__core) { animation-duration: 8s; }

@keyframes experience-page-enter { from { opacity: 0; transform: translateY(10px); } }
@keyframes experience-section-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes experience-beacon { 50% { transform: scale(1.32); opacity: .62; } }
@keyframes experience-status { 50% { transform: scale(.72); opacity: .6; } }
@keyframes experience-orbit-drift { to { transform: rotate(360deg); } }
@keyframes experience-device-float { 50% { transform: rotate(-5deg) translateY(-10px); } }
@keyframes experience-scene-orbit {
  to { transform: translate(-50%, -50%) rotateZ(var(--ring-tilt)) rotateX(var(--ring-inclination)) rotateZ(360deg); }
}
@keyframes experience-scene-core {
  50% { transform: translate3d(0, var(--scene-core-lift), 0) rotateZ(var(--scene-core-tilt)); }
}

@media (max-width: 1060px) {
  .topbar { grid-template-columns: minmax(0, 1fr) auto; }
  .studio-navigation { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: center; }
  .studio-hero.hero { grid-template-columns: minmax(0, .88fr) minmax(300px, 1.12fr); padding: clamp(28px, 4vw, 52px); }
  .studio-hero h1 { font-size: clamp(3.55rem, 7.2vw, 6.2rem); }
  .technology-note, .technology-note__copy { grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); gap: 36px; }
}

@media (max-width: 800px) {
  .topbar { top: 6px; width: auto; min-height: 56px; margin: 6px 12px 0; padding: 7px 9px; border-radius: 17px; }
  .studio-navigation { display: none; }
  .theme-toggle { min-height: 36px; }
  .theme-toggle__icon { width: 28px; height: 28px; }
  main, body > footer { width: 100%; padding-inline: 12px; }
  main { padding-top: 4px; }
  .studio-hero.hero { grid-template-columns: 1fr; min-height: auto; padding: 34px 22px 24px; border-radius: 25px; }
  .studio-hero.hero::before { background-size: 64px 64px; }
  .studio-hero h1 { font-size: clamp(3.4rem, 15.4vw, 5.45rem); }
  .studio-hero .hero-copy { max-width: 420px; }
  .studio-art { width: min(100%, 510px); margin: 20px auto 0; }
  .studio-art__stage { width: min(100%, 510px); }
  .studio-paths { grid-template-columns: 1fr; gap: 12px; }
  .studio-paths__intro { grid-column: auto; min-height: 0; }
  .studio-path { min-height: 190px; }
  .app-page__heading { grid-template-columns: 1fr; gap: 15px; padding: 30px 24px; }
  .app-page__heading > p:last-child { margin: 0; }
  .mode-switch { grid-template-columns: 1fr; }
  .mode-button + .mode-button { border-top: 1px solid var(--experience-edge); border-left: 0; }
  .workspace, .workspace--text { grid-template-columns: 1fr; }
  .camera-stage { min-height: min(68vw, 430px); }
  .download-hub { grid-template-columns: 1fr; padding: 22px; }
  .download-hub__visual { min-height: 370px; max-width: 500px; width: 100%; margin-inline: auto; }
  .download-hub__content { grid-row: 1; }
  .technology-note, .technology-note__copy { grid-template-columns: 1fr; gap: 24px; }
  .how-it-works { grid-template-columns: 1fr; gap: 30px; }
  .student-statement { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .brand-word, #theme-label { display: none; }
  .topbar-primary { gap: 8px; }
  .studio-hero__route { gap: 10px; }
  .studio-hero__route div { max-width: 152px; }
  .studio-art__coordinate--top, .studio-art__coordinate--bottom { display: none; }
  .studio-art__caption { font-size: .56rem; }
  .studio-path { padding: 24px; }
  .camera-card, .result-card, .input-card, .avatar-card { padding: 18px; border-radius: 20px; }
  .camera-stage { min-height: 280px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list article { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .studio-art__stage::before, .studio-hero.hero::after, .studio-hero__eyebrow > span, .download-phone, .app-page.app-page-enter, .app-page.app-page-enter > * { animation-duration: .01ms !important; animation-delay: 0s !important; }
  .studio-path, .feature-list article, .student-statement__principles article { transition-duration: .01ms; }
  .experience-scroll-line { display: none; }
  .experience-pointer-light { opacity: 0 !important; transition: none; }
  .vertex-motion-region, .vertex-motion-region *,
  .vertex-motion-region::before, .vertex-motion-region::after,
  .vertex-motion-region *::before, .vertex-motion-region *::after,
  .vertex-scene__ring, .vertex-scene__core { animation-play-state: paused !important; }
}

/* Fragmento da página Instalar. Movimento da cena pertence a vertex-experience. */
#page-aplicativo .download-hub {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(34px, 5.8vw, 92px);
  width: 100%;
  margin: 0;
  padding: clamp(40px, 5.6vw, 82px) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
#page-aplicativo .download-hub::before { display: none; }
#page-aplicativo .download-hub__visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  min-height: 620px;
  margin: 0;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 52% 50%, color-mix(in srgb, var(--brand-end) 12%, transparent), transparent 57%),
    linear-gradient(145deg, var(--surface-soft), var(--surface));
}
#page-aplicativo .download-hub__visual::before,
#page-aplicativo .download-hub__visual::after { display: none; }
#page-aplicativo .download-hub__visual-label,
#page-aplicativo .download-hub__visual-caption {
  position: absolute;
  z-index: 5;
  color: var(--ink-soft);
  font-family: ui-monospace, monospace;
  font-size: .57rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}
#page-aplicativo .download-hub__visual-label { top: 25px; left: 25px; }
#page-aplicativo .download-hub__visual-caption { right: 15px; bottom: 24px; left: 15px; text-align: center; }
#page-aplicativo .vertex-scene--app {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  pointer-events: none;
}
#page-aplicativo .download-phone {
  position: relative;
  z-index: 3;
  display: block;
  width: 249px;
  height: 480px;
  padding: 0;
  border: 7px solid color-mix(in srgb, var(--deep-surface) 85%, var(--ink));
  border-radius: 39px;
  color: var(--ink);
  background: var(--surface);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--ink) 20%, transparent),
    0 0 0 1px color-mix(in srgb, var(--ink) 30%, transparent),
    0 35px 65px -24px color-mix(in srgb, var(--brand-start) 32%, transparent),
    15px 16px 32px -16px color-mix(in srgb, var(--ink) 20%, transparent);
}
#page-aplicativo .download-phone__screen {
  display: grid;
  grid-template-rows: 10px 26px 27px minmax(150px, 1fr) 25px 35px auto;
  gap: 10px;
  height: 100%;
  padding: 14px 12px 20px;
  overflow: hidden;
  border-radius: 31px;
  background: var(--surface);
}
#page-aplicativo .download-phone__speaker {
  z-index: 4;
  top: 7px;
  left: calc(50% - 26px);
  width: 52px;
  height: 10px;
  border-radius: 0 0 9px 9px;
  background: color-mix(in srgb, var(--deep-surface) 85%, var(--ink));
}
#page-aplicativo .download-phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 5px;
  font-size: .48rem;
  font-weight: 700;
  line-height: 1;
}
#page-aplicativo .download-phone__signal {
  width: 21px;
  height: 6px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ink) 70%, transparent 70%);
}
#page-aplicativo .download-phone__brand { display: flex; align-items: center; gap: 6px; padding-inline: 3px; }
#page-aplicativo .download-phone__brand svg { width: 23px; height: 23px; filter: none; }
#page-aplicativo .download-phone__brand > span { font-size: .62rem; font-weight: 700; letter-spacing: .18em; }
#page-aplicativo .download-phone__brand > i { width: 13px; height: 8px; margin-left: auto; border-block: 1px solid var(--ink-soft); }
#page-aplicativo .download-phone__modes { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 7px; background: var(--surface-soft); }
#page-aplicativo .download-phone__modes > span { display: grid; place-items: center; color: var(--ink-soft); font-size: .48rem; }
#page-aplicativo .download-phone__modes > span:first-child { border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: var(--surface); }
#page-aplicativo .download-phone__camera {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(color-mix(in srgb, var(--line) 28%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 28%, transparent) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 53%, color-mix(in srgb, var(--brand-end) 11%, transparent), transparent 70%),
    var(--surface-soft);
  background-size: 23px 23px, 23px 23px, auto, auto;
}
#page-aplicativo .download-phone__camera::before {
  position: absolute;
  inset: 37px 19px 33px;
  content: '';
  border: 1px solid color-mix(in srgb, var(--brand-end) 32%, transparent);
  border-radius: 34px 34px 21px 21px;
}
#page-aplicativo .download-phone__camera-label { position: absolute; top: 10px; left: 11px; display: flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: .4rem; letter-spacing: .04em; }
#page-aplicativo .download-phone__camera-label > i { width: 4px; height: 4px; border-radius: 50%; background: var(--brand-end); }
#page-aplicativo .download-phone__hand { position: absolute; inset: 29px 15% 30px; width: 70%; height: calc(100% - 59px); color: var(--brand-end); filter: drop-shadow(0 0 7px var(--accent-glow)); }
#page-aplicativo .download-phone__camera-hint { position: absolute; right: 0; bottom: 12px; left: 0; color: var(--ink-soft); font-size: .43rem; text-align: center; }
#page-aplicativo .download-phone__message { display: flex; flex-direction: column; gap: 4px; padding-inline: 4px; }
#page-aplicativo .download-phone__message > span { color: var(--ink-soft); font-size: .35rem; font-weight: 600; letter-spacing: .1em; }
#page-aplicativo .download-phone__message > i { width: 76%; height: 3px; border-radius: 2px; background: var(--line); }
#page-aplicativo .download-phone__message > i:last-child { width: 49%; }
#page-aplicativo .download-phone__capture { display: flex; align-items: center; justify-content: space-around; color: var(--ink-soft); }
#page-aplicativo .download-phone__capture > span { font-size: .85rem; }
#page-aplicativo .download-phone__capture > i { width: 33px; height: 33px; padding: 5px; border: 1px solid var(--brand-end); border-radius: 50%; }
#page-aplicativo .download-phone__capture > i::before { display: block; width: 100%; height: 100%; content: ''; border-radius: 50%; background: linear-gradient(135deg, var(--brand-start), var(--brand-end)); }
#page-aplicativo .download-phone strong.download-phone__tagline { display: block; width: auto; min-height: 0; margin: 0 3px; color: var(--ink-soft); font-size: .4rem; font-weight: 500; line-height: 1.45; letter-spacing: .06em; text-align: center; text-transform: uppercase; text-wrap: balance; }
#page-aplicativo .download-phone__home { position: absolute; right: 0; bottom: 6px; left: 0; width: 51px; height: 3px; margin-inline: auto; border-radius: 3px; background: var(--ink); opacity: .65; }

#page-aplicativo .download-hub__content { min-width: 0; }
#page-aplicativo .download-hub__eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 22px; color: var(--ink-soft); font-size: .63rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
#page-aplicativo .download-hub__eyebrow > span { padding-right: 13px; border-right: 1px solid var(--line); color: var(--brand-mid); font-family: ui-monospace, monospace; font-weight: 400; }
#page-aplicativo .download-hub__content h1 { max-width: 12ch; font-size: clamp(3rem, 5.4vw, 5.6rem); font-weight: 500; line-height: 1.04; letter-spacing: -.065em; }
#page-aplicativo .download-hub__content h1 em { color: var(--text-accent); font-style: normal; }
#page-aplicativo .download-hub__lead { max-width: 53ch; margin: 25px 0 24px; color: var(--ink-soft); font-size: .85rem; line-height: 1.8; }
#page-aplicativo .download-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 24px; padding: 20px 0; border-block: 1px solid var(--line); list-style: none; }
#page-aplicativo .download-capabilities > li { display: grid; align-content: start; gap: 9px; min-width: 0; }
#page-aplicativo .download-capabilities > li > span { color: var(--brand-mid); font-family: ui-monospace, monospace; font-size: .53rem; }
#page-aplicativo .download-capabilities strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: .73rem; font-weight: 600; }
#page-aplicativo .download-capabilities small { display: block; max-width: 20ch; color: var(--ink-soft); font-size: .63rem; line-height: 1.6; }
#page-aplicativo .download-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#page-aplicativo .download-action { min-height: 78px; gap: 10px; padding: 14px 16px; border-radius: 12px; }
#page-aplicativo .download-action > span:last-child { min-width: 0; }
#page-aplicativo .download-action strong { font-size: .75rem; font-weight: 600; line-height: 1.4; }
#page-aplicativo .download-action small { margin-top: 4px; font-size: .59rem; line-height: 1.5; opacity: .8; }
#page-aplicativo #pwa-install-button { grid-column: 1 / -1; min-height: 82px; padding-inline: 19px; border-radius: 12px; }
#page-aplicativo #pwa-install-button strong { font-size: .9rem; }
#page-aplicativo #pwa-install-button small { font-size: .65rem; }
#page-aplicativo #pwa-install-button .download-action__icon { color: inherit; background: rgb(255 255 255 / .15); }
#page-aplicativo .secondary-button.download-action { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
#page-aplicativo .secondary-button .download-action__icon { width: 32px; height: 32px; border-radius: 8px; color: var(--ink-soft); background: var(--surface-soft); }
#page-aplicativo .download-action.is-unavailable { filter: none; opacity: .72; }
#page-aplicativo .download-hub__footnote { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 20px; margin-top: 18px; }
#page-aplicativo .download-hub__footnote > p { flex: 1 1 280px; max-width: 57ch; margin: 0; color: var(--ink-soft); font-size: .62rem; line-height: 1.7; }

@media (max-width: 1050px) {
  #page-aplicativo .download-hub { gap: 35px; }
  #page-aplicativo .download-hub__visual { min-height: 590px; }
  #page-aplicativo .download-phone { width: 235px; height: 465px; }
  #page-aplicativo .download-capabilities { gap: 12px; }
}
@media (max-width: 820px) {
  #page-aplicativo .download-hub { grid-template-columns: 1fr; gap: 32px; padding-block: 42px; }
  #page-aplicativo .download-hub__content { grid-row: 1; }
  #page-aplicativo .download-hub__content h1 { max-width: 15ch; font-size: clamp(3.3rem, 7.4vw, 4.8rem); }
  #page-aplicativo .download-hub__lead { max-width: 58ch; }
  #page-aplicativo .download-hub__visual { min-height: 580px; }
  #page-aplicativo .download-phone { width: 249px; height: 480px; }
}
@media (max-width: 520px) {
  #page-aplicativo .download-hub { gap: 26px; padding-block: 32px; }
  #page-aplicativo .download-hub__eyebrow { margin-bottom: 19px; font-size: .57rem; }
  #page-aplicativo .download-hub__content h1 { max-width: 12ch; font-size: clamp(2.5rem, 9.5vw, 3.7rem); line-height: 1.07; }
  #page-aplicativo .download-hub__lead { margin: 22px 0; font-size: .79rem; }
  #page-aplicativo .download-capabilities { grid-template-columns: 1fr; gap: 15px; padding-block: 18px; }
  #page-aplicativo .download-capabilities > li { grid-template-columns: 23px 1fr; gap: 9px; }
  #page-aplicativo .download-capabilities > li > span { padding-top: 3px; }
  #page-aplicativo .download-capabilities strong { margin-bottom: 3px; font-size: .76rem; }
  #page-aplicativo .download-capabilities small { max-width: none; font-size: .68rem; }
  #page-aplicativo .download-action { grid-template-columns: 30px minmax(0, 1fr); padding: 13px 11px; }
  #page-aplicativo .download-action strong { font-size: .7rem; }
  #page-aplicativo .download-action small { font-size: .57rem; }
  #page-aplicativo .secondary-button .download-action__icon { width: 28px; height: 28px; }
  #page-aplicativo .download-hub__visual { min-height: 490px; border-radius: 22px; }
  #page-aplicativo .download-phone { width: 222px; height: 425px; border-radius: 35px; }
  #page-aplicativo .download-phone__screen { grid-template-rows: 9px 24px 25px minmax(128px, 1fr) 25px 32px auto; gap: 8px; padding: 12px 11px 18px; border-radius: 27px; }
  #page-aplicativo .download-phone__brand > span { font-size: .58rem; }
  #page-aplicativo .download-phone__brand svg { width: 21px; height: 21px; }
  #page-aplicativo .download-phone__capture > i { width: 31px; height: 31px; }
  #page-aplicativo .download-hub__visual-label { top: 20px; left: 20px; font-size: .51rem; }
  #page-aplicativo .download-hub__visual-caption { bottom: 18px; font-size: .49rem; }
  #page-aplicativo .download-hub__footnote > p { font-size: .62rem; }
}
@media (max-width: 380px) {
  #page-aplicativo .download-actions { grid-template-columns: 1fr; }
  #page-aplicativo .download-action { min-height: 72px; padding-inline: 16px; }
}

/* Identidade orbital: ilustrações vetoriais, sem fotografias artificiais. */
.studio-path__glyph {
  display: block;
  width: 76px;
  height: 76px;
  margin: 24px 0 0;
  color: var(--brand-mid);
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  opacity: .85;
}
.studio-path h3 { margin-top: 18px; }
.app-page__heading {
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, .6fr);
  gap: 18px 54px;
}
.app-page__heading > .eyebrow { grid-column: 1 / -1; }
.app-page__heading > h1 { grid-column: 1; grid-row: 2; }
.app-page__heading > p {
  grid-column: 2;
  max-width: 340px;
  margin: 0;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.75;
}
.avatar-stage.avatar-stage--connections {
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--brand-end) 10%, transparent), transparent 65%), var(--surface-soft);
}
.avatar-stage.avatar-stage--connections::after { display: none; }
.conversation-scene {
  --scene-ring-size: 88%;
  width: 100%;
  height: 340px;
  aspect-ratio: auto;
}
.conversation-scene__label {
  position: absolute;
  top: 24px;
  color: var(--ink-soft);
  font: .55rem/1.5 ui-monospace, monospace;
  letter-spacing: .16em;
}
.conversation-glyph { width: min(78%, 320px); height: 260px; }
.conversation-glyph__back {
  fill: color-mix(in srgb, var(--brand-end) 10%, var(--surface));
  stroke: var(--brand-end);
  stroke-width: 1.3;
}
.conversation-glyph__front { fill: var(--surface); stroke: var(--brand-mid); stroke-width: 1.3; }
.conversation-glyph__wave { stroke: var(--brand-mid); stroke-width: 3; }
.conversation-glyph__points { stroke: var(--brand-end); stroke-width: 1.7; }
.conversation-glyph__points circle { fill: var(--surface); }
.conversation-scene__languages {
  position: absolute;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 17px;
  color: var(--ink-soft);
  font-size: .7rem;
}
.conversation-scene__languages > span:nth-child(2) { color: var(--brand-mid); font-size: 1.2rem; }
.avatar-stage--connections .avatar-state {
  right: 15px;
  bottom: 12px;
  left: 15px;
  color: var(--ink-soft);
  background: transparent;
  font-size: .67rem;
}
.technology-note.technology-note--connections {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px clamp(30px, 5vw, 72px);
  padding: clamp(32px, 5.3vw, 76px);
}
.technology-note--connections::before,
.technology-note--connections::after { display: none; }
.technology-note--connections .technology-note__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-column: 1;
  gap: 22px;
}
.technology-note--connections .technology-note__copy h1 {
  max-width: 600px;
  font-size: clamp(2.8rem, 5.1vw, 5.1rem);
  line-height: 1.03;
  text-wrap: balance;
}
.technology-note--connections #project-copy {
  max-width: 430px;
  margin: 0;
  color: var(--ink-soft);
  font-size: .93rem;
  line-height: 1.8;
}
.technology-note--connections .studio-text-link { font-size: .8rem; }
.connection-art { min-width: 0; margin: 0; }
.connection-scene { --scene-ring-size: 100%; width: 100%; }
.connection-scene__eyebrow {
  position: absolute;
  top: 0;
  color: var(--ink-soft);
  font: .5rem/1.5 ui-monospace, monospace;
  letter-spacing: .11em;
  text-align: center;
}
.connection-scene__nucleus {
  display: grid;
  place-items: center;
  width: clamp(88px, 9vw, 124px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--brand-mid) 45%, var(--line));
  border-radius: 50%;
  color: var(--brand-mid);
  background: var(--surface);
  box-shadow: 0 0 0 12px color-mix(in srgb, var(--brand-mid) 4%, transparent);
}
.connection-scene__nucleus svg { width: 65%; height: 65%; }
.connection-scene__node {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 5px;
  width: 76px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--brand-mid);
  background: var(--surface);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--ink) 4%, transparent);
}
.connection-scene__node > svg { width: 38px; height: 38px; }
.connection-scene__node > span { font: 2rem/1 Georgia, serif; }
.connection-scene__node > b { color: var(--ink-soft); font-size: .58rem; font-weight: 500; }
.connection-scene__node--sign { top: 19%; left: 8%; }
.connection-scene__node--text { top: 24%; right: 0; color: var(--brand-end); }
.connection-scene__node--voice { bottom: 3%; left: 31%; }
.connection-art figcaption { margin-top: 25px; color: var(--ink-soft); font-size: .72rem; line-height: 1.8; text-align: center; }
.connection-art figcaption strong { color: var(--ink); font-weight: 500; }
.technology-note--connections .technology-note__impact {
  display: flex;
  align-items: center;
  gap: 30px;
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  padding: 25px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.technology-note--connections .technology-note__impact h2 { flex-shrink: 0; margin: 0; }
.technology-note--connections .technology-note__impact p { font-size: clamp(1.1rem, 2vw, 1.55rem); }
#page-sobre .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#page-sobre .feature-list article { min-height: 230px; border-radius: 16px; }
#page-sobre .feature-list article > span { color: var(--brand-mid); }
@media (max-width: 800px) {
  .app-page__heading { grid-template-columns: 1fr; gap: 18px; }
  .app-page__heading > :is(.eyebrow, h1, p) { grid-column: 1; grid-row: auto; }
  .app-page__heading > p { max-width: 550px; }
  .technology-note.technology-note--connections { grid-template-columns: 1fr; gap: 32px; padding: 30px 24px; }
  .technology-note--connections .technology-note__copy h1 { font-size: clamp(2.7rem, 9vw, 4.5rem); }
  .connection-art { width: min(100%, 430px); margin-inline: auto; }
  .connection-scene__nucleus { width: 100px; }
  .technology-note--connections .technology-note__impact { display: block; }
  .technology-note--connections .technology-note__impact h2 { margin-bottom: 12px; }
}
@media (max-width: 480px) {
  .studio-path__glyph { width: 58px; height: 58px; }
  .conversation-scene { height: 315px; }
  .conversation-scene__label { font-size: .48rem; }
  .avatar-stage.avatar-stage--connections { min-height: 355px; }
  .connection-scene__node { width: 62px; height: 75px; border-radius: 15px; }
  .connection-scene__eyebrow { font-size: .43rem; }
  #page-sobre .feature-list { grid-template-columns: 1fr; }
  #page-sobre .feature-list article { min-height: 0; }
}

/* Um próximo passo por vez; ajustes secundários ficam em uma divulgação nativa. */
.guide-open-button {
  flex-shrink: 0;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  font: 600 .7rem/1.4 Manrope, sans-serif;
  cursor: pointer;
}
.guide-open-button:hover { border-color: var(--brand-mid); }
#page-tradutor .app-page__heading { padding: 25px 32px; gap: 10px 36px; }
#page-tradutor .app-page__heading h1 { max-width: 600px; font-size: clamp(1.9rem, 3.2vw, 3.1rem); }
#page-tradutor .app-page__heading > p { font-size: .8rem; line-height: 1.65; }
#page-tradutor .mode-button { min-height: 88px; }
.camera-card { scroll-margin-top: 95px; }
.camera-next-step {
  margin: 20px 0 14px;
  padding: 14px 16px;
  border-left: 3px solid var(--brand-mid);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  background: color-mix(in srgb, var(--brand-mid) 6%, var(--surface));
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.65;
}
.camera-controls.camera-controls--simple { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 20px; }
.camera-controls--simple > button { flex: 1 1 200px; min-height: 54px; }
.camera-controls--simple > [hidden] { display: none !important; }
.camera-card:is([data-camera-step="ready"], [data-camera-step="recording"], [data-camera-step="processing"], [data-camera-step="result"], [data-camera-step="training"]) #camera-button {
  flex: 0 1 auto;
  order: 2;
  min-width: 0;
  min-height: 44px;
  padding-inline: 15px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: transparent;
  box-shadow: none;
  font-size: .72rem;
}
.camera-card #record-button { min-height: 54px; justify-content: center; font-size: .88rem; }
.camera-more-options { margin-top: 19px; border-top: 1px solid var(--line); }
.camera-more-options > summary {
  min-height: 55px;
  padding: 18px 0;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  list-style-position: inside;
}
.camera-more-options > summary span { display: block; margin: 5px 0 0 14px; font-size: .65rem; font-weight: 400; line-height: 1.6; }
.camera-more-options > summary:focus-visible { outline: 2px solid var(--brand-mid); outline-offset: 4px; border-radius: 8px; }
.camera-more-options__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.camera-more-options__buttons > button { flex: 1 1 180px; min-height: 46px; font-size: .75rem; }
.camera-more-options .tracking-options { margin: 0 0 20px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.camera-more-options .tracking-options small { font-size: .67rem; line-height: 1.65; }
.camera-more-options #tracking-performance { font-size: .68rem; }
.camera-card .privacy-note { margin-top: 20px; font-size: .67rem; line-height: 1.65; }
.camera-card .camera-empty > span:last-child { max-width: 320px; font-size: .85rem; line-height: 1.65; }
@media (max-width: 480px) {
  .guide-open-button { min-height: 36px; padding: 8px; font-size: .62rem; }
  #page-tradutor .app-page__heading { padding: 20px; }
  #page-tradutor .app-page__heading h1 { font-size: 1.9rem; }
  .camera-next-step { padding: 12px; font-size: .8rem; }
  .camera-controls--simple > button { flex-basis: 100%; }
  .camera-card:is([data-camera-step="ready"], [data-camera-step="recording"], [data-camera-step="processing"], [data-camera-step="result"], [data-camera-step="training"]) #camera-button { flex-basis: 100%; }
  .camera-more-options__buttons > button { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .topbar { gap: 6px; padding-inline: 6px; }
  .topbar-primary { gap: 4px; }
  .topbar .app-menu-toggle { width: 34px; min-width: 34px; height: 36px; }
  .topbar .brand-mark { width: 23px; height: 27px; }
  .topbar-actions { gap: 5px; }
  .topbar .guide-open-button { padding-inline: 7px; }
}

/* Responsividade e movimento 2.2 — resultado perto da câmera e efeitos que
   usam apenas composição (transform/opacity), pausados fora da tela. */
.app-page__heading {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.app-page__heading::after {
  position: absolute;
  z-index: 0;
  right: -70px;
  bottom: -105px;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  content: '';
  pointer-events: none;
  opacity: .38;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand-end) 32%, transparent), transparent 68%);
  transform: translate3d(0, 0, 0) scale(.92);
  animation: experience-heading-glow 10s ease-in-out infinite;
}
.app-page__heading > * { position: relative; z-index: 1; }
.app-page__heading.is-motion-running::after,
.camera-stage.is-motion-running.has-video::after { will-change: transform, opacity; }

.camera-stage.has-video::after {
  position: absolute;
  z-index: 3;
  right: 0;
  left: 0;
  top: 0;
  height: 2px;
  content: '';
  pointer-events: none;
  opacity: .46;
  background: linear-gradient(90deg, transparent 8%, var(--brand-end), transparent 92%);
  box-shadow: 0 0 18px color-mix(in srgb, var(--brand-end) 72%, transparent);
  transform: translate3d(0, -8px, 0);
  animation: experience-camera-scan 5.8s linear infinite;
}

.translation-result.is-result-updated {
  animation: experience-result-arrival .48s cubic-bezier(.16, 1, .3, 1) both;
}

.camera-vocabulary {
  display: block;
  padding: 0;
  overflow: hidden;
}
.camera-vocabulary > summary {
  min-height: 62px;
  padding: 13px 44px 13px 15px;
  display: grid;
  gap: 3px;
  position: relative;
  cursor: pointer;
  list-style: none;
}
.camera-vocabulary > summary::-webkit-details-marker { display: none; }
.camera-vocabulary > summary::after {
  position: absolute;
  top: 50%;
  right: 16px;
  content: '+';
  color: var(--brand-end);
  font-size: 1.2rem;
  transform: translateY(-50%);
}
.camera-vocabulary[open] > summary::after { content: '−'; }
.camera-vocabulary > summary span {
  color: var(--ink-soft);
  font-size: .7rem;
  line-height: 1.45;
}
.camera-vocabulary__details {
  padding: 13px 15px 15px;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.camera-vocabulary__details small { color: var(--ink-soft); line-height: 1.55; }
.camera-vocabulary__details button { justify-self: start; white-space: normal; text-align: left; }

@keyframes experience-heading-glow {
  50% { opacity: .68; transform: translate3d(-38px, -22px, 0) scale(1.08); }
}
@keyframes experience-camera-scan {
  0%, 12% { opacity: 0; transform: translate3d(0, -8px, 0); }
  20% { opacity: .46; }
  76% { opacity: .34; }
  88%, 100% { opacity: 0; transform: translate3d(0, calc(100% + 410px), 0); }
}
@keyframes experience-result-arrival {
  from { opacity: .35; transform: translate3d(0, 10px, 0) scale(.985); }
}

@media (max-width: 920px) {
  #page-tradutor { padding-top: 8px; }
  #page-tradutor .workspace { gap: 12px; padding: 12px 0 42px; }
  #page-tradutor .camera-card { padding: 18px; }
  .result-card--mobile-docked {
    width: 100%;
    margin-top: 12px;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--deep-surface) 9%, transparent);
  }
  .result-card--mobile-docked .card-heading { margin-bottom: 10px; }
  .result-card--mobile-docked .card-heading h2 { font-size: 1.08rem; }
  .result-card--mobile-docked .output-choice { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .result-card--mobile-docked .choice-card { min-height: 54px; padding: 9px; }
  .result-card--mobile-docked .choice-icon { width: 30px; height: 30px; font-size: .72rem; }
  .result-card--mobile-docked .translation-result { min-height: 104px; margin-top: 10px; padding: 17px; }
  .result-card--mobile-docked .translation-result p { font-size: .92rem; line-height: 1.55; }
  .result-card--mobile-docked .result-actions { margin-top: 10px; }
  .result-card--mobile-docked .camera-vocabulary,
  .result-card--mobile-docked .recognition-details { margin-top: 10px; }
}

@media (max-width: 800px) {
  .studio-hero.hero { gap: 14px; padding: 26px 19px 18px; }
  .studio-hero h1 { font-size: clamp(2.8rem, 14vw, 4.7rem); }
  .studio-hero .hero-copy { margin-block: 16px; }
  .studio-hero__route { margin-top: 20px; }
  .studio-art { width: min(100%, 390px); margin-top: 8px; }
  .studio-art__stage { width: min(100%, 390px); }
  .studio-paths { margin-top: 12px; }
  .studio-path { min-height: 0; padding: 21px; }
  .studio-path h3 { margin-top: 26px; }
  .studio-manifesto { min-height: 160px; padding-block: 48px; }

  #page-tradutor .app-page__heading { gap: 5px; margin-bottom: 10px; padding: 16px; border-radius: 20px; }
  #page-tradutor .app-page__heading .eyebrow { font-size: .56rem; }
  #page-tradutor .app-page__heading h1 { font-size: clamp(1.55rem, 7vw, 2.2rem); line-height: 1.05; }
  #page-tradutor .app-page__heading > p { max-width: 40ch; font-size: .72rem; line-height: 1.45; }

  #page-tradutor .mode-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 16px; }
  #page-tradutor .mode-button { min-height: 72px; padding: 11px 10px; gap: 7px; }
  #page-tradutor .mode-button + .mode-button { border-top: 0; border-left: 1px solid var(--experience-edge); }
  #page-tradutor .mode-button .mode-arrow,
  #page-tradutor .mode-button > .mode-icon:last-child { display: none; }
  #page-tradutor .mode-button .mode-icon { width: 34px; height: 34px; }
  #page-tradutor .mode-button strong { font-size: .7rem; }
  #page-tradutor .mode-button small { font-size: .55rem; line-height: 1.3; }

  #page-tradutor .hero-proof { margin: 8px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  #page-tradutor .hero-proof li { min-width: 0; padding: 7px 5px; font-size: .56rem; text-align: center; }
  #page-tradutor .hero-proof strong { display: inline-grid; }

  #page-tradutor .card-heading { margin-bottom: 9px; align-items: center; flex-direction: row; gap: 9px; }
  #page-tradutor .card-heading h2 { font-size: 1.12rem; }
  #page-tradutor .camera-status { padding: 6px 8px; font-size: .62rem; }
  #page-tradutor .camera-next-step { margin: 8px 0; padding: 9px 11px; font-size: .72rem; line-height: 1.45; }
  #page-tradutor .camera-controls.camera-controls--simple { gap: 8px; margin-bottom: 10px; }
  #page-tradutor .camera-controls--simple > button,
  #page-tradutor .camera-card #record-button { min-height: 46px; }
  #page-tradutor .camera-stage { min-height: 0; aspect-ratio: 4 / 3; border-radius: 15px; }
  #page-tradutor .camera-empty { padding: 18px; }
  #page-tradutor .camera-empty-icon { width: 52px; height: 52px; }
  #page-tradutor .camera-empty > span:last-child { font-size: .72rem; line-height: 1.45; }
  #page-tradutor .camera-more-options { margin-top: 10px; }
  #page-tradutor .camera-more-options > summary { min-height: 44px; padding: 12px 0; }
  #page-tradutor .camera-permission { margin-top: 10px; padding: 12px; }
  #page-tradutor .camera-card .privacy-note { margin-top: 11px; }

  .download-hub { gap: 18px; padding: 18px; }
  .download-hub__visual { min-height: 300px; }
  .vertex-scene { width: min(100%, 350px); }
  .technology-note { padding: 26px 20px; }
  .how-it-works { gap: 22px; padding-block: 48px; }
  .student-statement { gap: 24px; padding-block: 54px; }
}

@media (max-width: 420px) {
  #page-tradutor .camera-card { padding: 13px; border-radius: 18px; }
  #page-tradutor .app-page__heading > p { display: none; }
  #page-tradutor .mode-button { min-height: 66px; padding-inline: 8px; }
  #page-tradutor .mode-button .mode-icon { width: 30px; height: 30px; }
  #page-tradutor .hero-proof li { display: grid; place-items: center; gap: 3px; }
  #page-tradutor .hero-proof strong { margin: 0; }
  .result-card--mobile-docked { padding: 13px; }
  .result-card--mobile-docked .choice-card small { display: none; }
}

.vertex-low-power .app-page__heading::after { opacity: .22; animation-duration: 18s; }
.vertex-low-power .camera-stage.has-video::after { animation-duration: 8s; }

@media (hover: none) {
  .mode-button:hover,
  .studio-path:hover,
  .feature-list article:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .app-page__heading::after,
  .camera-stage.has-video::after,
  .translation-result.is-result-updated { animation: none !important; }
}

/* Estabilidade móvel 2.2.1 — conteúdo visível é mais importante que a
   transição de entrada. Alguns navegadores Android podem suspender uma
   animação no primeiro quadro ou não recalcular content-visibility ao voltar
   para a aba, deixando a página transparente. */
@media (max-width: 920px), (hover: none), (pointer: coarse) {
  .app-page.app-page-enter,
  .app-page.app-page-enter > *,
  .app-page.app-page-enter .studio-hero__copy h1,
  .app-page.app-page-enter .studio-hero__copy .hero-copy,
  .app-page.app-page-enter .studio-hero__copy .home-actions,
  .app-page.app-page-enter .studio-art,
  body.motion-ready [data-motion],
  body.motion-ready .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 800px) {
  .studio-hero.hero { gap: 8px; padding: 22px 16px 15px; }
  .studio-hero h1 { font-size: clamp(2.65rem, 13.2vw, 4.15rem); }
  .studio-hero .hero-copy { margin-block: 12px; line-height: 1.6; }
  .studio-hero .home-actions { gap: 8px; }
  .studio-start.primary-button,
  .studio-text-link { min-height: 48px; }
  .studio-hero__route { margin-top: 14px; padding-top: 12px; }
  .studio-art { width: min(100%, 320px); margin-top: 0; }
  .studio-art__stage { width: min(100%, 320px); }
  .studio-art__caption { margin-top: 2px; }
}

/* VERTEX / Fluxo 3.0 — seções abertas, informação técnica e movimento. */
:root { --experience-gutter: clamp(12px, 1.5vw, 32px); --flow-rule: color-mix(in srgb, var(--ink) 19%, transparent); }
body { background: var(--paper); }
body::before { display: none; }
main { padding-top: 0; }
.topbar {
  top: 0; width: 100%; max-width: none; min-height: 86px; margin: 0 auto;
  padding: 14px var(--experience-gutter); border: 0; border-bottom: 1px solid var(--flow-rule);
  border-radius: 0; box-shadow: none; background: var(--paper); gap: 20px;
}
.brand-word { font-size: 1rem; letter-spacing: .2em; }
.app-menu-toggle { border: 0; border-radius: 50%; background: transparent; }
.studio-navigation { border: 0; padding: 0; border-radius: 0; background: transparent; gap: 24px; }
.studio-navigation a { min-height: 44px; padding: 0; border-radius: 0; font-size: .73rem; }
.studio-navigation a:hover, .studio-navigation a[aria-current="page"] { background: none; box-shadow: none; color: var(--brand-mid); }
.studio-navigation a::after { display: block; bottom: 4px; height: 1px; }
.theme-toggle__icon { border: 0; background: none; border-radius: 50%; }
.topbar-actions .vertex-guide-trigger { border: 0; background: transparent; box-shadow: none; }
.topbar-actions #install-button { min-height: 40px; border-radius: 999px; font-size: .67rem; }
.studio-hero.hero {
  isolation: isolate; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: 0; min-height: 660px; margin: 0; padding: 60px 0 42px;
  border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: visible;
}
.studio-hero.hero::before, .studio-hero.hero::after { content: none; }
.studio-hero__copy { max-width: 720px; z-index: 2; }
.studio-hero__eyebrow { margin: 0 0 30px; letter-spacing: .13em; font: 500 .62rem/1.6 ui-monospace, monospace; }
.studio-hero__eyebrow > span { background: var(--brand-end); box-shadow: none; }
.studio-hero h1 {
  max-width: none; width: max-content; max-width: 115%; margin: 0;
  font-size: clamp(4.4rem, 8.5vw, 9rem); font-weight: 500; letter-spacing: -.075em; line-height: .98;
}
.studio-hero h1 span {
  display: inline; padding: 0; font: inherit; letter-spacing: inherit;
  color: var(--brand-mid); background: none; -webkit-text-fill-color: currentColor;
}
:root[data-theme="dark"] .studio-hero h1 span { color: #789de8; }
.studio-hero .hero-copy { max-width: 400px; margin: 28px 0; font-size: .92rem; line-height: 1.75; }
.studio-hero .home-actions { flex-direction: row; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.studio-start.primary-button {
  min-height: 56px; width: auto; padding: 0; gap: 22px; color: var(--ink);
  background: none; border: 0; border-radius: 0; box-shadow: none;
  font-size: .88rem; font-weight: 600; text-align: left;
}
.studio-start.primary-button:hover { background: none; transform: none; box-shadow: none; }
:root[data-theme] .studio-hero .studio-start.primary-button { background: none; color: var(--ink); }
.studio-hero .home-actions > a { width: auto; padding-inline: 0; border-radius: 0; font-weight: 500; }
.studio-arrow { width: 53px; height: 53px; border: 1px solid var(--flow-rule); background: none; color: var(--ink); font-size: 1.5rem; }
.studio-start:hover .studio-arrow { transform: rotate(45deg); border-color: var(--brand-end); background: var(--brand-end); color: #fff; }
.studio-hero .home-actions .studio-text-link, .studio-text-link { width: auto; min-height: 46px; padding: 0; border: 0; border-bottom: 1px solid var(--flow-rule); border-radius: 0; background: none; font-size: .75rem; box-shadow: none; }
.studio-text-link:hover { background: none; color: var(--brand-mid); border-color: var(--brand-mid); }
.studio-hero__route { width: 100%; max-width: 420px; margin-top: 32px; padding-top: 15px; gap: 30px; border-top: 1px solid var(--flow-rule); }
.studio-hero__route > div { display: block; }
.studio-hero__route dt { margin-bottom: 6px; font: 500 .55rem/1.5 ui-monospace, monospace; letter-spacing: .1em; color: var(--ink-soft); }
.studio-hero__route dd { margin: 0; font-size: .74rem; }
.studio-art { position: relative; width: 100%; min-width: 0; margin: 0; align-self: center; }
.studio-art__stage { width: 100%; max-width: 690px; margin: 0; aspect-ratio: 1; background: transparent; overflow: visible; border-radius: 0; }
.studio-art__stage::before { width: 94%; height: 94%; border-color: var(--flow-rule); opacity: .4; }
.studio-art__stage::after { opacity: .45; background: radial-gradient(circle, color-mix(in srgb, var(--brand-mid) 18%, transparent), transparent 64%); }
.studio-art__eyebrow, .studio-art__coordinate { display: block; color: var(--ink-soft); font: 400 .52rem/1.4 ui-monospace, monospace; letter-spacing: .08em; }
.studio-art__eyebrow { top: 8%; left: 8%; padding: 0; border: 0; border-radius: 0; background: none; backdrop-filter: none; }
.studio-art__coordinate--top { top: 8%; right: 0; }
.studio-art__coordinate--bottom { bottom: 8%; left: 8%; }
.studio-art__orbit-label { border: 0; border-bottom: 1px solid var(--flow-rule); border-radius: 0; padding: 6px 8px; background: var(--paper); box-shadow: none; font-size: .52rem; }
.studio-art__add { border: 1px solid var(--flow-rule); background: var(--paper); box-shadow: none; }
.studio-art__caption { display: flex; gap: 18px; margin-top: 10px; padding: 15px 0 0; border-top: 1px solid var(--flow-rule); font-size: .61rem; }
.studio-art__caption strong { font-weight: 400; color: var(--ink-soft); }
.vertex-proof {
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 32px; margin: 0;
  padding: 30px 0 36px; border-top: 1px solid var(--flow-rule); border-bottom: 1px solid var(--flow-rule);
}
.vertex-proof > div { min-width: 0; }
.vertex-proof dt { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 14px; font-size: clamp(2rem, 3.9vw, 3.8rem); font-weight: 500; letter-spacing: -.06em; line-height: 1.15; }
.vertex-proof dt span { font-size: .77rem; font-weight: 400; letter-spacing: 0; }
.vertex-proof dd { margin: 9px 0 0; color: var(--ink-soft); font: 400 .58rem/1.5 ui-monospace, monospace; letter-spacing: .03em; }
.gesture-preview { padding-top: 72px; }
.gesture-preview > header { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 15px; margin-bottom: 30px; }
.gesture-preview .eyebrow { grid-column: 1 / -1; }
.gesture-preview h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 4rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.1; }
.gesture-preview header p, .gesture-preview__hint { color: var(--ink-soft); font-size: .8rem; }
.gesture-preview header p { margin: 0; }
.gesture-preview__hint { margin: 13px 0 0; line-height: 1.6; }
.gesture-preview__stage {
  --reveal-radius: 160px;
  --reveal-x: calc(50% - clamp(42px, 11vw, 132px));
  --reveal-y: 45%;
  position: relative;
  width: 100%;
  aspect-ratio: 2.25;
  border-radius: clamp(18px, 3.5vw, 44px);
  touch-action: manipulation;
}
.gesture-preview__stage:focus-visible { outline: 3px solid var(--brand-mid); outline-offset: 5px; }
.gesture-preview__stage > span { pointer-events: none; }
.gesture-preview__phone {
  position: absolute;
  inset: 0;
  border: 1px solid #b5a9df9e;
  border-radius: inherit;
  background: linear-gradient(150deg, #31324e, #151522 28%, #10111e 80%, #28283f);
  box-shadow: inset 0 0 0 3px #9490b02c, 0 16px 40px #0006;
}
.gesture-preview__lens {
  position: absolute;
  top: 50%;
  left: 1.05%;
  width: clamp(3px, .7vw, 9px);
  height: clamp(22px, 4.6vw, 56px);
  border-radius: 99px;
  background: radial-gradient(circle at 50% 20%, #47427e 0%, transparent 12%), #050610;
  box-shadow: 0 0 0 1px #9696ba30;
  transform: translateY(-50%);
}
.gesture-preview__screen {
  position: absolute;
  isolation: isolate;
  inset: clamp(6px, 1vw, 12px) clamp(11px, 2.7vw, 36px);
  overflow: hidden;
  border: 1px solid #a59bd151;
  border-radius: clamp(12px, 2.6vw, 33px);
  background: radial-gradient(ellipse at 50% 58%, #35294d, #161625 62%, #0d0e18);
  color: #e0d9f5;
}
.gesture-preview__orbit {
  position: absolute;
  inset: 16% 10%;
  border: 1px solid #c0b5ff33;
  border-radius: 50%;
  transform: rotate(-8deg);
  transition: transform .8s ease;
}
.gesture-preview__orbit::before, .gesture-preview__orbit::after {
  content: "";
  position: absolute;
  inset: 12% 7%;
  border: inherit;
  border-radius: inherit;
}
.gesture-preview__orbit::after { inset: 23% -6%; opacity: .65; }
.gesture-preview__status {
  position: absolute;
  bottom: 5%;
  left: 4%;
  padding: .42em .65em;
  border-radius: 4px;
  background: #13101ac9;
  color: #f1eafa;
  font-size: clamp(.64rem, 1.15vw, .84rem);
}
.gesture-preview__recording,
.gesture-preview__stage.is-preview-active .gesture-preview__waiting { display: none; }
.gesture-preview__stage.is-preview-active .gesture-preview__recording { display: inline; }
.gesture-preview__still { position: absolute; inset: 0; }
.gesture-preview__stage.is-preview-active .gesture-preview__still {
  mask-image: radial-gradient(circle at var(--reveal-x) var(--reveal-y), transparent var(--reveal-radius), #000 calc(var(--reveal-radius) + 37px));
}
.gesture-preview__portrait {
  position: absolute;
  bottom: -3%;
  left: 50%;
  height: 101%;
  aspect-ratio: 1;
  background: transparent 0 0 / 300% 200% no-repeat;
  transform: translateX(-50%);
}
.gesture-preview.has-portrait .gesture-preview__portrait {
  background-image: url("./assets/vertex-gesture-poses-alpha-v3.webp");
}
.gesture-preview__reveal {
  position: absolute;
  inset: 0;
  visibility: hidden;
  mask-image: radial-gradient(circle at var(--reveal-x) var(--reveal-y), #000 var(--reveal-radius), transparent calc(var(--reveal-radius) + 3px));
}
.gesture-preview__reveal--near {
  mask-image: radial-gradient(circle at var(--reveal-x) var(--reveal-y), #000 calc(var(--reveal-radius) - 1px), #0009 calc(var(--reveal-radius) + 11px), transparent calc(var(--reveal-radius) + 21px));
}
.gesture-preview__reveal--far {
  mask-image: radial-gradient(circle at var(--reveal-x) var(--reveal-y), #000a calc(var(--reveal-radius) + 3px), #0005 calc(var(--reveal-radius) + 21px), transparent calc(var(--reveal-radius) + 37px));
}
.gesture-preview__reveal--near .gesture-preview__portrait { filter: blur(3px); }
.gesture-preview__reveal--far .gesture-preview__portrait { filter: blur(9px); }
.vertex-low-power .gesture-preview__reveal--far { display: none; }
.vertex-low-power .gesture-preview__reveal--near .gesture-preview__portrait { filter: none; }

@supports not (mask-image: radial-gradient(black, transparent)) {
  .gesture-preview__stage.is-preview-active .gesture-preview__still { visibility: hidden; }
  .gesture-preview__reveal--near, .gesture-preview__reveal--far { display: none; }
}
.gesture-preview__reticle {
  position: absolute;
  top: var(--reveal-y);
  left: var(--reveal-x);
  box-sizing: border-box;
  width: calc(2 * var(--reveal-radius));
  height: calc(2 * var(--reveal-radius));
  visibility: hidden;
  border: 1px solid #b7a3eea8;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #18102660;
  transform: translate(-50%, -50%);
}
.gesture-preview__stage.is-preview-active :is(.gesture-preview__reveal, .gesture-preview__reticle) {
  visibility: visible;
}
.gesture-preview__viewfinder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity .3s ease;
}
.gesture-preview__scan {
  position: absolute;
  inset: 10% 0 auto;
  height: 1px;
  background: #e1ceff;
  box-shadow: 0 0 12px 2px #b19bff91;
}
.gesture-preview__rec {
  position: absolute;
  top: 4%;
  left: 4%;
  display: flex;
  align-items: center;
  gap: .45em;
  padding: .42em .65em;
  border-radius: 4px;
  background: #110d1ee8;
  color: #fff;
  font: 600 .68rem/1.2 ui-monospace, monospace;
  white-space: nowrap;
}
.gesture-preview__rec::before {
  width: .58em;
  height: .58em;
  border-radius: 50%;
  background: #ff657c;
  content: "";
}
.gesture-preview__stage.is-preview-active .gesture-preview__orbit { transform: rotate(3deg); }
.gesture-preview__stage.is-preview-active .gesture-preview__reveal .gesture-preview__portrait {
  background-position: 100% 0;
}
.gesture-preview__stage.is-preview-active .gesture-preview__viewfinder { opacity: 1; }
.gesture-preview.is-motion-running .is-preview-active .gesture-preview__reveal .gesture-preview__portrait {
  animation: gesture-preview-wave 2.1s step-end infinite;
}
.gesture-preview.is-motion-running .is-preview-active .gesture-preview__scan {
  animation: gesture-preview-scan 1.45s ease-in-out .58s infinite alternate both;
}
:root[data-theme="light"] .gesture-preview__phone {
  border-color: #9585a9;
  background: linear-gradient(150deg, #fffcff, #d5c8eb 40%, #f4effc);
  box-shadow: inset 0 0 0 3px #fff9, 0 12px 32px #5e467934;
}
:root[data-theme="light"] .gesture-preview__screen {
  border-color: #9e89bd90;
  background: radial-gradient(ellipse at 50% 58%, #faf7ff, #eee7f7 62%, #dcd1ec);
}
:root[data-theme="light"] .gesture-preview__orbit { border-color: #8973b34f; }
:root[data-theme="light"] .gesture-preview__status { color: #322344; background: #f9f4fbea; }
:root[data-theme="light"] .gesture-preview__scan { background: #7957b0; }
@keyframes gesture-preview-wave {
  0%, 100% { background-position: 0 0; }
  14% { background-position: 50% 0; }
  28% { background-position: 100% 0; }
  46% { background-position: 0 100%; }
  65% { background-position: 50% 100%; }
  82% { background-position: 100% 100%; }
}
@keyframes gesture-preview-scan { to { top: 90%; } }
body.studio-motion-paused .gesture-preview__stage *, body.vertex-document-hidden .gesture-preview__stage * { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .gesture-preview__stage * { animation: none !important; transition: none; }
}
.signal-lab { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8%; padding: 96px 0 60px; scroll-margin-top: 100px; }
.signal-lab__intro { grid-column: 1 / -1; }
.signal-lab__intro h2, .studio-paths__intro h2, .vertex-faq h2 {
  margin: 18px 0; font-size: clamp(2.3rem, 4.7vw, 5rem); font-weight: 500; line-height: 1.05; letter-spacing: -.06em;
}
.signal-lab__intro h2 em, .studio-paths__intro h2 em, .vertex-faq h2 em { font-style: normal; color: var(--ink-soft); }
.signal-lab__intro > p { margin: 22px 0 0; color: var(--ink-soft); font-size: .87rem; }
.signal-lab__visual { min-width: 0; margin: 12px 0 0; align-self: center; }
.signal-lab__hand { display: block; width: 100%; height: auto; overflow: visible; color: var(--ink-soft); }
.signal-lab__guides { opacity: .35; }
.signal-lab__skeleton { transform-origin: 50% 90%; animation: flow-hand-drift 9s ease-in-out infinite; animation-play-state: paused; }
.signal-lab__skeleton > path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.signal-lab__annotations { opacity: .65; }
.signal-lab__scan { opacity: .6; animation: flow-hand-scan 6s ease-in-out infinite; animation-play-state: paused; }
.signal-lab.is-motion-running .signal-lab__skeleton, .signal-lab.is-motion-running .signal-lab__scan { animation-play-state: running; }
.signal-lab__visual figcaption { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--flow-rule); color: var(--ink-soft); font: 400 .55rem/1.5 ui-monospace, monospace; letter-spacing: .08em; }
.signal-lab__steps { margin: 45px 0 0; padding: 0; list-style: none; align-self: center; }
.signal-lab__steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--flow-rule); }
.signal-lab__steps li > span { padding-top: 5px; font: 400 .63rem/1.4 ui-monospace, monospace; color: var(--brand-mid); }
.signal-lab__steps h3 { margin: 0 0 12px; font-size: clamp(1.15rem, 1.7vw, 1.55rem); letter-spacing: -.035em; font-weight: 500; }
.signal-lab__steps p { max-width: 390px; margin: 0; color: var(--ink-soft); font-size: .83rem; line-height: 1.75; }
.signal-lab__security { grid-column: 1 / -1; display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 22px 0 0; margin-top: 22px; color: var(--ink-soft); font-size: .78rem; text-decoration: none; }
.signal-lab__security span { font-size: 1.7rem; }
.signal-lab__security:hover { color: var(--brand-mid); }
.vertex-marquee { margin: 20px calc(-1 * var(--experience-gutter)) 0; overflow: hidden; border-block: 1px solid var(--flow-rule); padding-block: 22px; color: var(--ink-soft); }
.vertex-marquee__track { display: flex; width: max-content; animation: flow-marquee 34s linear infinite; animation-play-state: paused; }
.vertex-marquee.is-motion-running .vertex-marquee__track { animation-play-state: running; }
.vertex-marquee__track > span { display: flex; align-items: center; gap: .4em; padding-right: .4em; white-space: nowrap; font-size: clamp(2.9rem, 6.7vw, 7rem); line-height: 1; font-weight: 500; letter-spacing: -.06em; }
.vertex-marquee i { color: var(--brand-mid); font-style: normal; }
.studio-paths { display: block; margin: 0; padding: 90px 0 30px; border: 0; gap: 0; }
.studio-paths__intro { display: block; padding: 0 0 28px; border: 0; background: none; }
.studio-paths__intro::after { display: none; }
.studio-path {
  display: grid; grid-template-columns: 120px 50px minmax(0, 1fr) minmax(220px, .75fr) 50px;
  align-items: center; gap: 24px; min-height: 160px; padding: 30px 0; border: 0 !important; border-top: 1px solid var(--flow-rule) !important;
  border-radius: 0; background: none; box-shadow: none; overflow: visible;
}
.studio-path::before, .studio-path::after { display: none; }
.studio-path:hover, .studio-path:focus-visible { transform: none; background: none; box-shadow: none; }
.studio-path:hover h3 { color: var(--brand-mid); transform: translateX(8px); }
.studio-path__index { font: 400 .56rem/1.5 ui-monospace, monospace; letter-spacing: .05em; }
.studio-path__glyph { position: static; width: 46px; height: 46px; opacity: .7; }
.studio-path h3 { margin: 0; font-size: clamp(1.5rem, 2.9vw, 3rem); letter-spacing: -.05em; line-height: 1.1; font-weight: 500; transition: color .2s ease, transform .3s ease; }
.studio-path h3 br { display: none; }
.studio-path p { margin: 0; font-size: .8rem; line-height: 1.65; }
.studio-path__arrow { position: static; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--flow-rule); border-radius: 50%; font-size: 1.5rem; transition: transform .25s ease; }
.studio-path:hover .studio-path__arrow { transform: rotate(45deg); }
.vertex-faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9%; padding: 80px 0; border-bottom: 1px solid var(--flow-rule); }
.vertex-faq details { border-bottom: 1px solid var(--flow-rule); }
.vertex-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 84px; padding: 22px 0; cursor: pointer; font-size: .91rem; list-style: none; }
.vertex-faq summary::-webkit-details-marker { display: none; }
.vertex-faq summary > span { font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.vertex-faq details[open] summary > span { transform: rotate(45deg); }
.vertex-faq details p { margin: 0 0 24px; font-size: .83rem; line-height: 1.8; color: var(--ink-soft); }
.studio-manifesto.vertex-cta { min-height: 0; margin: 0; padding: 90px 0 100px; text-align: left; border: 0; background: none; }
.vertex-cta::before, .vertex-cta::after { content: none; }
.vertex-cta h2 { max-width: 1040px; margin: 28px 0 38px; font-size: clamp(2.5rem, 6.4vw, 6.3rem); line-height: 1.08; font-weight: 500; letter-spacing: -.06em; }
.vertex-cta h2 em { font: inherit; color: var(--brand-mid); }
.vertex-cta__link { display: inline-flex; align-items: center; gap: 34px; color: var(--ink); font-size: 1rem; text-decoration: none; }
.vertex-cta__link > span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: #fff; background: linear-gradient(130deg, var(--brand-mid), var(--brand-end)); font-size: 2rem; transition: transform .3s ease; }
.vertex-cta__link:hover > span { transform: rotate(45deg); }

/* As páginas de apresentação compartilham o espaço aberto. Controles do
   tradutor continuam agrupados para manter câmera e resultado legíveis. */
.download-hub, .technology-note.technology-note--connections, .community-hub, .support-hub {
  margin-top: 0; padding: 64px 0; border: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible;
}
.download-hub { gap: 7%; }
.download-hub__visual { background: none; border: 0; border-radius: 0; min-height: 520px; }
.download-hub__content h1 { font-size: clamp(2.8rem, 5.3vw, 5.9rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.04; }
.download-hub__content h1 em { font: inherit; color: var(--brand-mid); }
.download-capabilities { border: 0; background: none; }
.download-capabilities li { border-radius: 0; background: none; padding-inline: 0; border-bottom: 1px solid var(--flow-rule); }
.download-actions { gap: 12px; }
.download-actions .download-action { border-radius: 10px; }
.technology-note--connections .technology-note__copy { gap: 24px; }
.technology-note--connections .technology-note__copy h1 { max-width: 12ch; font-size: clamp(3rem, 5.6vw, 6.2rem); font-weight: 500; letter-spacing: -.065em; }
.technology-note--connections .technology-note__impact { padding: 28px 0 0; margin-top: 30px; border: 0; border-top: 1px solid var(--flow-rule); border-radius: 0; background: none; box-shadow: none; }
.connection-scene__node { box-shadow: none; }
.feature-list { display: block; }
.feature-list article { min-height: 0; padding: 25px 0; border: 0 !important; border-top: 1px solid var(--flow-rule) !important; border-radius: 0; background: none; box-shadow: none; }
.feature-list article:hover { background: none; transform: none; }
.student-statement > header { padding-left: 0; }
.student-statement > header::before { content: none; }
.student-statement__principles article { padding: 24px 0; border: 0 !important; border-top: 1px solid var(--flow-rule) !important; border-radius: 0; background: none; }
.student-statement__principles article:hover { transform: none; }
.community-hub__intro h1, .support-hub__intro h1 { max-width: 950px; font-size: clamp(3rem, 6.4vw, 6.5rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.03; }
.community-hub__intro, .support-hub__intro { max-width: none; }
.community-channels { display: block; margin-top: 44px; }
.community-card { min-height: 140px; padding: 24px 0; border: 0; border-top: 1px solid var(--flow-rule); border-radius: 0; background: none; box-shadow: none; }
.community-card:hover { transform: none; background: none; }
.community-card__icon { background: none; border: 0; border-radius: 0; }
.community-card strong { font-size: clamp(1.3rem, 2.6vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; }
.community-card em { color: var(--brand-mid); }
.support-contact { padding: 38px 0; margin-top: 40px; border: 0; border-top: 1px solid var(--flow-rule); border-bottom: 1px solid var(--flow-rule); border-radius: 0; background: none; box-shadow: none; }
.support-contact__mark { background: none; border: 0; border-radius: 0; }
.support-tips { gap: 40px; }
.support-tips article { padding: 22px 0; border: 0; border-radius: 0; border-top: 1px solid var(--flow-rule); background: none; box-shadow: none; }
body > footer { padding-block: 32px; border-top: 1px solid var(--flow-rule); background: none; }
.brand--footer { font-size: 1.15rem; letter-spacing: .16em; }

@keyframes flow-hand-drift { 50% { transform: rotate(-5deg) translate3d(4px, -8px, 0); } }
@keyframes flow-hand-scan { 0%, 100% { transform: translateY(-130px); opacity: .1; } 50% { transform: translateY(180px); opacity: .6; } }
@keyframes flow-marquee { to { transform: translateX(-50%); } }
body.studio-motion-paused :is(.signal-lab__skeleton, .signal-lab__scan, .vertex-marquee__track),
body.vertex-document-hidden :is(.signal-lab__skeleton, .signal-lab__scan, .vertex-marquee__track) { animation-play-state: paused !important; }
.vertex-low-power .signal-lab__skeleton { animation-duration: 14s; }
.vertex-low-power .vertex-marquee__track { animation-duration: 48s; }
@media (max-width: 1100px) {
  .topbar { grid-template-columns: 1fr auto; }
  .studio-navigation { display: none; }
  .studio-hero.hero { min-height: 600px; }
  .studio-hero h1 { font-size: clamp(3.9rem, 8.5vw, 6rem); }
  .studio-path { grid-template-columns: 100px minmax(0, 1fr) minmax(200px, .7fr) 48px; gap: 22px; }
  .studio-path__glyph { display: none; }
}
@media (max-width: 800px) {
  .topbar { min-height: 72px; padding-block: 10px; gap: 12px; }
  .studio-hero.hero { grid-template-columns: 1fr; min-height: 0; padding: 38px 0 26px; gap: 0; }
  .studio-hero__copy { max-width: none; }
  .studio-hero__eyebrow { margin-bottom: 24px; font-size: .54rem; }
  .studio-hero h1 { width: auto; max-width: 100%; font-size: clamp(3.4rem, 12.5vw, 6.3rem); line-height: 1; }
  .studio-hero .hero-copy { max-width: 40ch; margin: 21px 0; font-size: .85rem; line-height: 1.65; }
  .studio-hero .home-actions { gap: 10px 23px; }
  .studio-start.primary-button { min-height: 50px; font-size: .83rem; gap: 20px; }
  .studio-arrow { width: 46px; height: 46px; }
  .studio-text-link { font-size: .7rem; min-height: 38px; }
  .studio-hero__route { margin-top: 24px; max-width: none; }
  .studio-art { width: min(100%, 420px); justify-self: center; margin-top: 14px; }
  .studio-art__stage { width: 100%; max-width: none; }
  .studio-art__eyebrow, .studio-art__coordinate { font-size: .44rem; }
  .studio-art__caption { padding-top: 12px; margin-top: 0; font-size: .56rem; }
  .vertex-proof { grid-template-columns: 1fr 1fr; gap: 23px 18px; padding-block: 25px; }
  .vertex-proof > div:last-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--flow-rule); }
  .vertex-proof dt { font-size: 2.5rem; display: block; }
  .vertex-proof dt span { display: block; margin-top: 6px; font-size: .68rem; letter-spacing: 0; }
  .vertex-proof dd { font-size: .5rem; }
  .gesture-preview { padding-top: 42px; }
  .gesture-preview > header { display: block; margin-bottom: 22px; }
  .gesture-preview h2 { margin-top: 15px; font-size: 2rem; }
  .gesture-preview header p { margin-top: 13px; font-size: .74rem; }
  .gesture-preview__stage { aspect-ratio: 1.6; }
  .gesture-preview__rec { font-size: .55rem; }
  .signal-lab { grid-template-columns: 1fr; gap: 0; padding: 54px 0 32px; scroll-margin-top: 84px; }
  .signal-lab__intro h2, .studio-paths__intro h2, .vertex-faq h2 { font-size: clamp(2.2rem, 8.5vw, 3.5rem); }
  .signal-lab__intro > p { margin-top: 18px; font-size: .78rem; }
  .signal-lab__visual { max-width: 470px; width: 100%; justify-self: center; margin-top: 28px; }
  .signal-lab__steps { margin: 10px 0 0; }
  .signal-lab__steps li { grid-template-columns: 28px minmax(0,1fr); gap: 12px; padding-block: 22px; }
  .signal-lab__steps h3 { font-size: 1.19rem; }
  .signal-lab__steps p { max-width: none; font-size: .8rem; }
  .signal-lab__security { margin-top: 5px; font-size: .7rem; }
  .vertex-marquee { margin-top: 20px; padding-block: 18px; }
  .vertex-marquee__track > span { font-size: 3.5rem; }
  .studio-paths { padding: 55px 0 8px; }
  .studio-paths__intro { padding-bottom: 22px; }
  .studio-path { grid-template-columns: minmax(0, 1fr) 45px; min-height: 0; padding: 24px 0; gap: 13px; }
  .studio-path__index { grid-column: 1; font-size: .53rem; }
  .studio-path h3 { grid-column: 1; font-size: 1.75rem; }
  .studio-path p { grid-column: 1; font-size: .76rem; }
  .studio-path p br { display: none; }
  .studio-path__arrow { grid-column: 2; grid-row: 1 / 4; width: 44px; height: 44px; }
  .vertex-faq { grid-template-columns: 1fr; gap: 22px; padding: 50px 0; }
  .vertex-faq summary { min-height: 78px; font-size: .83rem; }
  .vertex-faq details p { font-size: .78rem; }
  .studio-manifesto.vertex-cta { padding: 56px 0 65px; }
  .vertex-cta > .eyebrow { font-size: .5rem; letter-spacing: .08em; }
  .vertex-cta h2 { margin: 22px 0 30px; font-size: clamp(2.2rem, 8.4vw, 3.5rem); }
  .vertex-cta__link { font-size: .87rem; }
  .vertex-cta__link > span { width: 56px; height: 56px; }
  .download-hub, .technology-note.technology-note--connections, .community-hub, .support-hub { padding: 40px 0; gap: 28px; }
  .download-hub__visual { min-height: 330px; }
  .download-hub__content h1, .technology-note--connections .technology-note__copy h1, .community-hub__intro h1, .support-hub__intro h1 { font-size: clamp(2.5rem, 10vw, 4.5rem); }
  .community-card { min-height: 125px; }
  .community-card strong { overflow-wrap: anywhere; }
  .support-contact { padding-block: 24px; margin-top: 26px; }
  .support-tips { gap: 0; }
}
@media (max-width: 380px) {
  .topbar { gap: 6px; }
  .topbar-actions { gap: 1px; }
  .topbar-actions #install-button { font-size: .58rem; padding-inline: 10px; max-width: 95px; }
  .studio-hero h1 { font-size: 12.2vw; }
  .studio-art__caption { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .signal-lab__skeleton, .signal-lab__scan, .vertex-marquee__track { animation: none !important; }
  .studio-path h3, .studio-path__arrow, .studio-arrow, .vertex-cta__link > span { transition: none; }
}

/* Direção editorial do Vertex. */
.topbar {
  min-height: 72px;
  background: var(--paper);
  border-color: var(--line);
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(12px, 1.4vw, 22px);
}

.topbar .brand-word {
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 900 1.2rem/1 var(--editorial-display);
  letter-spacing: -.06em;
}

.studio-navigation { gap: clamp(12px, 1.6vw, 24px); }
.studio-navigation a,
.topbar .guide-open-button {
  font-weight: 750;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.topbar #app-menu-toggle,
.topbar #theme-toggle {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  box-shadow: none;
}

.topbar #app-menu { border-radius: 9px; }
:root[data-theme] .topbar #install-button,
:root[data-theme] main .primary-button:not(:disabled):not([aria-pressed="true"]) {
  border-radius: 6px;
}

#page-inicio .studio-hero.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 4vw, 64px);
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: clamp(470px, calc(90svh - 72px), 760px);
  margin-inline: calc(-1 * var(--experience-gutter));
  padding: clamp(46px, 7svh, 80px) var(--experience-gutter) clamp(24px, 4vw, 54px);
  background: var(--paper);
}

.editorial-cover { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.editorial-cover__contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink);
  opacity: .11;
}
.editorial-cover__word {
  position: absolute;
  top: 4%;
  left: 50%;
  color: color-mix(in srgb, var(--ink) 11%, var(--paper));
  font: 900 clamp(8rem, 24vw, 23rem)/.82 var(--editorial-display);
  letter-spacing: -.085em;
  transform: translateX(-53%);
  white-space: nowrap;
}
.editorial-cover__index {
  position: absolute;
  right: var(--experience-gutter);
  top: 31px;
  font: 700 .67rem/1.2 ui-monospace, monospace;
  color: var(--ink-soft);
}

.studio-hero .studio-hero__copy { justify-self: start; align-self: center; max-width: none; text-align: left; }
.studio-hero .studio-hero__eyebrow { margin-bottom: 18px; color: var(--ink); }
#page-inicio .studio-hero h1 {
  width: auto;
  max-width: none;
  color: var(--ink);
  font: 850 clamp(3rem, 5.35vw, 6rem)/.94 var(--editorial-display);
  letter-spacing: -.06em;
  text-transform: uppercase;
}
.studio-hero .hero-copy { margin-block: 21px; color: var(--ink); }
#page-inicio .studio-hero .studio-art { justify-self: center; }
#page-inicio .studio-hero :is(.studio-art__stage, .studio-art__caption) {
  max-width: min(590px, 68svh);
  margin-inline: auto;
}
.vertex-proof {
  margin-inline: calc(-1 * var(--experience-gutter));
  padding-inline: var(--experience-gutter);
}
.vertex-proof dt { font-weight: 850; font-variant-numeric: tabular-nums; }

#page-inicio :is(.gesture-preview h2, .signal-lab__intro h2, .studio-paths__intro h2, .vertex-faq h2, .vertex-cta h2),
#page-tradutor .app-page__heading h1,
#page-aplicativo .download-hub__content h1,
#page-sobre .technology-note__copy h1,
#page-redes .community-hub__intro h1,
#page-suporte .support-hub__intro h1 {
  font-family: var(--editorial-display);
  font-weight: 900;
  letter-spacing: -.058em;
  line-height: 1;
  text-transform: uppercase;
}
#page-inicio :is(.signal-lab__intro, .studio-paths__intro, .vertex-faq) h2 em,
#page-aplicativo .download-hub__content h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--text-accent);
}
#page-inicio .gesture-preview h2 { font-size: clamp(2rem, 4.6vw, 4.85rem); text-wrap: balance; }
#page-inicio .gesture-preview { padding-top: clamp(38px, 7vw, 96px); }
#page-inicio .vertex-marquee {
  margin-inline: calc(-1 * var(--experience-gutter));
  background: var(--paper);
  color: var(--ink);
}
#page-inicio .vertex-marquee__track i { color: var(--text-accent); }
#page-inicio .vertex-marquee__track > span { font-weight: 900; }

#page-inicio .studio-manifesto.vertex-cta {
  margin-inline: calc(-1 * var(--experience-gutter));
  padding-inline: var(--experience-gutter);
}
#page-inicio .vertex-cta h2 em { font-family: Georgia, serif; font-weight: 400; }

#page-tradutor .app-page__heading {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding-inline: 0;
  background: transparent;
  box-shadow: none;
}
#page-tradutor .app-page__heading h1 { font-size: clamp(2.15rem, 5vw, 5.25rem); }
#page-tradutor .app-page__heading::after { opacity: .36; }
#page-tradutor .mode-button { border-radius: 8px; }
#page-aplicativo .download-hub__visual {
  border-radius: 0;
  background-color: var(--surface-soft);
  background-image: repeating-radial-gradient(ellipse at center, transparent 0 29px, color-mix(in srgb, var(--ink) 13%, transparent) 30px, transparent 31px 56px);
}
#page-aplicativo .download-hub__content h1,
#page-sobre .technology-note__copy h1,
#page-redes .community-hub__intro h1,
#page-suporte .support-hub__intro h1 { overflow-wrap: break-word; }
#page-sobre .connection-art { background: var(--surface-soft); border-radius: 0; }

#page-redes .community-hub__intro,
#page-suporte .support-hub__intro {
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 3.1vw, 48px);
  background: var(--surface-soft);
}
:is(#page-redes, #page-suporte) :is(.community-hub__intro, .support-hub__intro)::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(ellipse at right bottom, transparent 0 30px, color-mix(in srgb, var(--ink) 12%, transparent) 31px, transparent 32px 58px);
}
/* Mesma margem do restante do site, sem somar outro recuo à área principal. */
:is(.community-hub, .support-hub) {
  width: 100%;
  max-width: none;
  min-height: 0;
  padding-block: clamp(22px, 3.4vw, 46px);
}
:is(#page-redes, #page-suporte) :is(.community-hub__intro, .support-hub__intro) h1 {
  max-width: 24ch;
  margin: 10px 0 14px;
  font-size: clamp(1.9rem, 4.35vw, 4.35rem);
  line-height: 1.04;
  text-wrap: balance;
}
:is(#page-redes, #page-suporte) :is(.community-hub__intro, .support-hub__intro) > p {
  max-width: 61ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(.94rem, 1.3vw, 1.08rem);
  line-height: 1.55;
}
.community-channels { margin-top: clamp(18px, 2.7vw, 34px); }
.community-card { min-height: 0; gap: clamp(12px, 2vw, 24px); }
.community-card > span:last-child { min-width: 0; }
.community-card__icon { width: 48px; height: 48px; }
.community-card strong { font-size: clamp(1.12rem, 2.25vw, 2rem); }
#page-redes .community-card { border-color: var(--line); }
#page-redes .community-card em { color: var(--text-accent); }
#page-suporte .support-contact {
  grid-template-columns: auto minmax(0, 1fr) minmax(13rem, 17rem);
  gap: 16px clamp(14px, 2.4vw, 32px);
  margin-block: clamp(16px, 2.7vw, 34px) 22px;
  padding-block: clamp(16px, 2vw, 26px);
  border-color: var(--line);
}
.support-contact__mark { align-self: start; width: 52px; height: 52px; }
.support-contact__mark svg { width: 38px; height: 38px; }
.support-contact h2 { font-size: clamp(1.28rem, 2.25vw, 1.95rem); }
.support-contact p { overflow-wrap: anywhere; }
.support-actions { min-width: 0; }
.support-actions a { min-height: 46px; }
.support-tips article { min-height: 0; }
.support-tips h2 { margin-top: 12px; }
#page-suporte .support-tips article > span { color: var(--text-accent); }
body > footer {
  padding-block: clamp(32px, 6vw, 80px);
}
body > footer .brand--footer {
  color: var(--ink);
  background: none;
  -webkit-text-fill-color: currentColor;
  font: 900 clamp(1.8rem, 5vw, 4.6rem)/.9 var(--editorial-display);
  letter-spacing: -.075em;
}

/* Em telas largas, a cena acompanha a largura sem crescer além da área visível. */
@media (min-width: 801px) {
  .gesture-preview__stage {
    aspect-ratio: auto;
    height: clamp(260px, 43vw, min(700px, 77svh));
  }
}

@media (max-width: 1180px) {
  .topbar { grid-template-columns: minmax(0, 1fr) auto; }
  .studio-navigation { display: none; }
}

@media (max-width: 860px) {
  #page-suporte .support-contact {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .support-actions, .support-contact__privacy { grid-column: 2; }
}

@media (max-width: 560px) {
  .community-card__icon { width: 34px; height: 34px; }
  .community-card__icon svg { width: 26px; height: 26px; }
  #page-suporte .support-contact { column-gap: 10px; }
  .support-contact__mark { width: 32px; height: 32px; }
  .support-contact__mark svg { width: 26px; height: 26px; }
  .support-actions, .support-contact__privacy { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  #page-inicio .studio-hero.hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 12px;
    padding-block: 48px 24px;
  }
  .editorial-cover__word { top: 15%; font-size: 24vw; }
  .editorial-cover__index { top: 15px; font-size: .51rem; }
  .studio-hero .studio-hero__copy { width: 100%; max-width: none; }
  #page-inicio .studio-hero h1 { font-size: clamp(2.15rem, 8.6vw, 4.5rem); }
  .studio-hero .studio-hero__eyebrow { margin-bottom: 10px; }
  .studio-hero .hero-copy { margin-block: 12px; }
  #page-inicio .studio-hero .studio-art { width: min(100%, 390px); margin-top: 0; }
  #page-aplicativo .download-hub__visual { min-height: clamp(290px, 105vw, 450px); }
}

@media (max-width: 380px) {
  #page-suporte .support-contact { grid-template-columns: minmax(0, 1fr); }
  .support-contact__mark { display: none; }
}

/* Ritmo vertical compartilhado. Controles e conteúdo continuam em fluxo. */
.app-page { min-height: 0; }
body > footer { padding-block: clamp(22px, 3vw, 44px); }

#page-inicio .studio-hero.hero {
  min-height: 0;
  padding-block: clamp(28px, 5.5svh, 58px) clamp(22px, 3vw, 42px);
}
#page-inicio .studio-hero :is(.studio-art__stage, .studio-art__caption) {
  max-width: min(540px, 61svh);
}
.vertex-proof { padding-block: clamp(15px, 2vw, 26px); }
.vertex-proof dd { margin-top: 5px; }
#page-inicio .gesture-preview { padding-top: clamp(24px, 4vw, 54px); }
.gesture-preview > header { gap: 9px 20px; margin-bottom: 16px; }
.signal-lab { gap: 0 5%; padding: clamp(30px, 5vw, 64px) 0 22px; }
.signal-lab__visual { width: min(100%, 450px); justify-self: center; }
.signal-lab__steps { margin-top: 0; }
.signal-lab__steps li { padding-block: 13px; }
.signal-lab__steps h3 { margin-bottom: 5px; }
.signal-lab__security { min-height: 44px; margin-top: 8px; padding-top: 6px; }
.vertex-marquee { margin-top: 12px; padding-block: 10px; }
.vertex-marquee__track > span { font-size: clamp(2rem, 4.3vw, 4.6rem); }
.studio-paths { padding: clamp(24px, 4vw, 52px) 0 12px; }
.studio-paths__intro { padding-bottom: 12px; }
.studio-path { min-height: 0; padding-block: clamp(12px, 1.6vw, 20px); }
.studio-path h3 { margin-block: 0; font-size: clamp(1.25rem, 2.2vw, 2.4rem); }
.vertex-faq { gap: 5%; padding-block: clamp(22px, 4vw, 52px); }
.vertex-faq summary { min-height: 48px; padding-block: 10px; }
#page-inicio .studio-manifesto.vertex-cta { padding-block: clamp(24px, 4vw, 52px); }
#page-inicio .vertex-cta h2 { margin: 12px 0 18px; font-size: clamp(2rem, 5vw, 5rem); }
.vertex-cta__link > span { width: 48px; height: 48px; }

#page-tradutor .app-page__heading { padding-block: 14px; }
#page-tradutor .mode-button { min-height: 64px; padding-block: 10px; }
#page-tradutor .workspace { padding-bottom: clamp(15px, 2.4vw, 32px); }
#page-tradutor .sign-catalog { margin-top: 0; padding: clamp(12px, 2.1vw, 28px); }
.sign-catalog__copy { margin-block: 12px; }
.sign-catalog__results { gap: 8px; }
.sign-catalog__item { padding: 10px; }
.sign-catalog__item small { margin-block: 4px; }
.sign-catalog__item button { min-height: 36px; }

#page-aplicativo .download-hub {
  gap: clamp(16px, 3vw, 50px);
  padding-block: clamp(20px, 3vw, 42px);
}
#page-aplicativo .download-hub__visual { min-height: clamp(505px, 64svh, 570px); }
#page-aplicativo .download-hub__lead { margin-block: 14px; }
#page-aplicativo .download-capabilities { padding-block: 8px; margin-bottom: 14px; }

#page-sobre .technology-note { padding-block: clamp(22px, 3vw, 42px); }
#page-sobre .technology-note__copy { gap: 14px; }
#page-sobre .connection-scene { width: min(100%, 460px); margin-inline: auto; }
#page-sobre .connection-art figcaption { margin-top: 10px; }
#page-sobre .technology-note__impact { margin-top: 0; padding-top: 16px; }
#page-sobre :is(.how-it-works, .student-statement) { gap: clamp(14px, 3vw, 44px); padding-block: clamp(22px, 4vw, 52px); }
#page-sobre .feature-list { display: grid; gap: 0 clamp(14px, 2.5vw, 30px); }
#page-sobre :is(.feature-list, .student-statement__principles) article { min-height: 0; padding-block: 12px; }
#page-sobre .feature-list article h3 { margin-block: 5px; }
#page-sobre .student-statement > header p { margin-top: 12px; }

:is(.community-hub, .support-hub) { padding-bottom: 20px; }
.community-card { padding-block: 15px; }
.community-card em { margin-top: 7px; }
#page-suporte .support-contact { margin-bottom: 12px; }
.support-tips article { padding-block: 12px; }
.support-tips h2 { margin-block: 6px; }

@media (min-width: 801px) {
  .signal-lab__intro { grid-column: 1; }
  .signal-lab__visual { grid-area: 1 / 2 / 3; margin-top: 0; }
  .signal-lab__steps { grid-column: 1; }
}
@media (min-width: 1050px) {
  .sign-catalog__results { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 600px) and (max-width: 860px) {
  .support-tips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 820px) {
  #page-aplicativo .download-hub__visual { min-height: clamp(276px, 73vw, 345px); }
  #page-aplicativo .download-phone { position: absolute; inset: 0; margin: auto; scale: .57; }
  #page-aplicativo .download-hub__visual-label { top: 10px; left: 10px; }
  #page-aplicativo .download-hub__visual-caption { bottom: 10px; }
}
@media (max-width: 800px) {
  #page-inicio .studio-hero.hero { padding-top: 36px; }
  #page-inicio .studio-hero .studio-art { width: min(100%, clamp(215px, 63vw, 340px)); }
  .vertex-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .vertex-proof > div:last-child { grid-column: auto; display: block; border: 0; padding: 0; }
  .vertex-proof dt { font-size: clamp(1.3rem, 6vw, 2rem); }
  .vertex-proof dt span { margin-top: 3px; }
  .signal-lab__visual { width: min(100%, 225px); margin-top: 12px; }
  .signal-lab__visual figcaption { padding-block: 8px; }
  .studio-path { grid-template-columns: minmax(0, 1fr) 44px; gap: 5px 12px; }
  .vertex-faq { gap: 10px; }
  #page-sobre .connection-art { width: min(100%, 245px); }
  #page-sobre .connection-scene__node { scale: .75; }
}
@media (max-width: 359px) {
  #page-sobre .feature-list { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 700px) and (max-width: 900px) {
  #page-inicio .studio-hero.hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 16px;
  }
  #page-inicio .studio-hero h1 { font-size: clamp(2.25rem, 5vw, 3.1rem); }
  #page-inicio .studio-hero .studio-art { width: min(100%, 330px, 68svh); }
}
@media (min-width: 700px) and (max-width: 820px) {
  #page-aplicativo .download-hub { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
  #page-aplicativo .download-hub__content { grid-column: 1; }
  #page-aplicativo .download-hub__content h1 { font-size: clamp(2.25rem, 5vw, 2.65rem); }
  #page-aplicativo .download-hub__visual { grid-area: 1 / 2; min-height: 350px; }
}

/* Identidade visual compartilhada entre a apresentação e o tradutor. */
.editorial-cover {
  background:
    radial-gradient(ellipse at 76% 55%, color-mix(in srgb, var(--brand-end) 14%, transparent), transparent 48%),
    radial-gradient(ellipse at 14% 94%, color-mix(in srgb, var(--brand-mid) 9%, transparent), transparent 55%);
}
.editorial-cover__contours { opacity: .16; }
.editorial-cover__word { opacity: .56; }
#page-inicio .studio-hero h1 span {
  color: var(--text-accent);
  font: italic 400 .98em/.94 Georgia, serif;
  letter-spacing: -.068em;
  text-transform: none;
  background: none;
  -webkit-text-fill-color: currentColor;
}
#page-inicio .studio-hero .hero-copy {
  max-width: 44ch;
  font-size: clamp(.94rem, 1.3vw, 1.13rem);
  line-height: 1.6;
}
:root[data-theme] #page-inicio .studio-start.primary-button {
  min-height: 48px;
  padding: 7px 8px 7px 16px;
  border: 1px solid color-mix(in srgb, var(--brand-end) 38%, transparent);
  color: #fff;
  background: linear-gradient(115deg, color-mix(in srgb, var(--brand-start) 76%, #101726), color-mix(in srgb, var(--brand-mid) 80%, #101726));
}
:root[data-theme] #page-inicio .studio-start .studio-arrow {
  width: 32px;
  height: 32px;
  border-color: #fff6;
  color: #fff;
}

.vertex-launch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: calc(-1 * var(--experience-gutter));
  padding-inline: var(--experience-gutter);
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-soft) 74%, var(--paper));
}
.vertex-launch a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(9px, 1.4vw, 23px);
  align-items: center;
  min-height: 68px;
  padding: 10px clamp(9px, 2vw, 30px);
  color: var(--ink);
  text-decoration: none;
}
.vertex-launch a + a { border-inline-start: 1px solid var(--line); }
.vertex-launch a > svg { width: clamp(25px, 3.2vw, 44px); color: var(--text-accent); }
.vertex-launch strong, .vertex-launch small { display: block; }
.vertex-launch strong { font-size: clamp(.95rem, 1.75vw, 1.5rem); letter-spacing: -.03em; line-height: 1.15; }
.vertex-launch small { margin-top: 4px; color: var(--ink-soft); font-size: clamp(.72rem, 1.05vw, .92rem); line-height: 1.35; }
.vertex-launch__arrow { font-size: clamp(1rem, 2vw, 1.7rem); color: var(--text-accent); }
.vertex-launch a:focus-visible { outline: 2px solid var(--text-accent); outline-offset: -3px; }
@media (hover: hover) {
  .vertex-launch a:hover { background: color-mix(in srgb, var(--brand-end) 9%, transparent); }
}
.vertex-proof > div + div {
  padding-inline-start: clamp(8px, 2vw, 30px);
  border-inline-start: 1px solid var(--line);
}

#page-inicio .gesture-preview {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(14px, 4vw, 64px);
  padding-block: clamp(22px, 4vw, 60px);
  border-block: 1px solid var(--line);
}
.gesture-preview > header { display: block; margin: 0; }
#page-inicio .gesture-preview h2 {
  margin-block: 10px;
  font-size: clamp(2rem, 4.15vw, 4.85rem);
  text-wrap: initial;
}
.gesture-preview header .gesture-preview__hint { max-width: 38ch; font-size: clamp(.83rem, 1.2vw, 1rem); }
.gesture-preview__stage { width: 100%; }
@media (min-width: 801px) {
  .gesture-preview__stage { height: clamp(245px, 32vw, min(540px, 68svh)); }
}

#page-tradutor .app-page__heading {
  padding-inline: clamp(12px, 2.8vw, 42px);
  border-inline-start: 2px solid var(--text-accent);
  background: linear-gradient(108deg, color-mix(in srgb, var(--brand-end) 9%, var(--surface-soft)), var(--paper) 68%);
}
#page-tradutor .app-page__heading p { max-width: 62ch; }
#page-aplicativo .download-hub__visual {
  min-height: clamp(465px, 65svh, 550px);
  border: 1px solid var(--line);
  background-image:
    radial-gradient(ellipse at center, color-mix(in srgb, var(--brand-end) 14%, transparent), transparent 62%),
    repeating-radial-gradient(ellipse at center, transparent 0 29px, color-mix(in srgb, var(--ink) 12%, transparent) 30px, transparent 31px 56px);
}

@media (max-width: 820px) {
  #page-aplicativo .download-hub__visual { min-height: clamp(276px, 73vw, 345px); }
}
@media (max-width: 690px) {
  #page-inicio .studio-hero.hero { gap: 10px; padding-block: 22px 14px; }
  #page-inicio .studio-hero h1 { font-size: clamp(2.4rem, 10vw, 4.4rem); }
  .editorial-cover__index { display: none; }
  .vertex-launch { grid-template-columns: minmax(0, 1fr); }
  .vertex-launch a { min-height: 56px; padding-block: 7px; }
  .vertex-launch a + a { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  #page-inicio .gesture-preview { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #page-inicio .gesture-preview h2 { margin-block: 8px; }
}
