/* VERTEX / Conexões. A paleta é herdada integralmente de vertex-theme.css. */
:root {
  --studio-accent: var(--brand-end);
  --studio-rule: var(--line);
  --page-gutter: clamp(14px, 2.15vw, 34px);
}
body { background: var(--paper); }
body::before { display: none; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

img, svg, video, canvas { max-width: 100%; }

.topbar, main, body > footer {
  width: 100%;
  max-width: none;
  padding-inline: var(--page-gutter);
  margin-inline: auto;
}
.topbar { min-height: 104px; padding-block: 22px; gap: 28px; border-bottom: 1px solid var(--line); }
.topbar-primary { gap: 22px; }
.brand { gap: 10px; }
.brand-word { font-size: 1.1rem; letter-spacing: .2em; }
.brand-mark { width: 32px; height: 34px; }
.brand-mark svg { width: 100%; height: 100%; }
.app-menu-toggle { width: 42px; height: 42px; min-width: 42px; border: 1px solid var(--line); background: transparent; box-shadow: none; }
.app-menu { border-radius: 6px 22px 22px 22px; box-shadow: var(--shadow); }
.app-navigation::after { position: absolute; top: 100%; left: 0; width: min(350px, calc(100vw - 28px)); height: 20px; content: ''; }
.studio-navigation { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.studio-navigation a { position: relative; display: flex; align-items: center; gap: 7px; padding: 12px 0; color: var(--ink-soft); font-size: .8rem; text-decoration: none; }
.studio-navigation a span { align-self: flex-start; padding-top: 2px; font-family: ui-monospace, monospace; font-size: .55rem; }
.studio-navigation a::after { position: absolute; bottom: 3px; left: 0; width: 100%; height: 1px; content: ''; background: var(--brand-end); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.studio-navigation a:hover, .studio-navigation a[aria-current="page"] { color: var(--ink); }
.studio-navigation a:hover::after, .studio-navigation a[aria-current="page"]::after { transform: scaleX(1); }
.theme-toggle { border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: .75rem; }
.theme-toggle__icon { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.theme-toggle__icon svg { stroke: currentColor; }
.topbar-actions { flex-shrink: 0; gap: 8px; }
.app-page:focus, .app-page:focus-visible { outline: none; }
.studio-hero.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, 1fr); align-items: center; gap: clamp(20px, 2.4vw, 48px); min-height: 690px; padding: 64px 0 54px; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: left; overflow: visible; }
.studio-hero__copy { position: relative; z-index: 1; padding: 0; min-width: 0; }
.studio-hero .hero-symbol { display: none; }
.studio-hero h1 { max-width: 9.8ch; margin: 0; font-size: clamp(4rem, 7.6vw, 8.4rem); font-weight: 500; line-height: .96; letter-spacing: -.075em; text-wrap: initial; }
.studio-hero h1 span { display: inline-block; padding: 0 .12em .05em 0; background: none; -webkit-text-fill-color: currentColor; color: var(--brand-mid); font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; letter-spacing: -.065em; line-height: 1; filter: none; }
:root[data-theme="dark"] .studio-hero h1 span { color: var(--brand-end); }
.studio-hero .hero-copy { max-width: 350px; margin: 27px 0 26px; font-size: .91rem; line-height: 1.7; text-wrap: pretty; }
.studio-hero .home-actions { justify-content: flex-start; gap: 24px; flex-wrap: wrap; }
.studio-start.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-height: 55px; padding: 8px 10px 8px 24px; border: 1px solid transparent; border-radius: 999px; color: #fff; background: var(--brand-start); box-shadow: none; font-size: .8rem; font-weight: 600; text-decoration: none; }
.studio-start.primary-button::before, .studio-start.primary-button::after { display: none; }
:root[data-theme="dark"] .studio-start.primary-button { background: var(--brand-mid); }
.studio-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgb(255 255 255 / .35); border-radius: 50%; font-size: 1.4rem; transition: transform .3s ease; }
.studio-start:hover .studio-arrow { transform: rotate(45deg); }
.studio-text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; padding: 0 18px; color: var(--ink); font-size: .75rem; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; }
.studio-text-link:hover { border-color: var(--brand-end); }
.studio-art { position: relative; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; margin: 0; }
.studio-art__stage { position: relative; aspect-ratio: 1; width: min(100%, 720px); margin-inline: auto; isolation: isolate; contain: layout paint; }
.studio-art__stage::before { content: ''; position: absolute; z-index: -1; inset: 11%; border: 1px solid var(--line); border-radius: 50%; opacity: .5; }
#studio-canvas, .studio-art__fallback { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--brand-end); }
.studio-art[data-ready] .studio-art__fallback { display: none; }
.studio-art__phrases { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.studio-art__fallback { transform-origin: center; animation: studio-fallback-spin 18s linear infinite; }
.studio-art__fallback ellipse { transform-origin: 300px 300px; animation: studio-fallback-pulse 3.8s ease-in-out infinite; }
.studio-art__fallback ellipse:nth-child(2n) { animation-delay: -1.9s; }
.studio-art__orbit-label {
  position: absolute;
  z-index: 2;
  top: var(--phrase-y, 50%);
  left: var(--phrase-x, 50%);
  display: inline-flex;
  align-items: center;
  max-width: clamp(92px, 9vw, 150px);
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--brand-end) 44%, var(--line));
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--brand-start) 9%, transparent);
  backdrop-filter: blur(12px);
  font: .6rem/1.3 ui-monospace, monospace;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.76);
  transition: opacity .42s ease, transform .42s cubic-bezier(.16,1,.3,1);
  will-change: left, top;
}
.studio-art__orbit-label::before { content: ''; flex: 0 0 auto; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: var(--brand-end); box-shadow: 0 0 11px var(--brand-end); }
.studio-art__orbit-label.is-visible { opacity: calc(.76 + var(--phrase-depth, 0) * .12); transform: translate3d(-50%, -50%, 0) scale(calc(.94 + var(--phrase-depth, 0) * .035)); }
.studio-art__add { position: absolute; z-index: 4; top: var(--nucleus-control-y, 61%); left: var(--nucleus-control-x, 61%); display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid color-mix(in srgb, var(--brand-end) 55%, var(--line)); border-radius: 50%; color: var(--ink); background: color-mix(in srgb, var(--paper) 80%, transparent); box-shadow: 0 9px 25px var(--accent-glow); backdrop-filter: blur(12px); transform: translate(-50%, -50%); cursor: pointer; transition: border-color .25s ease, color .25s ease, background .25s ease, transform .25s ease; }
.studio-art__add:hover, .studio-art__add:focus-visible { color: #fff; border-color: var(--brand-end); background: var(--brand-end); transform: translate(-50%, -50%) scale(1.1) rotate(8deg); }
.studio-art__add span { font: 500 1rem/1 ui-monospace, monospace; }
.studio-art__add.is-adding { animation: studio-add-pulse .55s cubic-bezier(.2,.8,.2,1); }
.studio-art__caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-left: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .65rem; line-height: 1.6; }
.studio-art__caption strong { color: var(--ink); font-weight: 500; }
.studio-paths { display: grid; grid-template-columns: .8fr repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-paths__intro { padding: 32px 26px 32px 0; }
.studio-paths__intro .eyebrow { color: var(--ink-soft); font-size: .55rem; letter-spacing: .12em; }
.studio-paths__intro h2 { margin: 22px 0 0; font-size: 1.85rem; font-weight: 500; letter-spacing: -.055em; line-height: 1.12; }
.studio-paths__intro em { font-family: Georgia, serif; font-weight: 400; }
.studio-path { position: relative; min-width: 0; padding: 32px 26px 28px; border-left: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; transition: background .3s ease; }
.studio-path:hover { background: var(--surface-soft); }
.studio-path__index { display: block; color: var(--ink-soft); font: .58rem/1.5 ui-monospace, monospace; letter-spacing: .06em; }
.studio-path h3 { margin: 28px 0 17px; font-size: clamp(1.35rem, 2.1vw, 2rem); font-weight: 500; line-height: 1.13; letter-spacing: -.045em; }
.studio-path p { margin: 0; color: var(--ink-soft); font-size: .72rem; line-height: 1.6; }
.studio-path__arrow { position: absolute; top: 26px; right: 22px; color: var(--brand-end); font-size: 1.55rem; transition: transform .35s ease; }
.studio-path:hover .studio-path__arrow { transform: translate(3px, -3px); }
.studio-manifesto { display: flex; align-items: center; justify-content: center; padding: 72px 0; text-align: center; }
.studio-manifesto h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.8rem); font-weight: 500; line-height: 1.4; letter-spacing: -.04em; }
.studio-manifesto em { font-family: Georgia, serif; font-weight: 400; color: var(--ink-soft); }
body > footer { margin-top: 12px; padding-block: 24px 35px; border-top: 1px solid var(--line); gap: 24px; }
body > footer .brand { font-size: .8rem; letter-spacing: .2em; }
body > footer p { margin-left: auto; font-size: .65rem; line-height: 1.6; text-align: right; }
.legal-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.legal-navigation a { color: var(--ink-soft); font-size: .67rem; text-decoration-color: color-mix(in srgb, var(--brand-end) 45%, transparent); text-underline-offset: 4px; }
.legal-navigation a:hover { color: var(--text-accent); }

/* As ferramentas mantêm seus estados e ganham a mesma linguagem editorial. */
.app-page__heading { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; padding: 48px 0 36px; text-align: left; }
.app-page__heading h1 { margin: 0; max-width: 680px; font-size: clamp(2.4rem, 4.7vw, 4.8rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.02; }
.app-page__heading > p:last-child { align-self: end; max-width: 320px; margin: 0 0 0 auto; color: var(--ink-soft); font-size: .9rem; line-height: 1.7; }
.mode-switch { width: 100%; max-width: none; padding: 0; gap: 0; background: none; border: 1px solid var(--line); border-radius: 3px; box-shadow: none; }
.mode-button { min-height: 84px; border-radius: 0; padding: 18px 24px; background: transparent; }
.mode-button.is-active { background: var(--surface-soft); color: var(--ink); box-shadow: inset 0 -3px 0 var(--brand-end); }
.mode-button.is-active small { color: var(--ink-soft); }
.mode-button.is-active .mode-icon { color: var(--ink); background: var(--surface); }
.hero-proof { justify-content: flex-start; gap: 26px; margin: 22px 0 28px; }
.hero-proof { padding: 0; list-style: none; }
.hero-proof li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: color-mix(in srgb, var(--surface) 58%, transparent); font-size: .73rem; font-weight: 700; }
.hero-proof strong { border-radius: 2px; background: var(--surface-soft); color: var(--ink); }
.workspace { gap: 22px; align-items: start; }
.camera-card, .result-card, .text-card, .avatar-card { border: 1px solid var(--line); border-radius: 5px; background: var(--surface); box-shadow: none; }
.card-heading { padding: 24px; border-bottom: 1px solid var(--line); }
.card-heading h2 { font-size: 1.13rem; font-weight: 600; letter-spacing: -.025em; }
.step-label { color: var(--ink-soft); font: .6rem/1.6 ui-monospace, monospace; letter-spacing: .12em; }
.camera-stage:not(:fullscreen):not(.is-fullscreen) { border-radius: 3px; }
.camera-status, .privacy-note { box-shadow: none; }
.workspace .primary-button, .download-hub .primary-button { border-radius: 3px; box-shadow: none; }
.workspace .secondary-button, .download-hub .secondary-button { border-radius: 3px; box-shadow: none; }
.text-input, .result-output, .phrase-preview, .dictionary-coverage, .recognition-details { border-radius: 5px; }
.avatar-stage { border-radius: 3px; }
.download-hub { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; padding: 70px 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.download-hub__visual { min-height: 510px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-soft); }
.download-phone { border-radius: 30px; box-shadow: 0 24px 55px color-mix(in srgb, var(--brand-end) 14%, transparent); }
.download-hub__content h1 { font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 500; line-height: 1.04; letter-spacing: -.06em; }
.download-hub__lead { max-width: 540px; margin-block: 28px; font-size: .88rem; line-height: 1.8; }
.download-actions { gap: 12px; }
.download-action { min-height: 75px; padding: 16px 22px; }
.technology-note { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 34px 60px; padding: 72px 0 54px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.technology-note::after, .technology-note::before { display: none; }
.technology-note__copy { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 60px; }
.technology-note__copy h1 { grid-column: 1; max-width: 900px; margin: 0; font-size: clamp(2.6rem, 5vw, 5.1rem); font-weight: 500; line-height: 1.04; letter-spacing: -.06em; }
.technology-note__copy > p:last-child { grid-column: 2; align-self: end; max-width: 540px; margin: 0 0 8px; font-size: .92rem; line-height: 1.8; }
.technology-note__impact { grid-column: 1 / -1; max-width: 680px; margin-top: 8px; padding: 18px 0 18px 22px; border-color: var(--brand-end); }
.technology-note__impact h2 { margin: 0 0 9px; color: var(--brand-end); font: 700 .62rem/1.4 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }
.technology-note__impact p { margin: 0; color: var(--ink); font: italic 1.6rem/1.3 Georgia, serif; text-wrap: balance; }
.how-it-works { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; margin-top: 0; padding: 52px 0; border-radius: 0; color: var(--ink); background: transparent; box-shadow: none; }
.how-it-works h2 { max-width: 340px; font-size: 2.9rem; font-weight: 500; letter-spacing: -.06em; line-height: 1.1; }
.how-it-works .eyebrow, .how-it-works .section-lead { color: var(--ink-soft); }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feature-list article { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-content: start; gap: 12px 14px; min-height: 220px; padding: 28px; border-bottom: 1px solid var(--line); }
.feature-list article:nth-child(odd) { border-right: 1px solid var(--line); }
.feature-list article > span { color: var(--brand-end); font: .68rem ui-monospace, monospace; }
.feature-list h3 { grid-column: 2; min-width: 0; margin: 0; color: var(--ink); font-size: 1.1rem; font-weight: 600; }
.feature-list article p { grid-column: 2; margin: 4px 0 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.7; text-wrap: pretty; }
.student-statement { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; padding: 76px 0; border-top: 1px solid var(--line); }
.student-statement > header h2 { max-width: 640px; margin: 0; font-size: clamp(2.45rem, 4.7vw, 4.8rem); font-weight: 500; line-height: 1.04; letter-spacing: -.06em; }
.student-statement > header h2 em { display: inline-block; margin-top: .12em; color: var(--brand-mid); font-family: Georgia, serif; font-weight: 400; }
:root[data-theme="dark"] .student-statement > header h2 em { color: var(--brand-end); }
.student-statement > header p { max-width: 570px; margin: 30px 0 0; color: var(--ink-soft); line-height: 1.8; }
.student-statement__principles { border-top: 1px solid var(--line); }
.student-statement__principles article { display: grid; grid-template-columns: 38px 150px minmax(0, 1fr); gap: 18px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.student-statement__principles span { color: var(--brand-end); font: .65rem ui-monospace, monospace; }
.student-statement__principles h3 { margin: 0; font-size: .95rem; }
.student-statement__principles p { margin: 0; color: var(--ink-soft); font-size: .78rem; line-height: 1.65; }
.cookie-consent { border-radius: 5px; box-shadow: var(--shadow); }
.cookie-consent__copy h2 { margin: 0 0 6px; font-size: 1rem; }
.cookie-consent__copy a { color: var(--text-accent); font-weight: 700; text-underline-offset: 3px; }

.studio-motion-ready .studio-paths, .studio-motion-ready .studio-manifesto { transition: opacity .72s ease, transform .8s cubic-bezier(.16,1,.3,1), clip-path .82s cubic-bezier(.16,1,.3,1); }
.studio-motion-ready .studio-paths:not(.studio-in-view) { opacity: 0; transform: translateY(34px); clip-path: inset(0 0 100% 0); }
.studio-motion-ready .studio-manifesto:not(.studio-in-view) { opacity: 0; transform: translateY(26px); clip-path: inset(0 16% 0 16%); }
.studio-path::before { position: absolute; inset: 0; content: ''; pointer-events: none; background: linear-gradient(118deg, transparent 30%, color-mix(in srgb, var(--brand-end) 12%, transparent), transparent 68%); transform: translateX(-120%) skewX(-14deg); transition: transform .68s cubic-bezier(.16,1,.3,1); }
.studio-path:hover::before, .studio-path:focus-visible::before { transform: translateX(120%) skewX(-14deg); }
.studio-path:hover h3, .studio-path:focus-visible h3 { transform: translateX(5px); }
.studio-path h3 { transition: transform .42s cubic-bezier(.16,1,.3,1); }
.studio-manifesto em { display: inline-block; background: linear-gradient(90deg, var(--brand-start), var(--brand-mid), var(--brand-end)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: studio-ink-flow 5s linear infinite; }
body.studio-motion-paused .studio-hero *, body.studio-motion-paused .studio-paths *, body.studio-motion-paused .studio-manifesto * { animation-play-state: paused !important; }
body.studio-motion-paused [data-motion], body.studio-motion-paused .studio-paths, body.studio-motion-paused .studio-manifesto { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }

body[data-app-page="inicio"] .app-page-enter .studio-hero__copy h1 { animation: vertex-hero-title-in .72s .08s cubic-bezier(.16,1,.3,1) both; }
body[data-app-page="inicio"] .app-page-enter .studio-hero__copy .hero-copy { animation: vertex-hero-copy-in .66s .2s cubic-bezier(.16,1,.3,1) both; }
body[data-app-page="inicio"] .app-page-enter .studio-hero__copy .home-actions { animation: vertex-hero-copy-in .66s .3s cubic-bezier(.16,1,.3,1) both; }
body[data-app-page="inicio"] .app-page-enter .studio-art { animation: vertex-hero-art-in .8s .15s cubic-bezier(.16,1,.3,1) both; }

@keyframes vertex-hero-title-in {
  from { opacity: 0; transform: translateY(42px); filter: blur(7px); }
}
@keyframes vertex-hero-copy-in {
  from { opacity: 0; transform: translateY(24px); }
}
@keyframes vertex-hero-art-in {
  from { opacity: 0; transform: translateX(34px) scale(.96); filter: blur(5px); }
}

@keyframes studio-ring-breathe {
  0%, 100% { opacity: .42; transform: translate(-50%, -50%) rotate(var(--orbit-tilt, 0deg)) scale(.98); }
  50% { opacity: .82; transform: translate(-50%, -50%) rotate(calc(var(--orbit-tilt, 0deg) + 180deg)) scale(1.015); }
}
@keyframes studio-add-pulse {
  45% { box-shadow: 0 0 0 15px color-mix(in srgb, var(--brand-end) 12%, transparent); }
}
@keyframes studio-fallback-spin { to { transform: rotate(360deg); } }
@keyframes studio-fallback-pulse { 50% { opacity: .42; } }
@keyframes studio-ink-flow { to { background-position: 200% center; } }

@media (min-width: 1600px) { .studio-hero.hero { min-height: 780px; } }
@media (min-width: 801px) and (max-height: 820px) {
  .studio-hero.hero { min-height: calc(100vh - 104px); padding-block: 28px 30px; }
  .studio-art__stage { width: min(100%, calc(100vh - 250px)); margin-inline: auto; }
}
@media (max-width: 1120px) {
  .studio-navigation { gap: 18px; }
  .studio-navigation a span { display: none; }
  .topbar-primary { gap: 12px; }
  .studio-hero.hero { grid-template-columns: minmax(0, 1fr) minmax(370px, .92fr); min-height: 600px; gap: 18px; }
  .studio-hero h1 { font-size: clamp(3.7rem, 8vw, 6.4rem); }
  .studio-art__caption { flex-direction: column; align-items: flex-start; gap: 4px; }
  .studio-path { padding-inline: 19px; }
  .download-hub { gap: 35px; }
}
@media (max-width: 800px) {
  .studio-navigation { display: none; }
  .topbar { min-height: 83px; padding-block: 16px; }
  .studio-hero.hero { grid-template-columns: minmax(0, 1fr); padding: 36px 0 28px; }
  .studio-hero h1 { font-size: clamp(4.3rem, 13vw, 7.5rem); }
  .studio-hero .hero-copy { max-width: 430px; }
  .studio-art { width: min(540px, 100%); margin: 44px auto 0; }
  .studio-art__caption { flex-direction: row; margin-left: 0; align-items: center; }
  .studio-paths { grid-template-columns: 1fr 1fr; }
  .studio-paths__intro { padding: 28px 20px 28px 0; }
  .studio-path { min-height: 235px; padding: 28px 20px; }
  .studio-path:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .studio-path:nth-child(4) { border-top: 1px solid var(--line); }
  .studio-path h3 { font-size: 1.7rem; }
  .studio-manifesto { padding: 40px 0; gap: 18px; }
  .app-page__heading { grid-template-columns: 1fr; padding-top: 36px; }
  .app-page__heading > p:last-child { margin: 0; max-width: 520px; }
  .download-hub { grid-template-columns: 1fr; padding: 38px 0; }
  .download-hub__visual { min-height: 340px; max-width: 430px; width: 100%; margin: auto; }
  .download-hub__content { grid-row: 1; }
  .technology-note { grid-template-columns: 1fr; gap: 22px; padding: 42px 0; }
  .technology-note__copy { grid-template-columns: 1fr; gap: 22px; }
  .technology-note__copy h1, .technology-note__copy > p:last-child, .technology-note__impact { grid-column: 1; }
  .how-it-works { grid-template-columns: 1fr; gap: 35px; }
  .how-it-works h2 { max-width: 500px; }
  .student-statement { grid-template-columns: 1fr; gap: 42px; padding: 52px 0; }
  body > footer { flex-wrap: wrap; }
  body > footer p { margin-left: 0; }
}
@media (max-width: 480px) {
  :root { --page-gutter: 12px; }
  .brand-word { font-size: .88rem; }
  .brand-mark { width: 26px; }
  .topbar-primary { gap: 10px; }
  .topbar { gap: 4px; }
  .theme-toggle { padding-inline: 0; gap: 6px; }
  #theme-label { font-size: .6rem; }
  .theme-toggle__icon { width: 29px; height: 29px; }
  #install-button { max-width: 80px; padding: 6px; font-size: .6rem; }
  .studio-hero h1 { font-size: 15vw; }
  .studio-hero .home-actions { gap: 14px; }
  .studio-hero .hero-copy { font-size: .85rem; }
  .studio-art__orbit-label { max-width: 82px; padding: 5px 6px; font-size: .42rem; letter-spacing: -.025em; }
  .studio-art__orbit-label::before { width: 4px; height: 4px; margin-right: 4px; }
  .studio-art__add { width: 32px; height: 32px; }
  .studio-art__caption { font-size: .58rem; }
  .studio-path__index { font-size: .49rem; }
  .studio-path__arrow { top: 22px; right: 12px; font-size: 1.25rem; }
  .studio-path h3 { font-size: 1.45rem; }
  .studio-path p { font-size: .66rem; }
  .studio-paths__intro h2 { font-size: 1.6rem; }
  .studio-manifesto h2 { font-size: 1.07rem; }
  body > footer { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 85px; }
  body > footer p { text-align: left; }
  .legal-navigation { justify-content: flex-start; flex-wrap: wrap; }
  .mode-button { padding: 12px; min-height: 83px; gap: 8px; }
  .mode-button strong { font-size: .76rem; }
  .mode-button small { font-size: .6rem; }
  .hero-proof { gap: 10px; flex-wrap: wrap; }
  .hero-proof li { font-size: .62rem; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list article { grid-template-columns: 28px minmax(0, 1fr); min-height: 0; padding: 24px 0; }
  .feature-list article:nth-child(odd) { border-right: 0; }
  .student-statement__principles article { grid-template-columns: 28px minmax(0, 1fr); }
  .student-statement__principles article p { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  /* Primeira tela: uma cena única, legível e adaptável, sem cortar em larguras intermediárias. */
.studio-hero.hero {
  isolation: isolate;
  grid-template-columns: minmax(0, .94fr) minmax(300px, 1.06fr);
  gap: clamp(26px, 5.1vw, 104px);
  min-height: min(800px, calc(100svh - 105px));
  padding: clamp(44px, 7.2vh, 92px) 0 clamp(38px, 5.5vh, 68px);
  overflow: clip;
}
.studio-hero.hero::before,
.studio-hero.hero::after {
  position: absolute;
  z-index: -1;
  content: '';
  pointer-events: none;
}
.studio-hero.hero::before {
  inset: 3% -8% 1% -8%;
  background:
    radial-gradient(circle at 18% 48%, color-mix(in srgb, var(--brand-mid) 15%, transparent), transparent 28%),
    radial-gradient(circle at 73% 33%, color-mix(in srgb, var(--brand-end) 13%, transparent), transparent 23%),
    linear-gradient(90deg, transparent 0 49.9%, color-mix(in srgb, var(--line) 58%, transparent) 50%, transparent 50.1%);
  mask-image: linear-gradient(90deg, transparent, #000 11% 89%, transparent);
}
.studio-hero.hero::after {
  top: 12%;
  right: clamp(5%, 12vw, 18%);
  width: 18px;
  height: 18px;
  border: 1px solid var(--brand-end);
  border-radius: 50%;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand-end) 8%, transparent), 0 0 40px var(--accent-glow);
  animation: vertex-signal-ping 3.8s 1.6s ease-in-out infinite;
}
.studio-hero__copy { align-self: center; padding-block: 12px; }
.studio-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--ink-soft);
  font: 700 clamp(.58rem, .8vw, .68rem)/1.2 Manrope, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.studio-hero__eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-end); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand-end) 12%, transparent), 0 0 18px var(--brand-end); animation: vertex-status-live 2.4s ease-in-out infinite; }
.studio-hero h1 { max-width: 8.8ch; font-size: clamp(3.95rem, 7.25vw, 8.6rem); }
.studio-hero .hero-copy { max-width: 385px; margin: 26px 0 28px; font-size: clamp(.89rem, 1vw, 1rem); }
.studio-hero .home-actions { gap: 14px; }
.studio-start.primary-button { min-height: 56px; padding-left: 25px; box-shadow: 0 14px 34px color-mix(in srgb, var(--brand-mid) 20%, transparent); }
.studio-start.primary-button:hover { transform: translateY(-2px); box-shadow: 0 20px 45px color-mix(in srgb, var(--brand-mid) 30%, transparent); }
.studio-text-link { min-height: 54px; padding-inline: 20px; backdrop-filter: blur(9px); background: color-mix(in srgb, var(--surface) 42%, transparent); }
.studio-hero__route { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 38px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.studio-hero__route div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 9px; max-width: 205px; }
.studio-hero__route dt { color: var(--brand-end); font: 700 .64rem/1 ui-monospace, monospace; }
.studio-hero__route dd { margin: 0; color: var(--ink-soft); font-size: .68rem; line-height: 1.45; }
.studio-art { align-self: center; min-width: 0; }
.studio-art__stage {
  width: min(100%, 660px);
  overflow: visible;
  border-radius: 45%;
  background:
    radial-gradient(circle at 52% 49%, color-mix(in srgb, var(--brand-end) 13%, transparent), transparent 31%),
    radial-gradient(circle at 48% 52%, color-mix(in srgb, var(--brand-mid) 7%, transparent), transparent 58%);
}
.studio-art__stage::before {
  z-index: 0;
  inset: 9%;
  border-style: dashed;
  border-color: color-mix(in srgb, var(--line) 84%, transparent);
  opacity: .8;
  animation: vertex-stage-rotation 26s linear infinite;
}
.studio-art__stage::after {
  position: absolute;
  z-index: 0;
  inset: 23%;
  content: '';
  border: 1px solid color-mix(in srgb, var(--brand-end) 32%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 60px var(--accent-glow), inset 0 0 48px color-mix(in srgb, var(--brand-mid) 9%, transparent);
  animation: vertex-stage-breathe 4.6s ease-in-out infinite;
}
#studio-canvas, .studio-art__fallback { z-index: 1; }
.studio-art__phrases { z-index: 3; }
.studio-art__add { z-index: 4; }
.studio-art__eyebrow,
.studio-art__coordinate { position: absolute; z-index: 5; color: var(--ink-soft); font: 700 clamp(.46rem, .7vw, .58rem)/1.3 ui-monospace, monospace; letter-spacing: .11em; pointer-events: none; }
.studio-art__eyebrow { top: 9%; left: 8%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: color-mix(in srgb, var(--surface) 62%, transparent); backdrop-filter: blur(10px); }
.studio-art__coordinate--top { top: 13%; right: 4%; writing-mode: vertical-rl; transform: rotate(180deg); }
.studio-art__coordinate--bottom { right: 7%; bottom: 12%; max-width: 95px; text-align: right; line-height: 1.5; }
.studio-art__caption { margin-top: -3px; padding: 18px 10px 0; }
.studio-art__orbit-label { box-shadow: 0 10px 28px color-mix(in srgb, var(--deep-surface) 14%, transparent); }

.studio-paths { position: relative; margin-top: clamp(10px, 3vh, 42px); border-top: 1px solid var(--line); }
.studio-paths__intro { position: relative; overflow: hidden; }
.studio-paths__intro::after { position: absolute; right: 26px; bottom: 22px; width: 28px; height: 28px; content: ''; border: 1px solid var(--brand-end); border-radius: 50%; box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand-end) 7%, transparent); }
.studio-path { min-height: 264px; }
.studio-path:hover { background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 83%, transparent), color-mix(in srgb, var(--brand-end) 5%, transparent)); }
.studio-manifesto { position: relative; overflow: hidden; padding-block: clamp(60px, 9vw, 128px); }
.studio-manifesto::before { position: absolute; top: 50%; left: 50%; width: min(70vw, 760px); height: 1px; content: ''; background: linear-gradient(90deg, transparent, var(--brand-end), transparent); opacity: .42; transform: translate(-50%, -50%); }
.studio-manifesto h2 { position: relative; z-index: 1; max-width: 720px; padding-inline: 22px; background: var(--paper); }

@keyframes vertex-signal-ping { 0%, 100% { transform: scale(.85); opacity: .45; } 50% { transform: scale(1.16); opacity: 1; } }
@keyframes vertex-status-live { 50% { transform: scale(.72); box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand-end) 4%, transparent), 0 0 22px var(--brand-end); } }
@keyframes vertex-stage-rotation { to { transform: rotate(360deg); } }
@keyframes vertex-stage-breathe { 50% { transform: scale(1.08); opacity: .58; } }

@media (max-width: 980px) {
  .studio-hero.hero { grid-template-columns: minmax(0, 1fr) minmax(290px, .9fr); gap: clamp(20px, 3.6vw, 42px); }
  .studio-hero h1 { font-size: clamp(3.7rem, 8.2vw, 6.35rem); }
  .studio-art__coordinate--top { display: none; }
}
@media (max-width: 760px) {
  .studio-hero.hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-top: 40px; }
  .studio-hero.hero::before { inset-inline: -18px; }
  .studio-hero h1 { max-width: 8.2ch; font-size: clamp(3.7rem, 16vw, 6.1rem); }
  .studio-hero .hero-copy { max-width: 440px; }
  .studio-hero__route { margin-top: 30px; }
  .studio-art { width: min(100%, 560px); margin: 10px auto 0; }
  .studio-art__stage { width: min(100%, 540px); }
  .studio-path { min-height: 224px; }
}
@media (max-width: 480px) {
  .studio-hero h1 { font-size: clamp(3.45rem, 16vw, 5.4rem); }
  .studio-hero__route { gap: 10px 20px; }
  .studio-hero__route div { max-width: 155px; }
  .studio-art__eyebrow { top: 6%; left: 4%; font-size: .43rem; }
  .studio-art__coordinate--bottom { right: 3%; bottom: 6%; font-size: .4rem; }
  .studio-art__caption { padding-inline: 0; }
  .studio-paths__intro::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-hero.hero::after, .studio-hero__eyebrow > span,
  .studio-art__stage::before, .studio-art__stage::after { animation: none; }
}
